A child Postfix port with TLS enabled by default

olli hauer ohauer at gmx.de
Sun Mar 30 19:40:21 UTC 2014


On 2014-03-30 21:20, Sahil Tandon wrote:
> Some people have asked for TLS to be enabled by default in mail/postfix.
> I have been reluctant in order to abide by POLA, and to be consistent
> with how Wietse distributes Postfix upstream. Recently, bz@ proposed an
> alternative:
> 
>   http://people.freebsd.org/~bz/20140228-01-postfix-tls.diff
> 
> I updated the patch, primarly to adjust CONFLICTS:
> 
>   http://people.freebsd.org/~sahil/postfix-tls.diff
> 
> Because I have seldom worked with child ports, and mail/postfix is
> widely deployed, I would appreciate feedback from -ports before
> proceeding. If there is no opposition within a week or so, I will go
> ahead and commit.
> 


Sounds reasonable.


PS:
long time ago I shaped a patch for postfix-2.10 to support staging,
if required I can create a new patch for 2.11.

http://people.freebsd.org/~ohauer/diffs/stage/stage_postfix-2.10.3.diff


Stage support can be added easily with the install_root parameter.

+pre-install:
+.if ${PORT_OPTIONS:MINST_BASE}
+	${MKDIR} ${STAGEDIR}/etc/rc.d
+.endif
+
 do-install:
-	@cd ${WRKSRC} && ${SH} postfix-install -non-interactive install_root=/ tempdir=/tmp \
+	@(cd ${WRKSRC} && ${SH} postfix-install -non-interactive install_root=${STAGEDIR}/ tempdir=/tmp \

-- 
Regards,
olli


More information about the freebsd-ports mailing list