summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/syslog-ng/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/syslog-ng/PKGBUILD')
-rw-r--r--abs/core-testing/syslog-ng/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/core-testing/syslog-ng/PKGBUILD b/abs/core-testing/syslog-ng/PKGBUILD
new file mode 100644
index 0000000..3e5b473
--- /dev/null
+++ b/abs/core-testing/syslog-ng/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 2319 2008-05-31 21:01:41Z eric $
+# Maintainer: Judd Vinet <jvinet@zeroflux.org>
+pkgname=syslog-ng
+pkgver=2.0.9
+pkgrel=10
+pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
+arch=(i686 x86_64)
+license=('GPL')
+groups=('base')
+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=('2d4232f7167c2b4f48794e4f8f80e863' 'ee95af3a4f969f3759e477289305c8c6'\
+ '9714c7479119922b55a7992677ebecb5' '9bd98250cfa49e13fa3fa731b6040549')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --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
+}