From 9bf0e4750613dc91c62358f58dee1d2792bc8042 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 29 Jun 2018 14:42:06 -0400 Subject: network/atftp: New maintainer, expand README. Signed-off-by: B. Watson --- network/atftp/atftp.SlackBuild | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) (limited to 'network/atftp/atftp.SlackBuild') diff --git a/network/atftp/atftp.SlackBuild b/network/atftp/atftp.SlackBuild index 0796009f82..404ec9ba26 100644 --- a/network/atftp/atftp.SlackBuild +++ b/network/atftp/atftp.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for atftp -# Copyright (c) 2015 Leonard Schmidt +# Copyright (c) 2015 Leonard Schmidt # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -21,9 +21,18 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Now maintained by B. Watson . + +# 20180629 bkw: +# - Take over maintenance. +# - Simplify script slightly. +# - Add a couple missing docs to /usr/doc, BUILD=2. +# - Expand README with hopefully useful setup info. Include it in +# the package since it overrides some of the info from upstream's docs. + PRGNAM=atftp VERSION=${VERSION:-0.7.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -64,9 +73,9 @@ 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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ CC="gcc -fgnu89-inline $SLKCFLAGS" \ ./configure \ @@ -84,11 +93,12 @@ make install-strip DESTDIR=$PKG rm $PKG/usr/man/man8/in.tftpd.8 rm $PKG/usr/sbin/in.tftpd -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +gzip -9 $PKG/usr/man/man?/*.? mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a BUGS Changelog FAQ LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION/ +cp -a BUGS Changelog FAQ LICENSE README* TODO docs/*.txt \ + $PKG/usr/doc/$PRGNAM-$VERSION/ +cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.Slackware cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -- cgit v1.2.3