Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2014 07:22:05 GMT
From:      Dmitriy Limonov <earl1k@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186908: [Update] net-p2p/ncdc to 1.19
Message-ID:  <201402200722.s1K7M5sS069047@cgiserv.freebsd.org>
Resent-Message-ID: <201402200730.s1K7U0mR016776@freefall.freebsd.org>

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

>Number:         186908
>Category:       ports
>Synopsis:       [Update] net-p2p/ncdc to 1.19
>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:   Thu Feb 20 07:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Dmitriy Limonov
>Release:        FreeBSD 9.0-RELEASE-p5 amd64
>Organization:
>Environment:
FreeBSD excluzive.ws 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #0 r243502: Sun Nov 25 10:25:21 MSK 2012     earl@excluzive.ws:/usr/obj/usr/src/sys/EXCLUZIVE  amd64
>Description:
Update ncdc to version 1.19
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -Naur ncdc.orig/Makefile ncdc/Makefile
--- ncdc.orig/Makefile	2013-11-10 23:48:27.000000000 +0400
+++ ncdc/Makefile	2014-02-20 11:16:25.802699066 +0400
@@ -2,7 +2,7 @@
 # $FreeBSD: head/net-p2p/ncdc/Makefile 333433 2013-11-10 19:48:27Z sunpoet $
 
 PORTNAME=	ncdc
-PORTVERSION=	1.18.1
+PORTVERSION=	1.19
 CATEGORIES=	net-p2p
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
 		http://dev.yorhel.nl/download/
@@ -29,4 +29,14 @@
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
+OPTIONS_DEFINE= GEOIP
+GEOIP_DESC= GeoIP Support
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MGEOIP}
+CONFIGURE_ARGS+= --with-geoip
+CONFIGURE_ENV=	GEOIP_CFLAGS="-I${LOCALBASE}/include" GEOIP_LIBS="-L${LOCALBASE}/lib -lGeoIP"
+.endif
+
 .include <bsd.port.mk>
diff -Naur ncdc.orig/distinfo ncdc/distinfo
--- ncdc.orig/distinfo	2013-11-10 23:48:27.000000000 +0400
+++ ncdc/distinfo	2014-02-20 09:16:41.060698214 +0400
@@ -1,2 +1,2 @@
-SHA256 (ncdc-1.18.1.tar.gz) = cc257731cd2ccc55831b8606694c379d0d8c441d250b8003785bec3d58fa8685
-SIZE (ncdc-1.18.1.tar.gz) = 350781
+SHA256 (ncdc-1.19.tar.gz) = c24130b8bb735f936b1090d4e5f4413c08548a45a2640193386c26dc1dc7fbf1
+SIZE (ncdc-1.19.tar.gz) = 354337


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



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