void-packages/srcpkgs/ulogd/template

24 lines
809 B
Bash

# Template file for 'ulogd'
pkgname=ulogd
version=2.0.7
revision=2
build_style=gnu-configure
configure_args="--sbindir=/usr/bin"
hostmakedepends="pkg-config automake"
makedepends="libnfnetlink-devel libmnl-devel libnetfilter_log-devel
libnetfilter_conntrack-devel libnetfilter_acct-devel libpcap-devel"
short_desc="Userspace logging daemon for netfilter/iptables related logging"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="GPL-2.0-only"
homepage="http://www.netfilter.org/projects/ulogd/"
distfiles="${homepage}/files/${pkgname}-${version}.tar.bz2"
checksum=990a05494d9c16029ba0a83f3b7294fc05c756546b8d60d1c1572dc25249a92b
CFLAGS="-D_GNU_SOURCE"
system_accounts="_ulogd"
post_install() {
vinstall ulogd.conf 644 etc
vinstall ${FILESDIR}/ulogd.logrotate 644 etc/logrotate.d ulogd
vsv ulogd
}