Skip to content

Commit

Permalink
audit: upgraded to 2.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
conraid committed Aug 9, 2016
1 parent bae081d commit 77d3d2b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion audit/README
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Slackware Current Repository by Conraid
Slackware Current Repository by Conraid

======================================================================

Expand Down
30 changes: 15 additions & 15 deletions audit/audit.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ set -eu

CWD=$(pwd)

PRGNAM=audit
VERSION=${VERSION:-2.4.4}
BUILD=${BUILD:-3}
PKGNAM=audit
VERSION=2.6.6
BUILD=${BUILD:-1}
TAG=${TAG:-cf}
TMP=${TMP:-/tmp/pkg}
PKG=$TMP/package-$PRGNAM
PKG=$TMP/package-$PKGNAM
OUTPUT=${OUTPUT:-/tmp}

DOCFILES="AUTHORS contrib COPYING ChangeLog INSTALL NEWS README TODO"
Expand All @@ -54,22 +54,22 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC -fomit-frame-pointer"
SLKCFLAGS="-O2 -fPIC -pipe -fomit-frame-pointer"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi

rm -rf $PKG
mkdir -p $TMP $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
rm -rf $PKGNAM-$VERSION
tar xvf $CWD/$PKGNAM-$VERSION.tar.gz
cd $PKGNAM-$VERSION

chown -R root:root .
find . \
chmod -R u+w,go+r-w,a+X-s .

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
Expand All @@ -80,7 +80,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--docdir=/usr/doc/$PKGNAM-$VERSION \
--enable-static=no \
--enable-shared=yes \
--with-python \
Expand Down Expand Up @@ -117,13 +117,13 @@ done
# Make log dir
mkdir -p $PKG/var/log/audit

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION || true
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a $DOCFILES $PKG/usr/doc/$PKGNAM-$VERSION || true
cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PKGNAM-$VERSION/$PKGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
10 changes: 5 additions & 5 deletions audit/audit.info
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
PRGNAM="audit"
VERSION="2.4.4"
VERSION="2.6.6"
HOMEPAGE="https://people.redhat.com/sgrubb/audit/"
DOWNLOAD="https://people.redhat.com/sgrubb/audit/audit-2.4.4.tar.gz"
FILENAME="audit-2.4.4.tar.gz"
DOWNLOAD="https://people.redhat.com/sgrubb/audit/audit-2.6.6.tar.gz"
FILENAME="audit-2.6.6.tar.gz"
REQUIRES=""
MD5SUM="72b0fd94d32846142bc472f0d91e62b4"
SHASUM="ad38f3352e21716e86d73b4e06cc41a5e85882ee"
MD5SUM="871fbc03039a5101b5191c5dcc6e8ac2"
SHASUM="7a1d112fbe16f9477421499b38cfb25a48160d28"
MAINTAINER="Corrado Franco"
EMAIL="conraid (at) linux (dot) it"

0 comments on commit 77d3d2b

Please sign in to comment.