Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-03-29 | Auto: mirroring installation structure in build tree. | Alejandro Colomar | 3 | -9/+9 | |
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-29 | Renamed --libstatedir to --statedir. | Alejandro Colomar | 3 | -3/+3 | |
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-13 | Docker: bumped language versions. | Konstantin Pavlov | 1 | -3/+3 | |
2023-02-13 | Docker: limited the waiting time for control socket creation. | Konstantin Pavlov | 1 | -2/+9 | |
While at it, fixed a typo. | |||||
2023-02-13 | Docker: made dockerfiles use a single stage build process. | Konstantin Pavlov | 2 | -35/+22 | |
2023-02-13 | Docker: added a target to generate Docker library definition. | Konstantin Pavlov | 1 | -1/+18 | |
2023-02-13 | Docker: cleanup unused targets. | Konstantin Pavlov | 1 | -20/+2 | |
2023-02-28 | contrib: fixed njs make rule. | Konstantin Pavlov | 1 | -1/+1 | |
2023-03-01 | Merged with the 1.29 branch. | Andrei Zeliankou | 8 | -8/+8 | |
2023-02-28 | Generated Dockerfiles for Unit 1.29.1.1.29.1 | Andrei Zeliankou | 8 | -8/+8 | |
2023-02-27 | contrib: updated njs to 0.7.10. | Konstantin Pavlov | 3 | -3/+3 | |
2023-02-27 | contrib: updated njs to 0.7.10. | Konstantin Pavlov | 3 | -3/+3 | |
2023-02-06 | Packages: get rid of deprecated configure options. | Konstantin Pavlov | 8 | -20/+20 | |
2022-12-28 | Packages: do not clean up rpm build root. | Konstantin Pavlov | 1 | -2/+2 | |
These directories are used in the Makefile to determine status of a target. | |||||
2022-12-15 | Generated Dockerfiles for Unit 1.29.0.1.29.0 | Andrei Zeliankou | 8 | -8/+8 | |
2022-12-14 | Packages: Used a more common name for pkg-config. | Konstantin Pavlov | 1 | -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-07 | Packages: added njs support. | Konstantin Pavlov | 5 | -8/+30 | |
2022-11-29 | Added contribs and njs. | Konstantin Pavlov | 6 | -0/+168 | |
2022-12-13 | Docker: limited the waiting time for control socket removal. | Konstantin Pavlov | 1 | -1/+15 | |
Fixes https://github.com/nginx/unit/issues/728 Refs https://github.com/nginx/unit/issues/718 | |||||
2022-12-13 | Regenerated Dockerfiles. | Konstantin Pavlov | 2 | -4/+4 | |
2022-12-07 | Docker: bumped language versions. | Konstantin Pavlov | 1 | -2/+2 | |
2022-11-16 | Packages: added Ubuntu 22.10 "kinetic" support. | Konstantin Pavlov | 3 | -0/+101 | |
2022-11-16 | Packages: added Fedora 37 support. | Konstantin Pavlov | 3 | -1/+85 | |
2022-12-28 | Packages: do not clean up rpm build root. | Konstantin Pavlov | 1 | -2/+2 | |
These directories are used in the Makefile to determine status of a target. | |||||
2022-11-04 | Packages: relaxed dependencies between modules and base package. | Konstantin Pavlov | 5 | -2/+6 | |
This allows us to update base or single modules packages without updating the whole set. | |||||
2022-11-04 | Packages: added Python 3.8 and Python 3.9 modules on RHEL 8 clones. | Konstantin Pavlov | 3 | -0/+71 | |
Refs: https://github.com/nginx/unit/issues/778 | |||||
2022-10-27 | Fixed path for sed(1). | Alejandro Colomar | 1 | -1/+1 | |
Some distros provide it in /bin/sed and others in both /bin/sed and /usr/bin/sed. Use the more available one. Reported-by: Konstantin Pavlov <thresh@nginx.com> Fixes: ac64ffde5718 "Improved readability of <docker-entrypoint.sh>." Signed-off-by: Alejandro Colomar <alx@nginx.com> | |||||
2022-10-26 | Improved readability of <docker-entrypoint.sh>. | javad mnjd | 1 | -5/+5 | |
Cc: Konstantin Pavlov <thresh@nginx.com> Signed-off-by: Alejandro Colomar <alx@nginx.com> | |||||
2022-09-13 | Generated Dockerfiles for Unit 1.28.0.1.28.0 | Andrei Zeliankou | 8 | -8/+8 | |
2022-09-09 | Regenerated Dockerfiles. | Konstantin Pavlov | 3 | -6/+6 | |
2022-09-09 | Docker: bumped language versions, moved jsc11 to eclipse-temurin. | Konstantin Pavlov | 1 | -3/+3 | |
openjdk builds are no longer provided in the docker library due to deprecation. | |||||
2022-06-21 | Packaging: removed support for SLES and derivatives. | Konstantin Pavlov | 13 | -144/+5 | |
The packages were never built for those OSes. | |||||
2022-06-20 | Packages: cleanup targets that are not supported anymore. | Konstantin Pavlov | 23 | -795/+2 | |
2022-06-20 | Packages: dropped /etc/unit directory. | Konstantin Pavlov | 2 | -3/+0 | |
It's never used. | |||||
2022-06-02 | Generated Dockerfiles for Unit 1.27.0.1.27.0 | Andrei Zeliankou | 8 | -8/+8 | |
2022-05-31 | Packaging: added support for RHEL 9. | Konstantin Pavlov | 2 | -1/+13 | |
2022-05-26 | Packaging: Go: use GO111MODULE=auto in build instructions. | Konstantin Pavlov | 2 | -2/+2 | |
2022-05-16 | Packages: ship README.md and CONTRIBUTING.md. | Konstantin Pavlov | 6 | -7/+13 | |
2022-05-05 | Packages: added Ubuntu 22.04 "jammy" support. | Konstantin Pavlov | 1 | -0/+14 | |
2022-05-11 | Regenerated Dockerfiles. | Konstantin Pavlov | 8 | -10/+42 | |
2022-05-11 | Docker: bumped language versions. | Konstantin Pavlov | 1 | -2/+2 | |
2022-02-15 | Updated copyright notice. | Valentin Bartenev | 7 | -29/+73 | |
2022-01-13 | Docker: bumped Python image version. | Konstantin Pavlov | 1 | -1/+1 | |
2021-12-17 | Docker: bumped PHP image version. | Konstantin Pavlov | 1 | -1/+1 | |
2021-12-01 | Docker: made Dockerfiles architecture agnostic. | Konstantin Pavlov | 2 | -2/+6 | |
2021-12-02 | Generated Dockerfiles for Unit 1.26.1.1.26.1 | Valentin Bartenev | 8 | -8/+8 | |
2021-12-02 | Packages: added systemd service for debug binary. | Andrei Belov | 4 | -5/+50 | |
2021-11-30 | Docker: respect the binary from CMD in the entrypoint. | Konstantin Pavlov | 1 | -1/+1 | |
2021-12-01 | Packages: adjusted debhelper minimal version for Debian/Ubuntu. | Andrei Belov | 3 | -6/+6 | |
Forgotten in 199a11eceb3c. While here, Standards-Version increased to 4.1.4 (matches Ubuntu 18.04 as the oldest supported distro). | |||||
2021-11-18 | Generated Dockerfiles for Unit 1.26.0.1.26.0 | Valentin Bartenev | 8 | -8/+8 | |