Use debhelper-compat 13, and update tmpfile(s) handling.
authorgregor herrmann <gregoa@debian.org>
Sat, 26 Sep 2020 15:39:31 +0000 (17:39 +0200)
committergregor herrmann <gregoa@debian.org>
Sat, 26 Sep 2020 15:39:31 +0000 (17:39 +0200)
Also simplify logcheck file handling.

debian/control
debian/iodine.iodined.logcheck.ignore.server [new file with mode: 0644]
debian/iodine.logcheck.ignore.server [deleted file]
debian/iodined.tmpfile [deleted file]
debian/iodined.tmpfiles [new file with mode: 0644]
debian/rules

index 617956f63b633847dce5df497b4a9f6736438f76..721ecdbffbd163b38d9dc53840caf6c303e42136 100644 (file)
@@ -4,7 +4,7 @@ Uploaders: tony mancill <tmancill@debian.org>
 Section: net
 Priority: optional
 Build-Depends: check <!nocheck>,
-               debhelper-compat (= 12),
+               debhelper-compat (= 13),
                help2man,
                libsystemd-dev [linux-any],
                pkg-config,
diff --git a/debian/iodine.iodined.logcheck.ignore.server b/debian/iodine.iodined.logcheck.ignore.server
new file mode 100644 (file)
index 0000000..add9aa8
--- /dev/null
@@ -0,0 +1,2 @@
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ iodined: accepted version for user #[[:digit:]]+ from [.[:digit:]]{7,15}$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ iodined: accepted password from user #[[:digit:]]+, given IP [.[:digit:]]{7,15}$
diff --git a/debian/iodine.logcheck.ignore.server b/debian/iodine.logcheck.ignore.server
deleted file mode 100644 (file)
index add9aa8..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ iodined: accepted version for user #[[:digit:]]+ from [.[:digit:]]{7,15}$
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ iodined: accepted password from user #[[:digit:]]+, given IP [.[:digit:]]{7,15}$
diff --git a/debian/iodined.tmpfile b/debian/iodined.tmpfile
deleted file mode 100644 (file)
index fe194a1..0000000
+++ /dev/null
@@ -1 +0,0 @@
-d /run/iodine - - -
diff --git a/debian/iodined.tmpfiles b/debian/iodined.tmpfiles
new file mode 100644 (file)
index 0000000..fe194a1
--- /dev/null
@@ -0,0 +1 @@
+d /run/iodine - - -
index 9185782dfdd4630f27286941424745e9430b5447..06e10c2516b5354e94598b0ac9c0208265d7649e 100755 (executable)
@@ -28,9 +28,11 @@ override_dh_auto_install:
 override_dh_installinit:
        dh_installinit --name=iodined
 
+override_dh_installtmpfiles:
+       dh_installtmpfiles --name=iodined
+
 override_dh_installsystemd:
        dh_installsystemd --name=iodined
 
 override_dh_installlogcheck:
-       dh_installlogcheck
-       mv $(TMP)/etc/logcheck/ignore.d.server/iodine $(TMP)/etc/logcheck/ignore.d.server/iodined
+       dh_installlogcheck --name=iodined