2009-09-26 17:10:12 +00:00
|
|
|
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
|
|
|
|
# Modified by OpenPogo
|
2009-09-26 14:35:50 +00:00
|
|
|
|
|
|
|
pkgname=syslog-ng
|
|
|
|
pkgver=3.0.3
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
|
|
|
|
arch=(arm)
|
|
|
|
license=('GPL2')
|
|
|
|
groups=('base')
|
|
|
|
url="http://www.balabit.com/network-security/syslog-ng/"
|
|
|
|
depends=('glib2' 'eventlog' 'tcp_wrappers' 'libcap>=2.16' 'openssl')
|
|
|
|
makedepends=('flex' 'pkgconfig')
|
|
|
|
optdepends=('logrotate')
|
|
|
|
provides=('logger')
|
2009-09-26 17:10:12 +00:00
|
|
|
backup=('opt/etc/syslog-ng.conf' 'opt/etc/logrotate.d/syslog-ng')
|
2009-09-26 14:35:50 +00:00
|
|
|
source=(http://www.balabit.com/downloads/files/syslog-ng/sources/$pkgver/source/$pkgname\_$pkgver.tar.gz
|
|
|
|
syslog-ng.conf
|
|
|
|
syslog-ng.logrotate
|
|
|
|
syslog-ng.rc)
|
|
|
|
install=syslog-ng.install
|
|
|
|
md5sums=('b8b3c9af28696bce48ceca0de6444426'
|
2009-09-26 17:10:12 +00:00
|
|
|
'951798397619884393ba7f886124a519'
|
|
|
|
'f9f99dae78fdd9d2f965bb4806657168'
|
|
|
|
'cbfecd299aed3cf967dbc9e64a7a57da')
|
|
|
|
|
2009-09-26 14:35:50 +00:00
|
|
|
build() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
|
|
|
|
LDFLAGS="-Wl,--as-needed -Wl,--no-undefined" ./configure \
|
2009-09-26 17:10:12 +00:00
|
|
|
--prefix=/opt \
|
|
|
|
--sysconfdir=/opt/etc \
|
|
|
|
--localstatedir=/opt/var/lib/syslog-ng \
|
2009-09-26 14:35:50 +00:00
|
|
|
--enable-tcp-wrapper \
|
2009-09-26 17:10:12 +00:00
|
|
|
--with-pidfile-dir=/opt/var/run \
|
2009-09-26 14:35:50 +00:00
|
|
|
--disable-spoof-source
|
|
|
|
make || return 1
|
|
|
|
make DESTDIR=$pkgdir install || return 1
|
2009-09-26 17:10:12 +00:00
|
|
|
install -dm755 $pkgdir/opt/var/lib/syslog-ng
|
|
|
|
install -Dm644 $srcdir/syslog-ng.conf $pkgdir/opt/etc/syslog-ng.conf
|
|
|
|
install -Dm644 $srcdir/syslog-ng.logrotate $pkgdir/opt/etc/logrotate.d/syslog-ng
|
|
|
|
install -Dm755 $srcdir/syslog-ng.rc $pkgdir/opt/etc/rc.d/syslog-ng
|
2009-09-26 14:35:50 +00:00
|
|
|
# remove libexec
|
2009-09-26 17:10:12 +00:00
|
|
|
rm -rf $pkgdir/opt/libexec
|
2009-09-26 14:35:50 +00:00
|
|
|
}
|