pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ap-mod_geoip2 Apache module to look up the IP addr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/14b6141c3431
branches:  trunk
changeset: 588755:14b6141c3431
user:      mspo <mspo%pkgsrc.org@localhost>
date:      Wed May 18 01:27:52 2011 +0000

description:
Apache module to look up the IP address of the client end user in
the MaxMind geoip database

diffstat:

 www/ap-mod_geoip2/DESCR    |   2 ++
 www/ap-mod_geoip2/Makefile |  29 +++++++++++++++++++++++++++++
 www/ap-mod_geoip2/PLIST    |   2 ++
 www/ap-mod_geoip2/distinfo |   5 +++++
 4 files changed, 38 insertions(+), 0 deletions(-)

diffs (54 lines):

diff -r 86b2e2680cba -r 14b6141c3431 www/ap-mod_geoip2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap-mod_geoip2/DESCR   Wed May 18 01:27:52 2011 +0000
@@ -0,0 +1,2 @@
+Apache module to look up the IP address of the client end user in
+the MaxMind geoip database
diff -r 86b2e2680cba -r 14b6141c3431 www/ap-mod_geoip2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap-mod_geoip2/Makefile        Wed May 18 01:27:52 2011 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/05/18 01:27:52 mspo Exp $
+#
+
+DISTNAME=      mod_geoip2_1.2.5
+PKGNAME=       mod_geoip2-1.2.5
+CATEGORIES=    www
+MASTER_SITES=  http://geolite.maxmind.com/download/geoip/api/mod_geoip2/
+
+MAINTAINER=    msporleder%gmail.com@localhost
+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 -r 86b2e2680cba -r 14b6141c3431 www/ap-mod_geoip2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap-mod_geoip2/PLIST   Wed May 18 01:27:52 2011 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/18 01:27:52 mspo Exp $
+lib/httpd/mod_geoip.so
diff -r 86b2e2680cba -r 14b6141c3431 www/ap-mod_geoip2/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap-mod_geoip2/distinfo        Wed May 18 01:27:52 2011 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/05/18 01:27:52 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



Home | Main Index | Thread Index | Old Index