diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/syslog-ng3/Makefile | 1 | ||||
-rw-r--r-- | sysutils/syslog-ng3/pkg-plist | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/syslog-ng3/Makefile b/sysutils/syslog-ng3/Makefile index 114d2b80a768..87cba0b3df2a 100644 --- a/sysutils/syslog-ng3/Makefile +++ b/sysutils/syslog-ng3/Makefile @@ -7,6 +7,7 @@ PORTNAME= syslog-ng PORTVERSION= 3.2.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.balabit.com/downloads/files/syslog-ng/sources/$(PORTVERSION)/source/ PKGNAMESUFFIX= 3 diff --git a/sysutils/syslog-ng3/pkg-plist b/sysutils/syslog-ng3/pkg-plist index 0dc0c288463d..b9e9336ecc53 100644 --- a/sysutils/syslog-ng3/pkg-plist +++ b/sysutils/syslog-ng3/pkg-plist @@ -1,7 +1,7 @@ @unexec %D/etc/rc.d/syslog-ng.sh stop > /dev/null 2>&1 || true etc/modules.conf etc/scl.conf -etc/syslog-ng.conf +@unexec if cmp -s %D/etc/syslog-ng.conf %D/etc/syslog-ng.conf.sample; then rm -f %D/etc/syslog-ng.conf; fi etc/syslog-ng.conf.sample bin/update-patterndb bin/loggen |