From mad@madpilot.net  Sun Aug  7 12:54:05 2005
Return-Path: <mad@madpilot.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 404F316A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  7 Aug 2005 12:54:05 +0000 (GMT)
	(envelope-from mad@madpilot.net)
Received: from madpilot.net (dadovago8197.dada.it [195.110.114.197])
	by mx1.FreeBSD.org (Postfix) with SMTP id 9C84843F26
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  7 Aug 2005 12:26:44 +0000 (GMT)
	(envelope-from mad@madpilot.net)
Received: (qmail 89062 invoked from network); 7 Aug 2005 14:26:41 +0200
Received: from wedge.madpilot.net (192.168.13.11)
  by 0 with SMTP; 7 Aug 2005 14:26:41 +0200
Received: from wedge.madpilot.net (localhost.madpilot.net [127.0.0.1])
	by wedge.madpilot.net (8.13.4/8.13.4) with ESMTP id j77CQck0043691
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 7 Aug 2005 14:26:38 +0200 (CEST)
	(envelope-from mad@wedge.madpilot.net)
Received: (from mad@localhost)
	by wedge.madpilot.net (8.13.4/8.13.4/Submit) id j77CQbjN043690;
	Sun, 7 Aug 2005 14:26:37 +0200 (CEST)
	(envelope-from mad)
Message-Id: <200508071226.j77CQbjN043690@wedge.madpilot.net>
Date: Sun, 7 Aug 2005 14:26:37 +0200 (CEST)
From: Guido Falsi <mad@madpilot.net>
Reply-To: Guido Falsi <mad@madpilot.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [maintainer-update] comms/gnokii: update to 0.6.8 and unbreak fetch.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         84641
>Category:       ports
>Synopsis:       [maintainer-update] comms/gnokii: update to 0.6.8 and unbreak fetch.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lawrance
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 07 13:00:28 GMT 2005
>Closed-Date:    Sun Aug 28 13:35:37 GMT 2005
>Last-Modified:  Sun Aug 28 13:35:37 GMT 2005
>Originator:     Guido Falsi
>Release:        FreeBSD 6.0-BETA2 i386
>Organization:
none
>Environment:
System: FreeBSD wedge.madpilot.net 6.0-BETA2 FreeBSD 6.0-BETA2 #15: Fri Aug 5 21:35:12 CEST 2005 root@wedge.madpilot.net:/usr/obj/usr/src/sys/WEDGE i386


>Description:

Easy upgrade to 0.6.8.

This upgrade also fixes fetch due to the distfile in the ftp site
being moved in another directory when getting obsolete.

Due to the fetch breakage I'd like to ask this to be approved for
being committed during the freeze, before 6.0.

>How-To-Repeat:


>Fix:

diff -ruN gnokii.old/Makefile gnokii/Makefile
--- gnokii.old/Makefile	Tue Aug  2 19:03:53 2005
+++ gnokii/Makefile	Tue Aug  2 19:04:13 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	gnokii
-PORTVERSION=	0.6.7
+PORTVERSION=	0.6.8
 PORTEPOCH=	1
 CATEGORIES=	comms
 MASTER_SITES=	http://www.gnokii.org/download/gnokii/ \
diff -ruN gnokii.old/distinfo gnokii/distinfo
--- gnokii.old/distinfo	Tue Aug  2 19:03:53 2005
+++ gnokii/distinfo	Tue Aug  2 19:17:16 2005
@@ -1,2 +1,2 @@
-MD5 (gnokii-0.6.7.tar.bz2) = c80d68549c86f287f24c2bee0e929ded
-SIZE (gnokii-0.6.7.tar.bz2) = 1932632
+MD5 (gnokii-0.6.8.tar.bz2) = 8109a8c3eb8ac0ee3e6ef3314bd2ce82
+SIZE (gnokii-0.6.8.tar.bz2) = 1980384
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->lawrance 
Responsible-Changed-By: lawrance 
Responsible-Changed-When: Sun Aug 7 13:41:56 GMT 2005 
Responsible-Changed-Why:  
I'll handle this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84641 

From: Guido Falsi <mad@madpilot.net>
To: mailto:  bug-followup@FreeBSD.org, mad@madpilot.net
Cc:  
Subject: Re: ports/84641 : [maintainer-update] comms/gnokii: update to 0.6.8 and unbreak fetch.
Date: Fri, 19 Aug 2005 13:35:11 +0200

 A bug regarding database suport was introduced in one of the last
 updates.A revised patch wich supersedes the previous one follows.
 
 diff -ruN gnokii.old/Makefile gnokii/Makefile
 --- gnokii.old/Makefile	Tue Aug  2 19:03:53 2005
 +++ gnokii/Makefile	Fri Aug 19 13:23:25 2005
 @@ -6,7 +6,7 @@
  #
  
  PORTNAME=	gnokii
 -PORTVERSION=	0.6.7
 +PORTVERSION=	0.6.8
  PORTEPOCH=	1
  CATEGORIES=	comms
  MASTER_SITES=	http://www.gnokii.org/download/gnokii/ \
 @@ -143,14 +143,13 @@
  
  post-build:
  .if defined(WITH_SMSD)
 -	@cd ${WRKSRC}/smsd && ${GMAKE} all
 -	@cd ${WRKSRC}/smsd && ${GMAKE} libfile.la LOCALBASE=${LOCALBASE}
  .if defined(WITH_MYSQL)
 -	@cd ${WRKSRC}/smsd && ${GMAKE} libmysql.la LOCALBASE=${LOCALBASE}
 +	@${REINPLACE_CMD} -e 's/^DB_LIBS := libfile.la$$/DB_LIBS = libfile.la libmysql.la/' ${WRKSRC}/smsd/Makefile
  .endif
  .if defined(WITH_PGSQL)
 -	@cd ${WRKSRC}/smsd && ${GMAKE} libpq.la LOCALBASE=${LOCALBASE}
 +	@${REINPLACE_CMD} -e 's/^DB_LIBS := libfile.la$$/DB_LIBS = libfile.la libpq.la/' -e 's/^DB_LIBS = libfile.la libmysql.la$$/DB_LIBS = libfile.la libpq.la libmysql.la' ${WRKSRC}/smsd/Makefile
  .endif
 +	@cd ${WRKSRC}/smsd && ${GMAKE} all
  .endif
  	@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
  
 diff -ruN gnokii.old/distinfo gnokii/distinfo
 --- gnokii.old/distinfo	Tue Aug  2 19:03:53 2005
 +++ gnokii/distinfo	Tue Aug  2 19:17:16 2005
 @@ -1,2 +1,2 @@
 -MD5 (gnokii-0.6.7.tar.bz2) = c80d68549c86f287f24c2bee0e929ded
 -SIZE (gnokii-0.6.7.tar.bz2) = 1932632
 +MD5 (gnokii-0.6.8.tar.bz2) = 8109a8c3eb8ac0ee3e6ef3314bd2ce82
 +SIZE (gnokii-0.6.8.tar.bz2) = 1980384
 
 -- 
 Guido Falsi <mad@madpilot.net>
State-Changed-From-To: open->closed 
State-Changed-By: lawrance 
State-Changed-When: Sun Aug 28 13:34:58 GMT 2005 
State-Changed-Why:  
Committed, thanks!  I apologise for taking so long to commit this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84641 
>Unformatted:
