diff options
author | Marek Wodzinski <majek@w7i.pl> | 2020-01-23 21:52:18 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-25 02:54:59 +0700 |
commit | a1cbb9d55171f9913d5c1ebdb957075122937b1f (patch) | |
tree | 76b831611459192d368d8088a72737598d80f165 /network/ipvsadm/ipvsadm.SlackBuild | |
parent | 0d34bc0c736e92bb294cacf61a79a68280780afc (diff) | |
download | slackbuilds-a1cbb9d55171f9913d5c1ebdb957075122937b1f.tar.gz |
network/ipvsadm: Updated for version 1.31.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/ipvsadm/ipvsadm.SlackBuild')
-rw-r--r-- | network/ipvsadm/ipvsadm.SlackBuild | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/network/ipvsadm/ipvsadm.SlackBuild b/network/ipvsadm/ipvsadm.SlackBuild index 6dfcb5dbd4..859dc91841 100644 --- a/network/ipvsadm/ipvsadm.SlackBuild +++ b/network/ipvsadm/ipvsadm.SlackBuild @@ -1,12 +1,12 @@ #!/bin/sh -# Slackware build script for source-highlight -# Written by luoyi (luoyi.ly@gmail.com) - -# Modified by the slackbuilds.org project +# Slackware build script for ipvsadm +# 2010 - Written by luoyi (luoyi.ly@gmail.com) +# 2010-2016 - Modified by the slackbuilds.org project +# 2020 - Modified by Marek Wodzinski <majek@w7i.pl> PRGNAM=ipvsadm -VERSION=${VERSION:-1.25} +VERSION=${VERSION:-1.31} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -43,7 +43,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -52,9 +52,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# fix not detecting popt by default -patch -p1 -i $CWD/ipvsadm-1.25-popt.patch - # use SLKCFLAGS sed -i "s/-Wall/-Wall $SLKCFLAGS/" Makefile sed -i "s/-Wall/-Wall $SLKCFLAGS/" libipvs/Makefile @@ -72,8 +69,14 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + MAINTAINERS README \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +mv $PKG/etc/rc.d/init.d/ipvsadm $PKG/etc/rc.d/rc.ipvsadm +rmdir $PKG/etc/rc.d/init.d + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |