void-packages/srcpkgs/ulogd/template
Cameron Nemo 6eeeb9c08a ulogd: update to 2.0.7.
Add runit service, logrotate file, and system account
2018-09-06 18:22:59 -03:00

23 lines
803 B
Bash

# Template file for 'ulogd'
pkgname=ulogd
version=2.0.7
revision=1
build_style=gnu-configure
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
hostmakedepends="pkg-config automake"
makedepends="libnfnetlink-devel libmnl-devel libnetfilter_log-devel
libnetfilter_conntrack-devel libnetfilter_acct-devel"
license="GPL-2.0-only"
homepage="http://www.netfilter.org/projects/ulogd/"
short_desc="A userspace logging daemon for netfilter/iptables related logging"
distfiles="${homepage}/files/${pkgname}-${version}.tar.bz2"
checksum=990a05494d9c16029ba0a83f3b7294fc05c756546b8d60d1c1572dc25249a92b
configure_args="--sbindir=/usr/bin"
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
}