summaryrefslogtreecommitdiffstats
path: root/source/n/bind/bind.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-09-25 01:05:55 +0000
committer Eric Hameleers <alien@slackware.com>2021-09-25 08:59:58 +0200
commit33d703602d5c2f4d51f5a253fbc3939d30729aaf (patch)
tree4eaf2e003461a6cd41b4c67bb2c7556569b6f7b4 /source/n/bind/bind.SlackBuild
parent0f7d38bee156c0926945743e1902ece2b531809f (diff)
downloadcurrent-33d703602d5c2f4d51f5a253fbc3939d30729aaf.tar.gz
current-33d703602d5c2f4d51f5a253fbc3939d30729aaf.tar.xz
Sat Sep 25 01:05:55 UTC 202120210925010555
a/coreutils-9.0-x86_64-1.txz: Upgraded. Thanks to GazL for pointing out where I needed to be looking in the code to stick with the traditional (for us, anyway) ls quoting style. n/ca-certificates-20210924-noarch-1.txz: Upgraded. Removed DST_Root_CA_X3.crt. n/cifs-utils-6.14-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/n/bind/bind.SlackBuild')
-rwxr-xr-xsource/n/bind/bind.SlackBuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/source/n/bind/bind.SlackBuild b/source/n/bind/bind.SlackBuild
index 7af3a2041..5e752c76f 100755
--- a/source/n/bind/bind.SlackBuild
+++ b/source/n/bind/bind.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=bind
VERSION=${VERSION:-$(echo ${PKGNAM}-[0-9]*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -112,9 +112,11 @@ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
)
# We like a lot of symlinks.
-( cd $PKG/usr/man/man3
- sh $CWD/3link.sh
-)
+if [ -d $PKG/usr/man/man3 ]; then
+ ( cd $PKG/usr/man/man3
+ sh $CWD/3link.sh
+ )
+fi
# Install init script:
mkdir -p $PKG/etc/rc.d
@@ -122,7 +124,6 @@ cp -a $CWD/rc.bind $PKG/etc/rc.d/rc.bind.new
chmod 644 $PKG/etc/rc.d/rc.bind.new
# Install default options file for named:
-mkdir $PKG/etc/default
cat $CWD/default.named > $PKG/etc/default/named.new
# Fix library perms:
@@ -152,7 +153,9 @@ cp -a \
$PKG/usr/doc/${PKGNAM}-$VERSION
# This one should have the correct perms of the config file:
-chmod 644 $PKG/usr/doc/${PKGNAM}-$VERSION/misc/rndc.conf-sample
+if [ -r $PKG/usr/doc/${PKGNAM}-$VERSION/misc/rndc.conf-sample ]; then
+ chmod 644 $PKG/usr/doc/${PKGNAM}-$VERSION/misc/rndc.conf-sample
+fi
# One format of this is plenty. Especially get rid of the bloated PDF.
( cd $PKG/usr/doc/bind-$VERSION/arm