summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/Makefile (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-12-18Packages: enable otel supportKonstantin Pavlov1-1/+2
2024-08-19Packaging: fix build-depends on multiarch debian systemsKonstantin Pavlov1-2/+5
It's possible to have two versions of the same package installed on debian-based multiarch systems - e.g. i386 alongside amd64. This means that when getting the package status through dpkg-query we'd get a duplicated string: % dpkg-query -f '$${db:Status-Status}' -W libssl-dev $installed$installed % dpkg -l | grep libssl-dev ii libssl-dev:amd64 3.0.11-1~deb12u2 amd64 Secure Sockets Layer toolkit - development files ii libssl-dev:i386 3.0.11-1~deb12u2 i386 Secure Sockets Layer toolkit - development files The fix is to explicitely check for the main architecture and, in case for noarch (or rather all-arch in debian terms) packages, check for special :all architecture as well.
2024-07-03Packages: added Ubuntu 24.04 "noble" supportKonstantin Pavlov1-0/+14
2024-07-03Packages: clean up EOL debian-based distributionsKonstantin Pavlov1-78/+0
2024-05-20Packaging: fix build-depends detection on debian-based systemsKonstantin Pavlov1-2/+2
dpkg-query -W will show information about the package if any other package references it, even when the queried package is not installed. The fix is to query for an actual status of a needed build dependency.
2024-05-20Packaging: added missing build dependencies to MakefilesKonstantin Pavlov1-1/+1
Forgotten in bf3d5759e and 260494626.
2024-02-09Packages: added Ubuntu 23.10 "mantic" support.Konstantin Pavlov1-0/+17
2023-08-22Packages: specify runstatedir and logdir explicitely.Konstantin Pavlov1-0/+2
2023-08-22Packages: added libunit-wasm and headers to deb packaging.Konstantin Pavlov1-2/+2
2023-08-22Packages: added wasm module packaging for deb-based distros.Konstantin Pavlov1-0/+9
2023-06-07Packages: added Debian 12 "bookworm" support.Konstantin Pavlov1-0/+11
2023-05-03Packages: added Ubuntu 23.04 "lunar" support.Konstantin Pavlov1-0/+15
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 Pavlov1-1/+2
2023-03-29Auto: mirroring installation structure in build tree.Alejandro Colomar1-4/+4
This makes the build tree more organized, which is good for adding new stuff. Now, it's useful for example for adding manual pages in man3/, but it may be useful in the future for example for extending the build system to run linters (e.g., clang-tidy(1), Clang analyzer, ...) on the C source code. Previously, the build tree was quite flat, and looked like this (after `./configure && make`): $ tree -I src build build ├── Makefile ├── autoconf.data ├── autoconf.err ├── echo ├── libnxt.a ├── nxt_auto_config.h ├── nxt_version.h ├── unitd └── unitd.8 1 directory, 9 files And after this patch, it looks like this: $ tree -I src build build ├── Makefile ├── autoconf.data ├── autoconf.err ├── bin │ └── echo ├── include │ ├── nxt_auto_config.h │ └── nxt_version.h ├── lib │ ├── libnxt.a │ └── unit │ └── modules ├── sbin │ └── unitd ├── share │ └── man │ └── man8 │ └── unitd.8 └── var ├── lib │ └── unit ├── log │ └── unit └── run └── unit 17 directories, 9 files It also solves one issue introduced in 5a37171f733f ("Added default values for pathnames."). Before that commit, it was possible to run unitd from the build system (`./build/unitd`). Now, since it expects files in a very specific location, that has been broken. By having a directory structure that mirrors the installation, it's possible to trick it to believe it's installed, and run it from there: $ ./configure --prefix=./build $ make $ ./build/sbin/unitd Fixes: 5a37171f733f ("Added default values for pathnames.") Reported-by: Liam Crilly <liam@nginx.com> Reviewed-by: Konstantin Pavlov <thresh@nginx.com> Reviewed-by: Andrew Clayton <a.clayton@nginx.com> Cc: Andrei Zeliankou <zelenkov@nginx.com> Cc: Zhidao Hong <z.hong@f5.com> Signed-off-by: Alejandro Colomar <alx@nginx.com>
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 Pavlov1-2/+2
2022-12-07Packages: added njs support.Konstantin Pavlov1-3/+7
2022-11-16Packages: added Ubuntu 22.10 "kinetic" support.Konstantin Pavlov1-0/+15
2022-11-04Packages: relaxed dependencies between modules and base package.Konstantin Pavlov1-0/+1
This allows us to update base or single modules packages without updating the whole set.
2022-06-20Packages: cleanup targets that are not supported anymore.Konstantin Pavlov1-15/+0
2022-05-16Packages: ship README.md and CONTRIBUTING.md.Konstantin Pavlov1-1/+1
2022-05-05Packages: added Ubuntu 22.04 "jammy" support.Konstantin Pavlov1-0/+14
2021-11-09Packages: fixed dependency checks on multi-arch Debian/Ubuntu.Andrei Belov1-1/+1
2021-10-21Packages: removed support for EOL'ed Debian/Ubuntu distros.Andrei Belov1-97/+2
While here, default debhelper compat level bumped to 11 (this is the version installed out of the box on Ubuntu 18.04 "bionic" which is the oldest one from supported distros).
2021-10-21Packages: added Ubuntu 21.10 "impish" support.Andrei Belov1-0/+16
2021-08-17Packages: added Debian 11 "bullseye" support.Andrei Belov1-0/+12
2021-05-27Packages: added Ubuntu 21.04 "hirsute" support.Andrei Belov1-0/+15
2021-04-21Packages: switched to common address for package maintainers.Andrei Belov1-0/+6
2021-03-24Packages: added man page on debian-based systems.Konstantin Pavlov1-1/+1
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-17Packages: run non-privileged processes under "unit" user.Andrei Belov1-0/+2
2020-12-16Packages: eliminated debuild warning about debian/rules.Andrei Belov1-0/+1
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-11-09Packages: added Ubuntu 20.10 "groovy" support.Andrei Belov1-0/+15
2020-09-16Tests: migrated to the pytest.Andrei Zeliankou1-2/+2
2020-04-23Packages: added Ubuntu 20.04 "focal" support.Andrei Belov1-0/+12
2020-03-12Using disk file to store large request body.Max Romanov1-0/+1
This closes #386 on GitHub.
2019-12-24Go: moving source files to the root of the project.Max Romanov1-1/+1
This patch includes packaging changes related to files move.
2019-12-24Packages: making unit-go architecture independent.Max Romanov1-11/+6
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-11-21Packages: added Ubuntu 19.10 "eoan" support.Andrei Belov1-0/+14
2019-11-19Packages: added Python 3.8 on Ubuntu 18.04, 19.04.Andrei Belov1-0/+2
2019-07-09Packages: Debian 10 "buster" support added.Andrei Belov1-0/+12
2019-06-07Packages: switched to Java 11 on Ubuntu 18.04.Andrei Belov1-1/+1
2019-06-04Packages: added Python 3.7 on Ubuntu 18.04.Andrei Belov1-0/+1
This closes #251 issue on GitHub.
2019-04-22Packages: Ubuntu 19.04 "disco" support added.Andrei Belov1-0/+13
2019-03-01Packages: removed Ubuntu 17.04 and 17.10 references due to EOL.Andrei Belov1-22/+0
2019-02-28Packages: added unit-jsc (Java Servlet Container) family.Andrei Belov1-5/+23
2019-02-26Packages: yet another fix added, missed in a7af31b69692.Andrei Belov1-1/+1