From owner-freebsd-ports@FreeBSD.ORG Mon Mar 31 21:04:01 2014 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C5F24BFA for ; Mon, 31 Mar 2014 21:04:01 +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 6EBBC684 for ; Mon, 31 Mar 2014 21:04:01 +0000 (UTC) Received: from mandree.no-ip.org ([78.49.234.144]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LqV4f-1Wz6Iz2CMT-00e1ER; Mon, 31 Mar 2014 23:03:52 +0200 Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 2CD9923CEED; Mon, 31 Mar 2014 23:03:51 +0200 (CEST) Message-ID: <5339D82F.6030808@gmx.de> Date: Mon, 31 Mar 2014 23:03:43 +0200 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: olli hauer , Sahil Tandon Subject: Re: A child Postfix port with TLS enabled by default References: <20140330192011.GA92763@jubz> <53387329.4070601@gmx.de> <20140330213558.GA93840@jubz> <5338A785.6010105@gmx.de> In-Reply-To: <5338A785.6010105@gmx.de> X-Enigmail-Version: 1.5.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kSo1QCfUFMEcN8D5QITbjjmXmoqghR0dH" X-Provags-ID: V03:K0:HIoHsYv09DuRjgnG0OFwJ9RQ6gseL9dmWDlJl5hxqeE9mtLTfAD oerd2+wYkCaZ+4h4886usUF6CvfKOEKurzJVljpbM32vfoKxBb9uzmc4u4/o7bTRj6b5Pkt 5ekDr11aZ9ygemnN6Xa9VvxVwM56M37Tr5Uo7njWg/+HOxocvjG7oaOL7N2x7bxjyfsIPVG j1OdwordjySH7edK4UBDQ== 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: Mon, 31 Mar 2014 21:04:01 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kSo1QCfUFMEcN8D5QITbjjmXmoqghR0dH Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 31.03.2014 01:23, schrieb olli hauer: > 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 immediate= ly >> clear. :) >> >> Thanks! >> >=20 > Hi Sahil, >=20 > the following patches should work. >=20 > http://people.freebsd.org/~ohauer/diffs/stage/stage_postfix_20140331.di= ff > http://people.freebsd.org/~ohauer/diffs/stage/stage_postfix210_20140331= =2Ediff >=20 > Makefile changes: > - s/CONFLICTS/CONFLICTS_INSTALL/ > allow users to build postfix without removing during version change e= =2Eg 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 instal= lation will fail > - use install_root=3D${STAGEDIR}/ > - remove staged postfix/(main|master).cf else existing config files are= replaced >=20 > pkg-plist: > - list all manpages and add PLIST prefix %%BMAN%% > with INST_BASE an additional share/ is required >=20 >=20 > Take care with the command `make makeplist`, 'etc/postfix' should be no= r replaced > with %%ETCDIR%% else INST_BASE is broken. >=20 >=20 > Please test yourself before committing, hopefully I've cached all cases= ;) There are a few items missing that you'd see under a DEVELOPER=3Dyes regi= me. These snippets for Makefile should fix them: 1. These two lines replace USES=3Dperl5 USES=3D perl5 shebangfix SHEBANG_FILES=3D auxiliary/qshape/qshape.pl 2. This should see to stripping the DAEMONDIR and sbin stuff, to be added in post-install: # Strip executables unless in debug mode: ${FIND} ${STAGEDIR}${PREFIX}/sbin/ ${STAGEDIR}${DAEMONDIR}/ \ -name '*[-.]*' \ -or \( -type f -exec ${STRIP_CMD} '{}' + \) ${STRIP_CMD} ${STAGEDIR}${DAEMONDIR}/trivial-rewrite --kSo1QCfUFMEcN8D5QITbjjmXmoqghR0dH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAlM52DYACgkQvmGDOQUufZUMGgCg0028L4MUt39dd59dRdhOCdcU be4AoKMmqZowIS+XzqTxPaGktrverxhV =8he5 -----END PGP SIGNATURE----- --kSo1QCfUFMEcN8D5QITbjjmXmoqghR0dH--