From fb18e34a072e87ecc945197a9310d96ea09377f7 Mon Sep 17 00:00:00 2001 From: Marin Glibic Date: Fri, 24 Nov 2017 21:21:49 +0000 Subject: network/quagga: Updated for version 1.2.2. Signed-off-by: David Spencer --- network/quagga/quagga.SlackBuild | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'network/quagga/quagga.SlackBuild') diff --git a/network/quagga/quagga.SlackBuild b/network/quagga/quagga.SlackBuild index bc60fb98a1303..904a0b3397945 100644 --- a/network/quagga/quagga.SlackBuild +++ b/network/quagga/quagga.SlackBuild @@ -7,13 +7,13 @@ # Don't forget to set USE_PAM if you use it. PRGNAM=quagga -VERSION=${VERSION:-1.0.20160315} +VERSION=${VERSION:-1.2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) export ARCH=i486 ;; + i?86) export ARCH=i586 ;; arm*) export ARCH=arm ;; *) export ARCH=$( uname -m ) ;; esac @@ -24,8 +24,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -73,7 +73,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -106,8 +106,6 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --infodir=/usr/info \ --enable-vtysh \ - --enable-opaque-lsa \ - --enable-ospf-te \ --enable-dependency-tracking \ --enable-user=quagga \ --enable-group=quagga \ @@ -134,7 +132,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r rm -f $PKG/usr/info/dir gzip -9 $PKG/usr/info/* -mv $TMP/$PRGNAM-$VERSION/*/*.sample $PKG/etc/quagga +mv $TMP/$PRGNAM-$VERSION/*/*.sample* $PKG/etc/quagga chown root.quagga $PKG/etc/quagga ; chmod 750 $PKG/etc/quagga chown -R root.quagga $PKG/etc/quagga/* ; chmod 640 $PKG/etc/quagga/*.sample -- cgit v1.2.3