diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/l/pipewire/doinst.sh | 2 | ||||
-rwxr-xr-x | source/l/pipewire/pipewire.SlackBuild | 2 | ||||
-rw-r--r-- | source/l/wireplumber/doinst.sh | 2 | ||||
-rwxr-xr-x | source/l/wireplumber/wireplumber.SlackBuild | 2 | ||||
-rwxr-xr-x | source/n/dnsmasq/dnsmasq.SlackBuild | 8 |
5 files changed, 9 insertions, 7 deletions
diff --git a/source/l/pipewire/doinst.sh b/source/l/pipewire/doinst.sh index e01b575b5..210f4c544 100644 --- a/source/l/pipewire/doinst.sh +++ b/source/l/pipewire/doinst.sh @@ -1,4 +1,4 @@ # Toss redundant sample files: for file in pipewire.desktop pipewire-pulse.desktop ; do - cmp etc/xdg/autostart/${file} etc/xdg/autostart/${file}.sample 2> /dev/null && rm etc/xdg/autostart/${file}.sample + cmp -s etc/xdg/autostart/${file} etc/xdg/autostart/${file}.sample && rm etc/xdg/autostart/${file}.sample done diff --git a/source/l/pipewire/pipewire.SlackBuild b/source/l/pipewire/pipewire.SlackBuild index e34798f85..8b53cb16a 100755 --- a/source/l/pipewire/pipewire.SlackBuild +++ b/source/l/pipewire/pipewire.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=pipewire VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/l/wireplumber/doinst.sh b/source/l/wireplumber/doinst.sh index b5e469913..32df2ffc3 100644 --- a/source/l/wireplumber/doinst.sh +++ b/source/l/wireplumber/doinst.sh @@ -1,4 +1,4 @@ # Toss redundant sample files: for file in wireplumber.desktop ; do - cmp etc/xdg/autostart/${file} etc/xdg/autostart/${file}.sample 2> /dev/null && rm etc/xdg/autostart/${file}.sample + cmp -s etc/xdg/autostart/${file} etc/xdg/autostart/${file}.sample && rm etc/xdg/autostart/${file}.sample done diff --git a/source/l/wireplumber/wireplumber.SlackBuild b/source/l/wireplumber/wireplumber.SlackBuild index d6b22c5cd..035b7781e 100755 --- a/source/l/wireplumber/wireplumber.SlackBuild +++ b/source/l/wireplumber/wireplumber.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=wireplumber VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/n/dnsmasq/dnsmasq.SlackBuild b/source/n/dnsmasq/dnsmasq.SlackBuild index 99160f38c..60081fe4c 100755 --- a/source/n/dnsmasq/dnsmasq.SlackBuild +++ b/source/n/dnsmasq/dnsmasq.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2010, 2015, 2017, 2018, 2020, 2022 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2015, 2017, 2018, 2020, 2022, 2024 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=dnsmasq VERSION=${VERSION:-$(echo dnsmasq-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} EXTRA_BUILD_OPTS=${EXTRA_BUILD_OPTS:-"-DHAVE_DNSSEC -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_CONNTRACK"} @@ -95,9 +95,11 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" \ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null mkdir -p $PKG/etc -cat dnsmasq.conf.example > $PKG/etc/dnsmasq.conf.new +cat dnsmasq.conf.example | sed "s,%%PREFIX%%,/usr,g" > $PKG/etc/dnsmasq.conf.new mkdir -p $PKG/etc/rc.d zcat $CWD/rc.dnsmasq.gz > $PKG/etc/rc.d/rc.dnsmasq.new +mkdir -p $PKG/usr/share/dnsmasq +cat trust-anchors.conf > $PKG/usr/share/dnsmasq/trust-anchors.conf mkdir -p $PKG/usr/doc/dnsmasq-$VERSION cp -a \ |