diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/sysklogd/APKBUILD | 2 | ||||
-rwxr-xr-x | main/sysklogd/sysklogd.daily | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/main/sysklogd/APKBUILD b/main/sysklogd/APKBUILD index 681ac7d890..d4615ff816 100644 --- a/main/sysklogd/APKBUILD +++ b/main/sysklogd/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=sysklogd pkgver=1.5 -pkgrel=5 +pkgrel=6 pkgdesc="System and kernel log daemons" url="http://www.infodrom.org/projects/sysklogd/" license="GPL BSD" diff --git a/main/sysklogd/sysklogd.daily b/main/sysklogd/sysklogd.daily index 79e85fb468..ccd63d61e4 100755 --- a/main/sysklogd/sysklogd.daily +++ b/main/sysklogd/sysklogd.daily @@ -17,13 +17,14 @@ syslogd_listfiles() { # the sed (in order)- # strips comments; # collapses spaces/tabs to 1 space; - # deletes the "-" in front of the filename; + # deletes the "-" in front of the filename; + # deletes whitespace before ';' # deletes lines that have the "skip" facility # deletes the facility (leaving just the filename) # deletes lines that are not filenames with leading "/" while read a ; do echo "$a"; done < $CONF |\ - sed -n "/^ *#/D; /^[ ]*$/D; s/[ ]\+/ /g; \ - s+ -/+ /+g; /^.*\($skip\)[^ ]* /D; \ + sed -n "/^[ \t]*#/D; /^[ \t]*$/D; s/[ \t]\+/ /g; \ + s+ -/+ /+g; s/ *; */;/; /^.*\($skip\)[^ ]* /D; \ s/^[^ ]* //; /^[^\\/]/D; P" |\ sort | uniq } |