Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 15:04:05 -0500
From:      Vivek Khera <khera@kcilink.com>
To:        dwcjr@FreeBSD.org
Cc:        ports@freebsd.org
Subject:   urgent fix for postfix and postfix-current ports
Message-ID:  <15449.41781.445587.511428@onceler.kciLink.com>

next in thread | raw e-mail | index | archive | help
Here's a patch to apply to both postfix-1.1.2,1 and
postfix-current-20020115 to prevent accidental clobbering of the
main.cf and master.cf files during pkg_delete.

Please apply it before you install either of these ports, as the next
time you de-install it will wipe out these files.

If you've already installed these ports, save your main.cf and
master.cf before you upgrade next time, then restore them.

--- Makefile.old	Thu Jan 31 14:55:20 2002
+++ Makefile	Thu Jan 31 14:55:35 2002
@@ -78,6 +78,12 @@
 	 sample_directory=${PREFIX}/etc/postfix \
 	 readme_directory=${READMEDIR}
 
+	@${INSTALL_DATA} ${WRKSRC}/conf/main.cf \
+		${PREFIX}/etc/postfix/sample-main.cf
+
+	@${INSTALL_DATA} ${WRKSRC}/conf/master.cf \
+		${PREFIX}/etc/postfix/sample-master.cf
+
 	@${INSTALL_SCRIPT} \
 		${WRKSRC}/auxiliary/rmail/rmail \
 		${PREFIX}/bin/rmail
--- pkg-plist.old	Thu Jan 31 14:56:05 2002
+++ pkg-plist	Thu Jan 31 14:56:35 2002
@@ -5,9 +5,7 @@
 etc/postfix/access
 etc/postfix/aliases
 etc/postfix/canonical
-etc/postfix/main.cf
 etc/postfix/main.cf.default
-etc/postfix/master.cf
 etc/postfix/pcre_table
 etc/postfix/post-install
 etc/postfix/postfix-files
@@ -24,6 +22,8 @@
 etc/postfix/sample-ldap.cf
 etc/postfix/sample-lmtp.cf
 etc/postfix/sample-local.cf
+etc/postfix/sample-main.cf
+etc/postfix/sample-master.cf
 etc/postfix/sample-misc.cf
 etc/postfix/sample-pcre-access.cf
 etc/postfix/sample-pcre-body.cf

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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