Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  5 Dec 2004 00:41:42 +0800 (CST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        seanc@FreeBSD.org
Subject:   ports/74677: [PATCH] net/GeoIP: update to 1.3.8
Message-ID:  <20041204164142.958C23EA134@utopia.leeym.com>
Resent-Message-ID: <200412041650.iB4GoSV5055722@freefall.freebsd.org>

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

>Number:         74677
>Category:       ports
>Synopsis:       [PATCH] net/GeoIP: update to 1.3.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 04 16:50:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Oct 25 01:17:22 CST 2004
>Description:
- Update to 1.3.8
- utilize DATADIR
- fix problem when installing default config file

Port maintainer (seanc@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- GeoIP-1.3.8.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/GeoIP/Makefile,v
retrieving revision 1.22
diff -u -u -r1.22 Makefile
--- Makefile	31 Aug 2004 19:40:12 -0000	1.22
+++ Makefile	4 Dec 2004 16:40:57 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	GeoIP
-PORTVERSION=	1.3.6
+PORTVERSION=	1.3.8
 CATEGORIES=	net
 MASTER_SITES=	http://www.maxmind.com/download/geoip/api/c/
 
@@ -19,8 +19,8 @@
 MAN1=		geoiplookup.1 geoipupdate.1
 
 post-install:
-.if !exists(${PREFIX}/etc/GeoIP.conf.default)
-	@${CP} ${PREFIX}/etc/GeoIP.conf.default ${PREFIX}/etc/GeoIP.conf
+.if !exists(${PREFIX}/etc/GeoIP.conf)
+	@${INSTALL_DATA} ${PREFIX}/etc/GeoIP.conf.default ${PREFIX}/etc/GeoIP.conf
 .endif
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/net/GeoIP/distinfo,v
retrieving revision 1.16
diff -u -u -r1.16 distinfo
--- distinfo	31 Aug 2004 19:40:12 -0000	1.16
+++ distinfo	4 Dec 2004 16:40:57 -0000
@@ -1,2 +1,2 @@
-MD5 (GeoIP-1.3.6.tar.gz) = f5afa496b562a7524b9b33b1d30dbee9
-SIZE (GeoIP-1.3.6.tar.gz) = 579850
+MD5 (GeoIP-1.3.8.tar.gz) = 7bbd491dfbe4314c817ba0bbc7fa0932
+SIZE (GeoIP-1.3.8.tar.gz) = 585538
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/net/GeoIP/pkg-plist,v
retrieving revision 1.10
diff -u -u -r1.10 pkg-plist
--- pkg-plist	30 May 2004 07:19:41 -0000	1.10
+++ pkg-plist	4 Dec 2004 16:40:57 -0000
@@ -18,5 +18,5 @@
 lib/libGeoIPUpdate.a
 lib/libGeoIPUpdate.so
 lib/libGeoIPUpdate.so.0
-share/GeoIP/GeoIP.dat
-@unexec rmdir %D/share/GeoIP 2>/dev/null || true
+%%DATADIR%%/GeoIP.dat
+@unexec rmdir %D/%%DATADIR%% 2>/dev/null || true
--- GeoIP-1.3.8.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?20041204164142.958C23EA134>