2008-06-05 22:57:20 +02:00
|
|
|
# Description: alternate syslogging daemon
|
|
|
|
# URL: http://www.balabit.com/network-security/syslog-ng/opensource-logging-system
|
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2018-10-12 21:54:39 +02:00
|
|
|
# Depends on: glib
|
2008-06-05 22:57:20 +02:00
|
|
|
|
|
|
|
name=syslog-ng
|
2018-10-12 21:54:39 +02:00
|
|
|
version=3.17.2
|
2015-03-21 15:26:15 +01:00
|
|
|
release=1
|
2018-10-12 21:54:39 +02:00
|
|
|
source=(https://github.com/balabit/${name}/releases/download/${name}-${version}/${name}-${version}.tar.gz
|
2010-02-10 01:22:37 +01:00
|
|
|
syslog-ng.rc syslog-ng.conf)
|
2008-06-05 22:57:20 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2010-02-10 01:22:37 +01:00
|
|
|
--sysconfdir=/etc \
|
|
|
|
--libexecdir=/var/libexec \
|
2018-10-12 22:13:05 +02:00
|
|
|
--localstatedir=/var/run \
|
2008-06-05 22:57:20 +02:00
|
|
|
--mandir=/usr/man \
|
2014-09-17 23:48:35 +02:00
|
|
|
--enable-dynamic-linking \
|
|
|
|
--sbindir=/sbin
|
2008-06-05 22:57:20 +02:00
|
|
|
|
2012-01-24 08:44:41 +01:00
|
|
|
|
2008-06-05 22:57:20 +02:00
|
|
|
make && make DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/usr/doc
|
2012-01-24 08:44:41 +01:00
|
|
|
rm -rf $PKG/usr/share/include/scl/syslogconf/README
|
2010-02-10 01:22:37 +01:00
|
|
|
install -D -m 644 ../syslog-ng.conf $PKG/etc/syslog-ng.conf
|
|
|
|
install -D -m 755 ../syslog-ng.rc $PKG/etc/rc.d/syslog-ng
|
2008-06-05 22:57:20 +02:00
|
|
|
}
|