Commit Graph

105 Commits

Author SHA1 Message Date
Tiago Natel de Moura
d3ca5fb47a Packages: fixed java configure script.
Now the configure script appends /server to --lib-path argument.
2020-05-28 17:04:00 +01:00
Max Romanov
5296be0b82 Using disk file to store large request body.
This closes #386 on GitHub.
2020-03-12 17:54:29 +03:00
Max Romanov
a58ca623cd Packages: added curl dependency to fetch Java archives. 2020-01-28 17:00:28 +03:00
Max Romanov
693a458b4e Go: changing import name for "unit.nginx.org/go".
This patch includes packaging changes - update unit-go installation
directory.
2019-12-25 20:00:32 +03:00
Max Romanov
f5a2984acf Go: moving source files to the root of the project.
This patch includes packaging changes related to files move.
2019-12-24 17:59:52 +03:00
Max Romanov
3d712a7078 Packages: making unit-go architecture independent.
To support Go modules, the unit-go module should be platform independent.
All platform-dependent logic is moved to libunit, so the unit-dev package
should be installed before building unit-go.
2019-12-24 17:59:44 +03:00
Andrei Belov
68a2292372 Packages: added Python 3 support on Amazon Linux 2 (LTS). 2019-12-10 19:35:12 +03:00
Andrei Belov
a3e5d09501 Packages: added Python 3 support on RHEL/CentOS 7. 2019-12-02 15:09:53 +03:00
Andrei Belov
3644883aa8 Packages: added logrotate configuration for Debian packages.
While here, made logrotate configuration consistent between rpm and deb.

This closes #323 issue on GitHub.
2019-09-25 15:28:20 +03:00
Andrei Belov
6f1f3b48b2 Packages: added explicit library path for Java on RPM based distros.
This helps to avoid using excessive strictness in RPATH of Java modules.
2019-09-16 13:28:06 +03:00
Andrei Belov
e1de5bcfab Packages: log and pid paths made consistent. 2019-07-04 14:14:29 +03:00
Valentin Bartenev
094cc2fc99 Packages: using "pass" option in config examples.
The "application" option has been deprecated since 1.8.0.
2019-04-24 20:31:00 +03:00
Andrei Belov
3d7a47c9ac Packages: added RHEL 8 support. 2019-03-26 13:22:59 +03:00
Andrei Belov
557a792b33 Packages: fixed building of unit-jsc11 rpm. 2019-03-01 18:45:22 +03:00
Andrei Belov
1b0595c74c Packages: added JSR-340 compatibility notice to unit-jsc packages. 2019-03-01 18:16:57 +03:00
Andrei Belov
2e4853f4d7 Packages: added Java trademark notice to corresponding packages. 2019-03-01 16:04:41 +03:00
Andrei Belov
7ce6f05975 Packages: added unit-jsc (Java Servlet Container) family. 2019-02-28 18:22:15 +03:00
Valentin Bartenev
ce6ce15c20 Fixed violation of the strict aliasing rules in 5d0edd35c4ce.
In order to reduce number of operations over rb-tree and process them in
batches simultaneously, all the timers changes are temporary stored in array.
While processing of these changes, the same memory is also used for storing
pointers to postpone timers adding.

As the same block of memory has been referenced by two different types of
pointers (nxt_timer_change_t * and nxt_timer_t **), some compilers may reorder
operations with these pointers and produce broken code.  See ticket #221 on
GitHub for a particular case.

Now the same "nxt_timer_change_t" structure is used in both cases.

Also, reverted the -fno-strict-aliasing flag, which has been introduced in
ef76227ec159 as a workaround for this issue.
2019-02-26 17:42:20 +03:00
Andrei Belov
79e3185f33 Packages: fixed packages build, broken in 00d8049418cf. 2019-02-26 14:39:08 +03:00
Alexander Borisov
608e09e9de Improvement and unification of version processing in build scripts.
This also eliminates expressions that incompatible with BSD make, thus fixing
installation of Node.js module on FreeBSD (broken by dace60fc4926).
2019-02-22 16:31:44 +03:00
Andrei Belov
1ba49d9250 Packages: added "-fno-strict-aliasing" flag on CentOS 6 x86_64.
Closes #221 on GitHub.
2019-02-14 17:21:37 +03:00
Andrei Belov
43ad6be2f0 Packages: removed unit-perl on CentOS 6.
CentOS 6 has Perl version 5.10, which is unsupported by Unit.
2019-02-14 17:21:36 +03:00
Andrei Belov
9e383ecaf2 Packages: disabled debugsource generation on relevant platforms.
In particular, this fixes unit-go package building on Fedora >= 29.
2019-01-24 16:47:32 +03:00
Andrei Belov
3b7f28f23c Packages: fixed control socket path after 7012b4fd5113. 2019-01-24 15:18:19 +03:00
Remi Collet
b78ed44f39 Packages: systemd and other improvements.
See the following links for details:
https://github.com/nginx/unit/pull/212
https://github.com/nginx/unit/issues/213

