Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Aug 2011 22:57:42 +0200 (CEST)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Mark Linimon <linimon@FreeBSD.org>
Subject:   ports/159947: [patch] databases/gnats4 set default index type to plain
Message-ID:  <20110820205742.8A81A20811@p578be941.dip0.t-ipconnect.de>
Resent-Message-ID: <201108202100.p7KL0QR6002911@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         159947
>Category:       ports
>Synopsis:       [patch] databases/gnats4 set default index type to plain
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 20 21:00:25 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Olli Hauer
>Release:        
>Organization:
>Environment:

>Description:
gnats4 will core dump on a cvsup'd gnats index with default settings.
The following patch will fix this.

A local gnats mirror is often the only way to rip out patches in a
format which is usefull for further PR handling / patching, so it will be 
nice if the default database type does match the upstream (gnats-freebsd).
Maybe this trivial fix helps even others to move from gnats to gnats4


>How-To-Repeat:

>Fix:


--- gnats4.diff begins here ---
Index: gnats4/files/patch-gnats__dbconfig.in
===================================================================
RCS file: gnats4/files/patch-gnats__dbconfig.in
diff -N gnats4/files/patch-gnats__dbconfig.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnats4/files/patch-gnats__dbconfig.in	20 Aug 2011 20:42:12 -0000
@@ -0,0 +1,12 @@
+--- ./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
+ }
+ 
+ # initial-entry describes which fields should be present on initial entry;
--- gnats4.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110820205742.8A81A20811>