diff options
author | Emmanuel N. Millan <emmanueln@gmail.com> | 2018-05-29 09:20:06 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-05-29 09:20:06 +0700 |
commit | f15be86d7b4426c9aae14eedf0a4471afe302ee7 (patch) | |
tree | 72607d68d294afc4b3f479cd0a9069470519f72f /system/aide/aide.SlackBuild | |
parent | 3d36ea39fb0b587828b74a0f880006eace97bfb2 (diff) |
system/aide: Updated for version 0.16 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/aide/aide.SlackBuild')
-rw-r--r-- | system/aide/aide.SlackBuild | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/system/aide/aide.SlackBuild b/system/aide/aide.SlackBuild index 326ece15f49ea..f0351f697b026 100644 --- a/system/aide/aide.SlackBuild +++ b/system/aide/aide.SlackBuild @@ -2,10 +2,11 @@ # Slackware build script for AIDE # Andy Bailey <GooseYArd@gmail.com> +# Emmanuel N. Millan <emmanueln@gmail.com> - 2018 PRGNAM=aide -PKGVER=`basename $PRGNAM*tar.gz .tar.gz | cut -d- -f2` -VERSION=${VERSION:-$PKGVER} +#PKGVER=`basename $PRGNAM*tar.gz .tar.gz | cut -d- -f2` +VERSION=${VERSION:-0.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -46,10 +47,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 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 \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -61,6 +62,7 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ --localstatedir=/var \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ + --disable-static \ --build=$ARCH-slackware-linux \ --with-zlib @@ -71,7 +73,7 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 -type f -exec gzip -9 {} \; |