cvs commit: ports/databases/gnats Makefile
Chris Rees
crees at freebsd.org
Sun Jun 12 10:06:04 UTC 2011
On 12 June 2011 09:05, Olli Hauer <ohauer at freebsd.org> wrote:
> On 2011-06-12 03:24, Mark Linimon wrote:
>> dougb writes:
>>
>>> What would it take to upgrade freefall to gnats4?
>>
>> Coordination with all the sites that mirror GNATS to tell them that the
>> database and index formats change. This is why I never did it several
>> years back when I first looked at it. (We have no idea who actually
>> mirrors it for local use, but it's non-zero.)
>>
>> portsmon runs gnats4 using a shim so it's not a factor.
>>
>> IMHO any time spent working on GNATS internals is not time well spent.
>> It's a dead project upstream in any case.
>>
>> mcl
>>
>
>
> I use gnats4 with a mirrored DB and have no issues with the old db format.
> The following diff for gnats4 change the default binary index to the older
> plain index format.
>
>
> --- ./gnats/dbconfig.in.orig 2002-10-31 21:28:52.000000000 +0100
> +++ ./gnats/dbconfig.in 2011-06-12 09:58:06.000000000 +0200
> @@ -756,7 +756,8 @@
> }
> # A somewhat convoluted binary format is used when binary-index is set
> # to true.
> - binary-index true
> + #binary-index true
> + binary-index false
> }
>
Were we to do this, we _really_ need to fix the port not to use ${PW}
in pkg-install.
This also means that GNATSDBDIR has to change, albeit to the same as gnats-3.
Just my spanner in the works there!
Olli, if you want to fix the port this way please consider the patch
at [1] as well (kills pkg-install too).
Chris
[1] http://www.bayofrum.net/~crees/patches/uids/databases-gnats4.patch
More information about the cvs-all
mailing list