Tested final release for new layout

This commit is contained in:
Dave Hibberd 2023-12-16 14:40:33 +00:00
parent a4103962fc
commit 1fbded9d3a
No known key found for this signature in database
GPG Key ID: 03A1FB7A1904771B
8 changed files with 8 additions and 10 deletions

4
debian/changelog vendored
View File

@ -1,8 +1,8 @@
linbpq (6.0.24.22-2) UNRELEASED; urgency=medium
linbpq (6.0.24.22-2) unstable; urgency=medium
* Moved config file home, caused chaos
-- Dave Hibberd <d@vehibberd.com> Sat, 16 Dec 2023 13:30:06 +0000
-- Dave Hibberd <d@vehibberd.com> Sat, 16 Dec 2023 14:40:20 +0000
linbpq (6.0.24.22-1) unstable; urgency=medium

1
debian/conffiles vendored
View File

@ -1 +0,0 @@
/opt/oarc/bpq/bpq32.cfg

2
debian/install vendored
View File

@ -1 +1 @@
debian/templates/bpq32.cfg etc/bpq32.cfg
debian/templates/bpq32.cfg etc/

1
debian/linbpq.links vendored
View File

@ -1 +0,0 @@
/opt/oarc/bpq/bpq32.cfg /etc/bpq32.cfg

View File

@ -2,7 +2,7 @@
After=network.target
[Service]
ExecStart=/usr/sbin/linbpq -c /etc -d /opt/oarc/linbpq -l /opt/oarc/linbpq/logs
ExecStart=/usr/sbin/linbpq -c /etc -d /opt/oarc/bpq -l /opt/oarc/bpq
WorkingDirectory=/opt/oarc/bpq
Restart=always
User=linbpq

View File

@ -8,8 +8,8 @@
+# setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" linbpq
+
+install:
+ install -b -m 755 -D -d debian/usr/sbin
+ install -b -m 755 -s -p linbpq debian/usr/sbin
+ install -b -m 755 -D -d debian/linbpq/usr/sbin
+ install -b -m 755 -s -p linbpq debian/linbpq/usr/sbin
-include *.d

2
debian/postinst vendored
View File

@ -26,7 +26,7 @@ if [ "$1" = configure ]; then
# 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" /opt/oarc/bpq/linbpq
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

2
debian/preinst vendored
View File

@ -8,5 +8,5 @@ node="/opt/oarc/bpq/bpq32.cfg"
if [ -L $confile ]; then
rm $confile
cp $node $confile
rm $node
mv $node $node.bak
fi