Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 2013 19:37:28 +0600 (BDT)
From:      Muhammad Moinur Rahman <5u623l20@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/185066: [MAINTAINER] net/ntopng: Fix fetch
Message-ID:  <201312211337.rBLDbSEP066131@bofh.1asiacom.net>
Resent-Message-ID: <201312211340.rBLDe0RZ098121@freefall.freebsd.org>

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

>Number:         185066
>Category:       ports
>Synopsis:       [MAINTAINER] net/ntopng: Fix fetch
>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:   Sat Dec 21 13:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Muhammad Moinur Rahman
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD bofh.1asiacom.net 11.0-CURRENT FreeBSD 11.0-CURRENT #3 r257540: Tue Nov  5 18:47:37
>Description:
[DESCRIBE CHANGES]
- Fixinf additional data files fetch problems which is updated 
every now and then

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- ntopng-1.1_1.patch begins here ---
diff -ruN /usr/ports//net/ntopng/Makefile ./Makefile
--- /usr/ports//net/ntopng/Makefile	2013-12-02 14:00:56.000000000 +0600
+++ ./Makefile	2013-12-21 19:36:16.000000000 +0600
@@ -3,6 +3,7 @@
 
 PORTNAME=	ntopng
 PORTVERSION=	1.1
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	SF/ntop/${PORTNAME}:source1 \
 		http://geolite.maxmind.com/download/geoip/database/:source2 \
@@ -26,6 +27,9 @@
 		libluajit-5.1.so:${PORTSDIR}/lang/luajit \
 		libzmq.so:${PORTSDIR}/devel/ntopng-zmq
 
+IGNOREFILES=	GeoLiteCity.dat.gz GeoLiteCityv6.dat.gz \
+		GeoIPASNum.dat.gz GeoIPASNumv6.dat.gz
+
 CPPFLAGS+=	-I${LOCALBASE}/include/luajit-2.0
 GNU_CONFIGURE=	yes
 MAKE_JOBS_UNSAFE=	yes
diff -ruN /usr/ports//net/ntopng/distinfo ./distinfo
--- /usr/ports//net/ntopng/distinfo	2013-12-02 14:00:56.000000000 +0600
+++ ./distinfo	2013-12-21 05:56:25.000000000 +0600
@@ -1,10 +1,6 @@
 SHA256 (ntopng-1.1_6932.tgz) = f9dbc621efa7354fa65d93d043dceabcfb55a7b56e83c87e3f6b8d2b75aeab31
 SIZE (ntopng-1.1_6932.tgz) = 45064737
-SHA256 (GeoLiteCity.dat.gz) = b92dad48943b388e73e542b5f895850d4de4d78d8f3ecaaa85214bd46ded6930
-SIZE (GeoLiteCity.dat.gz) = 26285561
-SHA256 (GeoLiteCityv6.dat.gz) = 54745e189726fd79761b2fe22197221cdf5d501b81214343b990405a726a852d
-SIZE (GeoLiteCityv6.dat.gz) = 10630112
-SHA256 (GeoIPASNum.dat.gz) = a4bb84c319bf3d9643e2a2c72c7bcded2aa7db5b76f07652c2fd653e751a59c8
-SIZE (GeoIPASNum.dat.gz) = 1913167
-SHA256 (GeoIPASNumv6.dat.gz) = b42f01f01bc8c21ba5f09b898981ce1358d0cbed2bab304708b293a4fa1226bf
-SIZE (GeoIPASNumv6.dat.gz) = 2006882
+SHA256 (GeoLiteCity.dat.gz) = IGNORE
+SHA256 (GeoLiteCityv6.dat.gz) = IGNORE
+SHA256 (GeoIPASNum.dat.gz) = IGNORE
+SHA256 (GeoIPASNumv6.dat.gz) = IGNORE
--- ntopng-1.1_1.patch ends here ---

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



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