Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2013 09:16:44 +0100
From:      geoffroy desvernay <dgeo@centrale-marseille.fr>
To:        Dmitry Sivachenko <trtrmitya@gmail.com>
Cc:        ports@freebsd.org, FreeBSD-gnats-submit@freebsd.org
Subject:   Re: [PATCH] net-mgmt/nagios-plugins: enable check_{dns, dig} for FreeBSD 10
Message-ID:  <528DC16C.9010202@centrale-marseille.fr>
In-Reply-To: <181b7a0f-1c92-4215-bc8b-e4c0c61936e5@email.android.com>
References:  <20131120141552.521401CCD9@dgeo.sysadm.ec-m.fr> <E80A0858-9E76-4845-8022-B776BCCE5BBA@FreeBSD.org> <181b7a0f-1c92-4215-bc8b-e4c0c61936e5@email.android.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2FGNCQEWOUUKDWMCTANDP
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 21/11/2013 00:11, geoffroy desvernay wrote:
[=E2=80=A6]
>=20
> I though that the
>  *_DEPENDS+=3Ddig:DNS/bind-tools
> syntax did test for a 'dig' binary before triggering dependency to bind=
-tools port.
> I did not test on a <10 system ...
>=20
After reading bsd.port.mk, and carefully testing on a 9.2 system, it
appears that:
 - "make" in the port doesn't add bind-tools in the dependencies
 - "make build-depends" doesn't add bind-tools
 - a "poudriere bulk" build does build bind-tools, but doesn't add it to
nagios-plugins dependencies
 - "portmaster" does build and install bind-tools (because make
build-depens-list does list it ?)

I CC ports@ here because I don't understand the latter:
 - the discussed patch is here
http://www.freebsd.org/cgi/query-pr.cgi?pr=3D184118 and tries to add
dns/bind-tools to dependencies ONLY if there is no 'dig' binary in the
system. (via {RUN,BUILD}_DEPENDS+=3D dig:dns/bind-tools).
Why is portmaster installing it on a 9.2 system (with /usr/bin/dig from
base installed) ?

--=20
geoffroy desvernay
C.R.I - Administration syst=C3=A8mes et r=C3=A9seaux
Ecole Centrale de Marseille
Tel: (+33|0)4 91 05 45 24
Fax: (+33|0)4 91 05 45 98
dgeo@centrale-marseille.fr



------enig2FGNCQEWOUUKDWMCTANDP
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.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBCAAGBQJSjcFyAAoJEC0NWrh8JT1SWhIH/3G1rpBzC0oWuD+pMxuUPsnI
IwfwHWOIqST1ToFEUVGVtbSBoKrnsHZMEhkBcI2oY6zWe9ctStyPQD3JRm4kjydz
g9k+ZWX1+yFjaCS4knQsbXQP7fWORqP8XJzXeLWOcx3eNUCWW72m0XnTdFnLA0J7
dU10s8rc8m692IL/kdKscy8z6u4+7Rn3rcCT/UtYdig4MCxxAce0CsyGC8MIqFRd
gazTxos55g5cGhvFYG49r4+3PcEJwD0cz57abFaQonrCjDk8dWwtonppbO9Vlo/d
pCZ25+aQ52fZ7M2pCdh0qMFhZGh59L0y9Rm5w5JB8AQC6QlFego79ULOGA3FjNY=
=4TYH
-----END PGP SIGNATURE-----

------enig2FGNCQEWOUUKDWMCTANDP--



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