summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/control16
-rw-r--r--debian/copyright8
-rw-r--r--debian/postinst44
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides0
-rw-r--r--debian/source/local-options0
8 files changed, 78 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..02aeb61
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+blocklist2nft (1-1) unstable; urgency=medium
+
+ * initial release
+
+ -- Jason McCormick <jason@mfamily.org> Tue, 20 Jan 2026 19:15:53 -0500
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d60a0c0
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,16 @@
+Source: asl3-update-nodelist
+Section: Radio
+Priority: optional
+Maintainer: Jason McCormick <jason@mfamily.org>
+Build-Depends: debhelper-compat (= 13), pandoc
+Standards-Version: 4.5.1
+Homepage: https://github.com/AllStarLink/asl3-update-nodelist
+Vcs-Browser: https://github.com/AllStarLink/asl3-update-nodelist
+Vcs-Git: https://github.com/AllStarLink/asl3-update-nodelist
+Rules-Requires-Root: binary-targets
+
+Package: asl3-update-nodelist
+Architecture: all
+Depends: ${misc:Depends}, patch
+Description: Maintain the ASL node database file
+ in /var/lib/asterisk/rpt_extnodes
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f859a28
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,8 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: blocklist2nft
+Source: https://gitweb.mfamily.org/blocklist2nft
+
+Files: *
+Copyright: Copyright (C) 2026 Jason McCormick
+License: BSD
+ /usr/share/common-licenses/BSD
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..4284a9b
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,44 @@
+#!/bin/sh -e
+# postinst script for allmon3
+#
+# see: dh_installdeb(1)
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see https://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+do_configure() {
+ dh_systemd_enable blocklist2nft.timer
+ dh_systemd_start blocklist2nft.timer
+ /usr/bin/blocklist2nft
+}
+
+case "$1" in
+ configure)
+ do_configure
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2d33f6a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/debian/source/lintian-overrides
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/debian/source/local-options