diff options
Diffstat (limited to 'security/prelude-pflogger/patches/patch-aa')
-rw-r--r-- | security/prelude-pflogger/patches/patch-aa | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/security/prelude-pflogger/patches/patch-aa b/security/prelude-pflogger/patches/patch-aa new file mode 100644 index 00000000000..4c631dc2e0f --- /dev/null +++ b/security/prelude-pflogger/patches/patch-aa @@ -0,0 +1,28 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/09/03 13:50:49 shannonjr Exp $ + +--- Makefile.am.orig 2005-09-18 08:30:01.000000000 -0600 ++++ Makefile.am +@@ -5,18 +5,11 @@ EXTRA_DIST = prelude-pflogger.conf confi + ChangeLog + + install-data-local: +- @if test -f $(DESTDIR)$(configdir)/prelude-pflogger.conf; then \ +- echo "********************************************************************************"; \ +- echo; \ +- echo "$(DESTDIR)$(configdir)/prelude-pflogger.conf already exist..."; \ +- echo "Installing default configuration in $(DESTDIR)$(configdir)/prelude-pflogger.conf-dist"; \ +- echo; \ +- echo "********************************************************************************"; \ +- $(INSTALL) -m 600 $(top_srcdir)/prelude-pflogger.conf $(DESTDIR)$(configdir)/prelude-pflogger.conf-dist; \ +- else \ +- $(INSTALL) -d -m 700 $(DESTDIR)$(configdir); \ +- $(INSTALL) -m 600 $(top_srcdir)/prelude-pflogger.conf $(DESTDIR)$(configdir)/; \ ++ $(INSTALL) -m 644 $(top_srcdir)/prelude-pflogger.conf @EGDIR@/; \ ++ @if ! test -f $(configdir)/prelude-pflogger.conf; then \ ++ $(INSTALL) -d -m 755 $(configdir); \ ++ $(INSTALL) -m 644 $(top_srcdir)/prelude-pflogger.conf $(configdir)/; \ + fi + + uninstall-local: +- rm -f $(DESTDIR)$(configdir)/prelude-pflogger.conf; ++ rm -f @EGDIR@/prelude-pflogger.conf; |