From owner-freebsd-ports@FreeBSD.ORG Sun Mar 30 23:23:46 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 D4348503 for ; Sun, 30 Mar 2014 23:23:46 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6FC3B88E for ; Sun, 30 Mar 2014 23:23:46 +0000 (UTC) Received: from [192.168.0.100] ([87.139.233.65]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Mg4FJ-1Wj3di34UP-00NQtH; Mon, 31 Mar 2014 01:23:35 +0200 Message-ID: <5338A785.6010105@gmx.de> Date: Mon, 31 Mar 2014 01:23:49 +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> <53387329.4070601@gmx.de> <20140330213558.GA93840@jubz> In-Reply-To: <20140330213558.GA93840@jubz> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:+A3sUPXqDbFGAe8neG6MaHza5EJjeE6mZh61C3WWTcw128+iue3 Vj6NAZTzAdFyOLN11EQnJbE6EzMIJeht7ICqklVn5NKSqsh+/a/JoTCBbngFeAUtFEl7AGV M3239L3vkv3hpIURpxXtOySEFJLeqJAKk7OhXMt64O69kt2crV58XVhONzlEDibPxAFlrJp i0fGgtLI2ncUm9wrV/Q0A== 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 23:23:46 -0000 On 2014-03-30 23:35, Sahil Tandon wrote: > On Sun, 2014-03-30 at 21:40:25 +0200, olli hauer wrote: > >> 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. > > Could you send a patch vs. mail/postfix? Don't be shy in annotating > certain parts of the diff in case the rationale might not be immediately > clear. :) > > Thanks! > Hi Sahil, the following patches should work. http://people.freebsd.org/~ohauer/diffs/stage/stage_postfix_20140331.diff http://people.freebsd.org/~ohauer/diffs/stage/stage_postfix210_20140331.diff Makefile changes: - s/CONFLICTS/CONFLICTS_INSTALL/ allow users to build postfix without removing during version change e.g 210->211 - add DOCS to OPTIONS - remove all MANx from Makefile, will be handled during stage - move INST_BASE section up so vars are set before first usage - if INST_BASE is set create ${STAGEDIR}/etc/rc.d else rc script installation will fail - use install_root=${STAGEDIR}/ - remove staged postfix/(main|master).cf else existing config files are replaced pkg-plist: - list all manpages and add PLIST prefix %%BMAN%% with INST_BASE an additional share/ is required Take care with the command `make makeplist`, 'etc/postfix' should be nor replaced with %%ETCDIR%% else INST_BASE is broken. Please test yourself before committing, hopefully I've cached all cases ;) -- Regards, olli