diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-30 15:43:23 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-02 18:18:46 +0700 |
commit | a8a4908b0efb911b06b4d7e1bf24e8bac97b468f (patch) | |
tree | 4f4b215d7fa28d1e9874a6b2e4b3dd8871d0141a /network | |
parent | e83e701e931ecf5750d2111d85df202870294dde (diff) |
network/mod_auth_kerb: Fix download URL.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/mod_auth_kerb/mod_auth_kerb.SlackBuild | 29 | ||||
-rw-r--r-- | network/mod_auth_kerb/mod_auth_kerb.info | 2 |
2 files changed, 16 insertions, 15 deletions
diff --git a/network/mod_auth_kerb/mod_auth_kerb.SlackBuild b/network/mod_auth_kerb/mod_auth_kerb.SlackBuild index 54b164ab37403..f038adcdd9b52 100644 --- a/network/mod_auth_kerb/mod_auth_kerb.SlackBuild +++ b/network/mod_auth_kerb/mod_auth_kerb.SlackBuild @@ -22,25 +22,27 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220330 bkw: Modified by SlackBuilds.org, BUILD=2: +# - fix download URL. +# - i486 => i586. +# - do not install INSTALL instructions in doc dir. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mod_auth_kerb VERSION=${VERSION:-5.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; 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 @@ -50,8 +52,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -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" @@ -75,9 +77,9 @@ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ # Fix compilation with httpd-2.4 patch -p0 < $CWD/mod_auth_kerb.c.patch @@ -93,17 +95,16 @@ CXXFLAGS="$SLKCFLAGS" \ make mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules -install -m 755 src/.libs/mod_auth_kerb.so $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules/mod_auth_kerb.so +install -s -m 755 \ + src/.libs/mod_auth_kerb.so \ + $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules/mod_auth_kerb.so mkdir -p $PKG/etc/httpd/extra sed "s%@baselibdir@%lib${LIBDIRSUFFIX}%" $CWD/mod_auth_kerb.conf > \ $PKG/etc/httpd/extra/mod_auth_kerb.conf.new -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ChangeLog INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/network/mod_auth_kerb/mod_auth_kerb.info b/network/mod_auth_kerb/mod_auth_kerb.info index c25060df88891..8ea903a2dff9f 100644 --- a/network/mod_auth_kerb/mod_auth_kerb.info +++ b/network/mod_auth_kerb/mod_auth_kerb.info @@ -1,7 +1,7 @@ PRGNAM="mod_auth_kerb" VERSION="5.4" HOMEPAGE="http://modauthkerb.sourceforge.net/" -DOWNLOAD="http://fossies.org/unix/www/apache_httpd_modules/mod_auth_kerb-5.4.tar.gz" +DOWNLOAD="http://attic-distfiles.pld-linux.org/distfiles/by-md5/6/4/642b81763ad3ca81dba359cb952da5e3/mod_auth_kerb-5.4.tar.gz" MD5SUM="642b81763ad3ca81dba359cb952da5e3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |