diff options
Diffstat (limited to 'network/courier-authlib/courier-authlib.SlackBuild')
-rw-r--r-- | network/courier-authlib/courier-authlib.SlackBuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/network/courier-authlib/courier-authlib.SlackBuild b/network/courier-authlib/courier-authlib.SlackBuild index b42e2a15985be..fc147ad6abe10 100644 --- a/network/courier-authlib/courier-authlib.SlackBuild +++ b/network/courier-authlib/courier-authlib.SlackBuild @@ -3,17 +3,17 @@ # Slackware build script for courier authlib # Written by Derek Noonburg (derekn@foolabs.com) -# 2013-05-15 +# 2013-05-15, last updated 2019-08-26 # Released into the public domain. PRGNAM=courier-authlib -VERSION=${VERSION:-0.66.1} +VERSION=${VERSION:-0.69.1} 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 @@ -24,8 +24,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" @@ -46,9 +46,10 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION -chown -R operator . +chown -R root:root . CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -68,7 +69,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ gzip -9 $PKG/usr/man/*/* for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -for f in authdaemonrc authldaprc authmysqlrc ; do +for f in authdaemonrc authldaprc authsqliterc ; do mv $PKG/etc/authlib/$f $PKG/etc/authlib/$f.new done @@ -77,7 +78,6 @@ cp -a \ INSTALL COPYING COPYING.GPL AUTHORS NEWS README* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -chown -R root:root $PKG/usr/doc find $PKG/usr/doc -type f -exec chmod 0644 {} \; mkdir -p $PKG/install |