[arch-commits] Commit in syslog-ng/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Sat Aug 15 03:52:18 UTC 2009
Date: Friday, August 14, 2009 @ 23:52:17
Author: allan
Revision: 49679
upgpkg: syslog-ng 3.0.3-3
disable linux capability management (FS#15787)
Modified:
syslog-ng/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-08-15 03:29:00 UTC (rev 49678)
+++ PKGBUILD 2009-08-15 03:52:17 UTC (rev 49679)
@@ -4,7 +4,7 @@
pkgname=syslog-ng
pkgver=3.0.3
-pkgrel=2
+pkgrel=3
pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
arch=('i686' 'x86_64')
license=('GPL2')
@@ -27,13 +27,20 @@
build() {
cd $srcdir/$pkgname-$pkgver
+ # NOTE - re-assess this with later releases
+ # FS#15787: syslog-ng does not write to files not owned by root
+ # Upstream: https://bugzilla.balabit.com/show_bug.cgi?id=52
+ # Solution: --disable-linux-caps
+
LDFLAGS="-Wl,--as-needed -Wl,--no-undefined" ./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var/lib/syslog-ng \
--enable-tcp-wrapper \
--with-pidfile-dir=/var/run \
- --disable-spoof-source
+ --disable-spoof-source \
+ --disable-linux-caps
+
make || return 1
make DESTDIR=$pkgdir install || return 1
install -dm755 $pkgdir/var/lib/syslog-ng
More information about the arch-commits
mailing list