diff options
author | Mario Preksavec <mario@slackware.hr> | 2013-12-12 00:08:58 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2013-12-14 10:53:03 -0600 |
commit | 7ec156eccdd442461d08b4f701532a04031f4f01 (patch) | |
tree | ccc18fae24234be82d8d0dcfc96ea08b74a68c9f /system/syslog-ng/syslog-ng.SlackBuild | |
parent | 05d5d1ca13b1c89f103d963e6cb3d8ae40f23bf3 (diff) |
system/syslog-ng: Updated for version 3.5.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/syslog-ng/syslog-ng.SlackBuild')
-rw-r--r-- | system/syslog-ng/syslog-ng.SlackBuild | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/system/syslog-ng/syslog-ng.SlackBuild b/system/syslog-ng/syslog-ng.SlackBuild index 987c78e27da68..f9f61ef766465 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, mario <mario@slackverse.org> +# Copyright 2010, 2012, 2013 Mario Preksavec, Zagreb, HR # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -11,7 +11,7 @@ # 1. Redistributions of this script must retain the above copyright # notice, this list of conditions and the following disclaimer. # -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=syslog-ng -VERSION=${VERSION:-3.3.4} +VERSION=${VERSION:-3.5.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,6 +54,13 @@ else LIBDIRSUFFIX="" fi +# Build withhout GeoIP support by default +GEOIP=${GEOIP:-no} +case "$GEOIP" in + yes) GEOIP='--enable-geoip' ;; + *) GEOIP='--disable-geoip' ;; +esac + set -e rm -rf $PKG @@ -80,6 +87,8 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --enable-dynamic-linking \ + --with-embedded-crypto \ + $GEOIP \ --build=$ARCH-slackware-linux make @@ -104,14 +113,11 @@ install -D -m0755 -oroot -groot $CWD/rc.syslog-ng $PKG/etc/rc.d/rc.syslog-ng.new install -D -m0644 -oroot -groot $CWD/syslog-ng.conf $PKG/etc/syslog-ng/syslog-ng.conf.new install -D -m0644 -oroot -groot $CWD/syslog-ng.logrotate $PKG/etc/logrotate.d/syslog-ng.new -# Remove empty directory -rmdir $PKG/usr/libexec - # This is for syslog-ng.persist file, we don't want it in /var mkdir -p $PKG/var/lib/syslog-ng mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS VERSION $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING INSTALL NEWS 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 |