blob: a9efeeef1b3e85eded742debb90a1fb146b47297 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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
}
|