A child Postfix port with TLS enabled by default
Matthias Andree
matthias.andree at gmx.de
Mon Mar 31 21:04:01 UTC 2014
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 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 ;)
There are a few items missing that you'd see under a DEVELOPER=yes regime.
These snippets for Makefile should fix them:
1. These two lines replace USES=perl5
USES= perl5 shebangfix
SHEBANG_FILES= 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140331/7ed5cdf1/attachment.sig>
More information about the freebsd-ports
mailing list