Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2012 17:32:09 GMT
From:      Dmitriy Limonov <earl1k@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163785: [Update] net-p2p/ncdc to 1.7
Message-ID:  <201201021732.q02HW9g1072242@red.freebsd.org>
Resent-Message-ID: <201201021740.q02He9q6073202@freefall.freebsd.org>

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

>Number:         163785
>Category:       ports
>Synopsis:       [Update] net-p2p/ncdc to 1.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 02 17:40:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Dmitriy Limonov
>Release:        FreeBSD 8.2-RELEASE-p5 amd64
>Organization:
>Environment:
FreeBSD excluzive.ws 8.2-RELEASE-p5 FreeBSD 8.2-RELEASE-p5 #0: Sun Dec 25 09:12:20 MSK 2011 earl@excluzive.ws:/usr/obj/usr/src/sys/EXCLUZIVE amd64
>Description:
Update ncdc to version 1.7
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -Naur ncdc.orig/Makefile ncdc/Makefile
--- ncdc.orig/Makefile	2011-12-26 21:37:42.000000000 +0400
+++ ncdc/Makefile	2012-01-02 21:18:49.050985521 +0400
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	ncdc
-PORTVERSION=	1.6
+PORTVERSION=	1.7
 CATEGORIES=	net-p2p
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
 		http://dev.yorhel.nl/download/
@@ -33,15 +33,17 @@
 
 .include <bsd.port.options.mk>
 
+pre-patch:
+	@${REINPLACE_CMD} \
+		-e 's/\(GRegex \*nand\[fl_.*\)\]/\1+1]/' \
+		${WRKSRC}/src/fl_util.c
+
 .if defined(WITH_GDBM)
 LIB_DEPENDS+=	gdbm:${PORTSDIR}/databases/gdbm
 PLIST_FILES+=	bin/ncdc-db-upgrade
 .else
 post-patch:
 	@${REINPLACE_CMD} \
-		-e '/#include <gdbm.h>/d' \
-		${WRKSRC}/src/fl_local.c
-	@${REINPLACE_CMD} \
 		-e '/have_gdbm=yes/d' \
 		${WRKSRC}/configure
 .endif
diff -Naur ncdc.orig/distinfo ncdc/distinfo
--- ncdc.orig/distinfo	2011-12-26 21:37:42.000000000 +0400
+++ ncdc/distinfo	2012-01-02 20:54:24.826056070 +0400
@@ -1,2 +1,2 @@
-SHA256 (ncdc-1.6.tar.gz) = 13d898455c5892364ff0769be76cc5fb188a801b08ba3a646e0ecf217db6ddfc
-SIZE (ncdc-1.6.tar.gz) = 304918
+SHA256 (ncdc-1.7.tar.gz) = 5198a88d797bcd246e9d33080b9e07ce747fd14e5146902175055676b6d8145f
+SIZE (ncdc-1.7.tar.gz) = 309915


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



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