Konstantin Pavlov
b0bb829107
Packages: get rid of deprecated configure options.
2023-02-06 12:39:06 -08:00
Konstantin Pavlov
cf3ffb8cf3
Packages: Used a more common name for pkg-config.
...
pkg-config package is named differently on supported rpm-based systems:
- Amazon Linux 2 has pkgconfig
- Fedora has pkgconf-pkg-config
- RHEL 7 has pkgconfig
- RHEL 8 and 9 have pkgconfig-pkg-config
What they share in common is they all provide 'pkgconfig', which we can
use in the spec file so we don't have to specify it per-OS.
2022-12-14 11:52:58 -08:00
Konstantin Pavlov
24e3f17102
Packages: added njs support.
2022-12-07 18:20:44 -08:00
Konstantin Pavlov
2ac4a7527d
Packages: relaxed dependencies between modules and base package.
...
This allows us to update base or single modules packages without
updating the whole set.
2022-11-04 16:52:19 +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
d220eb2996
Packages: dropped /etc/unit directory.
...
It's never used.
2022-06-20 10:53:24 +04:00
Konstantin Pavlov
3e06ae3b34
Packages: ship README.md and CONTRIBUTING.md.
2022-05-16 17:22:40 +04:00
Andrei Belov
7edc5b82d5
Packages: added systemd service for debug binary.
2021-12-02 08:52:52 +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
Andrei Belov
97b4de0d4a
Packages: corrected permissions for /var/log/unit in rpm.
...
Found by rpmlint.
2021-03-26 18:29:26 +03:00
Konstantin Pavlov
d62192738f
Packages: added man page on rpm-based systems.
2021-03-24 18:45:45 +03:00
Konstantin Pavlov
65295c8141
Packages: check and create unit user on each post-script invocation.
2020-12-22 12:57:24 +03:00
Andrei Belov
53d847615b
Packages: run non-privileged processes under "unit" user.
2020-12-17 14:30:18 +03:00
Konstantin Pavlov
a5fa9673d9
Packages: added pcre2 to build depends.
...
While at it, propagate unit build depends to modules.
2020-11-24 14:27:06 +03:00
Konstantin Pavlov
9c09bc1772
Packages: dropped support for non-systemd distributions.
2020-11-24 13:25:09 +03:00
Andrei Belov
3d7a47c9ac
Packages: added RHEL 8 support.
2019-03-26 13:22:59 +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
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
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
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
Andrei Belov
7c09387156
Packages: added strict version dependency for unit-dev/unit-devel.
2018-11-26 13:05:37 +03:00
Andrei Belov
0e76769c1b
Packages: introduced unit-dev/unit-devel package.
2018-10-23 10:30:28 +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
2d2b5048bc
Packages: added openSUSE Leap, openSUSE Tumbleweed, SLES support.
2018-03-01 23:03:03 +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
cb3c7dd40c
Packages: hardening flags for rpm.
2017-12-28 20:38:36 +03:00
Andrei Belov
eabe25d98e
Introduced rpm packages building tools.
2017-10-19 18:23:31 +03:00