system/syslog-ng: Updated for version 3.7.3.

Signed-off-by: Mario Preksavec <mario@slackware.hr>
This commit is contained in:
Mario Preksavec 2016-07-24 19:28:36 +02:00 committed by Willy Sudiarto Raharjo
parent 94bed6e5c6
commit fba9dceaa7
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 17 additions and 7 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for syslog-ng
# Copyright 2010, 2012, 2013 Mario Preksavec, Zagreb, HR
# Copyright 2010, 2012, 2013, 2016 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=syslog-ng
VERSION=${VERSION:-3.5.2}
VERSION=${VERSION:-3.7.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -67,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/${PRGNAM}_$VERSION.tar.gz
tar xvf $CWD/${PRGNAM}-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -94,6 +94,13 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
# Generate manual pages by hand
for i in 1 5 8; do
xsltproc --xinclude --output $PKG/usr/man/man$i/ \
/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl \
doc/man/*.$i.xml
done
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@ -116,8 +123,11 @@ install -D -m0644 -oroot -groot $CWD/syslog-ng.logrotate $PKG/etc/logrotate.d/sy
# This is for syslog-ng.persist file, we don't want it in /var
mkdir -p $PKG/var/lib/syslog-ng
# Cruft removal
rmdir $PKG/usr/libexec
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING INSTALL NEWS VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS CONTRIBUTING.md COPYING INSTALL NEWS.md VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE

View file

@ -1,8 +1,8 @@
PRGNAM="syslog-ng"
VERSION="3.5.2"
VERSION="3.7.3"
HOMEPAGE="http://www.balabit.com/"
DOWNLOAD="http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.5.2/source/syslog-ng_3.5.2.tar.gz"
MD5SUM="a54cbbe077363f112e5f6ff1ffd34fdb"
DOWNLOAD="https://github.com/balabit/syslog-ng/releases/download/syslog-ng-3.7.3/syslog-ng-3.7.3.tar.gz"
MD5SUM="803d61a713d6d41a973942d417fec999"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="%README% eventlog"