From dde17c90daf1862b4526cc71afaa426c05cca8de Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Mon, 1 Jun 2020 18:27:22 +0000 Subject: Mon Jun 1 18:27:22 UTC 2020 a/pciutils-3.7.0-x86_64-1.txz: Upgraded. l/imagemagick-7.0.10_16-x86_64-1.txz: Upgraded. l/lcms2-2.10-x86_64-1.txz: Upgraded. l/netpbm-10.90.03-x86_64-1.txz: Upgraded. l/qt5-5.15.0-x86_64-1.txz: Upgraded. n/iptraf-ng-1.2.0-x86_64-1.txz: Upgraded. xap/gnuchess-6.2.7-x86_64-1.txz: Upgraded. xap/mozilla-firefox-68.9.0esr-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/firefox/68.9.0/releasenotes/ (* Security fix *) extra/pure-alsa-system/qt5-5.15.0-x86_64-1_alsa.txz: Upgraded. --- source/n/iptraf-ng/iptraf-ng.SlackBuild | 24 ++++++------------------ source/n/iptraf-ng/iptraf-ng.paths.diff | 15 +++++++++++++++ source/n/iptraf-ng/iptraf-ng.url | 1 + 3 files changed, 22 insertions(+), 18 deletions(-) create mode 100644 source/n/iptraf-ng/iptraf-ng.paths.diff create mode 100644 source/n/iptraf-ng/iptraf-ng.url (limited to 'source/n') diff --git a/source/n/iptraf-ng/iptraf-ng.SlackBuild b/source/n/iptraf-ng/iptraf-ng.SlackBuild index eee74671..a96c55c7 100755 --- a/source/n/iptraf-ng/iptraf-ng.SlackBuild +++ b/source/n/iptraf-ng/iptraf-ng.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2010, 2011, 2013, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2011, 2013, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=iptraf-ng -VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -66,9 +66,11 @@ PKG=$TMP/package-$PKGNAM cd $TMP rm -rf $PKG rm -rf $PKGNAM-$VERSION -tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1 +tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1 cd $PKGNAM-$VERSION +zcat $CWD/iptraf-ng.paths.diff.gz | patch -p1 --verbose || exit 1 + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -76,29 +78,15 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ -# Configure: -CFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --sbindir=/usr/sbin \ - --sysconfdir=/etc \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --mandir=/usr/man \ - --infodir=/usr/info \ - --disable-static \ - --build=$ARCH-slackware-linux || exit 1 - make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 # Make symlinks to the old names: ( cd $PKG/usr/sbin ln -sf iptraf-ng iptraf - ln -sf rvnamed-ng rvnamed ) ( cd $PKG/usr/man/man8 ln -sf iptraf-ng.8 iptraf.8 - ln -sf rvnamed-ng.8 rvnamed.8 ) find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/source/n/iptraf-ng/iptraf-ng.paths.diff b/source/n/iptraf-ng/iptraf-ng.paths.diff new file mode 100644 index 00000000..312dc948 --- /dev/null +++ b/source/n/iptraf-ng/iptraf-ng.paths.diff @@ -0,0 +1,15 @@ +--- ./Makefile.orig 2020-06-01 06:24:13.000000000 -0500 ++++ ./Makefile 2020-06-01 13:08:36.184687581 -0500 +@@ -24,10 +24,10 @@ + ALL_LDFLAGS = $(LDFLAGS) + STRIP ?= strip + +-prefix = $(HOME) ++prefix = /usr + sbindir_relative = sbin + sbindir = $(prefix)/$(sbindir_relative) +-mandir = $(prefix)/share/man ++mandir = $(prefix)/man + sharedir = $(prefix)/share + localedir = $(sharedir)/locale + lib = lib diff --git a/source/n/iptraf-ng/iptraf-ng.url b/source/n/iptraf-ng/iptraf-ng.url new file mode 100644 index 00000000..1c102c5d --- /dev/null +++ b/source/n/iptraf-ng/iptraf-ng.url @@ -0,0 +1 @@ +https://github.com/iptraf-ng/iptraf-ng -- cgit v1.2.3