ports/mail/opensmtpd/files/patch-mk_smtpd_Makefile.in
Dag-Erling Smørgrav e11bc47263 mail/opensmtpd: Use the correct OpenSSL idiom to load the trust store.
Fixes:		bde578cbfc
PR:		274322
MFH:		2023Q4
Approved by:	fluffy
Differential Revision:	https://reviews.freebsd.org/D42123
2023-10-27 11:16:43 +02:00

17 lines
850 B
Text

--- mk/smtpd/Makefile.in.orig 2023-09-16 18:13:47 UTC
+++ mk/smtpd/Makefile.in
@@ -1471,13 +1471,7 @@ install-exec-hook: $(CONFIGFILES) $(MANPAGES)
$(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)5
$(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)7
$(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