summaryrefslogtreecommitdiff
path: root/network/sipp/sipp.SlackBuild
diff options
context:
space:
mode:
authorKent Fritz <fritz.kent@gmail.com>2014-07-01 18:36:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-07-01 18:36:24 +0700
commitb15d0b774da153b709fbf026ae7ac78a548bc765 (patch)
tree8762d5ed53a665d45fa4f2ea621a7617a7bdc3cc /network/sipp/sipp.SlackBuild
parent00a72e25f8d0d2c64d393d96ba7c70accffdfead (diff)
downloadslackbuilds-b15d0b774da153b709fbf026ae7ac78a548bc765.tar.gz
network/sipp: Updated for version 3.4.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/sipp/sipp.SlackBuild')
-rw-r--r--network/sipp/sipp.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/network/sipp/sipp.SlackBuild b/network/sipp/sipp.SlackBuild
index 50340e9afe..c95a8973d3 100644
--- a/network/sipp/sipp.SlackBuild
+++ b/network/sipp/sipp.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for SIPp
-# Copyright 2013 Kent Fritz Mountain View, California, USA
+# Copyright 2013-2014 Kent Fritz Mountain View, California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sipp
-VERSION=${VERSION:-3.3}
+VERSION=${VERSION:-3.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,16 +60,15 @@ 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.gz || tar xvf $CWD/v$VERSION.tar.gz
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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-autoreconf -ivf
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -93,9 +92,7 @@ mkdir -p $PKG/usr/share/$PRGNAM/pcap
cp -a pcap/* $PKG/usr/share/$PRGNAM/pcap
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README.txt LICENSE.txt MEDIA.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md LICENSE.txt THANKS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install