diff --git a/development/bmake/bmake.SlackBuild b/development/bmake/bmake.SlackBuild index 94460bd1b2..6ab176a5bd 100644 --- a/development/bmake/bmake.SlackBuild +++ b/development/bmake/bmake.SlackBuild @@ -24,6 +24,7 @@ # Now maintained by B. Watson +# 20191211 bkw: update for 20181221 # 20170214 bkw: # - update for v20170201 # - i486 => i586 @@ -32,7 +33,7 @@ # portion of the bmake build. PRGNAM=bmake -VERSION=${VERSION:-20170201} +VERSION=${VERSION:-20181221} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,11 +74,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz mv $PRGNAM $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ # Fix an implicit declaration warning that *probably* doesn't hurt anything, # but might cause problems someday. @@ -114,11 +112,8 @@ mv $PKG/usr/share/man $PKG/usr mv $PKG/usr/share/mk $PKG/usr/share/mk-$PRGNAM # Fix permissions of installed files. -find -L $PKG \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L $PKG -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ # Binary is already stripped. Only have one man page: gzip -9 $PKG/usr/man/man1/$PRGNAM.1 diff --git a/development/bmake/bmake.info b/development/bmake/bmake.info index 176b4a5f3c..f7bf3a2dbf 100644 --- a/development/bmake/bmake.info +++ b/development/bmake/bmake.info @@ -1,8 +1,8 @@ PRGNAM="bmake" -VERSION="20170201" +VERSION="20181221" HOMEPAGE="http://www.crufty.net/help/sjg/bmake.htm" -DOWNLOAD="http://www.crufty.net/ftp/pub/sjg/bmake-20170201.tar.gz" -MD5SUM="3826f07dcdb15bfb154b9a13c144c9f4" +DOWNLOAD="http://www.crufty.net/ftp/pub/sjg/bmake-20181221.tar.gz" +MD5SUM="f4c9900c6a5f4daf42c51329cc0b1086" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""