summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2011-10-12 22:09:17 +0000
committerJeremy Olexa <darkside@gentoo.org>2011-10-12 22:09:17 +0000
commita7f2ae5f9b42264d4f94a3cbc16ba778468a24da (patch)
treee9fc201e38f1fcc8051aad3709b1820bc1a58029 /www-apache/mod_geoip2
parent[dev-util/catalyst] sync with gx86, style changes (diff)
downloaddarkside-a7f2ae5f9b42264d4f94a3cbc16ba778468a24da.tar.gz
darkside-a7f2ae5f9b42264d4f94a3cbc16ba778468a24da.tar.bz2
darkside-a7f2ae5f9b42264d4f94a3cbc16ba778468a24da.zip
cp from ramereth-overlay
Diffstat (limited to 'www-apache/mod_geoip2')
-rw-r--r--www-apache/mod_geoip2/ChangeLog7
-rw-r--r--www-apache/mod_geoip2/Manifest4
-rw-r--r--www-apache/mod_geoip2/files/30_mod_geoip2.conf5
-rw-r--r--www-apache/mod_geoip2/mod_geoip2-1.2.5.ebuild31
4 files changed, 47 insertions, 0 deletions
diff --git a/www-apache/mod_geoip2/ChangeLog b/www-apache/mod_geoip2/ChangeLog
new file mode 100644
index 0000000..22f7ee3
--- /dev/null
+++ b/www-apache/mod_geoip2/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for www-apache/mod_geoip2
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 15 May 2009; Lance Albertson <ramereth@gentoo.org> ChangeLog:
+ New ebuild
+
diff --git a/www-apache/mod_geoip2/Manifest b/www-apache/mod_geoip2/Manifest
new file mode 100644
index 0000000..a3c4ed3
--- /dev/null
+++ b/www-apache/mod_geoip2/Manifest
@@ -0,0 +1,4 @@
+AUX 30_mod_geoip2.conf 103 RMD160 b73d1b4463383dab3bce8bbe1e4e4858217dcf15 SHA1 fa7bfc5757b9021c835d35ad6ead22af8810e2c0 SHA256 d0932c23b2827d1600df6ddaf9729f36913497e47a7ba4ae545f910a07d89735
+DIST mod_geoip2_1.2.5.tar.gz 11602 RMD160 e81511ed3a2aa20897a4071d508a01194f97c4aa SHA1 aee05907479bbb6c7923287d6ddb6e8a0e169b46 SHA256 58dfd7aefb7f74e44254481ba55f9c25898e8270a87d18563e71c85d67a6e351
+EBUILD mod_geoip2-1.2.5.ebuild 756 RMD160 ba43a43d7e8f7b5e8644bf63c072f0002e7b60e8 SHA1 770b49cd8204cad5349b1b14d3e39a69c370e1d7 SHA256 e9944e3e738ac46f67a38bf0c448062576d3a1a25dbedd765109bd34453c89aa
+MISC ChangeLog 200 RMD160 22b96fb002cb7cc5f69b937a14d5a6f85fcc074d SHA1 7a4e17a1c0c8ef5683140ed8b1cfb4a62e872355 SHA256 067f0292e771b5f1ae1b3d57cd94c3bc2973ef6747a6485336ab45e483281c69
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 0000000..41206ad
--- /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/mod_geoip2-1.2.5.ebuild b/www-apache/mod_geoip2/mod_geoip2-1.2.5.ebuild
new file mode 100644
index 0000000..c328b05
--- /dev/null
+++ b/www-apache/mod_geoip2/mod_geoip2-1.2.5.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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"
+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