From 33d703602d5c2f4d51f5a253fbc3939d30729aaf Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Sat, 25 Sep 2021 01:05:55 +0000 Subject: Sat Sep 25 01:05:55 UTC 2021 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. --- source/n/bind/bind.SlackBuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'source/n/bind/bind.SlackBuild') 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 -- cgit v1.2.3