From 4c3bb304ceeb53bac78bffaf93d68f00924bd275 Mon Sep 17 00:00:00 2001 From: Thibaut Notteboom Date: Sun, 12 Nov 2023 09:52:58 +0700 Subject: [PATCH] network/shibboleth-sp: Updated for version 3.4.1. Signed-off-by: Willy Sudiarto Raharjo --- network/shibboleth-sp/shibboleth-sp.SlackBuild | 16 ++++++++-------- network/shibboleth-sp/shibboleth-sp.info | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/network/shibboleth-sp/shibboleth-sp.SlackBuild b/network/shibboleth-sp/shibboleth-sp.SlackBuild index 82f8cc86bc..655ce51e01 100644 --- a/network/shibboleth-sp/shibboleth-sp.SlackBuild +++ b/network/shibboleth-sp/shibboleth-sp.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Shibboleth Service Provider. -# 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=shibboleth-sp -VERSION=${VERSION:-3.0.4} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.4.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="" @@ -117,13 +117,13 @@ find $PKG/etc/shibboleth/ -name *.pem | while read cfg ; do mv $cfg $cfg.new ; d chown shibd:shibd $PKG/etc/shibboleth/sp-*.pem.new +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/{,shibboleth/}*.la + mv $PKG/usr/share/doc $PKG/usr mv $PKG/usr/doc/shibboleth-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE -rm -f $PKG/usr/lib*/*.la - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/network/shibboleth-sp/shibboleth-sp.info b/network/shibboleth-sp/shibboleth-sp.info index ab57441716..90147f8d59 100644 --- a/network/shibboleth-sp/shibboleth-sp.info +++ b/network/shibboleth-sp/shibboleth-sp.info @@ -1,8 +1,8 @@ PRGNAM="shibboleth-sp" -VERSION="3.0.4" +VERSION="3.4.1" HOMEPAGE="http://shibboleth.net/" -DOWNLOAD="http://shibboleth.net/downloads/service-provider/3.0.4/shibboleth-sp-3.0.4.tar.gz" -MD5SUM="dd7fbff4de495197ffeb834df6cebf05" +DOWNLOAD="https://shibboleth.net/downloads/service-provider/3.4.1/shibboleth-sp-3.4.1.tar.gz" +MD5SUM="e6bd05784653057b18340de8c4517ce4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="opensaml"