forked from ports/contrib
33 lines
902 B
Plaintext
33 lines
902 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.20.1
|
|
release=1
|
|
source=(https://github.com/balabit/$name/archive/$version/$name-$version.tar.gz
|
|
syslog-ng.rc syslog-ng.conf)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--libexecdir=/var/libexec \
|
|
--localstatedir=/var/run \
|
|
--mandir=/usr/man \
|
|
--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
|
|
}
|