paivana

HTTP paywall reverse proxy
Log | Files | Refs | Submodules | README | LICENSE

commit 5e354c421d0eb5fcd1e3d7196620267eead4d89f
parent b6b9b0afe021d526d055c1eb65b5a79cd2dc1234
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri,  7 Aug 2026 23:07:38 +0200

try to fix debian package

Diffstat:
Mdebian/rules | 21+++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules @@ -15,12 +15,21 @@ override_dh_auto_configure-indep: override_dh_auto_build-indep: override_dh_auto_test: - # The reverse_proxy suite needs a completed `make install' -- it - # resolves paivana-httpd and its templates through the prefix -- and - # starts listeners, neither of which belongs in a build chroot. The - # two unit tests have no such requirement, so run those rather than - # nothing at all. - dh_auto_test -- client_address cookie_header + # The reverse_proxy and paywall suites need a completed `make install' + # -- they resolve paivana-httpd and its templates through the prefix -- + # and start listeners, neither of which belongs in a build chroot. The + # rest have no such requirement, so run those rather than nothing at + # all; the ones needing node or tsc report themselves skipped when the + # chroot has neither. + # + # Named tests have to go to `meson test' directly: at debhelper compat + # 12 dh_auto_test runs `ninja test', which has no per-test targets, so + # the names would reach ninja as unknown targets and fail the build. + # Going around dh_auto_test means honouring nocheck here as well. +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + meson test -C obj-$(DEB_HOST_GNU_TYPE) --print-errorlogs \ + client_address cookie_header cookie_access base64url paywall_typecheck +endif override_dh_auto_install-arch: # paivana-httpd is the only binary package, so dh_auto_install would