From owner-freebsd-ports@FreeBSD.ORG Sun Mar 30 19:40:21 2014 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7A2BD441; Sun, 30 Mar 2014 19:40:21 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 15C401D6; Sun, 30 Mar 2014 19:40:20 +0000 (UTC) Received: from [192.168.0.100] ([87.139.233.65]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LmK3e-1X4EN50Cx8-00Zv9N; Sun, 30 Mar 2014 21:40:13 +0200 Message-ID: <53387329.4070601@gmx.de> Date: Sun, 30 Mar 2014 21:40:25 +0200 From: olli hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Sahil Tandon Subject: Re: A child Postfix port with TLS enabled by default References: <20140330192011.GA92763@jubz> In-Reply-To: <20140330192011.GA92763@jubz> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:RwI7WNAPH4pbWMjxGQbAM9UL+0tJk/2a6/BhOFUDUFMuu7OwFBp KOIi7v86lTT7GXRqj5dZxaHTAe/Asa7W2WpyLyUREVP6vZx2nZl09Qwc3MUKAeSqTLR/gmn leY4rUINsMvaFN90Eq2tiaVNBKEZs8i0khsBuCjMtZG3080U6IA+KXliJHStj/pV2+gWfgA d8j3ok2GpeFaqlEW9P4SQ== Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2014 19:40:21 -0000 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