summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2015-03-15 09:36:46 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-22 15:33:25 +0700
commit1e301e41ee5c82fda47438d878b48c3af4691985 (patch)
treeb21dd374a61840d92f60db2979922d6fc65b3563 /network
parent11e25191a55109dd07d75c72e77d4cad6b2489d4 (diff)
downloadslackbuilds-1e301e41ee5c82fda47438d878b48c3af4691985.tar.gz
network/smcroute: Updated for version 2.0.0.
Diffstat (limited to 'network')
-rw-r--r--network/smcroute/slack-desc2
-rw-r--r--network/smcroute/smcroute.SlackBuild13
-rw-r--r--network/smcroute/smcroute.info6
3 files changed, 11 insertions, 10 deletions
diff --git a/network/smcroute/slack-desc b/network/smcroute/slack-desc
index e332ffb6dc..062792b08f 100644
--- a/network/smcroute/slack-desc
+++ b/network/smcroute/slack-desc
@@ -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:
diff --git a/network/smcroute/smcroute.SlackBuild b/network/smcroute/smcroute.SlackBuild
index 440c6a1be2..12a72b69c7 100644
--- a/network/smcroute/smcroute.SlackBuild
+++ b/network/smcroute/smcroute.SlackBuild
@@ -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
diff --git a/network/smcroute/smcroute.info b/network/smcroute/smcroute.info
index 36a23eb83d..1a88f67ecd 100644
--- a/network/smcroute/smcroute.info
+++ b/network/smcroute/smcroute.info
@@ -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=""