Date: Fri, 29 May 2009 10:48:49 -0400 From: Yarema <yds@CoolRat.org> To: Sahil Tandon <sahil@tandon.net> Cc: freebsd-ports-bugs@FreeBSD.org, Takefu Kenji <takefu@airport.fm> Subject: Re: ports/135051: mail/postfix make package fails. Message-ID: <4A1FF5D1.80000@CoolRat.org> In-Reply-To: <200905261337.n4QDb8Kh001514@freefall.freebsd.org> References: <200905261337.n4QDb8Kh001514@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
A better way to handle this is by appending the files to be installed to
${WRKSRC}/conf/postfix-files thus making postfix aware of them rather
than brute forcing the install.
Other than the SOHO_README, the other two files are just placeholders
and were likely omitted for good reason by the Postfix camp upstream.
With my version of the patch the installer even spits out:
Note: the following files or directories still exist but are
no longer part of Postfix:
/usr/local/share/doc/postfix/QMQP_README
So I do not know if it is even the correct thing to do installing the
QMQP_README and/or CYRUS_README placeholders.
--
Yarema
[-- Attachment #2 --]
diff -u -r -N postfix-2.6.1/Makefile postfix/Makefile
--- postfix-2.6.1/Makefile 2009-05-26 11:22:07.000000000 -0400
+++ postfix/Makefile 2009-05-29 09:54:58.039139451 -0400
@@ -277,6 +277,12 @@
${REINPLACE_CMD} -E -e '${REINPLACE}'
post-patch:
+ @${ECHO} '$$readme_directory/CYRUS_README:f:root:-:644' \
+ >> ${WRKSRC}/conf/postfix-files
+ @${ECHO} '$$readme_directory/QMQP_README:f:root:-:644' \
+ >> ${WRKSRC}/conf/postfix-files
+ @${ECHO} '$$readme_directory/SOHO_README:f:root:-:644' \
+ >> ${WRKSRC}/conf/postfix-files
.if defined(WITH_VDA)
@${ECHO} '$$readme_directory/VDA_README:f:root:-:644' \
>> ${WRKSRC}/conf/postfix-files
diff -u -r -N postfix-2.6.1/pkg-plist postfix/pkg-plist
--- postfix-2.6.1/pkg-plist 2009-05-26 11:22:07.000000000 -0400
+++ postfix/pkg-plist 2009-05-29 09:54:33.921457539 -0400
@@ -87,6 +87,7 @@
%%PORTDOCS%%%%DOCSDIR%%/CONNECTION_CACHE_README.html
%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README
%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README.html
+%%PORTDOCS%%%%DOCSDIR%%/CYRUS_README
%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README
%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README.html
%%PORTDOCS%%%%DOCSDIR%%/DB_README
@@ -129,6 +130,7 @@
%%PORTDOCS%%%%DOCSDIR%%/PCRE_README.html
%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README
%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README.html
+%%PORTDOCS%%%%DOCSDIR%%/QMQP_README
%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README
%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README.html
%%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES
@@ -144,6 +146,7 @@
%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README.html
%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README
%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README.html
+%%PORTDOCS%%%%DOCSDIR%%/SOHO_README
%%PORTDOCS%%%%DOCSDIR%%/SOHO_README.html
%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README
%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A1FF5D1.80000>
