Commit Graph

47 Commits

Author SHA1 Message Date
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
Andrei Belov
0c4ec72ca8 Packages: added support for Amazon Linux. 2018-01-22 16:39:31 +03:00
Andrei Belov
be8df0631a Packages: improved per-module dependency tracking. 2018-01-22 16:39:31 +03:00
Andrei Belov
cb3c7dd40c Packages: hardening flags for rpm. 2017-12-28 20:38:36 +03:00
Max Romanov
cdf900cf2c Packaging changes for updated Go package.
- package name changed to 'nginx/unit';
- source files installed in /usr/share/gocode;
- rpm and deb go packages made noarch.
2017-12-01 16:59:41 +03:00
Andrei Belov
eabe25d98e Introduced rpm packages building tools. 2017-10-19 18:23:31 +03:00