diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-17 09:06:47 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-05-20 11:54:31 -0500 |
commit | 423ea77bfc6ebc26ae19b00092aaed1471a48b60 (patch) | |
tree | 31eb235550b32732dd96daa385893b4ba5b28e3b | |
parent | d82c14750f4a8c03c108fbaa4eeb953e1d4e9c3a (diff) |
network/netsniff-ng: Updated for version 0.5.8.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
-rw-r--r-- | network/netsniff-ng/netsniff-ng.SlackBuild | 23 | ||||
-rw-r--r-- | network/netsniff-ng/netsniff-ng.info | 6 |
2 files changed, 10 insertions, 19 deletions
diff --git a/network/netsniff-ng/netsniff-ng.SlackBuild b/network/netsniff-ng/netsniff-ng.SlackBuild index 6e6fa2e7d919..20b0553e522e 100644 --- a/network/netsniff-ng/netsniff-ng.SlackBuild +++ b/network/netsniff-ng/netsniff-ng.SlackBuild @@ -23,11 +23,10 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=netsniff-ng -VERSION=${VERSION:-0.5.8_rc5} +VERSION=${VERSION:-0.5.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCVER=$(echo $VERSION | tr _ -) if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -60,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVER -tar xvf $CWD/$PRGNAM-$SRCVER.tar.xz -cd $PRGNAM-$SRCVER +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -70,20 +69,12 @@ 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 {} \; -sed -i 's/MAN8DIR = \$(PREFIX)\/usr\/share\/man\/man8/MAN8DIR = \$(PREFIX)\/usr\/man\/man8/' Makefile 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 +./configure -make -make install DESTDIR=$PKG PREFIX=$PKG +make DISTRO=1 +make install DESTDIR=$PKG PREFIX=/usr ETCDIR=/etc MAN8DIR=/usr/man/man8 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/netsniff-ng/netsniff-ng.info b/network/netsniff-ng/netsniff-ng.info index 08676fb8a2b5..fcf09c495e49 100644 --- a/network/netsniff-ng/netsniff-ng.info +++ b/network/netsniff-ng/netsniff-ng.info @@ -1,8 +1,8 @@ PRGNAM="netsniff-ng" -VERSION="0.5.8_rc5" +VERSION="0.5.8" HOMEPAGE="http://netsniff-ng.org" -DOWNLOAD="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-0.5.8-rc5.tar.xz" -MD5SUM="42a37c74cfcd5199a1b09477433fd073" +DOWNLOAD="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-0.5.8.tar.xz" +MD5SUM="df05687a7a791688a5275c63ad0cb1d6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libcli libnet nacl liburcu GeoIP" |