summaryrefslogtreecommitdiff
path: root/syslog-ng/Pkgfile
blob: 21693254e4b242e4cc22d063250304ed72b24353 (plain)
    1 # Description: alternate syslogging daemon
    2 # URL:         http://www.balabit.com/network-security/syslog-ng/opensource-logging-system
    3 # Maintainer:  Thomas Penteker, tek at serverop dot de
    4 #
    5 # Depends on:  eventlog
    6 
    7 name=syslog-ng
    8 version=3.3.7
    9 release=1
   10 source=(http://balabit.com/downloads/files/syslog-ng/sources/$version/source/${name}_${version}.tar.gz
   11 syslog-ng.rc syslog-ng.conf)
   12 
   13 build() {
   14    cd $name-$version
   15 
   16    ./configure \
   17       --prefix=/usr \
   18       --sysconfdir=/etc \
   19       --libexecdir=/var/libexec \
   20       --localstatedir=/var \
   21       --mandir=/usr/man \
   22       --enable-dynamic-linking
   23 
   24 
   25    make && make DESTDIR=$PKG install
   26    rm -rf $PKG/usr/doc
   27    rm -rf $PKG/usr/share/include/scl/syslogconf/README
   28    install -D -m 644 ../syslog-ng.conf $PKG/etc/syslog-ng.conf
   29    install -D -m 755 ../syslog-ng.rc $PKG/etc/rc.d/syslog-ng
   30 }

Generated by cgit