Date: Sun, 12 Jun 2011 10:41:23 +0100 From: Chris Rees <crees@freebsd.org> To: ohauer@freebsd.org Cc: Mark Linimon <linimon@lonesome.com>, dougb@freebsd.org, cvs-ports@freebsd.org, cvs-all@freebsd.org, ports-committers@freebsd.org Subject: Re: cvs commit: ports/databases/gnats Makefile Message-ID: <BANLkTi=4VVV2tCRVUrZwd54tqLy=9h%2BT6Q@mail.gmail.com> In-Reply-To: <4DF47333.9000109@FreeBSD.org> References: <20110612012433.GB989@lonesome.com> <4DF47333.9000109@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
On 12 June 2011 09:05, Olli Hauer <ohauer@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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=4VVV2tCRVUrZwd54tqLy=9h%2BT6Q>
