summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdebian/rules14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6b41603
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_CFLAGS_MAINT_APPEND = -D_FILE_OFFSET_BITS=64
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ dh_auto_configure -- --with-crypto=yes --with-user=tcpdump
+
+override_dh_installdeb:
+ dh_apparmor --profile-name=usr.bin.tcpdump -ptcpdump
+ dh_installdeb