Subject: Re: builtin.mk for bind9
To: Mark Davies <mark@mcs.vuw.ac.nz>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 07/17/2004 09:57:46
--gTY1JhLGodeuSBqf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Jul 17, 2004 at 11:23:32AM +1200, Mark Davies wrote:
> Now that current has bind9 in tree the bind9 package needs a builtin.mk t=
o=20
> allow use of the in tree version instead. Below is my first cut at one. =
Any=20
> comments?
>=20
> It tests the version of the named binary when what you probably actually =
care=20
> about is the version of the resolver library but its much easier to get t=
he=20
> BIND version from that and I'll assume that the two will be more or less =
in=20
> sync.
>=20
> cheers
> mark
>=20
> # $NetBSD$
>=20
> .if !defined(IS_BUILTIN.bind)
> IS_BUILTIN.bind=3D no
> . if exists(/usr/sbin/named)
> _BIND_VERSION!=3D/usr/sbin/named -v | ${SED} -n 's/^BIND //p'
this command produces no output when /usr/sbin/named is bind8 (1.6.2,
other platforms probably) so it will need to at least || echo 0.
otherwise it should be ok.
are there really packages which depend on bind9? how odd. :-)
grant.
--gTY1JhLGodeuSBqf
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFA+Gt6luYOb9yiFXoRAnITAKC0QQhoDD14DAFPi2F3MdPM4cOceQCfbvi2
F25F1j2s+U0tZ1tbgJq5FtA=
=fyZq
-----END PGP SIGNATURE-----
--gTY1JhLGodeuSBqf--