mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 22:53:51 +02:00
ulogd: move logs to subdir, update logrotate file, add conf_files
This commit is contained in:
parent
9f070b327e
commit
0d0aae5127
2 changed files with 9 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
|||
/var/log/ulog.log /var/log/ulog.pcap {
|
||||
missingok
|
||||
/var/log/ulogd/*.log /var/log/ulogd/*.pcap {
|
||||
compress
|
||||
missingok
|
||||
notifempty
|
||||
sharedscripts
|
||||
create 640 _ulogd adm
|
||||
postrotate
|
||||
sv hup ulogd
|
||||
endscript
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'ulogd'
|
||||
pkgname=ulogd
|
||||
version=2.0.7
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--sbindir=/usr/bin"
|
||||
hostmakedepends="pkg-config automake"
|
||||
|
@ -13,10 +13,14 @@ 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"
|
||||
conf_files="/etc/ulogd.conf /etc/logrotate.d/ulogd"
|
||||
make_dirs="/var/log/ulogd 2750 root adm"
|
||||
system_accounts="_ulogd"
|
||||
|
||||
CFLAGS="-D_GNU_SOURCE"
|
||||
|
||||
post_install() {
|
||||
vsed -i -e "s:/var/log:/var/log/ulogd:g" ulogd.conf
|
||||
vinstall ulogd.conf 644 etc
|
||||
vinstall ${FILESDIR}/ulogd.logrotate 644 etc/logrotate.d ulogd
|
||||
vsv ulogd
|
||||
|
|
Loading…
Add table
Reference in a new issue