diff options
author | Thibaut Notteboom <thibaut.notteboom@gmail.com> | 2020-05-20 00:19:16 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-05-20 00:19:16 +0700 |
commit | 7f795fd35eaff003b830fe1fc6014f228b566195 (patch) | |
tree | 6256f84b3731e884caa4194177ab8d1edb900ab5 /network/frr/frr.SlackBuild | |
parent | f3ac3f7d732f8fe6d822a4c8964165b517d8db64 (diff) | |
download | slackbuilds-7f795fd35eaff003b830fe1fc6014f228b566195.tar.gz |
network/frr: Updated for version 7.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/frr/frr.SlackBuild')
-rw-r--r-- | network/frr/frr.SlackBuild | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/network/frr/frr.SlackBuild b/network/frr/frr.SlackBuild index 701fd9696a..ac17db4098 100644 --- a/network/frr/frr.SlackBuild +++ b/network/frr/frr.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for frr -# Copyright 2018 Thibaut Notteboom, Paris, FRANCE +# Copyright 2018-2020 Thibaut Notteboom, Paris, FRANCE # 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=frr -VERSION=${VERSION:-6.0} +VERSION=${VERSION:-7.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -110,6 +110,8 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-fpm \ --enable-vtysh \ --enable-watchfrr \ + --enable-doc \ + --enable-doc-html \ --disable-systemd \ --disable-static \ --without-libpam \ @@ -120,21 +122,13 @@ make install-strip DESTDIR=$PKG install -d -m 750 -o frr -g frr $PKG/etc/frr $PKG/var/log/frr $PKG/var/run/frr -install -D -m 640 -o frr -g frr redhat/daemons $PKG/etc/frr/daemons.new +install -D -m 640 -o frr -g frr tools/etc/frr/daemons $PKG/etc/frr/daemons.new install -D -m 640 -o frr -g frrvty tools/etc/frr/vtysh.conf $PKG/etc/frr/vtysh.conf.new -install -D -m 644 redhat/frr.init $PKG/etc/rc.d/rc.frr.new +install -D -m 644 $PKG/usr/sbin/frrinit.sh $PKG/etc/rc.d/rc.frr.new install -D -m 644 redhat/frr.logrotate $PKG/etc/logrotate.d/frr.new -install -D -m 644 bgpd/BGP4-MIB.txt $PKG/usr/share/snmp/mibs/BGP4-MIB.txt -install -D -m 644 eigrpd/EIGRP-MIB.txt $PKG/usr/share/snmp/mibs/EIGRP-MIB.txt -install -D -m 644 ospf6d/OSPFv3-MIB.txt $PKG/usr/share/snmp/mibs/OSPFv3-MIB.txt -install -D -m 644 ospfd/OSPF-MIB.txt $PKG/usr/share/snmp/mibs/OSPF-MIB.txt -install -D -m 644 ospfd/OSPF-TRAP-MIB.txt $PKG/usr/share/snmp/mibs/OSPF-TRAP-MIB.txt -install -D -m 644 ripd/RIPv2-MIB.txt $PKG/usr/share/snmp/mibs/RIPv2-MIB.txt - -# Fix paths -sed -i 's|usr/lib/frr|usr/sbin|g' $PKG/etc/rc.d/rc.frr.new $PKG/etc/frr/daemons.new +sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|g' $PKG/usr/sbin/{frr-reload.py,generate_support_bundle.py} # Don't ship .la files: rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la @@ -148,7 +142,7 @@ gzip -9 $PKG/usr/info/*.info* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING* ChangeLog INSTALL NEWS README* \ + COPYING* README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |