aboutsummaryrefslogtreecommitdiff
path: root/system/amanda
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-06-18 14:37:33 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-06-23 01:14:05 +0700
commitae1af677f4262cf609021effcd1eace6223596f3 (patch)
treed38686e12cd63ab53c72bb6bd496c951294181d0 /system/amanda
parent648a4846a8709150bb8f4dac5a6cd8ff0b08035c (diff)
system/amanda: Updated for version 3.3.9, use libtirpc.
Pass -fcommon for gcc >= 10.x Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/amanda')
-rw-r--r--system/amanda/amanda.SlackBuild10
-rw-r--r--system/amanda/amanda.info6
2 files changed, 8 insertions, 8 deletions
diff --git a/system/amanda/amanda.SlackBuild b/system/amanda/amanda.SlackBuild
index d0eeb8d225e3..2e36913ed4b6 100644
--- a/system/amanda/amanda.SlackBuild
+++ b/system/amanda/amanda.SlackBuild
@@ -32,13 +32,13 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=amanda
-VERSION=${VERSION:-3.3.8}
+VERSION=${VERSION:-3.3.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -54,8 +54,8 @@ AMANDAGRP=${AMANDAGRP:-amanda}
AMANDAUID=${AMANDAUID:-211}
AMANDAGID=${AMANDAGID:-211}
-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"
@@ -100,7 +100,7 @@ find -L . \
PERLDIR=$(perl -V:installvendorlib | cut -d\' -f2)
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon -I/usr/include/tirpc -Wl,-ltirpc" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
diff --git a/system/amanda/amanda.info b/system/amanda/amanda.info
index 7c8c2d163dfe..d7a3a4ebc215 100644
--- a/system/amanda/amanda.info
+++ b/system/amanda/amanda.info
@@ -1,8 +1,8 @@
PRGNAM="amanda"
-VERSION="3.3.8"
+VERSION="3.3.9"
HOMEPAGE="http://www.amanda.org/"
-DOWNLOAD="http://downloads.sourceforge.net/amanda/amanda-3.3.8.tar.gz"
-MD5SUM="2e9bb80fd177908cf9c1b010b4399455"
+DOWNLOAD="http://downloads.sf.net/amanda/amanda-3.3.9.tar.gz"
+MD5SUM="51a7d55ee84d250c9d809318b0b3dcbb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""