aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorKent Fritz <fritz.kent@gmail.com>2023-07-02 21:06:10 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-02 21:27:52 +0700
commit30b346aa4b91e59ab69fa2f497ad7127694d1947 (patch)
tree0817f3dd024e67209f7645840ddff70e032c81ab /network
parent2a0e5b16de8716501dcda8cac23844fff6dfdce9 (diff)
network/sipp: Updated for version 3.7.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/sipp/sipp.SlackBuild34
-rw-r--r--network/sipp/sipp.info6
2 files changed, 19 insertions, 21 deletions
diff --git a/network/sipp/sipp.SlackBuild b/network/sipp/sipp.SlackBuild
index 9836f909549c..5fc0c3217598 100644
--- a/network/sipp/sipp.SlackBuild
+++ b/network/sipp/sipp.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sipp
-VERSION=${VERSION:-3.6.0}
+VERSION=${VERSION:-3.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,23 +79,21 @@ 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 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux \
- --with-gsl \
- --with-openssl \
- --with-pcap \
- --with-rtpstream
-
-make
-make install DESTDIR=$PKG
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DUSE_SSL=1 \
+ -DUSE_PCAP=1 \
+ -DUSE_GSL=1 ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+mkdir -p $PKG/usr/man/man1
+cp -a sipp.1 $PKG/usr/man/man1
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/network/sipp/sipp.info b/network/sipp/sipp.info
index 519aa0a9deb0..d67a67bcae7e 100644
--- a/network/sipp/sipp.info
+++ b/network/sipp/sipp.info
@@ -1,8 +1,8 @@
PRGNAM="sipp"
-VERSION="3.6.0"
+VERSION="3.7.1"
HOMEPAGE="http://sipp.sourceforge.net"
-DOWNLOAD="https://github.com/SIPp/sipp/releases/download/v3.6.0/sipp-3.6.0.tar.gz"
-MD5SUM="1fd27333d179d786d3f6a67ee451fae9"
+DOWNLOAD="https://github.com/SIPp/sipp/releases/download/v3.7.1/sipp-3.7.1.tar.gz"
+MD5SUM="518fec9bc71602a0e858f07b1192df1c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""