Skip site navigation (1)Skip section navigation (2)
Date:      7 Mar 2000 23:50:17 -0000
From:      patrick@mindstep.com
To:        freefall-gnats@mindstep.com
Subject:   ports/17255: Update the GNATS port to 3.113
Message-ID:  <20000307235017.4715.qmail@nitro.local.mindstep.com>

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

>Number:         17255
>Category:       ports
>Synopsis:       Update the GNATS port to 3.113
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar  7 15:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Bihan-Faou
>Release:        FreeBSD-4.0
>Organization:
MindStep Corporation
>Environment:
System: FreeBSD nitro 4.0-CURRENT FreeBSD 4.0-CURRENT #15: Thu Jan 27 17:06:21 EST 2000 patrick@nitro:/usr/src/sys/compile/NITRO i386


>Description:

The GNATS port is not up to date. The current version is 3.113, the ports
version is at 3.112.1

Also GNATS 3.113 contains a bug that mangles mail headers in the submitted
problem reports.

>How-To-Repeat:

cd /usr/ports/database/gnats

>Fix:


The following patch updates the port to 3.113 and fix the mail header bug in
gnats (patch-ad).


diff -ruN gnats.orig/Makefile gnats/Makefile
--- gnats.orig/Makefile	Tue Mar  7 18:44:53 2000
+++ gnats/Makefile	Tue Mar  7 18:20:12 2000
@@ -1,12 +1,12 @@
 # New ports collection makefile for:	gnats
-# Version required:     3.112.1
+# Version required:     3.113
 # Date created:		10 November 1995
 # Whom:			pst
 #
 # $FreeBSD: ports/databases/gnats/Makefile,v 1.27 1999/12/30 22:56:08 asami Exp $
 #
 
-DISTNAME=	gnats-3.112.1
+DISTNAME=	gnats-3.113
 CATEGORIES=	databases elisp
 MASTER_SITES=	ftp://sourceware.cygnus.com/pub/gnats/snapshots/
 
@@ -16,7 +16,6 @@
 
 BUILD_DEPENDS=	gm4:${PORTSDIR}/devel/m4
 
-WRKSRC=	${WRKDIR}/3.112
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS= --with-lispdir=${PREFIX}/share/emacs/site-lisp \
 		--with-full-gnats \
diff -ruN gnats.orig/files/md5 gnats/files/md5
--- gnats.orig/files/md5	Tue Mar  7 18:44:53 2000
+++ gnats/files/md5	Tue Mar  7 18:19:51 2000
@@ -1 +1 @@
-MD5 (gnats-3.112.1.tar.gz) = 67e9b713da994710511d35cef4495f7a
+MD5 (gnats-3.113.tar.gz) = cb1f3424c4372665b6204783dcc6984f
diff -ruN gnats.orig/patches/patch-ad gnats/patches/patch-ad
--- gnats.orig/patches/patch-ad	Wed Dec 31 19:00:00 1969
+++ gnats/patches/patch-ad	Tue Mar  7 18:22:11 2000
@@ -0,0 +1,16 @@
+--- gnats/file-pr.c.orig	Tue Mar  7 18:20:36 2000
++++ gnats/file-pr.c	Tue Mar  7 18:21:21 2000
+@@ -788,7 +788,12 @@
+       if (i == SUBJECT)
+ 	continue;
+       if (*header_value(i))
+-	fprintf(msg, "%s%s", header_name(i), header_value(i));
++        {
++          if(*header_value(i) == ' ')
++	    fprintf(msg, "%s%s", header_name(i), header_value(i));
++          else
++	    fprintf(msg, "%s %s", header_name(i), header_value(i));
++        }
+     }
+ #endif /* DONT_USE_RESENT */
+ 

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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