summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2011-10-14 17:08:16 +0000
committerJeremy Olexa <darkside@gentoo.org>2011-10-14 17:08:16 +0000
commit2f95b87f43256c8eb0b42a1f90fdab70c030d1d4 (patch)
treefc6cdde4bf121864a27ff9c55f19c17dbefde36c /www-apache/mod_geoip2
parentVersion bump (diff)
downloadhistorical-2f95b87f43256c8eb0b42a1f90fdab70c030d1d4.tar.gz
historical-2f95b87f43256c8eb0b42a1f90fdab70c030d1d4.tar.bz2
historical-2f95b87f43256c8eb0b42a1f90fdab70c030d1d4.zip
New Apache module. Original ebuild by Lance Albertson. bug 304675
Package-Manager: portage-2.1.10.22/cvs/Linux x86_64
Diffstat (limited to 'www-apache/mod_geoip2')
-rw-r--r--www-apache/mod_geoip2/ChangeLog10
-rw-r--r--www-apache/mod_geoip2/Manifest5
-rw-r--r--www-apache/mod_geoip2/files/30_mod_geoip2.conf5
-rw-r--r--www-apache/mod_geoip2/metadata.xml5
-rw-r--r--www-apache/mod_geoip2/mod_geoip2-1.2.7.ebuild31
5 files changed, 56 insertions, 0 deletions
diff --git a/www-apache/mod_geoip2/ChangeLog b/www-apache/mod_geoip2/ChangeLog
new file mode 100644
index 000000000000..4c55963a70e5
--- /dev/null
+++ b/www-apache/mod_geoip2/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-apache/mod_geoip2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_geoip2/ChangeLog,v 1.1 2011/10/14 17:08:16 darkside Exp $
+
+*mod_geoip2-1.2.7 (14 Oct 2011)
+
+ 14 Oct 2011; Jeremy Olexa <darkside@gentoo.org> +files/30_mod_geoip2.conf,
+ +mod_geoip2-1.2.7.ebuild, +metadata.xml:
+ New Apache module. Original ebuild by Lance Albertson. bug 304675
+
diff --git a/www-apache/mod_geoip2/Manifest b/www-apache/mod_geoip2/Manifest
new file mode 100644
index 000000000000..8916ec9672d4
--- /dev/null
+++ b/www-apache/mod_geoip2/Manifest
@@ -0,0 +1,5 @@
+AUX 30_mod_geoip2.conf 103 RMD160 b73d1b4463383dab3bce8bbe1e4e4858217dcf15 SHA1 fa7bfc5757b9021c835d35ad6ead22af8810e2c0 SHA256 d0932c23b2827d1600df6ddaf9729f36913497e47a7ba4ae545f910a07d89735
+DIST mod_geoip2_1.2.7.tar.gz 11983 RMD160 53892855810bd6a6578a3ae82d6a3acaf13173d3 SHA1 0b23848d459415d979171efbb635e67568ae2816 SHA256 76e0512b282e6e2799f5d5616b9e26f448bee263f495ba31d1f72e3be9d0d5b6
+EBUILD mod_geoip2-1.2.7.ebuild 873 RMD160 428662a44918361c4a9ae5ae4e5d82259bd76bfa SHA1 60f79aaa394d591f30e14a5394f1b98ebbd817d1 SHA256 e49d2bdfb736935aafa6be6ea0e17129a98f5c4eec696954e00efc79fe7f103f
+MISC ChangeLog 439 RMD160 e286a900161f99079eec1575173893762b3eb13e SHA1 1a79e7bcbece2809872eb597195a35853439b0bf SHA256 7c5e309d00f214384e7538e99a983366abd37072cde502c3c3628f69da67fed5
+MISC metadata.xml 160 RMD160 a0f6e133e170b7477018d8584c20e8723f6914fa SHA1 a3b9b520ec43ee1f9b1c7b5c5b8745bf84454c03 SHA256 3c312146c4cb5b912d6f56292242ce3a85c629ca98ee7ef0a84ca575708b44fe
diff --git a/www-apache/mod_geoip2/files/30_mod_geoip2.conf b/www-apache/mod_geoip2/files/30_mod_geoip2.conf
new file mode 100644
index 000000000000..41206ad7ba0a
--- /dev/null
+++ b/www-apache/mod_geoip2/files/30_mod_geoip2.conf
@@ -0,0 +1,5 @@
+<IfDefine GEOIP>
+LoadModule geoip_module modules/mod_geoip.so
+</IfDefine>
+
+# vim: ts=4 filetype=apache
diff --git a/www-apache/mod_geoip2/metadata.xml b/www-apache/mod_geoip2/metadata.xml
new file mode 100644
index 000000000000..64a719ea1bfd
--- /dev/null
+++ b/www-apache/mod_geoip2/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>apache</herd>
+</pkgmetadata>
diff --git a/www-apache/mod_geoip2/mod_geoip2-1.2.7.ebuild b/www-apache/mod_geoip2/mod_geoip2-1.2.7.ebuild
new file mode 100644
index 000000000000..60a386b76524
--- /dev/null
+++ b/www-apache/mod_geoip2/mod_geoip2-1.2.7.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_geoip2/mod_geoip2-1.2.7.ebuild,v 1.1 2011/10/14 17:08:16 darkside Exp $
+
+inherit apache-module
+
+MY_P="${PN}_${PV}"
+MY_PN="${PN/2}"
+
+DESCRIPTION="Apache 2.x module for finding the country and city
+that a web request originated from"
+HOMEPAGE="http://www.maxmind.com/app/mod_geoip"
+SRC_URI="http://geolite.maxmind.com/download/geoip/api/mod_geoip2/${MY_P}.tar.gz"
+LICENSE="Apache-1.1"
+
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+SLOT="0"
+
+DEPEND=">=dev-libs/geoip-1.4.8"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+# See apache-module.eclass for more information.
+APACHE2_MOD_CONF="30_${PN}"
+APACHE2_MOD_FILE="${S}/.libs/${MY_PN}.so"
+APXS2_ARGS="-l GeoIP -c ${MY_PN}.c"
+DOCFILES="INSTALL README README.php Changes"
+
+need_apache2