Commit Graph

55 Commits

Author SHA1 Message Date
Andrei Zeliankou a1e00b4e28 White space formatting fixes
Closes: <https://github.com/nginx/unit/pull/1062>
2024-01-16 15:37:07 +00:00
Konstantin Pavlov ffc6e6b08f Packages: specify runstatedir and logdir explicitely. 2023-08-22 14:55:10 -07:00
Konstantin Pavlov d5c2ed1755 Packages: added wasm module packaging for rpm-based distros. 2023-08-22 14:55:10 -07:00
Alejandro Colomar 1266eda80c Docs: moved uintd.8 to man8/ subdirectory.
Reviewed-by: Artem Konev <a.konev@f5.com>
Signed-off-by: Alejandro Colomar <alx@nginx.com>
2023-05-08 17:47:26 +02:00
Konstantin Pavlov 73c6c8a7f7 Packages: added unitc and setup-unit. 2023-03-30 16:03:41 -07:00
Konstantin Pavlov 24243ecab3 Packages: Added Amazon Linux 2023. 2023-03-22 16:55:36 -07:00
Konstantin Pavlov 700ee28bbf Packages: check rpm database for actual provides.
Previously, we required an exact non-virtual package, however it's fine
if some package has a fully-virtual provides for what we need.
2023-03-22 16:55:25 -07:00
Alejandro Colomar 5ba79b9b52 Renamed --libstatedir to --statedir.
In BSD systems, it's usually </var/db> or some other dir under </var>
that is not </var/lib>, so $statedir is a more generic name.  See
hier(7).

Reported-by: Andrei Zeliankou <zelenkov@nginx.com>
Reported-by: Zhidao Hong <z.hong@f5.com>
Reviewed-by: Konstantin Pavlov <thresh@nginx.com>
Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
Cc: Liam Crilly <liam@nginx.com>
Signed-off-by: Alejandro Colomar <alx@nginx.com>
2023-03-29 00:40:40 +02:00
Konstantin Pavlov b0bb829107 Packages: get rid of deprecated configure options. 2023-02-06 12:39:06 -08:00
Konstantin Pavlov ab3d1297af Packages: do not clean up rpm build root.
These directories are used in the Makefile to determine status of a target.
2022-12-28 20:06:43 -08:00
Konstantin Pavlov 24e3f17102 Packages: added njs support. 2022-12-07 18:20:44 -08:00
Konstantin Pavlov 0feab91c5b Packages: added Fedora 37 support. 2022-11-16 17:06:42 +04:00
Konstantin Pavlov 11f416878a Packages: added Python 3.8 and Python 3.9 modules on RHEL 8 clones.
Refs: https://github.com/nginx/unit/issues/778
2022-11-04 13:55:16 +04:00
Konstantin Pavlov 97124fc349 Packaging: removed support for SLES and derivatives.
The packages were never built for those OSes.
2022-06-21 15:04:19 +04:00
Konstantin Pavlov 637a2006a6 Packages: cleanup targets that are not supported anymore. 2022-06-20 18:20:11 +04:00
Konstantin Pavlov 3d53bba5b3 Packaging: added support for RHEL 9. 2022-05-31 18:35:39 +04:00
Konstantin Pavlov 3e06ae3b34 Packages: ship README.md and CONTRIBUTING.md. 2022-05-16 17:22:40 +04:00
Andrei Belov 28eaf9d378 Packages: added support for Fedora 35. 2021-11-12 16:45:29 +03:00
Andrei Belov f90754f84a Packages: switched to common address for package maintainers. 2021-04-21 16:07:26 +03:00
Konstantin Pavlov 30922c5741 Packages: moved Amazon Linux 2 packages to use openssl 1.1 2021-04-08 10:55:30 +03:00
Konstantin Pavlov d62192738f Packages: added man page on rpm-based systems. 2021-03-24 18:45:45 +03:00
Andrei Belov e4f7d1a29c Packages: added Fedora 33 support. 2021-01-26 13:06:30 +03:00
Andrei Belov c981ac6558 Packages: fixed an ability to override package version.
This was broken since 00d8049418cf.
2020-12-24 16:17:27 +03:00
Andrei Belov c99b175988 Packages: set the "--user" value to "nobody" for build-stage tests.
This allows tests to pass well in cases when the default user specified in
the ./configure parameters does not exist in the building environment.
2020-12-23 18:31:18 +03:00
Andrei Belov 53d847615b Packages: run non-privileged processes under "unit" user. 2020-12-17 14:30:18 +03:00
Andrei Belov d15acabfc5 Packages: introduced PYTEST_ARGS env variable for test targets.
This is useful for running particular tests, e.g.:
PYTEST_ARGS='test/test_respawn.py::TestRespawn::test_respawn_router' make test
2020-12-16 09:55:59 +03:00
Andrei Zeliankou d5e9159340 Tests: migrated to the pytest. 2020-09-16 21:31:15 +01:00
Andrei Belov 22c917bead Packages: added Fedora 32 support. 2020-06-16 15:02:29 +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
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
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 e1de5bcfab Packages: log and pid paths made consistent. 2019-07-04 14:14:29 +03:00
Andrei Belov 3d7a47c9ac Packages: added RHEL 8 support. 2019-03-26 13:22:59 +03:00
Andrei Belov 7ce6f05975 Packages: added unit-jsc (Java Servlet Container) family. 2019-02-28 18:22:15 +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 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
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 d55282105a Packages: updated to 1.5-1. 2018-10-25 17:49:10 +03:00
Andrei Belov 2a9fc6b1fe Packages: updated to 1.4-2. 2018-09-27 15:05:03 +03:00
Andrei Belov fea05e3065 Packages: enabled OpenSSL support. 2018-09-20 16:14:29 +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 b2fb20780a Packages: added essential build dependencies. 2018-02-28 10:12:25 +03:00