From bf5c761d29f3c3b0d01c40191869f7b434273eeb Mon Sep 17 00:00:00 2001 From: David Spencer Date: Wed, 25 May 2016 17:07:04 +0100 Subject: network/ntop: Updated for version 5.0.1. Signed-off-by: David Spencer --- network/ntop/ntop.SlackBuild | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'network/ntop/ntop.SlackBuild') diff --git a/network/ntop/ntop.SlackBuild b/network/ntop/ntop.SlackBuild index e76237075e3c..59f905536409 100644 --- a/network/ntop/ntop.SlackBuild +++ b/network/ntop/ntop.SlackBuild @@ -23,10 +23,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# revision date: 2011/08/25 +# Maintained by David Spencer PRGNAM=ntop -VERSION=${VERSION:-4.1.0} +VERSION=${VERSION:-5.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -83,10 +83,10 @@ tar xvf $CWD/$PRGNAM-$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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; # Patch Makefile so we won't do automatic downloads patch -p1 < $CWD/no_downloads.patch @@ -132,17 +132,16 @@ cd $PKG/etc/$PRGNAM specialMAC.txt.gz ntop-cert.pem GeoIPASNum.dat GeoLiteCity.dat etter.finger.os.gz oui.txt.gz; do mv $f $f.new done -cd - +cd - >/dev/null -# Change the permissions on ntops homedir so we can write logs +# Change the permissions on ntop's homedir so we can write logs chown -R $NTOPUSER:$NTOPGROUP $PKG/var/lib/$PRGNAM -# Copy *all* documentation over (docs/ is not included in make install for -# some arkane reason. Rename some docs to prevent them copying over each other. -for FILE in {README,INSTALL}; do mv docs/$FILE docs/$FILE.docs ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS CONTENTS COPYING ChangeLog INSTALL LICENSE* MANIFESTO NEWS PORTING \ - README SUPPORT_NTOP.txt THANKS ntop.html ntop.txt docs/* NetFlow www \ +cp -a \ + AUTHORS CONTENTS COPYING ChangeLog INSTALL LICENSE* MANIFESTO NEWS PORTING \ + README SUPPORT_NTOP.txt THANKS ntop.html ntop.txt \ + docs/ NetFlow/ www/ \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE -- cgit v1.2.3