summaryrefslogtreecommitdiff
path: root/mail/mimedefang/files
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mimedefang/files')
-rw-r--r--mail/mimedefang/files/patch-Makefile.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/mimedefang/files/patch-Makefile.in b/mail/mimedefang/files/patch-Makefile.in
index bbf5fce47eb7..077e9d10fc24 100644
--- a/mail/mimedefang/files/patch-Makefile.in
+++ b/mail/mimedefang/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- Makefile.in.orig Tue Jun 4 01:37:04 2002
-+++ Makefile.in Tue Jun 4 01:40:57 2002
-@@ -109,9 +109,8 @@
+--- Makefile.in.orig Wed Aug 14 00:57:19 2002
++++ Makefile.in Wed Aug 14 01:22:31 2002
+@@ -107,9 +107,8 @@
-mkdir -p $(RPM_INSTALL_ROOT)@SPOOLDIR@ && chmod 700 $(RPM_INSTALL_ROOT)@SPOOLDIR@
-mkdir -p $(RPM_INSTALL_ROOT)@QDIR@ && chmod 700 $(RPM_INSTALL_ROOT)@QDIR@
@@ -12,13 +12,15 @@
@INSTALL@ -m 644 examples/suggested-minimum-filter-for-windows-clients $(RPM_INSTALL_ROOT)${sysconfdir}${CONFSUBDIR}/mimedefang-filter || exit 1; \
fi
-@@ -124,9 +123,8 @@
+@@ -122,10 +121,9 @@
@INSTALL@ -m 644 mimedefang-filter.5 $(RPM_INSTALL_ROOT)$(MANDIR)/man5/mimedefang-filter.5
@INSTALL@ -m 644 mimedefang-protocol.7 $(RPM_INSTALL_ROOT)$(MANDIR)/man7/mimedefang-protocol.7
if test "$(HAVE_SPAM_ASSASSIN)" = "yes" ; then \
- if test -f $(RPM_INSTALL_ROOT)${sysconfdir}${CONFSUBDIR}/spamassassin/sa-mimedefang.cf ; then \
+- mkdir -p $(RPM_INSTALL_ROOT)${sysconfdir}${CONFSUBDIR}/spamassassin > /dev/null 2>&1 ; \
- @INSTALL@ -m 644 SpamAssassin/spamassassin.cf $(RPM_INSTALL_ROOT)${sysconfdir}${CONFSUBDIR}/spamassassin/sa-mimedefang.cf.example || exit 1; \
- else \
++ mkdir -p $(RPM_INSTALL_ROOT)${sysconfdir}${CONFSUBDIR}/spamassassin > /dev/null 2>&1 ; \
+ @INSTALL@ -m 644 SpamAssassin/spamassassin.cf $(RPM_INSTALL_ROOT)${sysconfdir}${CONFSUBDIR}/spamassassin/sa-mimedefang.cf.example || exit 1; \
+ if !(test -f $(RPM_INSTALL_ROOT)${sysconfdir}${CONFSUBDIR}/spamassassin/sa-mimedefang.cf) ; then \
@INSTALL@ -m 644 SpamAssassin/spamassassin.cf $(RPM_INSTALL_ROOT)${sysconfdir}${CONFSUBDIR}/spamassassin/sa-mimedefang.cf || exit 1; \