summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Thibaut Notteboom <thibaut.notteboom@gmail.com>2023-11-12 09:53:09 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-11-12 13:17:53 +0700
commite06c6665593b0df13e5f329adc4e64c583b17ca2 (patch)
treec867510f530d857841bdb27f47f0f1ee56eceeb3
parent4e4d1fe091f530b3718473755ad64bcc2c1f348d (diff)
downloadslackbuilds-e06c6665593b0df13e5f329adc4e64c583b17ca2.tar.gz
slackbuilds-e06c6665593b0df13e5f329adc4e64c583b17ca2.tar.xz
libraries/opensaml: Updated for version 3.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/opensaml/opensaml.SlackBuild18
-rw-r--r--libraries/opensaml/opensaml.info6
2 files changed, 12 insertions, 12 deletions
diff --git a/libraries/opensaml/opensaml.SlackBuild b/libraries/opensaml/opensaml.SlackBuild
index 762a928f64..d4f205ba2a 100644
--- a/libraries/opensaml/opensaml.SlackBuild
+++ b/libraries/opensaml/opensaml.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for OpenSAML
-# Copyright 2013-2018 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2013-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=opensaml
-VERSION=${VERSION:-3.0.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.2.1}
+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=""
@@ -80,7 +80,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS -std=c++14" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -89,11 +89,11 @@ CXXFLAGS="$SLKCFLAGS -std=c++14" \
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mv $PKG/usr/share/doc $PKG/usr/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -f $PKG/usr/lib*/*.la
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/libraries/opensaml/opensaml.info b/libraries/opensaml/opensaml.info
index 0a9deb10ac..2cb640d200 100644
--- a/libraries/opensaml/opensaml.info
+++ b/libraries/opensaml/opensaml.info
@@ -1,8 +1,8 @@
PRGNAM="opensaml"
-VERSION="3.0.1"
+VERSION="3.2.1"
HOMEPAGE="https://wiki.shibboleth.net/confluence/display/OpenSAML/Home"
-DOWNLOAD="https://shibboleth.net/downloads/c++-opensaml/3.0.1/opensaml-3.0.1.tar.gz"
-MD5SUM="b164abd784f3cfa0f5e410435b16ea06"
+DOWNLOAD="https://shibboleth.net/downloads/c++-opensaml/3.2.1/opensaml-3.2.1.tar.gz"
+MD5SUM="e2d19131b61027caf5fc12be9f35c211"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="xmltooling"