From fba9dceaa76f79a16c54a9cd18a8a223f9a00014 Mon Sep 17 00:00:00 2001 From: Mario Preksavec Date: Sun, 24 Jul 2016 19:28:36 +0200 Subject: system/syslog-ng: Updated for version 3.7.3. Signed-off-by: Mario Preksavec --- system/syslog-ng/syslog-ng.SlackBuild | 18 ++++++++++++++---- system/syslog-ng/syslog-ng.info | 6 +++--- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/system/syslog-ng/syslog-ng.SlackBuild b/system/syslog-ng/syslog-ng.SlackBuild index f9f61ef766..d48861f7c5 100644 --- a/system/syslog-ng/syslog-ng.SlackBuild +++ b/system/syslog-ng/syslog-ng.SlackBuild @@ -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 diff --git a/system/syslog-ng/syslog-ng.info b/system/syslog-ng/syslog-ng.info index 68bfca7029..bb807842ba 100644 --- a/system/syslog-ng/syslog-ng.info +++ b/system/syslog-ng/syslog-ng.info @@ -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" -- cgit v1.2.3