Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2008 15:28:51 GMT
From:      Yarodin <yarodin@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/123267: [UPDATE] www/mod_geoip2 to 1.2.3
Message-ID:  <200804301528.m3UFSpZp071852@www.freebsd.org>
Resent-Message-ID: <200804301530.m3UFU2eR044609@freefall.freebsd.org>

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

>Number:         123267
>Category:       ports
>Synopsis:       [UPDATE] www/mod_geoip2 to 1.2.3
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 30 15:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yarodin
>Release:        6.3-p2
>Organization:
>Environment:
>Description:
Update to 1.2.3

- Skip files that we can not open for some reason ( permission/typo ). Check and skip empty slots in geoip_header_parser
- Fix race condition for IO based caches like Standard. MMapCache and MemoryCache are not affected.
- Slight performance increase - don't make per_dir ap_get_module_config call where we return DECLINED because cfg->GeoIPEnabled is true
- NetWare/Win32 compilation fixes, since can't declare vars in middle of code
>How-To-Repeat:

>Fix:
How to apply:
1) Put patch-mod_geoip2.txt to /usr/ports/www/
2) cd /usr/ports/www/ && patch -E -p <patch-mod_geoip2.txt && find /usr/ports/www/mod_geoip2/ -type f -name "*.orig" -exec rm -f {} \; 

Patch attached with submission follows:

diff -ruN mod_geoip2.orig/Makefile mod_geoip2/Makefile
--- mod_geoip2.orig/Makefile	2008-03-27 21:26:24.000000000 +0500
+++ mod_geoip2/Makefile	2008-04-30 21:11:03.000000000 +0600
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mod_geoip2
-PORTVERSION=	1.2.2
+PORTVERSION=	1.2.3
 CATEGORIES=	www geography
 MASTER_SITES=	http://www.maxmind.com/download/geoip/api/mod_geoip2/
 DISTNAME=	${PORTNAME}_${PORTVERSION}
diff -ruN mod_geoip2.orig/distinfo mod_geoip2/distinfo
--- mod_geoip2.orig/distinfo	2008-03-27 21:26:24.000000000 +0500
+++ mod_geoip2/distinfo	2008-04-30 21:13:41.000000000 +0600
@@ -1,3 +1,3 @@
-MD5 (mod_geoip2_1.2.2.tar.gz) = 5f198bb07f606c974af2176cf4643640
-SHA256 (mod_geoip2_1.2.2.tar.gz) = 7b248555b77153334ef2371ed4cc0ebe9268584587705c72a0b60ef920cf7a31
-SIZE (mod_geoip2_1.2.2.tar.gz) = 10563
+MD5 (mod_geoip2_1.2.3.tar.gz) = 149cfaab49c39d07ca96a68fdb93497f
+SHA256 (mod_geoip2_1.2.3.tar.gz) = c006cf4928830fe089e2419d3635cbab05a95fe7dca01199169c4f1a94c3fd91
+SIZE (mod_geoip2_1.2.3.tar.gz) = 10666


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



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