Date: Sun, 12 Jun 2011 12:31:38 +0200 From: Olli Hauer <ohauer@FreeBSD.org> To: Chris Rees <crees@freebsd.org> Cc: ohauer@freebsd.org, dougb@freebsd.org, cvs-ports@freebsd.org, Mark Linimon <linimon@lonesome.com> Subject: Re: cvs commit: ports/databases/gnats Makefile Message-ID: <4DF4958A.6090707@FreeBSD.org> In-Reply-To: <BANLkTi=4VVV2tCRVUrZwd54tqLy=9h%2BT6Q@mail.gmail.com> References: <20110612012433.GB989@lonesome.com> <4DF47333.9000109@FreeBSD.org> <BANLkTi=4VVV2tCRVUrZwd54tqLy=9h%2BT6Q@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On 2011-06-12 11:41, Chris Rees wrote:
> 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
Hi Chris,
will look into your patch.
PS:
I have some additional changes for ports/(GIDs|UIDs) which I cannot find
in the http://www.bayofrum.net/~crees/patches/uids/UIDs_1.patch
I could not commit them until PR ports/152498 was committed, will look where
I have those changes so you can include them in your work.
--
olli
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DF4958A.6090707>
