summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian/rules.in (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-05-08Docs: moved uintd.8 to man8/ subdirectory.Alejandro Colomar1-2/+2
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-0/+3
2023-03-29Auto: mirroring installation structure in build tree.Alejandro Colomar1-3/+3
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-02-06Packages: get rid of deprecated configure options.Konstantin Pavlov1-2/+2
2022-12-07Packages: added njs support.Konstantin Pavlov1-1/+8
2022-05-16Packages: ship README.md and CONTRIBUTING.md.Konstantin Pavlov1-2/+4
2021-12-02Packages: added systemd service for debug binary.Andrei Belov1-1/+2
2021-10-21Packages: removed support for EOL'ed Debian/Ubuntu distros.Andrei Belov1-4/+0
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-03-24Packages: added man page on debian-based systems.Konstantin Pavlov1-1/+3
2020-12-28Packages: fixed building for Ubuntu 16.04 "xenial".Andrei Belov1-0/+5
Changes introduced in a27532e3a17b effectively broke building of the unit package due to missed dh_installsystemd script in older debhelper 9.x. Once Ubuntu 16.04 reach EOL, the following actions should be made: - this commit should be reverted; - minimal debhelper version should be increased to 11.
2020-11-24Packages: dropped support for non-systemd distributions.Konstantin Pavlov1-1/+1
2020-12-16Packages: the NOTICE file added to debian binaries.Andrei Belov1-1/+2
This resolves the following lintian error: https://lintian.debian.org/tags/missing-notice-file-for-apache-license.html While here, changed upstream changelog name to conform with the policy: https://lintian.debian.org/tags/wrong-name-for-upstream-changelog.html
2019-12-24Go: moving source files to the root of the project.Max Romanov1-0/+1
This patch includes packaging changes related to files move.
2019-02-28Packages: added unit-jsc (Java Servlet Container) family.Andrei Belov1-0/+4
2019-02-26Packages: fixed packages build, broken in 00d8049418cf.Andrei Belov1-0/+2
2018-10-23Packages: introduced unit-dev/unit-devel package.Andrei Belov1-0/+8
2017-12-28Packages: hardening flags for deb.Andrei Belov1-3/+13
2017-10-19Introduced deb packages building tools.0.2Andrei Belov1-0/+105