Closes #155, closes #212, closes #213.
2019-01-24 14:05:58 +03:00
Remi Collet
b1649bce9e Packages: Fedora >= 29 have python 3.7.
Closes #211.
2019-01-24 13:03:25 +03:00
Andrei Belov
325421eac7 Packages: URL fixed in examples to work with latest curl. 2018-12-27 11:06:43 +03:00
Andrei Belov
63d16aa5f6 Packages: made unit-go architecture-dependent.
This closes #172 issue on GitHub.
2018-11-29 12:10:16 +03:00
Andrei Belov
7c09387156 Packages: added strict version dependency for unit-dev/unit-devel. 2018-11-26 13:05:37 +03:00
Valentin Bartenev
d55282105a Packages: updated to 1.5-1. 2018-10-25 17:49:10 +03:00
Andrei Belov
0e76769c1b Packages: introduced unit-dev/unit-devel package. 2018-10-23 10:30:28 +03:00
Valentin Bartenev
029c1a9f50 Renamed "go" application type to "external".
There's nothing specific to Go language.  This type of application object can
be used to run any external application that utilizes libunit API.
2018-10-09 17:53:31 +03:00
Andrei Belov
2a9fc6b1fe Packages: updated to 1.4-2. 2018-09-27 15:05:03 +03:00
Andrei Belov
aa6e4947ba Packages: adjusted post-install banners. 2018-09-27 15:04:49 +03:00
Andrei Belov
446479b311 Packages: removed "loadconfig" and "saveconfig" actions. 2018-09-26 15:24:49 +03:00
Andrei Belov
fea05e3065 Packages: enabled OpenSSL support. 2018-09-20 16:14:29 +03:00
Andrei Belov
bfccdea8e1 Packages: fixed log and pid paths on CentOS 7.
This closes #120 issue on GitHub.
2018-05-14 11:57:40 +03:00
Nick Shadrin
24a292a362 Fixed typo in RPM packages. 2018-04-24 18:51:22 +03:00
Andrei Belov
aa8f2c3295 Added Ruby packaging support. 2018-04-02 15:48:33 +03:00
Andrei Belov
f2090bce21 Packages: added Fedora support.
Tested on currently supported releases: Fedora 26, Fedora 27.
2018-02-28 09:31:38 +00:00
Andrei Belov
2d2b5048bc Packages: added openSUSE Leap, openSUSE Tumbleweed, SLES support. 2018-03-01 23:03:03 +03:00
Andrei Belov
1f06ccb6d8 Packages: fixed changelog generation for rpms. 2018-03-01 23:03:03 +03:00
Andrei Belov
49c58909ad Packages: include unit.spec under specs target. 2018-03-01 23:03:03 +03:00
Andrei Belov
5d5117ce34 Packages: unified check-build-depends target. 2018-03-01 23:03:03 +03:00
Andrei Belov
d27e100b44 Packages: perl-ExtUtils-Embed added to unit-perl dependencies on CentOS. 2018-03-01 23:03:03 +03:00
Andrei Belov
231027e257 Packages: added epel-release to unit-go dependencies on CentOS 6. 2018-03-01 23:23:31 +03:00
Andrei Belov
b2fb20780a Packages: added essential build dependencies. 2018-02-28 10:12:25 +03:00
Andrei Belov
539caf0946 Packages: added Perl package. 2018-02-07 17:26:37 +03:00
Andrei Belov
fc22d1d76d Packages: fixed example configurations after fa714d76592b. 2018-02-07 17:26:29 +03:00
Andrei Belov
9d1410a0bb Packages: "test" and "test-debug" targets for rpm. 2018-01-26 17:44:26 +03:00