system/aide: Updated for version 0.16 + new maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Emmanuel N. Millan 2018-05-29 09:20:06 +07:00 committed by Willy Sudiarto Raharjo
parent 3d36ea39fb
commit f15be86d7b
2 changed files with 14 additions and 12 deletions

View File

@ -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 {} \;

View File

@ -1,10 +1,10 @@
PRGNAM="aide"
VERSION="0.15.1"
VERSION="0.16"
HOMEPAGE="https://sourceforge.net/projects/aide/"
DOWNLOAD="https://sourceforge.net/projects/aide/files/aide/0.15.1/aide-0.15.1.tar.gz"
MD5SUM="d0b72535ff68b93a648e4d08b0ed7f07"
DOWNLOAD="https://sourceforge.net/projects/aide/files/aide/0.16/aide-0.16.tar.gz"
MD5SUM="25c616f67c667acd4088747ae7f6a9a3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Andy Bailey"
EMAIL="GooseYArd@gmail.com"
MAINTAINER="Emmanuel N. Millan"
EMAIL="emmanueln@gmail.com"