What exactly are slave ports?

Kevin Oberman rkoberman at gmail.com
Wed Sep 14 19:20:14 UTC 2016


On Wed, Sep 14, 2016 at 12:03 PM, abi <abi at abinet.ru> wrote:

> Hello,
>
> I want to add to existing port another one for the same program, but with
> different git branch and (possibly) with slightly different dependencies.
> Is this a good case for slave port ?
> Slave ports are not documented in porter handbook and I'm not sure how
> they work and when used.
>
> Thanks.
>

A slave port is a minor modification of the port to support different
functions. E.g. security/ssh-guard has slightly different builds, all from
a common source.  One for each of the commonly used firewalls; ipfw, pf,
null.

If the sources are different, a slave is not appropriate. Examples are the
various versions of postfix and clang.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


More information about the freebsd-ports mailing list