[arch-commits] CVS update of core/base/syslog-ng (PKGBUILD syslog-ng)

Eric Belanger eric at archlinux.org
Sat Dec 8 19:09:27 EST 2007


    Date: Saturday, December 8, 2007 @ 19:09:27
  Author: eric
    Path: /home/cvs-core/core/base/syslog-ng

Modified: PKGBUILD (1.24 -> 1.25) syslog-ng (1.1 -> 1.2)

upgpkg: syslog-ng 2.0.6-1
upstream update, rebuilt against libol-less eventlog (close FS#8849), moved location of syslog-ng.persist from /var to /var/lib/syslog-ng, minor PKGBUILD improvements


-----------+
 PKGBUILD  |   22 +++++++++++-----------
 syslog-ng |    2 ++
 2 files changed, 13 insertions(+), 11 deletions(-)


Index: core/base/syslog-ng/PKGBUILD
diff -u core/base/syslog-ng/PKGBUILD:1.24 core/base/syslog-ng/PKGBUILD:1.25
--- core/base/syslog-ng/PKGBUILD:1.24	Thu Nov 15 19:02:40 2007
+++ core/base/syslog-ng/PKGBUILD	Sat Dec  8 19:09:26 2007
@@ -1,30 +1,30 @@
-# $Id: PKGBUILD,v 1.24 2007/11/16 00:02:40 daniel Exp $
+# $Id: PKGBUILD,v 1.25 2007/12/09 00:09:26 eric Exp $
 # Maintainer: Judd Vinet <jvinet at zeroflux.org>
 pkgname=syslog-ng
-pkgver=2.0.5
-pkgrel=6
-pkgdesc="A portable syslogd replacement with enhanced, flexible configuration scheme."
+pkgver=2.0.6
+pkgrel=1
+pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
 arch=(i686 x86_64)
 license=('GPL')
 groups=('base')
-url="http://www.balabit.com/products/syslog_ng"
-makedepends=('flex' 'glib2' 'eventlog' 'pkgconfig' 'tcp_wrappers')
+url="http://www.balabit.com/network-security/syslog-ng/"
 depends=('logrotate' 'glibc')
+makedepends=('flex' 'glib2' 'eventlog' 'pkgconfig' 'tcp_wrappers')
 provides=('logger')
 backup=('etc/syslog-ng.conf' 'etc/logrotate.d/syslog-ng')
 source=(http://www.balabit.com/downloads/files/syslog-ng/sources/stable/src/$pkgname-$pkgver.tar.gz \
 	syslog-ng.conf syslog-ng.logrotate syslog-ng)
-md5sums=('c161eefc450fabc246c1a10997c6c6a5'
-         'ee95af3a4f969f3759e477289305c8c6'
-         '9714c7479119922b55a7992677ebecb5'
-         '7e14fecf3815e5fdc50f2817dc19720f')
+md5sums=('16fa7595834765537650b390e93fe5e7' 'ee95af3a4f969f3759e477289305c8c6'\
+         '9714c7479119922b55a7992677ebecb5' '9bd98250cfa49e13fa3fa731b6040549')
 
 build() {
   cd $startdir/src/$pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc \
-    --localstatedir=/var --enable-tcp-wrapper --disable-spoof-source
+    --localstatedir=/var/lib/syslog-ng --enable-tcp-wrapper \
+    --disable-spoof-source
   make || return 1
   make DESTDIR=$startdir/pkg install || return 1
+  install -d $startdir/pkg/var/lib/syslog-ng
   install -D -m644 ../syslog-ng.conf $startdir/pkg/etc/syslog-ng.conf
   install -D -m644 ../syslog-ng.logrotate $startdir/pkg/etc/logrotate.d/syslog-ng
   install -D -m755 ../syslog-ng $startdir/pkg/etc/rc.d/syslog-ng
Index: core/base/syslog-ng/syslog-ng
diff -u core/base/syslog-ng/syslog-ng:1.1 core/base/syslog-ng/syslog-ng:1.2
--- core/base/syslog-ng/syslog-ng:1.1	Wed May  5 17:40:29 2004
+++ core/base/syslog-ng/syslog-ng	Sat Dec  8 19:09:27 2007
@@ -22,6 +22,8 @@
       stat_fail
     else
       rm -f /var/run/syslog-ng.pid
+#     Removing stale syslog-ng.persist file. It's new location, as of 2.0.6-1, is /var/lib/syslog-ng/
+      rm -f /var/syslog-ng.persist
       rm_daemon syslog-ng
       stat_done
     fi




More information about the arch-commits mailing list