summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian (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-04-06Packages: use groupadd/useradd on Debian-based operating systems.Konstantin Pavlov1-5/+4
addgroup/adduser will no longer be installed by default in the "minbase". Also, moving to lower-level utilities saves us one runtime dependency.
2023-03-30Packages: added unitc and setup-unit.Konstantin Pavlov2-0/+4
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 Pavlov2-2/+10
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: dropped /etc/unit directory.Konstantin Pavlov1-1/+0
It's never used.
2022-05-16Packages: ship README.md and CONTRIBUTING.md.Konstantin Pavlov1-2/+4
2022-02-15Updated copyright notice.Valentin Bartenev1-5/+7
2021-12-02Packages: added systemd service for debug binary.Andrei Belov2-1/+16
2021-12-01Packages: adjusted debhelper minimal version for Debian/Ubuntu.Andrei Belov1-2/+2
Forgotten in 199a11eceb3c. While here, Standards-Version increased to 4.1.4 (matches Ubuntu 18.04 as the oldest supported distro).
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-04-21Packages: switched to common address for package maintainers.Andrei Belov1-1/+1
2021-03-24Packages: added man page on debian-based systems.Konstantin Pavlov1-1/+3
2021-01-18Bumping year in copyright notice.Valentin Bartenev1-8/+8
2020-12-28Packages: fixed building for Ubuntu 16.04 "xenial".Andrei Belov2-0/+79
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-12-17Packages: run non-privileged processes under "unit" user.Andrei Belov3-4/+35
2020-11-24Packages: added pcre2 to build depends.Konstantin Pavlov1-1/+2
While at it, propagate unit build depends to modules.
2020-11-24Packages: dropped support for non-systemd distributions.Konstantin Pavlov2-75/+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
2020-01-27Updated copyright notice.Valentin Bartenev1-4/+9
2019-12-25Go: changing import name for "unit.nginx.org/go".Max Romanov1-1/+1
This patch includes packaging changes - update unit-go installation directory.
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-09-25Packaging: debian: drop a surplus line from init scriptKonstantin Pavlov1-2/+0
2019-09-25Packaging: debian: changed NAME in the init scriptKonstantin Pavlov1-1/+1
This fixes the following issues: - inability to stop unit daemon - default configuration from /etc/default/unit are not propagated to the daemon
2019-09-25Packages: added logrotate configuration for Debian packages.Andrei Belov1-0/+15
While here, made logrotate configuration consistent between rpm and deb. This closes #323 issue on GitHub.
2019-07-04Packages: log and pid paths made consistent.Andrei Belov3-3/+3
2019-04-24Packages: using "pass" option in config examples.Valentin Bartenev1-4/+4
The "application" option has been deprecated since 1.8.0.
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
2019-01-09Year 2019.Valentin Bartenev1-4/+5
2018-11-26Packages: added strict version dependency for unit-dev/unit-devel.Andrei Belov1-1/+2
2018-10-23Packages: introduced unit-dev/unit-devel package.Andrei Belov2-0/+16
2018-10-09Renamed "go" application type to "external".Valentin Bartenev1-1/+1
There's nothing specific to Go language. This type of application object can be used to run any external application that utilizes libunit API.
2018-10-05Packages: all CRLF newlines in examples converted to LF.Andrei Belov1-51/+51
2018-09-26Packages: removed "loadconfig" and "saveconfig" actions.Andrei Belov1-29/+1
2018-09-20Packages: enabled OpenSSL support.Andrei Belov1-1/+2
2018-02-07Packages: added Perl package.Andrei Belov1-0/+12
2018-02-07Packages: fixed example configurations after fa714d76592b.Andrei Belov1-2/+2
2018-01-01Year 2018.Valentin Bartenev1-4/+4
2017-12-28Packages: hardening flags for deb.Andrei Belov1-3/+13
2017-12-01Packaging changes for updated Go package.Max Romanov1-1/+1
- package name changed to 'nginx/unit'; - source files installed in /usr/share/gocode; - rpm and deb go packages made noarch.
2017-10-19Introduced deb packages building tools.0.2Andrei Belov13-0/+400