diff --git a/system/aespipe/aespipe.SlackBuild b/system/aespipe/aespipe.SlackBuild index b00abd4b15..dde58683f9 100644 --- a/system/aespipe/aespipe.SlackBuild +++ b/system/aespipe/aespipe.SlackBuild @@ -23,13 +23,17 @@ # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115 +# markus reichelt, (email removed) + +# 20230709 bkw: BUILD=2 +# - new maintainer. +# - include bz2aespipe in package. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=aespipe VERSION=${VERSION:-2.4f} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -43,9 +47,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 @@ -55,24 +56,25 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +OPT="--enable-padlock --enable-intelaes" + if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" - OPT="--enable-asm=x86 --enable-padlock --enable-intelaes" + OPT+=" --enable-asm=x86" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" - OPT="--enable-asm=x86 --enable-padlock --enable-intelaes" + OPT+=" --enable-asm=x86" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" - OPT="--enable-asm=amd64 --enable-padlock --enable-intelaes" + OPT+=" --enable-asm=amd64" +elif [ "$ARCH" = "aarch64" ]; then # hope this is correct + SLKCFLAGS="-O2 -fPIC" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" - OPT="" fi +echo "===> configure options: $OPT" + set -e rm -rf $PKG @@ -82,11 +84,8 @@ rm -rf $PRGNAM-$SRCVER tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2 cd $PRGNAM-$SRCVER 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 \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + set -e @@ -101,18 +100,17 @@ fi LDFLAGS=$LDFLAGS \ CFLAGS=$SLKCFLAGS \ ./configure \ - --bindir=$PKG/usr/bin \ - --mandir=$PKG/usr/man \ + --bindir=/usr/bin \ + --mandir=/usr/man \ $OPT make make tests -make install +make install-strip DESTDIR=$PKG +gzip -9 $PKG/usr/man/man*/* -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 - -find $PKG/usr/man/man1 -type f -exec gzip -9 {} \; +# 20230709 bkw: this loox useful and the README shows an example for it: +cp -a bz2aespipe $PKG/usr/bin mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README* ChangeLog* $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/system/aespipe/aespipe.info b/system/aespipe/aespipe.info index a2ae6076d8..34ee3013fd 100644 --- a/system/aespipe/aespipe.info +++ b/system/aespipe/aespipe.info @@ -6,5 +6,5 @@ MD5SUM="ed05c62c1954110f009bedda4bc1562f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Markus Reichelt" -EMAIL="slackbuilds@mareichelt.de" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk"