Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2004 04:23:26 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Oliver Eikemeier <eikemeier@fillmore-labs.com>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: incremental ports/INDEX builder
Message-ID:  <20040622112326.GA14566@xor.obsecurity.org>
In-Reply-To: <40D7F5EF.4090406@fillmore-labs.com>
References:  <20040622083214.GA91013@sanatana.dharma> <20040622100327.GA12999@xor.obsecurity.org> <40D7F5EF.4090406@fillmore-labs.com>

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

--d6Gm4EdcadzBjdND
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 22, 2004 at 11:03:43AM +0200, Oliver Eikemeier wrote:

> >I have a make-based prototype that maintains and updates this
> >dependency information too, but it currently also has a bug (missing
> >newline on one of the 'make describe' outputs).  I'm hoping to work on
> >that again this week so I can post the implementation for comments.
>=20
> I have a perl script that does this at
>  <http://people.freebsd.org/~eik/scripts/depends/>;
>=20
> The advantage is that it is independent of changes in /etc/make.conf
> or /usr/local/etc/pkgtools.conf, OPTIONS or OSVERSION which might
> be important. OTOH potentially all packages can change when something
> in MK/bsd.*.mk is changed, so in these caese a complete rebuild is
> necessary.
>=20
> I have this into testing for two weeks now, and the heuristics are
> pretty reliable. I tried an approach with patching make(1) too, but
> you won't gain much (there are not many additional files involved),
> and it is too sensitive to changes outside the ports system, makeing
> the generated dependency file non-portable.
>=20
> OTOH you handlke border cases better, like setting MASTERDIR twice.
>=20
> I'm pretty happy with my approach, and it is quite fast.

At least for my purposes, I need index builds to be 100% accurate 100%
of the time..working in almost all cases isn't good enough.

Kris

--d6Gm4EdcadzBjdND
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA2BauWry0BWjoQKURAhDbAKCwTn+1xLGudPfFmv67q7TPJM1gGACgphaq
jqKlzPIDs40VNamJGQUYvGc=
=9hnJ
-----END PGP SIGNATURE-----

--d6Gm4EdcadzBjdND--



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