diff options
author | David Spencer <baildon.research@googlemail.com> | 2016-05-25 17:07:04 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-05-27 07:23:48 +0700 |
commit | bf5c761d29f3c3b0d01c40191869f7b434273eeb (patch) | |
tree | 06e136cee997f92b46d38ea9ee73d574f0781c33 /network/ntop/ntop.SlackBuild | |
parent | 06d3ce53013095ac4ca262ff5eb3b5b66bb69dba (diff) |
network/ntop: Updated for version 5.0.1.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'network/ntop/ntop.SlackBuild')
-rw-r--r-- | network/ntop/ntop.SlackBuild | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/network/ntop/ntop.SlackBuild b/network/ntop/ntop.SlackBuild index e76237075e3cf..59f9055364094 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 <baildon.research@googlemail.com> 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 |