aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2016-02-03 04:45:04 +0800
committergahr <gahr@FreeBSD.org>2016-02-03 04:45:04 +0800
commit4fcf506b03163eb86b77cd51f372a6d0c9f701f4 (patch)
treeab1e19aafef94d44b213254c2e08dd3b675f2b05
parent91a4db610a6ba1e4ac1928dc8f0a37b1532702d0 (diff)
downloadfreebsd-ports-gnome-4fcf506b03163eb86b77cd51f372a6d0c9f701f4.tar.gz
freebsd-ports-gnome-4fcf506b03163eb86b77cd51f372a6d0c9f701f4.tar.zst
freebsd-ports-gnome-4fcf506b03163eb86b77cd51f372a6d0c9f701f4.zip
mail/opensmtpd: restore patch to install .sample config file
Notified by: adamw@ MFH: 2016Q1
-rw-r--r--mail/opensmtpd/files/patch-mk_smtpd_Makefile.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/mail/opensmtpd/files/patch-mk_smtpd_Makefile.in b/mail/opensmtpd/files/patch-mk_smtpd_Makefile.in
new file mode 100644
index 000000000000..d702255d55fe
--- /dev/null
+++ b/mail/opensmtpd/files/patch-mk_smtpd_Makefile.in
@@ -0,0 +1,17 @@
+--- mk/smtpd/Makefile.in.orig 2016-02-02 20:40:51 UTC
++++ mk/smtpd/Makefile.in
+@@ -1365,13 +1365,7 @@ install-exec-hook: $(CONFIGFILES) $(MANP
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)5
+ $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)8
+-
+- @if [ ! -f $(DESTDIR)$(sysconfdir)/smtpd.conf ]; then \
+- $(INSTALL) -m 644 smtpd.conf.out $(DESTDIR)$(sysconfdir)/smtpd.conf; \
+- else \
+- echo "$(DESTDIR)$(sysconfdir)/smtpd.conf already exists, install will not overwrite"; \
+- fi
+-
++ $(INSTALL) -m 644 smtpd.conf.out $(DESTDIR)$(sysconfdir)/smtpd.conf.sample
+ $(INSTALL) -m 644 aliases.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/aliases.5
+ $(INSTALL) -m 644 forward.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/forward.5
+ $(INSTALL) -m 644 table.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/table.5