[Pkg-nginx-maintainers] Bug#1024892: nginx-dev: dh nginx_mod could export default LUAJIT_INC, LUAJIT_LIB, DEB_CFLAGS_MAINT_APPEND flags
Jérémy Lal
kapouer at melix.org
Sun Nov 27 15:14:48 GMT 2022
Package: nginx-dev
Version: 1.22.0+srcache-2
Severity: wishlist
X-Debbugs-Cc: Jan Mojzis <jan.mojzis at gmail.com>
While playing with building external nginx modules, like libnginx-mod-http-lua,
it occurred to me that nginx-dev debhelper addon could export those variables by default:
export LUAJIT_INC=/usr/include/luajit-2.1
export LUAJIT_LIB=/usr/lib/x86_64-linux-gnu/libluajit-5.1.so
export DEB_CFLAGS_MAINT_APPEND = -DLUA_DEFAULT_PATH=\"/usr/share/lua/5.1/\?.lua\;\"
That would simplify configuration of lua modules for nginx.
Also maybe the last flag should rather be
export CFLAGS += ...
Jérémy
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.0.0-4-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages nginx-dev depends on:
ii debhelper [debhelper-compat] 13.11.1
ii dpkg-dev 1.21.9
ii libgd-dev 2.3.3-7
ii libgeoip-dev 1.6.12-9
ii libpcre3-dev 2:8.39-14
ii libperl-dev 5.36.0-4
ii libssl-dev 3.0.7-1
ii libxslt1-dev 1.1.35-1
ii nginx-core 1.22.0+srcache-2
ii po-debconf 1.0.21+nmu1
ii quilt 0.66-2.2
ii zlib1g-dev 1:1.2.13.dfsg-1
nginx-dev recommends no packages.
nginx-dev suggests no packages.
-- no debconf information
More information about the Pkg-nginx-maintainers
mailing list