ports/131450: [UPDATE] www/mod_geoip 1.3.4 to portrevision 1
Yar Odin
yarodin at gmail.com
Fri Feb 6 17:40:03 UTC 2009
>Number: 131450
>Category: ports
>Synopsis: [UPDATE] www/mod_geoip 1.3.4 to portrevision 1
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 06 17:40:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Yar Odin
>Release: 6.4-p3
>Organization:
>Environment:
6.4-RELEASE-p3
>Description:
Add official patch from upstream wich prevents segfaults on some configs. 10x to ache@ for information.
Full description: http://forum.maxmind.com/viewtopic.php?t=1227#2116
>How-To-Repeat:
>Fix:
How to apply:
1) Put patch-mod_geoip.txt to /usr/ports/www/
2) cd /usr/ports/www/ && patch -E -p <patch-mod_geoip.txt && find /usr/ports/www/mod_geoip/ -type f -name "*.orig" -exec rm -f {} \;
Patch attached with submission follows:
diff -ruN mod_geoip.orig/Makefile mod_geoip/Makefile
--- mod_geoip.orig/Makefile 2008-11-02 23:53:28.000000000 +0300
+++ mod_geoip/Makefile 2009-02-06 20:22:49.000000000 +0300
@@ -7,6 +7,7 @@
PORTNAME= mod_geoip
PORTVERSION= 1.3.4
+PORTREVISION= 1
CATEGORIES= www geography
MASTER_SITES= http://www.maxmind.com/download/geoip/api/mod_geoip/
DISTNAME= ${PORTNAME}_${PORTVERSION}
diff -ruN mod_geoip.orig/files/patch-mod_geoip.c mod_geoip/files/patch-mod_geoip.c
--- mod_geoip.orig/files/patch-mod_geoip.c 1970-01-01 03:00:00.000000000 +0300
+++ mod_geoip/files/patch-mod_geoip.c 2009-02-06 20:20:52.000000000 +0300
@@ -0,0 +1,12 @@
+--- mod_geoip.c 2008/09/16 10:31:43 1.39
++++ mod_geoip.c 2009/02/06 00:33:10 1.40
+@@ -317,8 +317,7 @@
+
+ if ( !cfg )
+ continue;
+- if ( !cfg->GeoIPEnable )
+- continue;
++
+ if (cfg->gips)
+ continue;
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list