From 2344881229dfa0f00ebf112653e1d48bb99999b1 Mon Sep 17 00:00:00 2001 From: "Jason D. McCormick" Date: Tue, 20 Jan 2026 19:16:02 -0500 Subject: initial add --- debian/changelog | 5 +++++ debian/control | 16 +++++++++++++++ debian/copyright | 8 ++++++++ debian/postinst | 44 +++++++++++++++++++++++++++++++++++++++++ debian/rules | 4 ++++ debian/source/format | 1 + debian/source/lintian-overrides | 0 debian/source/local-options | 0 8 files changed, 78 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/postinst create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/lintian-overrides create mode 100644 debian/source/local-options (limited to 'debian') 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 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 +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: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# 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 diff --git a/debian/source/local-options b/debian/source/local-options new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3