From 0335817ced71e8355806ea0445aa3b105a22364c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 12 Sep 2024 06:45:07 +0200 Subject: Adding upstream version 3.4.0. Signed-off-by: Daniel Baumann --- distro/pkg/deb-noxdp/rules | 95 ---------------------------------------------- 1 file changed, 95 deletions(-) delete mode 100755 distro/pkg/deb-noxdp/rules (limited to 'distro/pkg/deb-noxdp/rules') diff --git a/distro/pkg/deb-noxdp/rules b/distro/pkg/deb-noxdp/rules deleted file mode 100755 index 2372f70..0000000 --- a/distro/pkg/deb-noxdp/rules +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/make -f - -export DEB_BUILD_MAINT_OPTIONS = hardening=+all -export DEB_CFLAGS_MAINT_APPEND = -Wall -DNDEBUG -export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed - -export DPKG_GENSYMBOLS_CHECK_LEVEL := 4 -export KNOT_SOFTHSM2_DSO = /usr/lib/softhsm/libsofthsm2.so - -include /usr/share/dpkg/default.mk - -ifeq (maint,$(filter $(DEB_BUILD_OPTIONS),maint)) - FASTPARSER := --disable-fastparser -else - FASTPARSER := --enable-fastparser -endif - -ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),hurd-i386)) - RECVMMSG:=--enable-recvmmsg=no -else - RECVMMSG:=--enable-recvmmsg=yes -endif - -ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),amd64 i386)) - RUN_TEST := -else - RUN_TEST := -timeout --kill-after=5s 5m -endif - -LIBKNOT_SYMBOLS := $(wildcard $(CURDIR)/debian/libknot*.symbols) - -# MAJOR.MINOR version part -BASE_VERSION := $(shell echo $(DEB_VERSION) | sed 's/^\([^.]\+\.[^.]\+\).*/\1/') - -# pyproject is supported by knot but fails on second `pybuild --build` -# invocation due to bug in dh-python's plugin_pyproject.py wheel unpack -export PYBUILD_SYSTEM = distutils - - -%: - dh $@ \ - --exclude=.la --exclude=example.com.zone \ - --with python3 - -override_dh_auto_configure: - dh_auto_configure -- \ - --sysconfdir=/etc \ - --localstatedir=/var/lib \ - --libexecdir=/usr/lib/knot \ - --with-rundir=/run/knot \ - --with-moduledir=/usr/lib/$(DEB_HOST_MULTIARCH)/knot/modules-$(BASE_VERSION) \ - --with-storage=/var/lib/knot \ - --enable-systemd=auto \ - --enable-dnstap \ - --with-module-dnstap=shared \ - --with-module-geoip=shared \ - $(RECVMMSG) \ - $(FASTPARSER) \ - --disable-silent-rules \ - --disable-static - -override_dh_auto_configure-indep: - pybuild --dir python/libknot --configure - pybuild --dir python/knot_exporter --configure - -override_dh_auto_build-indep: - dh_auto_build -- html - pybuild --dir python/libknot --build - pybuild --dir python/knot_exporter --build - -override_dh_auto_install-arch: - dh_auto_install -- install - # rename knot.sample.conf to knot.conf - mv $(CURDIR)/debian/tmp/etc/knot/knot.sample.conf $(CURDIR)/debian/tmp/etc/knot/knot.conf - -override_dh_auto_install-indep: - dh_auto_install -- install-html - # rename knot.sample.conf to knot.conf - mv $(CURDIR)/debian/tmp/etc/knot/knot.sample.conf $(CURDIR)/debian/tmp/etc/knot/knot.conf - pybuild --dir python/libknot --install - pybuild --dir python/knot_exporter --install - rm -rf $(CURDIR)/debian/tmp/usr/lib/python*/dist-packages/libknot/__pycache__ - rm -rf $(CURDIR)/debian/tmp/usr/lib/python*/dist-packages/knot_exporter/__pycache__ - -override_dh_auto_test-indep: -override_dh_auto_test-arch: -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) - $(RUN_TEST) dh_auto_test -endif - -override_dh_missing: - dh_missing --fail-missing - -override_dh_installchangelogs: - dh_installchangelogs NEWS -- cgit v1.2.3