Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2016 06:36:11 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r407945 - branches/2016Q1/mail/opensmtpd/files
Message-ID:  <201602030636.u136aBS0034292@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Wed Feb  3 06:36:11 2016
New Revision: 407945
URL: https://svnweb.freebsd.org/changeset/ports/407945

Log:
  MFH: r407847
  
  mail/opensmtpd: restore patch to install .sample config file
  
  Notified by:	adamw@
  Approved by:    portmgr (miwi)

Added:
  branches/2016Q1/mail/opensmtpd/files/patch-mk_smtpd_Makefile.in
     - copied unchanged from r407847, head/mail/opensmtpd/files/patch-mk_smtpd_Makefile.in
Modified:
Directory Properties:
  branches/2016Q1/   (props changed)

Copied: branches/2016Q1/mail/opensmtpd/files/patch-mk_smtpd_Makefile.in (from r407847, head/mail/opensmtpd/files/patch-mk_smtpd_Makefile.in)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2016Q1/mail/opensmtpd/files/patch-mk_smtpd_Makefile.in	Wed Feb  3 06:36:11 2016	(r407945, copy of r407847, head/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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602030636.u136aBS0034292>