summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJason D. McCormick <jason@mfamily.org>2023-12-20 16:59:36 -0500
committerJason D. McCormick <jason@mfamily.org>2023-12-20 16:59:36 -0500
commit4f2d1ec1ee72a3f5eef3d2be68cc12951c204e3f (patch)
tree9170600115be2f5dac7a3cbffd4834cef0ac3cd1 /debian
parent62bca1b61296ac551574818c5021188913678168 (diff)
add basic debian building
Diffstat (limited to 'debian')
-rw-r--r--debian/.debhelper/generated/allmon3/dh_installchangelogs.dch.trimmed153
-rw-r--r--debian/.debhelper/generated/allmon3/installed-by-dh_installdocs0
-rw-r--r--debian/.debhelper/generated/allmon3/installed-by-dh_installman0
-rw-r--r--debian/.debhelper/generated/allmon3/postinst.service30
-rw-r--r--debian/.debhelper/generated/allmon3/prerm.service5
-rw-r--r--debian/conffiles0
-rw-r--r--debian/control19
-rw-r--r--debian/copyright24
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides11
-rw-r--r--debian/source/local-options0
12 files changed, 247 insertions, 0 deletions
diff --git a/debian/.debhelper/generated/allmon3/dh_installchangelogs.dch.trimmed b/debian/.debhelper/generated/allmon3/dh_installchangelogs.dch.trimmed
new file mode 100644
index 0000000..390f209
--- /dev/null
+++ b/debian/.debhelper/generated/allmon3/dh_installchangelogs.dch.trimmed
@@ -0,0 +1,153 @@
+allmon3 (1.1.0-1) unstable; urgency=medium
+
+ * Ensure ASLNodeDB objects are fully async and non-blocking (#185)
+ * Docker containers have provisional support (#182)
+ * Fix HTML page title (#186)
+ * Remove extraneous info-level logging for websocket-based classes
+ * Better logging around database retrieval errors
+
+ -- Jason McCormick <jason@mfamily.org> Wed, 20 Dec 2023 07:41:10 -0500
+
+allmon3 (1.0.2-1) unstable; urgency=medium
+
+ * Provide Nginx configuration (#169)
+ * Fix CSS breakage from Bootstrap version upgrade (#180)
+ * Keyed node is now green highlited rather than beige (#181)
+
+ -- Jason McCormick <jason@mfamily.org> Sat, 18 Nov 2023 15:09:36 -0500
+
+allmon3 (1.0.1-1) unstable; urgency=medium
+
+ * Fix retry bug that caused silent crash in websocket handlers (#171)
+
+ -- Jason McCormick <jason@mfamily.org> Mon, 30 Oct 2023 19:32:40 -0400
+
+allmon3 (1.0.0-1) unstable; urgency=medium
+
+ * Release of major version 1.0.0
+ * From 0.11.6, implement asyncio stream code to replace tcp sockets
+
+ -- Jason McCormick <jason@mfamily.org> Fri, 29 Sep 2023 19:51:47 -0400
+
+allmon3 (0.11.6-1) unstable; urgency=medium
+
+ * Implement per-user node restrictions (#161)
+ * Display node uptime in header bar (#162)
+
+ -- Jason McCormick <jason@mfamily.org> Wed, 06 Sep 2023 13:05:56 -0400
+
+allmon3 (0.11.5-1) unstable; urgency=medium
+
+ * Don't fail node(s) that are unreachable on startup (#160)
+ * Pages with the same page#anchor now reload in the menu (#163)
+ * Better close of asyncio Tasks in the signal handler (#158)
+
+ -- Jason McCormick <jason@mfamily.org> Tue, 05 Sep 2023 11:15:25 -0400
+
+allmon3 (0.11.4-2) unstable; urgency=medium
+
+ * Attempt to clarify web client errors for different websocket problems
+ (#155)
+ * Add customziation for CONENCTING client lines in main.css/custom.css
+ (#148)
+ * Commands starting with 'voter' are only show on the voter page (#153)
+ * Commands starting with 'voter' are suppressed on the main page (#153)
+ * Removed links from the node header on the voter display (#153)
+ * iNodes multinode= leaking in non-displayed node data (#156)
+
+ -- Jason McCormick <jason@mfamily.org> Sun, 06 Aug 2023 13:16:50 -0400
+
+allmon3 (0.11.3-1) unstable; urgency=medium
+
+ * Fix issue with WebKit-based browser (Safari) not reloading
+ websockets on page-back navigation (#151)
+ * Fix parsing of Asterisk 1.4 commands with voter output (#152)
+ * Fix issue with nulls turning into text "None" in JSON API calls (#154)
+
+ -- Jason McCormick <jason@mfamily.org> Thu, 13 Jul 2023 12:07:50 -0400
+
+allmon3 (0.11.2-2) unstable; urgency=medium
+
+ * Updated the logic of sockets management/retries (#138, #149, #150)
+ * Fix issue for node-overrides not in the core database (#147)
+
+ -- Jason McCormick <jason@mfamily.org> Fri, 30 Jun 2023 13:11:00 -0400
+
+allmon3 (0.11.1-1) unstable; urgency=medium
+
+ * Fix error when node-overrides tries to override a non-existing node
+ * Split out Debian 10 packaging
+
+ -- Jason McCormick <jason@mfamily.org> Tue, 20 Jun 2023 18:23:11 -0400
+
+allmon3 (0.11.0-1) unstable; urgency=medium
+
+ * Complete installation by apt/dpkg into a basic working Allmon3
+ * Implementation of per-node commands in web.ini
+ * IP binding is now configurable
+ * menu.ini ordering is now preserved in the web interface
+ * Fix compatability in asyncio with Python 3.7 for Debian 10 support
+ * Cleanup of JavaScript code
+ * Handle additional network-related error conditions for AMI connections
+
+
+ -- Jason McCormick <jason@mfamily.org> Sat, 17 Jun 2023 15:57:35 -0400
+
+allmon3 (0.10.2-2) unstable; urgency=medium
+
+ * Support per-node command templates (see web.ini)
+ * Retain order of menu.ini submenus in the HTML dropdown
+ * Add the command modals to the voter display page
+ * Implement binding IP configuration directive (see web.ini)
+ * allmon3_server objects now listen on all IPs by default
+ * Fix apache.conf RewriteRule for v0.10
+ * Expose in-browser websocket errors to the UI
+ * Fix string formatting error for remote transmission status
+ * Fix dependency issues in allmon3.service systemd service
+
+ -- Jason McCormick <jason@mfamily.org> Sat, 17 Jun 2023 09:22:13 -0400
+
+allmon3 (0.10.1-1) unstable; urgency=medium
+
+ * Fix .deb packaging issues
+ * Implement keepalive cycles
+
+ -- Jason McCormick <jason@mfamily.org> Mon, 22 May 2023 12:14:06 -0400
+
+allmon3 (0.10.0-3) unstable; urgency=medium
+
+ * Nearly-complete rewrite from Beta 0.9
+ * Configuration files from Beta 0.9 are likely incompatible
+ * Review configuration files in /usr/share/doc/allmon3 and fix files from
+ beta 0.9 accordingly
+ * Apache configuration is fundamentally different
+ * Debian 10 / Raspian 10 is now semi-supported
+
+
+ -- Jason McCormick <jason@mfamily.org> Fri, 26 May 2023 18:22:46 -0400
+
+allmon3 (0.9.7-1) unstable; urgency=medium
+
+ * INCOMPATIBLE CHANGE: ip= fields in allmon3.ini and
+ * votermon.ini are now host= (or related names) and
+ * can specify an IPv4, IPv6, or DNS item
+ * Private node labels supported in web.ini
+ * asl-{statmon,cmdlink,votermon} now support DNS and IPv6
+ * All stock configs and readme info now in /usr/share/doc/allmon3
+
+ -- Jason McCormick <jason@mfamily.org> Fri, 26 May 2023 18:18:01 -0400
+
+allmon3 (0.9.6-1) unstable; urgency=medium
+
+ * Implement subsecond polling as a option in `allmon3.ini`. When using the .deb file, `allmon3.ini` will not be updated with the newest information. See https://github.com/AllStarLink/Allmon3/commit/bda1e74e218c217e4381715297eaea72a8d2a236 for specifics
+ * Implement the voter functionality. Requires `voter.ini`. See `asl-votermon`.
+ * System commands are now configured in `web.ini`
+ * Customizable home button href in `web.ini`*
+
+ -- Jason McCormick <jason@mfamily.org> Sat, 15 Apr 2023 13:05:02 -0400
+
+allmon3 (0.9.5-1) unstable; urgency=medium
+
+ * Initial complete release of Allmon3 as beta
+
+ -- Jason McCormick <jason@mfamily.org> Tue, 11 Apr 2023 13:51:08 -0400
diff --git a/debian/.debhelper/generated/allmon3/installed-by-dh_installdocs b/debian/.debhelper/generated/allmon3/installed-by-dh_installdocs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/debian/.debhelper/generated/allmon3/installed-by-dh_installdocs
diff --git a/debian/.debhelper/generated/allmon3/installed-by-dh_installman b/debian/.debhelper/generated/allmon3/installed-by-dh_installman
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/debian/.debhelper/generated/allmon3/installed-by-dh_installman
diff --git a/debian/.debhelper/generated/allmon3/postinst.service b/debian/.debhelper/generated/allmon3/postinst.service
new file mode 100644
index 0000000..e3bfc44
--- /dev/null
+++ b/debian/.debhelper/generated/allmon3/postinst.service
@@ -0,0 +1,30 @@
+# Automatically added by dh_installsystemd/13.11.4
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
+ # The following line should be removed in trixie or trixie+1
+ deb-systemd-helper unmask 'allmon3.service' >/dev/null || true
+
+ # was-enabled defaults to true, so new installations run enable.
+ if deb-systemd-helper --quiet was-enabled 'allmon3.service'; then
+ # Enables the unit on first installation, creates new
+ # symlinks on upgrades if the unit file has changed.
+ deb-systemd-helper enable 'allmon3.service' >/dev/null || true
+ else
+ # Update the statefile to add new symlinks (if any), which need to be
+ # cleaned up on purge. Also remove old symlinks.
+ deb-systemd-helper update-state 'allmon3.service' >/dev/null || true
+ fi
+fi
+# End automatically added section
+# Automatically added by dh_installsystemd/13.11.4
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
+ if [ -d /run/systemd/system ]; then
+ systemctl --system daemon-reload >/dev/null || true
+ if [ -n "$2" ]; then
+ _dh_action=restart
+ else
+ _dh_action=start
+ fi
+ deb-systemd-invoke $_dh_action 'allmon3.service' >/dev/null || true
+ fi
+fi
+# End automatically added section
diff --git a/debian/.debhelper/generated/allmon3/prerm.service b/debian/.debhelper/generated/allmon3/prerm.service
new file mode 100644
index 0000000..3e66189
--- /dev/null
+++ b/debian/.debhelper/generated/allmon3/prerm.service
@@ -0,0 +1,5 @@
+# Automatically added by dh_installsystemd/13.11.4
+if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
+ deb-systemd-invoke stop 'allmon3.service' >/dev/null || true
+fi
+# End automatically added section
diff --git a/debian/conffiles b/debian/conffiles
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/debian/conffiles
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..954cb29
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: allmon3
+Section: hamradio
+Priority: optional
+Maintainer: Jason McCormick <jason@mfamily.org>
+Build-Depends: debhelper-compat (= 13)
+Standards-Version: 4.5.1
+Homepage: https://github.com/AllStarLink/Allmon3
+Vcs-Browser: https://github.com/AllStarLink/Allmon3
+Vcs-Git: https://github.com/AllStarLink/Allmon3.git
+Rules-Requires-Root: binary-targets
+
+Package: allmon3
+Architecture: all
+Recommends: apache2 | httpd
+Depends: python3-argon2, python3, ${misc:Depends}, adduser, python3-aiohttp, python3-aiohttp-session
+Description: Web monitoring interface for AllStarLink
+ application. Allmon3 is the next generation of
+ the venerable Allmon2 that is rewritten for
+ performance, scalability, and responsiveness.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8f9f2d0
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,24 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: mfamily-scripts
+Source: https://code.packetwarriors.com/mfamily-scripts
+
+Files: *
+Copyright: 2023-2024 Jason McCormick <jason@mfamily.org>
+License: AGPL-3.0-only
+ Copyright 2023-2024 Jason D. McCormick
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ “Software”), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to permit
+ persons to whom the Software is furnished to do so.
+
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
+ THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
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..16ee08a
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,11 @@
+# These are part of the source and I'm not sure
+# why it's alerting
+allmon3 source: source-is-missing [web/index.html]
+allmon3 source: source-is-missing [web/voter.html]
+
+# Overkill to disribute the entire bootstrap download
+# in the repository
+allmon3 source: source-is-missing [web/js/bootstrap.bundle.min.js]
+
+# Upstream is debian
+allmon3 source: no-debian-changes
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