freebsd-ports/security/logcheck/pkg-plist
Yen-Ming Lee bfd39978e5 - Do not overwrite the existing config files when installing as a port or
as a package
- Bump PORTREVISION

Reported by:	Forrest Aldrich <forrie@forrie.com>
PR:		50915
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
2003-04-14 15:25:30 +00:00

20 lines
740 B
Text

bin/logtail
etc/logcheck.sh
%%EXAMPLESDIR%%/logcheck.hacking
@exec test -f %D/etc/%f || cp %D/%f %D/etc
%%EXAMPLESDIR%%/logcheck.ignore
@exec test -f %D/etc/%f || cp %D/%f %D/etc
%%EXAMPLESDIR%%/logcheck.violations.ignore
@exec test -f %D/etc/%f || cp %D/%f %D/etc
%%EXAMPLESDIR%%/logcheck.violations
@exec test -f %D/etc/%f || cp %D/%f %D/etc
@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.how.to.interpret
%%PORTDOCS%%%%DOCSDIR%%/README.keywords
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@cwd /
@exec test -d %%LOGCHECK_TMP%% || mkdir -m 700 %%LOGCHECK_TMP%% && chown root:wheel %%LOGCHECK_TMP%%
@unexec rmdir %%LOGCHECK_TMP%% 2>/dev/null || true