Commit Graph

102 Commits

Author SHA1 Message Date
Valentin Bartenev 946cbd1f10 Generated Dockerfiles for Unit 1.12.0. 2019-10-03 17:08:32 +03:00
Konstantin Pavlov f5e86ad8fc Regenerated Dockerfiles. 2019-10-03 15:08:50 +03:00
Konstantin Pavlov c6df631bcc Docker: added an entrypoint to make configuration easier.
Docker images now accept shell scripts, json files and certificate chain
bundles to provide configuration on a container start by placing them
into /docker-entrypoint.d/ directory.
2019-10-03 15:08:44 +03:00
Konstantin Pavlov 5c6b01d76c Packaging: debian: drop a surplus line from init script 2019-09-25 16:19:31 +03:00
Konstantin Pavlov 919230a21e Packaging: debian: changed NAME in the init script
This fixes the following issues:
 - inability to stop unit daemon
 - default configuration from /etc/default/unit are not propagated to the daemon
2019-09-25 16:18:19 +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
Valentin Bartenev 7d53cc7029 Generated Dockerfiles for Unit 1.11.0. 2019-09-19 17:36:09 +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
Valentin Bartenev 19f59b221d Generated Dockerfiles for Unit 1.10.0. 2019-08-22 18:43:25 +03:00
Valentin Bartenev 700987c355 Fixed rebuilding of Dockerfiles. 2019-08-22 18:43:21 +03:00
Andrei Belov c0aad59d13 Packages: Debian 10 "buster" support added. 2019-07-09 14:17:03 +03:00
Andrei Belov e1de5bcfab Packages: log and pid paths made consistent. 2019-07-04 14:14:29 +03:00
Andrei Belov c62cb7acdc Packages: switched to Java 11 on Ubuntu 18.04. 2019-06-07 14:17:37 +03:00
Andrei Belov be515d2a36 Packages: added Python 3.7 on Ubuntu 18.04.
This closes #251 issue on GitHub.
2019-06-04 12:16:57 +03:00
Valentin Bartenev 081a6baeb7 Generated Dockerfiles for Unit 1.9.0. 2019-05-30 17:16:24 +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 48ae47017b Packages: Ubuntu 19.04 "disco" support added. 2019-04-22 13:50:02 +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
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