diff options
author | Marin Glibic <zhilla2@gmail.com> | 2017-11-24 21:21:49 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-11-24 21:21:49 +0000 |
commit | fb18e34a072e87ecc945197a9310d96ea09377f7 (patch) | |
tree | 09f1df3e54c65d5228cf4db8f90632d676fb906a /network/quagga/quagga.SlackBuild | |
parent | aa8def818b7c4522ce5575114a6938f6f374e18c (diff) | |
download | slackbuilds-fb18e34a072e87ecc945197a9310d96ea09377f7.tar.gz |
network/quagga: Updated for version 1.2.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/quagga/quagga.SlackBuild')
-rw-r--r-- | network/quagga/quagga.SlackBuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/network/quagga/quagga.SlackBuild b/network/quagga/quagga.SlackBuild index bc60fb98a1..904a0b3397 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 |