Commit Graph

276 Commits

Author SHA1 Message Date
Andrei Belov 22c917bead Packages: added Fedora 32 support. 2020-06-16 15:02:29 +03:00
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
Valentin Bartenev ebf86b34d1 Generated Dockerfiles for Unit 1.18.0. 2020-05-28 17:34:06 +03:00
Andrei Belov af9392af1f Packages: added Ubuntu 20.04 "focal" support. 2020-04-23 19:55:19 +03:00
Valentin Bartenev 4d62989f5c Generated Dockerfiles for Unit 1.17.0. 2020-04-16 17:49:09 +03:00
Konstantin Pavlov bac93637ed Fixed filepath in the image checksum file. 2020-03-19 13:16:37 +03:00
Konstantin Pavlov 3b94102f20 Added checksum generation to make dist target.
While at it, clean up dist artifacts on make clean.
2020-03-13 17:42:08 +03:00
Konstantin Pavlov 7181a661c5 Added a target to export docker images as tarballs 2020-03-13 17:35:47 +03:00
Valentin Bartenev 8f397c8ae5 Generated Dockerfiles for Unit 1.16.0. 2020-03-12 18:13:08 +03: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
Valentin Bartenev e6bb4c5493 Generated Dockerfiles for Unit 1.15.0. 2020-02-06 17:33:44 +03:00
Max Romanov a58ca623cd Packages: added curl dependency to fetch Java archives. 2020-01-28 17:00:28 +03:00
Valentin Bartenev d2eac78c57 Updated copyright notice. 2020-01-27 16:52:45 +03:00
Valentin Bartenev be8589d925 Generated Dockerfiles for Unit 1.14.0. 2019-12-26 17:03:21 +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
Konstantin Pavlov 9a7881d131 Regenerated Dockerfiles. 2019-11-20 18:24:50 +03:00
Konstantin Pavlov c87111cbb2 Moved docker images to Debian 10 "buster".
This changes the language versions we provide:
 - python 3.5 -> python 3.7
 - go 1.7/1.8 -> go 1.11
 - perl 5.24 -> perl 5.28
 - ruby 2.3 -> ruby 2.5
 - php 7.0 -> php 7.3
2019-11-20 18:24:46 +03:00
Andrei Belov 5758a06374 Packages: added Ubuntu 19.10 "eoan" support. 2019-11-21 14:13:24 +03:00
Andrei Belov bc14605fd6 Packages: added Python 3.8 on Ubuntu 18.04, 19.04. 2019-11-19 12:43:51 +03:00
Valentin Bartenev 2241847efb Generated Dockerfiles for Unit 1.13.0. 2019-11-14 19:24:14 +03:00
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