summaryrefslogtreecommitdiffstats
path: root/network/frr/frr.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/frr/frr.SlackBuild')
-rw-r--r--network/frr/frr.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/network/frr/frr.SlackBuild b/network/frr/frr.SlackBuild
index 1bc0fbc6a0..a480815a29 100644
--- a/network/frr/frr.SlackBuild
+++ b/network/frr/frr.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for frr
-# Copyright 2018-2020 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2018-2023 Thibaut Notteboom, Paris, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=frr
-VERSION=${VERSION:-7.3.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-9.0.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -59,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -94,7 +94,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-./bootstrap.sh
+autoreconf -fvi
# docs disabled due to no python2-sphinx
CFLAGS="$SLKCFLAGS" \
@@ -141,7 +141,6 @@ install -D -m 644 redhat/frr.logrotate $PKG/etc/logrotate.d/frr.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
rm -f $PKG/usr/lib${LIBDIRSUFFIX}/frr/modules/*.la