ports/50915: [MAINTAINER] security/logcheck: do not overwrite existing config
Sergei Kolobov
sergei at kolobov.com
Mon Apr 14 14:30:18 UTC 2003
The following reply was made to PR ports/50915; it has been noted by GNATS.
From: Sergei Kolobov <sergei at kolobov.com>
To: Yen-Ming Lee <leeym at FreeBSD.org>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: ports/50915: [MAINTAINER] security/logcheck: do not overwrite existing config
Date: Mon, 14 Apr 2003 18:28:35 +0400
On 2003-04-13 at 21:15 -0700, Yen-Ming Lee wrote:
> cmp always fail. You can't cmp a file which is deleted already.
Yes, of course it will always fail. Pass me the pointy hat, please.
Let's get rid of those @unexec's completely.
Uninstalling the port can leave the configs in place.
Please use the following diff (against what's in CVS now)
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/security/logcheck/pkg-plist,v
retrieving revision 1.5
diff -u -r1.5 pkg-plist
--- pkg-plist 2003/04/09 05:41:27 1.5
+++ pkg-plist 2003/04/14 14:18:55
@@ -1,13 +1,13 @@
bin/logtail
etc/logcheck.sh
-etc/logcheck.hacking
-etc/logcheck.ignore
-etc/logcheck.violations
-etc/logcheck.violations.ignore
%%EXAMPLESDIR%%/logcheck.hacking
+ at exec test -f %D/etc/%f || cp %D/%f %D/etc
%%EXAMPLESDIR%%/logcheck.ignore
+ at exec test -f %D/etc/%f || cp %D/%f %D/etc
%%EXAMPLESDIR%%/logcheck.violations.ignore
+ at exec test -f %D/etc/%f || cp %D/%f %D/etc
%%EXAMPLESDIR%%/logcheck.violations
+ at exec test -f %D/etc/%f || cp %D/%f %D/etc
@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
More information about the freebsd-ports-bugs
mailing list