network/smcroute: Updated for version 2.0.0.

This commit is contained in:
Mario Preksavec 2015-03-15 09:36:46 +01:00 committed by Willy Sudiarto Raharjo
parent 11e25191a5
commit 1e301e41ee
3 changed files with 11 additions and 10 deletions

View file

@ -14,6 +14,6 @@ smcroute: alternative to dynamic multicast routers like mrouted or pimd in
smcroute: situations where (only) static multicast routes should be maintained
smcroute: and/or no proper IGMP signaling exists.
smcroute:
smcroute:
smcroute: Homepage: http://troglobit.com/smcroute.html
smcroute:
smcroute:

View file

@ -2,7 +2,7 @@
# Slackware build script for SMCRoute
# Copyright 2013 Mario Preksavec, Zagreb, HR
# Copyright 2013, 2015 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=smcroute
VERSION=${VERSION:-1.99.2}
VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -83,6 +83,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
# Binaries should go to sbin
mv $PKG/usr/bin $PKG/usr/sbin
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
@ -90,9 +93,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="smcroute"
VERSION="1.99.2"
VERSION="2.0.0"
HOMEPAGE="http://troglobit.com/smcroute.html"
DOWNLOAD="ftp://troglobit.com/smcroute/smcroute-1.99.2.tar.bz2"
MD5SUM="47e2a8157b32a8b9aa34133878ffe3b5"
DOWNLOAD="ftp://troglobit.com/smcroute/smcroute-2.0.0.tar.xz"
MD5SUM="cbf478e52ab9ae411adca41b9d22f68a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""