From owner-cvs-ports@FreeBSD.ORG Sun Jun 12 10:06:03 2011 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0925106564A; Sun, 12 Jun 2011 10:06:03 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 894C48FC16; Sun, 12 Jun 2011 10:06:03 +0000 (UTC) Received: by iwn33 with SMTP id 33so4642011iwn.13 for ; Sun, 12 Jun 2011 03:06:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=lfjDgaFp5Txy9oIl/RvUO04B+dxpzrLz3MsPytwbf9o=; b=s+YOityd7hE2cuUsrAArUP/9sJxaRY8zK978pRmxakf6+k4JHme5yPJp+Kl0rYvrZL MrIMeTvT3Tzd0ACHqFgb8cUnwQi0iEm0sQqnYNZ68a1QEwaYneza9JsASjVcKRfuU6lO +YD+KfX9s/JALg7j8i8IJ7e8dp4vYd5ESoeLw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=U0A/Jfx8IzFcXbGa9M+C2nqLJi64t2zSDOc0W7Yzw6w6PuJPM7AZBymSN3nS4QmaUb A0jgrCmF//zaIAaCHmCanWQ8WT/zhPrIn/Yn/8ZE+7ZRij2k7C0jKg6nAyyHQg5Ao7vA 4xFlR9WZ0hNQTZcexGuorZX9Qyza+lE+PsDtw= Received: by 10.231.207.211 with SMTP id fz19mr4586036ibb.2.1307871713062; Sun, 12 Jun 2011 02:41:53 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.231.174.70 with HTTP; Sun, 12 Jun 2011 02:41:23 -0700 (PDT) In-Reply-To: <4DF47333.9000109@FreeBSD.org> References: <20110612012433.GB989@lonesome.com> <4DF47333.9000109@FreeBSD.org> From: Chris Rees Date: Sun, 12 Jun 2011 10:41:23 +0100 X-Google-Sender-Auth: HeBs1_tVcOLF53lN1my6AbXME_A Message-ID: To: ohauer@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Mark Linimon , dougb@freebsd.org, cvs-ports@freebsd.org, cvs-all@freebsd.org, ports-committers@freebsd.org Subject: Re: cvs commit: ports/databases/gnats Makefile X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2011 10:06:04 -0000 On 12 June 2011 09:05, Olli Hauer 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. =A0This is why I never did it several >> years back when I first looked at it. =A0(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 olde= r > plain index format. > > > --- ./gnats/dbconfig.in.orig =A0 =A02002-10-31 21:28:52.000000000 +0100 > +++ ./gnats/dbconfig.in 2011-06-12 09:58:06.000000000 +0200 > @@ -756,7 +756,8 @@ > =A0 =A0 } > =A0 =A0 # A somewhat convoluted binary format is used when binary-index i= s set > =A0 =A0 # to true. > - =A0 =A0binary-index true > + =A0 =A0#binary-index true > + =A0 =A0binary-index false > =A0} > 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