1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

mail/opensmtpd: restore patch to install .sample config file

Notified by:	adamw@
MFH:			2016Q1
This commit is contained in:
Pietro Cerutti 2016-02-02 20:45:04 +00:00
parent 970e0f4d5d
commit 3b30673276
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407847

View File

@ -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