diff options
author | Kevin Paulus <goarilla@gmail.com> | 2014-12-07 00:32:51 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-12-07 00:49:28 +0700 |
commit | 50da1beac18895c493f44554b475aa00942cf631 (patch) | |
tree | 8e30de5de134bf7ae94a75a3f83b696535111361 /network/valknut/valknut.SlackBuild | |
parent | 2ca4eeb064a1b0cb81e83c05eef8792fc0a49924 (diff) | |
download | slackbuilds-50da1beac18895c493f44554b475aa00942cf631.tar.gz |
network/valknut: Added patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/valknut/valknut.SlackBuild')
-rw-r--r-- | network/valknut/valknut.SlackBuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/network/valknut/valknut.SlackBuild b/network/valknut/valknut.SlackBuild index 5f586c448e..e9a39d993e 100644 --- a/network/valknut/valknut.SlackBuild +++ b/network/valknut/valknut.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=valknut VERSION=${VERSION:-0.4.9} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,7 +69,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -patch -p0 < "$CWD"/valknut-0.4.9.patch valknut/main.cpp +# Main patch +patch -p0 < "$CWD"/main.patch valknut/main.cpp + +# Dcoptions (myip) patch +patch -p0 < "$CWD"/dcoptions.patch valknut/dcoptions.cpp CFLAGS="$SLKCFLAGS" \ ./configure \ @@ -89,14 +93,14 @@ 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING* ChangeLog INSTALL NEWS README TODO "$PKG"/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING* ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION + cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh -# Remove misplaced file - this one is already available in usr/doc/$PRGNAM-$VERSION rm $PKG/usr/share/valknut/COPYING cd $PKG |