summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJason D. McCormick <jason@mfamily.org>2026-08-05 21:30:45 -0400
committerJason D. McCormick <jason@mfamily.org>2026-08-05 21:30:45 -0400
commita25315d937b066f374e16584ca9981e8fdd2772c (patch)
tree4b6a682f104c807aa8dc99863a8c9905793af19a /debian
initialHEADmaster
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog11
-rw-r--r--debian/control12
-rw-r--r--debian/copyright39
-rw-r--r--debian/postinst64
-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, 131 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c7948fd
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,11 @@
+fortune-ferengi-rules (1-1.deb13) stable; urgency=medium
+
+ * Autobuild of 1-1 for deb13
+
+ -- Helium <jason@mfamily.org> Wed, 05 Aug 2026 21:29:20 -0400
+
+fortune-ferengi-rules (1-1) unstable; urgency=medium
+
+ * Release
+
+ -- Jason McCormick <jason@mfamily.org> Wed, 05 Aug 2026 21:29:10 -0400
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..569709c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,12 @@
+Source: fortune-ferengi-rules
+Section: games
+Priority: optional
+Maintainer: Jason McCormick <jason@mfamily.org>
+Build-Depends: debhelper-compat (= 13), pandoc
+Standards-Version: 4.5.1
+Rules-Requires-Root: binary-targets
+
+Package: fortune-ferengi-rules
+Architecture: all
+Depends: ${misc:Depends}, fortune-mod
+Description: Ferengi Rules of Acquitision for Fortune
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..039507d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,39 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: fortune-ferengi-rules
+Source: https://packetwarriors.com
+
+Files: ferengi-rules
+Copyright: 1987-1994 Paramount Pictures Corporation
+ 1993-2005 Paramount Pictures Corporation (Star Trek: Deep Space Nine)
+Comment: The "Ferengi Rules of Acquisition" are fictional content originating
+ from the Star Trek franchise (Star Trek: The Next Generation and Star Trek:
+ Deep Space Nine), created by Paramount/CBS Studios. This text is used here
+ under fair use / fan-work convention as a fortune-file compilation and is
+ not an original work of the packager. No claim of ownership over the
+ underlying creative content is made.
+License: not-free
+ This content is the intellectual property of Paramount Pictures / CBS
+ Studios and is not licensed for commercial redistribution. It is
+ distributed here informally, in the spirit of other fan-maintained
+ fortune-mod cookie files, on a non-commercial basis.
+ .
+ No permission is granted to sublicense, sell, or use this content for
+ commercial purposes. If you are a rights holder and object to this
+ distribution, please contact the packager for removal.
+
+Files: debian/*
+Copyright: 2026 Jason McCormick <jason@mfamily.org>
+License: GPL-3+
+ This package (packaging files, Makefile, debian/* metadata) is free
+ software; you can redistribute it and/or modify it under the terms of
+ the GNU General Public License as published by the Free Software
+ Foundation; either version 3 of the License, or (at your option) any
+ later version.
+ .
+ This package is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in "/usr/share/common-licenses/GPL-3". \ No newline at end of file
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..f8be2b1
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,64 @@
+#!/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() {
+
+ # create asterisk user
+ if ! getent passwd asterisk > /dev/null ; then
+ echo 'Adding system user for Asterisk' 1>&2
+ adduser --system --group --quiet \
+ --home /var/lib/asterisk \
+ --no-create-home --disabled-login \
+ --gecos "Asterisk PBX daemon" \
+ asterisk
+ fi
+
+ # add asterisk to required groups
+ for group in dialout audio plugdev; do
+ if groups asterisk | grep -w -q -v $group; then
+ adduser asterisk $group
+ fi
+ done
+
+ if [ ! -d /var/lib/asterisk ]; then
+ mkdir /var/lib/asterisk
+ chown asterisk:asterisk /var/lib/asterisk
+ fi
+
+}
+
+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