summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-02-22Packages: Pass CFLAGS to compile wasm modules on all packaging targetsKonstantin Pavlov1-1/+1
This extends the approach used for debian-based packages in 3f805bc64e28 to rpm as well. Notable change for both deb and rpm packaging is to use CFLAGS as defined in the build/Makefile, and not pass them from the environment which might not be there (as is the case for rpm). While at it, stop passing CFLAGS in the install phase, as it should no longer invoke builds (see d54af163c46b). The rpm part was overlooked in 7a6405566c0, since testing was not done on the platforms where problem manifested itself, notably Amazon Linux 2023 and Fedora 38+.
2024-02-21Packages: added wasm-wasi-component module packaging for rpm-based distrosKonstantin Pavlov1-3/+3
2024-02-20Updated copyright notice.Andrei Zeliankou2-12/+24
2024-02-20Packages: fixed a path to python 3.12 example appKonstantin Pavlov1-1/+1
2024-02-09Packages: Added Fedora 39 support.Konstantin Pavlov5-2/+101
2024-01-16White space formatting fixesAndrei Zeliankou1-1/+1
Closes: <https://github.com/nginx/unit/pull/1062>
2023-08-22Packages: specify runstatedir and logdir explicitely.Konstantin Pavlov1-0/+2
2023-08-22Packages: added libunit-wasm and headers to rpm packaging.Konstantin Pavlov1-0/+17
2023-08-22Packages: added wasm module packaging for rpm-based distros.Konstantin Pavlov3-0/+60
2023-08-22Packages: added pkg-config file packaging for rpm-based distros.Konstantin Pavlov1-0/+1
Debian-based distributions package it automatically.
2023-05-24Updated copyright notice.Andrei Zeliankou2-8/+14
2023-05-08Docs: moved uintd.8 to man8/ subdirectory.Alejandro Colomar1-1/+1
Reviewed-by: Artem Konev <a.konev@f5.com> Signed-off-by: Alejandro Colomar <alx@nginx.com>
2023-03-30Packages: added unitc and setup-unit.Konstantin Pavlov2-1/+9
2023-03-30Packages: Used a stricter check for Amazon Linux 2023.Konstantin Pavlov1-2/+2
Previously, findstring matched on amazonlinux2 too, breaking the build on that OS.
2023-03-29Packages: fixed rpm builds after 817968931c58.Konstantin Pavlov1-3/+3
2023-03-22Packages: Added Amazon Linux 2023.Konstantin Pavlov6-1/+108
2023-03-22Packages: check rpm database for actual provides.Konstantin Pavlov1-1/+1
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-29Renamed --libstatedir to --statedir.Alejandro Colomar1-1/+1
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-02-06Packages: get rid of deprecated configure options.Konstantin Pavlov3-6/+6
2022-12-28Packages: do not clean up rpm build root.Konstantin Pavlov1-2/+2
These directories are used in the Makefile to determine status of a target.
2022-12-14Packages: Used a more common name for pkg-config.Konstantin Pavlov1-1/+1
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-07Packages: added njs support.Konstantin Pavlov2-3/+13
2022-11-16Packages: added Fedora 37 support.Konstantin Pavlov3-1/+85
2022-11-04Packages: relaxed dependencies between modules and base package.Konstantin Pavlov2-1/+3
This allows us to update base or single modules packages without updating the whole set.
2022-11-04Packages: added Python 3.8 and Python 3.9 modules on RHEL 8 clones.Konstantin Pavlov3-0/+71
Refs: https://github.com/nginx/unit/issues/778
2022-06-21Packaging: removed support for SLES and derivatives.Konstantin Pavlov13-144/+5
The packages were never built for those OSes.
2022-06-20Packages: cleanup targets that are not supported anymore.Konstantin Pavlov7-273/+2
2022-06-20Packages: dropped /etc/unit directory.Konstantin Pavlov1-2/+0
It's never used.
2022-05-31Packaging: added support for RHEL 9.Konstantin Pavlov2-1/+13
2022-05-26Packaging: Go: use GO111MODULE=auto in build instructions.Konstantin Pavlov1-1/+1
2022-05-16Packages: ship README.md and CONTRIBUTING.md.Konstantin Pavlov2-2/+4
2022-02-15Updated copyright notice.Valentin Bartenev3-12/+33
2021-12-02Packages: added systemd service for debug binary.Andrei Belov2-4/+34
2021-11-12Packages: added support for Fedora 35.Andrei Belov3-1/+76
2021-10-19Packages: fixed dependency tracking for Go and Java modules on RHEL7.Andrei Belov1-2/+2
2021-04-21Packages: switched to common address for package maintainers.Andrei Belov3-4/+6
2021-04-12Packages: fixed Amazon Linux 2 module packages to use openssl 1.1Konstantin Pavlov1-0/+4
2021-04-08Packages: moved Amazon Linux 2 packages to use openssl 1.1Konstantin Pavlov2-0/+8
2021-03-26Packages: corrected permissions for /var/log/unit in rpm.Andrei Belov1-1/+1
Found by rpmlint.
2021-03-24Packages: added man page on rpm-based systems.Konstantin Pavlov2-2/+3
2021-01-26Packages: added Fedora 33 support.Andrei Belov3-1/+76
2020-12-24Packages: fixed an ability to override package version.Andrei Belov1-1/+2
This was broken since 00d8049418cf.
2020-12-23Packages: set the "--user" value to "nobody" for build-stage tests.Andrei Belov1-2/+2
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-22Packages: check and create unit user on each post-script invocation.Konstantin Pavlov1-4/+4
2020-12-17Packages: run non-privileged processes under "unit" user.Andrei Belov14-15/+21
2020-11-24Packages: added pcre2 to build depends.Konstantin Pavlov2-0/+13
While at it, propagate unit build depends to modules.
2020-11-24Packages: dropped support for non-systemd distributions.Konstantin Pavlov3-139/+8
2020-12-16Packages: introduced PYTEST_ARGS env variable for test targets.Andrei Belov1-2/+2
This is useful for running particular tests, e.g.: PYTEST_ARGS='test/test_respawn.py::TestRespawn::test_respawn_router' make test
2020-09-16Tests: migrated to the pytest.Andrei Zeliankou1-2/+2
2020-06-16Packages: added Fedora 32 support.Andrei Belov3-1/+79