summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2019-04-07 00:11:33 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2019-04-07 00:14:14 -0400
commite835cd8d5dece7ff0183ede9df5b627494ed848b (patch)
tree4e9a721f805a5921ac350f007e7db4b538bc3521 /debian/rules
parent5140318f8f758141b4e350871db1fe869eb858dc (diff)
Import Debian changes 1.1.5-0vanir1debian/1.1.5-0vanir1
hopm (1.1.5-0vanir1) unstable; urgency=medium * Initial release.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..969a374
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE = 1
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+export DEB_CPPFLAGS_MAINT_APPEND = -DHOPM_LOGDIR="\"$$(localstatedir)/log/hopm\""
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ dh_auto_configure -- --sysconfdir=/etc/hopm
+
+override_dh_install:
+ sed -e s@var/run/hopm.pid@/run/hopm/hopm.pid@ \
+ -e s@var/log/scan.log@/var/log/hopm/scan.log@ \
+ doc/reference.conf > debian/hopm/etc/hopm/hopm.conf
+ dh_install
+
+override_dh_installinit:
+ dh_installinit --no-enable