diff options
author | mspo <mspo@pkgsrc.org> | 2011-05-20 00:07:25 +0000 |
---|---|---|
committer | mspo <mspo@pkgsrc.org> | 2011-05-20 00:07:25 +0000 |
commit | 192a1e8203a28b9b59d174d7ad324d56bad8b82d (patch) | |
tree | ef07df1bd2c70dcbb6ec32633f18d95631cec710 /www/ap-geoip2 | |
parent | 105da531b5fcf4a7f94b10e456a3827d2a5dd498 (diff) | |
download | pkgsrc-192a1e8203a28b9b59d174d7ad324d56bad8b82d.tar.gz |
reaming ap-mod_geoip2 to ap-geoip2
Apache module to look up the IP address of the client end user in
the MaxMind geoip database
Diffstat (limited to 'www/ap-geoip2')
-rw-r--r-- | www/ap-geoip2/DESCR | 2 | ||||
-rw-r--r-- | www/ap-geoip2/Makefile | 29 | ||||
-rw-r--r-- | www/ap-geoip2/PLIST | 2 | ||||
-rw-r--r-- | www/ap-geoip2/distinfo | 5 |
4 files changed, 38 insertions, 0 deletions
diff --git a/www/ap-geoip2/DESCR b/www/ap-geoip2/DESCR new file mode 100644 index 00000000000..81903948263 --- /dev/null +++ b/www/ap-geoip2/DESCR @@ -0,0 +1,2 @@ +Apache module to look up the IP address of the client end user in +the MaxMind geoip database diff --git a/www/ap-geoip2/Makefile b/www/ap-geoip2/Makefile new file mode 100644 index 00000000000..57879e3bc17 --- /dev/null +++ b/www/ap-geoip2/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/05/20 00:07:25 mspo Exp $ +# + +DISTNAME= mod_geoip2_1.2.5 +PKGNAME= ${DISTNAME:S/mod_/${APACHE_PKG_PREFIX}-/} +CATEGORIES= www +MASTER_SITES= http://geolite.maxmind.com/download/geoip/api/mod_geoip2/ + +MAINTAINER= msporleder@gmail.com +HOMEPAGE= http://www.maxmind.com/app/mod_geoip +COMMENT= Apache module to interact with the MaxMind geoip database +LICENSE= apache-1.1 + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../mk/apache.mk" +APACHE_MODULE= yes +APACHE_MODULE_NAME= mod_geoip.so +PKG_APACHE_ACCEPTED= apache2 apache22 +NO_CONFIGURE= yes +CPPFLAGS+= -I${DESTDIR}/include +LDFLAGS+= -L${DESTDIR}/lib -lGeoIP + +pre-install: + cp ${WRKDIR}/${DISTNAME}/.libs/mod_geoip.so ${WRKDIR}/${DISTNAME}/ + +.include "../../www/apache/module.mk" +.include "../../net/GeoIP/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/ap-geoip2/PLIST b/www/ap-geoip2/PLIST new file mode 100644 index 00000000000..e41a18af668 --- /dev/null +++ b/www/ap-geoip2/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/20 00:07:25 mspo Exp $ +lib/httpd/mod_geoip.so diff --git a/www/ap-geoip2/distinfo b/www/ap-geoip2/distinfo new file mode 100644 index 00000000000..9cb6b0156a9 --- /dev/null +++ b/www/ap-geoip2/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/05/20 00:07:25 mspo Exp $ + +SHA1 (mod_geoip2_1.2.5.tar.gz) = aee05907479bbb6c7923287d6ddb6e8a0e169b46 +RMD160 (mod_geoip2_1.2.5.tar.gz) = e81511ed3a2aa20897a4071d508a01194f97c4aa +Size (mod_geoip2_1.2.5.tar.gz) = 11602 bytes |