Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2008 11:48:14 +0100 (CET)
From:      Martin Matuska <mm@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/121728: [UPDATE] mod_geoip2 from 1.2.0 to 1.2.1
Message-ID:  <20080315104814.885AC116FA@mail.vx.sk>
Resent-Message-ID: <200803151050.m2FAo1kG020961@freefall.freebsd.org>

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

>Number:         121728
>Category:       ports
>Synopsis:       [UPDATE] mod_geoip2 from 1.2.0 to 1.2.1
>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 Mar 15 10:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 7.0-RELEASE i386 and amd64
>Organization:
>Environment:
System: FreeBSD 7.0-RELEASE i386 and amd64
>Description:
- update to 1.2.1
- depend on GeoIP 1.4.4
- use bsd.apache.mk infrastructure (build, install, plist)
- support apache 2.0 and above
- removed files: pkg-plist
>How-To-Repeat:
>Fix:
Index: ports/www/mod_geoip2/Makefile
===================================================================
RCS file: /home/pcvs/ports/www/mod_geoip2/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- ports/www/mod_geoip2/Makefile	5 Jan 2008 14:37:44 -0000	1.5
+++ ports/www/mod_geoip2/Makefile	15 Mar 2008 10:38:40 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mod_geoip2
-PORTVERSION=	1.2.0
+PORTVERSION=	1.2.1
 CATEGORIES=	www geography
 MASTER_SITES=	http://www.maxmind.com/download/geoip/api/mod_geoip2/
 DISTNAME=	${PORTNAME}_${PORTVERSION}
@@ -14,23 +14,20 @@
 MAINTAINER=	jau@iki.fi
 COMMENT=	An Apache module that provides the country code of the client's IP
 
-BUILD_DEPENDS=	GeoIP>=1.4.3:${PORTSDIR}/net/GeoIP
-RUN_DEPENDS=	GeoIP>=1.4.3:${PORTSDIR}/net/GeoIP
+BUILD_DEPENDS=	GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
+RUN_DEPENDS=	GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
 
 CONFLICTS=	mod_geoip-[0-9]*
 
-USE_APACHE=	yes
-WITH_APACHE2=	yes
+USE_APACHE=	2.0+
+MODULENAME=	mod_geoip
+AP_FAST_BUILD=	yes
+AP_GENPLIST=	yes
 
-SUB_FILES=	pkg-message
+SUB_FILES+=	pkg-message
 PORTDOCS=	Changes INSTALL README README.php
 
-do-build:
-	@cd ${WRKSRC} && \
-	${APXS} -c -L${LOCALBASE}/lib -I${LOCALBASE}/include -lGeoIP mod_geoip.c
-
-do-install:
-	${APXS} -i -A -n geoip ${WRKSRC}/.libs/mod_geoip.so
+post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
Index: ports/www/mod_geoip2/distinfo
===================================================================
RCS file: /home/pcvs/ports/www/mod_geoip2/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- ports/www/mod_geoip2/distinfo	5 Jan 2008 14:37:44 -0000	1.4
+++ ports/www/mod_geoip2/distinfo	15 Mar 2008 10:38:40 -0000
@@ -1,3 +1,3 @@
-MD5 (mod_geoip2_1.2.0.tar.gz) = 890f514e817e15d148c7becf8da9781b
-SHA256 (mod_geoip2_1.2.0.tar.gz) = a7b2ba74f9be65dbe9a7a88298e609828610723e176512c2ed87e47e87e5b43b
-SIZE (mod_geoip2_1.2.0.tar.gz) = 8543
+MD5 (mod_geoip2_1.2.1.tar.gz) = b4638570d9d38b9e720cf993c90d5c62
+SHA256 (mod_geoip2_1.2.1.tar.gz) = 55292d29dbcb9eaf5b279b89186a52971f8b569154675203df676f7b8d1b8cab
+SIZE (mod_geoip2_1.2.1.tar.gz) = 10258
Index: ports/www/mod_geoip2/pkg-plist
===================================================================
RCS file: ports/www/mod_geoip2/pkg-plist
diff -N ports/www/mod_geoip2/pkg-plist
--- ports/www/mod_geoip2/pkg-plist	2 Oct 2005 15:47:43 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,3 +0,0 @@
-libexec/apache2/mod_geoip.so
-@exec %D/sbin/apxs -e -A -n geoip %D/%F
-@unexec %D/sbin/apxs -e -A -n geoip %D/%F
>Release-Note:
>Audit-Trail:
>Unformatted:



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