forked from ports/contrib
32 lines
892 B
Plaintext
32 lines
892 B
Plaintext
# Description: alternate syslogging daemon
|
|
# URL: http://www.balabit.com/network-security/syslog-ng/opensource-logging-system
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
# Depends on: glib
|
|
|
|
name=syslog-ng
|
|
version=3.25.1
|
|
release=1
|
|
source=(https://github.com/$name/$name/releases/download/$name-$version/$name-$version.tar.gz
|
|
syslog-ng.rc syslog-ng.conf)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--libexecdir=/var/lib/$name \
|
|
--localstatedir=/var/run \
|
|
--enable-dynamic-linking \
|
|
--sbindir=/sbin \
|
|
--disable-java \
|
|
--disable-java-modules
|
|
|
|
|
|
make && make DESTDIR=$PKG install
|
|
rm -rf $PKG/usr/doc
|
|
rm -rf $PKG/usr/share/include/scl/syslogconf/README
|
|
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
|
|
}
|