#
2397:817968931c58 |
| 22-Mar-2023 |
Alejandro Colomar |
Auto: mirroring installation structure in build tree.
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/, bu
Auto: mirroring installation structure in build tree.
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>
show more ...
|
Revision tags: 1.29.1-1, 1.29.1, 1.29.0-1, 1.29.0, 1.28.0-1, 1.28.0, 1.27.0-1, 1.27.0 |
|
#
2062:ede07f84045b |
| 10-Jan-2022 |
Max Romanov |
Tests: using modules in Go.
|
Revision tags: 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0, 1.25.0-1, 1.25.0, 1.24.0-1, 1.24.0 |
|
#
1880:00dc6b211906 |
| 25-May-2021 |
Max Romanov |
Go: fixing tests for Go 1.16.
In Go 1.16, the module-aware mode is enabled by default; to fall back to previous behavior, the GO111MODULE environment variable should be set to 'auto'.
Details: http
Go: fixing tests for Go 1.16.
In Go 1.16, the module-aware mode is enabled by default; to fall back to previous behavior, the GO111MODULE environment variable should be set to 'auto'.
Details: https://golang.org/doc/go1.16
show more ...
|
Revision tags: 1.23.0-1, 1.23.0, 1.22.0-1, 1.22.0, 1.21.0-1, 1.21.0, 1.20.0-1, 1.20.0, 1.19.0-1, 1.19.0, 1.18.0-1, 1.18.0, 1.17.0-1, 1.17.0, 1.16.0-1, 1.16.0, 1.15.0-1, 1.15.0 |
|
#
1344:da88d2612f96 |
| 28-Jan-2020 |
Max Romanov |
Go: adding main configure CFLAGS and LDFLAGS to module build flags.
This makes ASAN buildbot workers to work out-of-the-box.
|
Revision tags: 1.14.0-1, 1.14.0 |
|
#
1329:d4d7d2ca74b1 |
| 25-Dec-2019 |
Max Romanov |
Go: changing import name for "unit.nginx.org/go".
This patch includes packaging changes - update unit-go installation directory.
|
#
1316:5b767c6bfd0a |
| 24-Dec-2019 |
Max Romanov |
Go: moving source files to the root of the project.
This patch includes packaging changes related to files move.
|
#
1315:e39345dacb8f |
| 24-Dec-2019 |
Max Romanov |
Go: installing go module for tests into build directory.
|
#
1313:617a20f52f05 |
| 24-Dec-2019 |
Max Romanov |
Go: linking against libunit.
|
Revision tags: 1.13.0-1, 1.13.0, 1.12.0-1, 1.12.0, 1.11.0-2, 1.11.0-1, 1.11.0, 1.10.0-2, 1.10.0-1, 1.10.0 |
|
#
1131:ec7d924d8dfb |
| 20-Aug-2019 |
Max Romanov |
Introducing websocket support in router and libunit.
|
Revision tags: 1.9.0-1, 1.9.0, 1.8.0-1, 1.8.0 |
|
#
953:00d8049418cf |
| 22-Feb-2019 |
Alexander Borisov |
Improvement and unification of version processing in build scripts.
This also eliminates expressions that incompatible with BSD make, thus fixing installation of Node.js module on FreeBSD (broken by
Improvement and unification of version processing in build scripts.
This also eliminates expressions that incompatible with BSD make, thus fixing installation of Node.js module on FreeBSD (broken by dace60fc4926).
show more ...
|
Revision tags: 1.7.1-1, 1.7.1 |
|
#
907:1e802c31bbd9 |
| 21-Jan-2019 |
Alexander Borisov |
Go: fixed module installation, broken in ed8b1aaefdd1.
Added the nxt_unit_version.h dependency. This closes #214 issue on GitHub.
|
Revision tags: 1.7-1, 1.7, 1.6-1, 1.6, 1.5-1, 1.5, 1.4-2, 1.4 |
|
#
743:e0f0cd7d244a |
| 06-Aug-2018 |
Max Romanov |
Unit application library.
Library now used in all language modules. Old 'nxt_app_*' code removed.
See src/test/nxt_unit_app_test.c for usage sample.
|
Revision tags: 1.3, 1.2, 1.1, 1.0, 0.7, 0.6, 0.5, 0.4, 0.3 |
|
#
398:585c8068a6d7 |
| 01-Dec-2017 |
Max Romanov |
Making Go package source distributable and renaming to 'nginx/unit'.
All header files are copied to Go package sources. As the result, package can be (re-)build when required.
This closes #23 issu
Making Go package source distributable and renaming to 'nginx/unit'.
All header files are copied to Go package sources. As the result, package can be (re-)build when required.
This closes #23 issue on GitHub.
show more ...
|
Revision tags: 0.2, 0.1 |
|
#
270:d7774035f07b |
| 04-Sep-2017 |
Andrei Belov |
Fixed permissions for Go sources.
In particular, it resolves a number of errors and warnings reported by rpmlint(1).
|
#
265:864835cbba67 |
| 31-Aug-2017 |
Max Romanov |
Introducing install & uninstall Makefile targets.
|
#
262:c8f7af7a6ecc |
| 31-Aug-2017 |
Sergey Kandaurov |
Go: fixed splitting recipe line with newer gmake.
Use double quotes to quote a string with the backslash/newline pair. Newer gmake versions, such as GNU Make 4.1, do not remove the backslash from a
Go: fixed splitting recipe line with newer gmake.
Use double quotes to quote a string with the backslash/newline pair. Newer gmake versions, such as GNU Make 4.1, do not remove the backslash from a string quoted with single quotes, which results in an extraneous backslash passed to the shell and, eventually, to the Go compiler.
show more ...
|
#
259:9cf0e151e752 |
| 30-Aug-2017 |
Igor Sysoev |
nginext has been renamed to unit.
|
#
257:befb289a182a |
| 30-Aug-2017 |
Igor Sysoev |
Moving generating CGO header file to the make stage.
|
#
245:69598a91c517 |
| 29-Aug-2017 |
Max Romanov |
The process type enum exposed to go module.
|
#
243:a9e3239e26a4 |
| 29-Aug-2017 |
Max Romanov |
Using NXT_GO variable instead of explicit go.
|
#
242:a058fcaeb2e3 |
| 29-Aug-2017 |
Max Romanov |
Store and use NXT_LIBRT for go module.
|
#
241:6f2cc3f6e6d8 |
| 29-Aug-2017 |
Max Romanov |
Separation of module prerequisites for 'all' target in Makefile.
To avoid using sed -i.
|
#
235:467cff8f6def |
| 26-Aug-2017 |
Igor Sysoev |
Added configure and command line option --help.
|
#
216:07257705cd64 |
| 17-Aug-2017 |
Igor Sysoev |
The new module configuration interface.
Configuration and building example:
./configure ./configure python ./configure php ./configure go make all
or
./configure make nginext ./co
The new module configuration interface.
Configuration and building example:
./configure ./configure python ./configure php ./configure go make all
or
./configure make nginext ./configure python make python ./configure php make php ./configure go make go
Modules configuration options and building examples:
./configure python --module=python2 --config=python2.7-config make python2
./configure php --module=php7 --config=php7.0-config --lib-path=/usr/local/php7.0 make php7
./configure go --go=go1.6 --go-path=${HOME}/go1.6 make go1.6
show more ...
|