Commit Graph

285 Commits

Author SHA1 Message Date
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
Valentin Bartenev
204dfec879 Generated Dockerfiles for Unit 1.8.0. 2019-03-01 18:23:39 +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
5b98f0a552 Packages: removed Ubuntu 17.04 and 17.10 references due to EOL. 2019-03-01 10:46:46 +03:00
Andrei Belov
7ce6f05975 Packages: added unit-jsc (Java Servlet Container) family. 2019-02-28 18:22:15 +03:00
Valentin Bartenev
5c9fe8c306 Added trailing zero to version string.
While it looks nicer without zero 3-rd version number, this should
improve interoperability.  Version string can be parsed or used for
sorting.  And it is easier to handle and less confusing when there
is constant number of version parts.

Moreover, NPM also expects version format with 3 parts.
So ".0" has already been used in Node.js module version.
2019-02-27 17:25:28 +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
aa7478267a Packages: yet another fix added, missed in a7af31b69692. 2019-02-26 14:53:28 +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
Valentin Bartenev
0f008918b3 Merged with the 1.7 branch. 2019-02-11 15:42:16 +03:00
Valentin Bartenev
6680fd5b8c Generated Dockerfiles for Unit 1.7.1. 2019-02-07 17:46:46 +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
Valentin Bartenev
73eceb7e56 Year 2019. 2019-01-09 18:03:48 +03:00
Valentin Bartenev
8193601226 Year 2019. 2019-01-09 18:03:48 +03:00
Andrei Belov
4ca0479c98 Packages: Ubuntu 18.10 "cosmic" support added. 2018-12-27 11:07:24 +03:00
Andrei Belov
be049932b1 Packages: Ubuntu 18.10 "cosmic" support added. 2018-12-27 11:07:24 +03:00
Andrei Belov
a22fd45248 Packages: URL fixed in examples to work with latest curl. 2018-12-27 11:06:43 +03:00
Andrei Belov
325421eac7 Packages: URL fixed in examples to work with latest curl. 2018-12-27 11:06:43 +03:00
Valentin Bartenev
c51e1aa47d Generated Dockerfiles for Unit 1.7. 2018-12-20 19:17:08 +03:00
Alexander Borisov
d6f38a3268 Node.js: added check for libunit version at compile time. 2018-12-19 15:56:57 +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
1ebd23f11a Generated Dockerfiles for Unit 1.6. 2018-11-15 16:05:11 +03:00
Andrei Belov
64cd102546 Docker: avoid removing of Ruby dependencies.
This closes #179 issue on GitHub.
2018-10-29 14:24:26 +03:00
Valentin Bartenev
a1abebd5b9 Generated Dockerfiles for Unit 1.5. 2018-10-25 17:49:10 +03:00
Valentin Bartenev
d55282105a Packages: updated to 1.5-1. 2018-10-25 17:49:10 +03:00
Alexander Borisov
7801814126 Added ability to publish Node.js module. 2018-10-23 13:06:44 +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
6c5e5f25ef Packages: all CRLF newlines in examples converted to LF. 2018-10-05 14:10:13 +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
Valentin Bartenev
80217caa52 Generated Dockerfiles for Unit 1.4. 2018-09-20 18:19:14 +03:00
Andrei Belov
fea05e3065 Packages: enabled OpenSSL support. 2018-09-20 16:14:29 +03:00
Valentin Bartenev
604a904a47 Generated Dockerfiles for Unit 1.3. 2018-07-13 14:45:08 +03:00
Valentin Bartenev
42e1d8e3b2 Packages: tar building functionality moved into pkg/Makefile. 2018-06-27 18:30:49 +03:00
Valentin Bartenev
b1bdf309e2 Generated Dockerfiles for Unit 1.2. 2018-06-07 17:46:46 +03:00
Andrei Belov
8a156a9fc4 Packages: Ubuntu 18.10 "bionic" support added. 2018-05-14 14:11:37 +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
Valentin Bartenev
472e9b2a24 Generated Dockerfiles for Unit 1.1. 2018-04-26 18:31:13 +03:00
Nick Shadrin
24a292a362 Fixed typo in RPM packages. 2018-04-24 18:51:22 +03:00