r4097 - trunk/varnish-cache/lib/libvarnish

Dag-Erling Smørgrav des at des.no
Fri Aug 7 15:16:37 CEST 2009

Tollef Fog Heen <tfheen at redpill-linpro.com> writes:
> Dag-Erling Smørgrav <des at des.no> writes:
> > There is a better solution: the RCS ID of every source file is embedded
> > in a string in the object, "just like FreeBSD does it".  This is a
> > better solution not only because it does not break dependency tracking,
> > but because it is more detailed, and covers more than just libvarnish.
> Take a look at sys/conf/newvers.sh, particularly line 102 and onwards in
> the FreeBSD source tree.  What I'm trying to do is something along the
> lines of that bit.  If you have suggestions on improving how my
> implementation works, I'm happy to hear those (or have patches applied).

I already committed a patch - two months ago - which implements the
solution described above.

For the record, I objected to FreeBSD's svnversion hack when phk
committed it, for [some of] the same reasons I object to this one.

Dag-Erling Smørgrav - des at des.no

More information about the varnish-dev mailing list