diff options
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/NEWS | 11 | ||||
| -rw-r--r-- | debian/README.Debian | 23 | ||||
| -rw-r--r-- | debian/bpq32.cfg | 50 | ||||
| -rw-r--r-- | debian/changelog | 254 | ||||
| -rw-r--r-- | debian/control | 20 | ||||
| -rw-r--r-- | debian/copyright | 36 | ||||
| -rw-r--r-- | debian/dirs | 2 | ||||
| -rw-r--r-- | debian/gbp.conf | 3 | ||||
| -rw-r--r-- | debian/gitlab-ci.yml | 6 | ||||
| -rw-r--r-- | debian/install | 1 | ||||
| -rw-r--r-- | debian/linbpq.examples | 1 | ||||
| -rw-r--r-- | debian/linbpq.service | 14 | ||||
| -rw-r--r-- | debian/lintian-overrides | 11 | ||||
| -rw-r--r-- | debian/patches/makefile | 50 | ||||
| -rw-r--r-- | debian/patches/series | 2 | ||||
| -rw-r--r-- | debian/patches/spelling-fixes.patch | 11 | ||||
| -rw-r--r-- | debian/postinst | 47 | ||||
| -rw-r--r-- | debian/preinst | 14 | ||||
| -rwxr-xr-x | debian/rules | 6 | ||||
| -rw-r--r-- | debian/source/format | 1 | ||||
| -rw-r--r-- | debian/source/include-binaries | 0 | ||||
| -rw-r--r-- | debian/source/lintian-overrides | 0 | ||||
| -rw-r--r-- | debian/watch | 3 |
23 files changed, 0 insertions, 566 deletions
diff --git a/debian/NEWS b/debian/NEWS deleted file mode 100644 index 594c2b1..0000000 --- a/debian/NEWS +++ /dev/null @@ -1,11 +0,0 @@ -linbpq (6.0.24.22-2) unstable; urgency=medium - - This is quite a big update, with config moving from /opt/oarc/bpq/bpq32.cfg to - /etc/bpq32.cfg. The system shall do this automatically for you, however - computers and their programmers are not perfect. - - I strongly recommend at this point backing up your entire - /opt/oarc/bpq/ directory (cp -r /opt/oarc/bpq/ ~/bpq-backup/) before - proceeding with the upgrade - - -- Dave Hibberd <d@vehibberd.com> Sat, 16 Dec 2023 13:30:06 +0000 diff --git a/debian/README.Debian b/debian/README.Debian deleted file mode 100644 index bf7265b..0000000 --- a/debian/README.Debian +++ /dev/null @@ -1,23 +0,0 @@ -README for linbpq on Debian -=========================== - -Please see https://wiki.oarc.uk/packet:linbpq-apt-installation for this guide - -# Set config -Copy the config, edit it & set permissions. -The permissions are so linbpq web interface can edit the config. - -sudo mv /usr/share/doc/linbpq/examples/bpq32.cfg /etc/bpq32.cfg -sudo nano /etc/bpq32.cfg -sudo chown :linbpq /etc/bpq32.cfg -sudo chmod 644 /etc/bpq32.cfg - -# Start linbpq - -sudo systemctl start linbpq - -# Access your node - -It shall be available by accessing http://localhost:8008 in the browser or telnet localhost 8010 - --- Dave Hibberd <hibby@debian.org> Tue, 26 Mar 2024 00:53:42 +0000 diff --git a/debian/bpq32.cfg b/debian/bpq32.cfg deleted file mode 100644 index 08d1091..0000000 --- a/debian/bpq32.cfg +++ /dev/null @@ -1,50 +0,0 @@ -SIMPLE -NODECALL=MB7NAA -NODEALIAS=AANODE -LOCATOR=AA00aa -PASSWORD=xxxxxxxx -AUTOSAVE=1 -NODESINTERVAL=10 -MINQUAL=10 -CTEXT: -Thanks for connecting. -Type ? for help. -*** -PORT - PORTNUM=1 - ID=VHF - TYPE=ASYNC - PROTOCOL=KISS - KISSOPTIONS=ACKMODE - COMPORT=/dev/ttyACM0 - SPEED=57600 - FRACK=4000 - PACLEN=150 - DIGIFLAG=0 - QUALITY=192 - MINQUAL=20 -ENDPORT - - -PORT - PORTNUM=9 - ID=Telnet - DRIVER=Telnet - CONFIG - LOGGING=1 - CMS=1 - DisconnectOnClose=1 - SECURETELNET=1 - TCPPORT=8010 - FBBPORT=8011 - HTTPPORT=8008 - LOGINPROMPT=user: - PASSWORDPROMPT=password: - MAXSESSIONS=10 - CTEXT=Thanks for connecting\n Enter ? for list of commands\n\n - USER=username,xxxxxxxx,m0aaa,,SYSOP -ENDPORT - -LINCHAT - -APPLICATION 2,CHAT,,MB7NAA-9,AACHAT,255 diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 891654a..0000000 --- a/debian/changelog +++ /dev/null @@ -1,254 +0,0 @@ -linbpq (6.0.24.67+repack-1) UNRELEASED; urgency=medium - - * New upstream version 6.0.24.67+repack - - -- Dave Hibberd <hibby@debian.org> Sat, 22 Mar 2025 00:22:40 +0000 - -linbpq (6.0.24.66+repack-1~hibbian+2) bookworm-hibbian-unstable; urgency=medium - - * Update postinst script to be a little quieter - * MINI_BUILDD_OPTION: - auto-ports=trixie-packetrepo-unstable,bookworm-packetrepo-unstable,bullseye-packetrepo-unstable,noble-packetrepo-unstable,jammy-packetrepo-unstable - - -- Dave Hibberd <hibby@debian.org> Tue, 11 Mar 2025 00:51:35 +0000 - -linbpq (6.0.24.66+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium - - * New upstream version 6.0.24.66+repack - - -- Dave Hibberd <hibby@debian.org> Tue, 04 Mar 2025 22:50:09 +0000 - -linbpq (6.0.24.65+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium - - * New Upstream - - -- Dave Hibberd <hibby@debian.org> Tue, 25 Feb 2025 09:33:24 +0000 - -linbpq (6.0.24.59a+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium - - * New Upstream - * Little tweaks to makefile patch to account for new -rdynamic - - -- Dave Hibberd <hibby@debian.org> Mon, 03 Feb 2025 22:32:11 +0000 - -linbpq (6.0.24.56+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium - - * New Upstream - - -- Dave Hibberd <hibby@debian.org> Mon, 06 Jan 2025 21:37:44 +0000 - -linbpq (6.0.24.55+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium - - * New Upstream - * d/rules - - Increased hardening - - -- Dave Hibberd <hibby@debian.org> Sun, 05 Jan 2025 23:35:06 +0000 - -linbpq (6.0.24.54+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium - - * New Upstream - * Drop AGW Patch - * Drop Spelling Patch - * Drop Dynamic Links patch - - -- Dave Hibberd <hibby@debian.org> Tue, 17 Dec 2024 16:46:05 +0000 - -linbpq (6.0.24.53+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium - - * New upstream - - Patches refreshed - - dropped some edits in ftbfs-gcc14 - - dropped d/patches/headers.patch - - -- Dave Hibberd <hibby@debian.org> Tue, 03 Dec 2024 00:57:57 +0000 - -linbpq (6.0.24.52+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium - - * New upstream - - Patches happy - - -- Dave Hibberd <hibby@debian.org> Sat, 30 Nov 2024 21:47:17 +0000 - -linbpq (6.0.24.51.1+repack-1~hibbian+2) bookworm-hibbian-unstable; urgency=medium - - * Iron out an issue with time... - - -- Dave Hibberd <hibby@debian.org> Fri, 29 Nov 2024 19:57:28 +0000 - -linbpq (6.0.24.51.1+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium - - * New upstream import after bug report - * Roll back some ftbfs-gcc14 edits - * Remove some more lib headers - - -- Dave Hibberd <hibby@debian.org> Fri, 29 Nov 2024 19:30:22 +0000 - -linbpq (6.0.24.51+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium - - * New upstream import - - Patches refreshed - * Upstream is now repacked to include less files - * Big build system review, now using Debian CFLAGS and LDFLAGS - - Hardening enabled, mostly - - A debug symbols package is now available - * Oh yeah, everything is now dynamic linking - - libpng - - libpaho-mqtt - - libjansson - - libminiupnpc - - -- Dave Hibberd <hibby@debian.org> Fri, 29 Nov 2024 13:08:38 +0000 - -linbpq (6.0.24.50-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium - - * New upstream import - * Files excluded at origtargz generation time for cleanliness - - -- Dave Hibberd <hibby@debian.org> Tue, 12 Nov 2024 21:56:38 +0000 - -linbpq (6.0.24.49-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium - - * New Upstream import - * Patches refreshed - * Add mqtt requirements - - -- Dave Hibberd <hibby@debian.org> Tue, 05 Nov 2024 21:52:29 +0000 - -linbpq (6.0.24.45-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium - - * New upstream import - * Patches refreshed - - -- Dave Hibberd <hibby@debian.org> Fri, 11 Oct 2024 15:48:41 +0100 - -linbpq (6.0.24.42-1~hibbian+3) bookworm-hibbian-unstable; urgency=medium - - * 32bit build error - - Patch updated to fix hopefully - - -- Dave Hibberd <hibby@debian.org> Fri, 30 Aug 2024 12:21:57 +0100 - -linbpq (6.0.24.42-1~hibbian+2) bookworm-hibbian-unstable; urgency=medium - - * Forgot to fix the ninotnc-smt issue, fixed now - - -- Dave Hibberd <hibby@debian.org> Fri, 30 Aug 2024 12:05:54 +0100 - -linbpq (6.0.24.42-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium - - * Install config to /etc - * New upstream update - * Patches refreshed - * Debian hardening enabled - - 2 new patches created that touch almost every file - - Considered experimental. - - gcc14 builds for Debian Trixie! - - -- Dave Hibberd <hibby@debian.org> Fri, 30 Aug 2024 10:15:11 +0100 - -linbpq (6.0.24.40-1) unstable; urgency=medium - - * Fresh upstream release - - Patches refreshed - * Secure by default patch - - -- Dave Hibberd <hibby@debian.org> Sun, 07 Jul 2024 16:09:28 +0100 - -linbpq (6.0.24.38-1) unstable; urgency=medium - - * New Upstream - * Tweak config file per recommendation from 2M0MQN to make first start simple - * Bump standards to 4.7.0.0 - - -- Dave Hibberd <hibby@debian.org> Sun, 09 Jun 2024 22:38:40 +0100 - -linbpq (6.0.24.34-2) unstable; urgency=medium - - * Fix config permissions bug as reported by Alex 2E1PKY - - -- Dave Hibberd <hibby@debian.org> Mon, 08 Apr 2024 22:27:02 +0100 - -linbpq (6.0.24.34-1) unstable; urgency=medium - - * Upstream bump - - -- Dave Hibberd <hibby@debian.org> Sat, 06 Apr 2024 02:15:28 +0100 - -linbpq (6.0.24.33-1) unstable; urgency=medium - - * Upstream bump - * Moved config file to examples - * Updated service to fail on no config - * Added helpful README.Debian - - -- Dave Hibberd <hibby@debian.org> Tue, 26 Mar 2024 20:24:08 +0000 - -linbpq (6.0.24.30-1) unstable; urgency=medium - - * Upstream bump - - -- Dave Hibberd <hibby@debian.org> Fri, 23 Feb 2024 23:24:46 +0000 - -linbpq (6.0.24.29-1) unstable; urgency=medium - - * Upstream bump - * Added my new details - * Tidied up some packaging errors - - -- Dave Hibberd <hibby@debian.org> Tue, 13 Feb 2024 00:06:33 +0000 - -linbpq (6.0.24.27-2) unstable; urgency=medium - - * Permissions fix for web-config-editor users - - -- Dave Hibberd <d@vehibberd.com> Thu, 18 Jan 2024 10:31:56 +0000 - -linbpq (6.0.24.27-1) unstable; urgency=medium - - * New Upstream Release - - -- Dave Hibberd <d@vehibberd.com> Tue, 16 Jan 2024 20:51:43 +0000 - -linbpq (6.0.24.25-1) unstable; urgency=medium - - * New Upstream Release - - -- Dave Hibberd <d@vehibberd.com> Thu, 28 Dec 2023 10:44:47 +0000 - -linbpq (6.0.24.22-2) unstable; urgency=medium - - * Moved config file home, caused chaos - - -- Dave Hibberd <d@vehibberd.com> Sat, 16 Dec 2023 14:40:20 +0000 - -linbpq (6.0.24.22-1) unstable; urgency=medium - - * New Upstream Release - - -- Dave Hibberd <d@vehibberd.com> Fri, 08 Dec 2023 12:29:40 +0000 - -linbpq (6.0.24.16-1) unstable; urgency=medium - - * New Upstream release - - -- Dave Hibberd <d@vehibberd.com> Tue, 31 Oct 2023 22:50:01 +0000 - -linbpq (6.0.24.15-2) unstable; urgency=medium - - * debian/conffiles introduced to stop linbpq overwriting config files - - Thanks to Mark 2M0IIG for raising concern about this bug! - - -- Dave Hibberd <d@vehibberd.com> Sun, 15 Oct 2023 21:45:24 +0100 - -linbpq (6.0.24.15-1) unstable; urgency=medium - - * New upstream release - - -- Dave Hibberd <d@vehibberd.com> Tue, 10 Oct 2023 22:19:48 +0100 - -linbpq (6.0.24.2-1) unstable; urgency=medium - - * Initial release. - - -- Dave Hibberd <d@vehibberd.com> Mon, 28 Aug 2023 23:20:45 +0100 diff --git a/debian/control b/debian/control deleted file mode 100644 index ecbc62c..0000000 --- a/debian/control +++ /dev/null @@ -1,20 +0,0 @@ -Source: linbpq -Section: hamradio -Priority: optional -Maintainer: Dave Hibberd <hibby@debian.org> -Standards-Version: 4.7.1 -Vcs-Browser: https://git.hibbian.org/Hibbian/linbpq -Vcs-Git: https://git.hibbian.org/Hibbian/linbpq.git -Homepage: https://www.cantab.net/users/john.wiseman/Documents/ -Build-Depends: debhelper-compat (= 13) -Build-Depends-Arch: libssl-dev, libminiupnpc-dev, libpcap-dev, libconfig-dev, zlib1g-dev, libpaho-mqtt-dev, libjansson-dev, libpng-dev -Rules-Requires-Root: no - -Package: linbpq -Architecture: linux-any -Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, hibbian-archive-keyring -Description: Packet node and ax25 stack - LINBPQ is a Linux version of the BPQ32 Node, BBS and Chat Server components. - It is actively developed by John G8BPQ and contains a complete, independent - implementation of ax.25 and net/rom as well as BBS and Chat applications and - can be used either as a packet switch or as a full featured node. diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 2b7b7ac..0000000 --- a/debian/copyright +++ /dev/null @@ -1,36 +0,0 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: linBPQ -Upstream-Contact: John Wiseman G8BPQ <john.wiseman@cantab.net> -Source: https://www.cantab.net/users/john.wiseman/Documents/ -Files-Excluded: *.vcproj* *.bak *.lib *.dll *.wav *.asm *.vcxproj* *.pdb *.exe - .gitignore XAprs zlib.h zconf.h MQTT* pcap.h miniupnpc.h upnpdev.h - igd_desc_parse.h upnpcommands.h upnperrors.h miniupnpctypes.h - -Files: * -Copyright: 1990-2024 John Wiseman G8BPQ <john.wiseman@cantab.net> -License: GPL-3 - -Files: debian/* -Copyright: 2016-2021 Dave Hibberd <d@vehibberd.com> -License: GPL-3 - -Files: debian/linbpq.service -Copyright: Tom Fanning M0LTE -License: GPL-3 - -License: GPL-3 - This program 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 program 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. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. - . - The GPL License which applies to this package can be found on your Debian - system at /usr/share/common-licenses/GPL-3. diff --git a/debian/dirs b/debian/dirs deleted file mode 100644 index 10a5980..0000000 --- a/debian/dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/sbin -opt/oarc/bpq diff --git a/debian/gbp.conf b/debian/gbp.conf deleted file mode 100644 index 40bd136..0000000 --- a/debian/gbp.conf +++ /dev/null @@ -1,3 +0,0 @@ -[DEFAULT] -debian-branch = hibbian/latest -upstream-branch = upstream/latest diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml deleted file mode 100644 index cd460cf..0000000 --- a/debian/gitlab-ci.yml +++ /dev/null @@ -1,6 +0,0 @@ -include: - - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml - - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml - -reprotest: - extends: .test-reprotest-diffoscope diff --git a/debian/install b/debian/install deleted file mode 100644 index d1aded2..0000000 --- a/debian/install +++ /dev/null @@ -1 +0,0 @@ -debian/bpq32.cfg etc/ diff --git a/debian/linbpq.examples b/debian/linbpq.examples deleted file mode 100644 index 601e4d9..0000000 --- a/debian/linbpq.examples +++ /dev/null @@ -1 +0,0 @@ -debian/bpq32.cfg diff --git a/debian/linbpq.service b/debian/linbpq.service deleted file mode 100644 index ef57d04..0000000 --- a/debian/linbpq.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=Linbpq systemd service file -After=network.target -ConditionPathExists=/etc/bpq32.cfg - -[Service] -ExecStart=/usr/sbin/linbpq -c /etc -d /opt/oarc/bpq -l /opt/oarc/bpq -WorkingDirectory=/opt/oarc/bpq -Restart=always -User=linbpq -Group=linbpq - -[Install] -WantedBy=multi-user.target diff --git a/debian/lintian-overrides b/debian/lintian-overrides deleted file mode 100644 index 468a093..0000000 --- a/debian/lintian-overrides +++ /dev/null @@ -1,11 +0,0 @@ -# weirdness from oarc packaging -linbpq: dir-or-file-in-opt [opt/oarc/] -linbpq: dir-or-file-in-opt [opt/oarc/bpq/] -# i know! -linbpq: no-manual-page [usr/sbin/linbpq] -# Directory is populated on first run -linbpq: package-contains-empty-directory [opt/oarc/bpq/] -# Code convenience -linbpq: spelling-error-in-binary Dont Don't [usr/sbin/linbpq] -linbpq: spelling-error-in-binary Paramters Parameters [usr/sbin/linbpq] -linbpq: spelling-error-in-binary lon long [usr/sbin/linbpq] diff --git a/debian/patches/makefile b/debian/patches/makefile deleted file mode 100644 index 1cd608f..0000000 --- a/debian/patches/makefile +++ /dev/null @@ -1,50 +0,0 @@ ---- a/makefile -+++ b/makefile -@@ -2,8 +2,7 @@ - - # To exclude i2c support run make noi2c - --OBJS = pngwtran.o pngrtran.o pngset.o pngrio.o pngwio.o pngtrans.o pngrutil.o pngwutil.o\ -- pngread.o pngwrite.o png.o pngerror.o pngget.o pngmem.o APRSIconData.o AISCommon.o\ -+OBJS = APRSIconData.o AISCommon.o\ - upnp.o APRSStdPages.o HSMODEM.o WinRPR.o KISSHF.o TNCEmulators.o bpqhdlc.o SerialPort.o\ - adif.o WebMail.o utf8Routines.o VARA.o LzFind.o Alloc.o LzmaDec.o LzmaEnc.o LzmaLib.o \ - Multicast.o ARDOP.o IPCode.o FLDigi.o linether.o CMSAuth.o APRSCode.o BPQtoAGW.o KAMPactor.o\ -@@ -18,9 +17,12 @@ - # Configuration: - - CC = gcc -- --all: CFLAGS = -DLINBPQ -MMD -g -rdynamic -fcommon --all: LDFLAGS = -l:libpaho-mqtt3a.a -l:libjansson.a -+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) -+CFLAGS+=$(shell dpkg-buildflags --get CPPFLAGS) -+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -+ -+all: CFLAGS += -DLINBPQ -MMD -g -fcommon -rdynamic -+all: LIBS = -lpaho-mqtt3a -ljansson -lminiupnpc -lrt -lm -lz -lpthread -lconfig -lpcap -lpng - all: linbpq - - -@@ -32,12 +34,15 @@ - - - linbpq: $(OBJS) -- gcc $(OBJS) -Xlinker -Map=output.map -l:libminiupnpc.a -lrt -lm -lz $(LDFLAGS) -lpthread -lconfig -lpcap -o linbpq -- sudo setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" linbpq -+ gcc $(OBJS) $(CLFAGS) $(LDFLAGS) $(LIBS) -o linbpq -+ # sudo setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" linbpq - - -include *.d - --clean : -- rm *.d -- rm linbpq $(OBJS) -- -+install: -+ install -b -m 755 -D -d debian/linbpq/usr/sbin -+ install -b -m 755 -p linbpq debian/linbpq/usr/sbin -+ -+clean: -+ $(RM) *.d -+ $(RM) linbpq $(OBJS) diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index 6c01fdf..0000000 --- a/debian/patches/series +++ /dev/null @@ -1,2 +0,0 @@ -spelling-fixes.patch -makefile diff --git a/debian/patches/spelling-fixes.patch b/debian/patches/spelling-fixes.patch deleted file mode 100644 index 7cb186d..0000000 --- a/debian/patches/spelling-fixes.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/UZ7HODrv.c -+++ b/UZ7HODrv.c -@@ -382,7 +382,7 @@ -
- if (AGW->CenterFreq == 0)
- {
-- buffptr->Len = sprintf((UCHAR *)&buffptr->Data[0], "UZ7HO} Invalid Modem Freqency\r");
-+ buffptr->Len = sprintf((UCHAR *)&buffptr->Data[0], "UZ7HO} Invalid Modem Frequency\r");
- return 1;
- }
-
diff --git a/debian/postinst b/debian/postinst deleted file mode 100644 index c3b5ad3..0000000 --- a/debian/postinst +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -set -e - -if [ "$1" = configure ]; then - -# if ! getent group linbpq >/dev/null; then -# addgroup --system --force-badname linbpq || true -# fi - - echo "Creating/updating linbpq user account..." - adduser --system --group --home /opt/oarc/bpq \ - --gecos "linbpq system user" --shell /bin/false \ - --quiet --disabled-password linbpq || { - # adduser failed. Why? - if getent passwd linbpq >/dev/null ; then - echo "Non-system user linbpq found. I will not overwrite a non-system" >&2 - echo "user. Remove the user and reinstall linbpq." >&2 - exit 1 - fi - # unknown adduser error, simply exit - exit 1 - } - if ! id -nGz linbpq | grep -qzxF 'dialout' ; then - adduser linbpq dialout - fi - if ! id -nGz linbpq | grep -qzxF 'plugdev' ; then - adduser linbpq plugdev - fi - chown :linbpq /opt/oarc/bpq - chmod 775 /opt/oarc/bpq - -# If we have setcap is installed, set the requirements -# which allows us to install our binaries without the setuid -# bit. - if command -v setcap > /dev/null; then - setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" /usr/sbin/linbpq - else - echo "Setcap failed on /usr/sbin/linbpq, Features may be limited" >&2 - fi - else - echo "Setcap is not installed, Features may be limited" >&2 - - -fi - -#DEBHELPER# diff --git a/debian/preinst b/debian/preinst deleted file mode 100644 index c0e122c..0000000 --- a/debian/preinst +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -set -e - -confile="/etc/bpq32.cfg" -node="/opt/oarc/bpq/bpq32.cfg" - -if [ -L $confile ]; then - rm $confile - cp $node $confile - mv $node $node.bak -fi - -#DEBHELPER# diff --git a/debian/rules b/debian/rules deleted file mode 100755 index b8b1ea0..0000000 --- a/debian/rules +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/make -f - -export DEB_BUILD_MAINT_OPTIONS=hardening=+all - -%: - dh $@ diff --git a/debian/source/format b/debian/source/format deleted file mode 100644 index 163aaf8..0000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/debian/source/include-binaries b/debian/source/include-binaries deleted file mode 100644 index e69de29..0000000 --- a/debian/source/include-binaries +++ /dev/null diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides deleted file mode 100644 index e69de29..0000000 --- a/debian/source/lintian-overrides +++ /dev/null diff --git a/debian/watch b/debian/watch deleted file mode 100644 index c624871..0000000 --- a/debian/watch +++ /dev/null @@ -1,3 +0,0 @@ -version=4 -opts="pgpmode=none,dversionmangle=s/\+repack//,repacksuffix=+repack,repack,compression=xz" \ -http://127.0.0.1:8000/linbpq-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) |
