Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2012 06:51:31 +0200
From:      Romain =?iso-8859-1?Q?Tarti=E8re?= <romain@blogreen.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Creating a port as plugin for multiple other ports
Message-ID:  <20120712045131.GA83035@blogreen.org>
In-Reply-To: <D27D5EA0-DAF2-4CFA-800B-55809160BB17@conundrum.com>
References:  <D27D5EA0-DAF2-4CFA-800B-55809160BB17@conundrum.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

On Wed, Jul 11, 2012 at 05:58:23PM -0400, Matthew Pounsett wrote:
> 1) create two different ports (icinga-mod_gearman and nagios-mod_gearman).
> 2) use options to select which system is being plugged into.

1) allows you to install both plugins simultaneously, which may be
better unless icinga and nagios are mutually exclusive.  You can make
your life easier by setting up a master and a slave port.  The slave
would inherit some aspects of the master one, overriding a few settings
(e.g. groups, installation directory).

More details in the porter handbook:
http://www.freebsd.org/doc/en/books/porters-handbook/makefile-masterdir.html

-- 
Romain Tartière <romain@blogreen.org>        http://romain.blogreen.org/
pgp: 8234 9A78 E7C0 B807 0B59  80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120712045131.GA83035>