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
|
2020-01-21 10:26:50 +01:00
|
|
|
version=3.25.1
|
2015-03-21 15:26:15 +01:00
|
|
|
release=1
|
2020-01-21 10:26:50 +01:00
|
|
|
source=(https://github.com/$name/$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 \
|
2020-01-21 10:26:50 +01:00
|
|
|
--libexecdir=/var/lib/$name \
|
2018-10-12 22:13:05 +02:00
|
|
|
--localstatedir=/var/run \
|
2014-09-17 23:48:35 +02:00
|
|
|
--enable-dynamic-linking \
|
2019-03-19 23:07:56 +01:00
|
|
|
--sbindir=/sbin \
|
|
|
|
--disable-java \
|
|
|
|
--disable-java-modules
|
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
|
|
|
}
|