summaryrefslogtreecommitdiffstats
path: root/source/n/dnsmasq/dnsmasq.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-02-11 22:11:59 +0000
committer Eric Hameleers <alien@slackware.com>2024-02-12 00:02:09 +0100
commit8f1367463b7818a6e0ae4f53f705fd86a8717d5c (patch)
treedb58955b338393bea43d2c7da64de922dbdda121 /source/n/dnsmasq/dnsmasq.SlackBuild
parentae890b6c29fcc240d9e93fff99727703073ed0dc (diff)
downloadcurrent-8f1367463b7818a6e0ae4f53f705fd86a8717d5c.tar.gz
current-8f1367463b7818a6e0ae4f53f705fd86a8717d5c.tar.xz
Sun Feb 11 22:11:59 UTC 202420240211221159
ap/mariadb-10.11.7-x86_64-1.txz: Upgraded. This is a bugfix release. For more information, see: https://mariadb.com/kb/en/mariadb-10-11-7-release-notes/ l/gjs-1.76.3-x86_64-1.txz: Upgraded. l/imagemagick-7.1.1_28-x86_64-1.txz: Upgraded. l/pipewire-1.0.3-x86_64-4.txz: Rebuilt. Use cmp -s in doinst.sh. Thanks to Thom1b and Windu. l/wireplumber-0.4.17-x86_64-2.txz: Rebuilt. Use cmp -s in doinst.sh. Thanks to Thom1b and Windu. n/dnsmasq-2.89-x86_64-2.txz: Rebuilt. Added trust-anchors.conf and edited PREFIX in dnsmasq.conf to simplify setting up DNSSEC. Thanks to marav. xap/xsnow-3.7.8-x86_64-1.txz: Upgraded.
Diffstat (limited to '')
-rwxr-xr-xsource/n/dnsmasq/dnsmasq.SlackBuild8
1 files changed, 5 insertions, 3 deletions
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 \