pkgname=syslog-ng pkgver=2.0.9 pkgrel=4 pkgdesc="A portable syslogd replacement with enhanced, flexible configuration scheme." arch=(i686 x86_64) license=('GPL') url="http://www.balabit.com/products/syslog_ng" makedepends=('flex' 'glib2' 'eventlog') depends=('tcp_wrappers' 'logrotate') install=('syslog.install') provides=('logger') backup=('etc/syslog-ng.conf') source=(http://www.balabit.com/downloads/files/syslog-ng/sources/stable/src/$pkgname-$pkgver.tar.gz \ syslog-ng.conf syslog-ng.logrotate syslog-ng log_care.sh) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --enable-tcp-wrapper --disable-spoof-source make || return 1 make DESTDIR=$startdir/pkg install || return 1 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 install -D -m755 ../log_care.sh $startdir/pkg/usr/bin/log_care.sh }