diff options
author | B. Watson <yalhcru@gmail.com> | 2018-06-29 14:42:06 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-07-07 06:54:20 +0700 |
commit | 9bf0e4750613dc91c62358f58dee1d2792bc8042 (patch) | |
tree | 9cc1e603da2b726908cc7be37c8b165dfc82b7bd /network/atftp/atftp.SlackBuild | |
parent | 41f7707ae165ff80fa98518199f522ea2dc77265 (diff) | |
download | slackbuilds-9bf0e4750613dc91c62358f58dee1d2792bc8042.tar.gz |
network/atftp: New maintainer, expand README.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'network/atftp/atftp.SlackBuild')
-rw-r--r-- | network/atftp/atftp.SlackBuild | 24 |
1 files changed, 17 insertions, 7 deletions
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 <lems@gmx.net> +# Copyright (c) 2015 Leonard Schmidt <email removed> # 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 <yalhcru@gmail.com>. + +# 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 |