New Apache module. Original ebuild by Lance Albertson. bug 304675
authorJeremy Olexa <darkside@gentoo.org>
Fri, 14 Oct 2011 17:08:16 +0000 (17:08 +0000)
committerJeremy Olexa <darkside@gentoo.org>
Fri, 14 Oct 2011 17:08:16 +0000 (17:08 +0000)
Package-Manager: portage-2.1.10.22/cvs/Linux x86_64

www-apache/mod_geoip2/ChangeLog [new file with mode: 0644]
www-apache/mod_geoip2/Manifest [new file with mode: 0644]
www-apache/mod_geoip2/files/30_mod_geoip2.conf [new file with mode: 0644]
www-apache/mod_geoip2/metadata.xml [new file with mode: 0644]
www-apache/mod_geoip2/mod_geoip2-1.2.7.ebuild [new file with mode: 0644]
www-apache/mod_musicindex/Manifest

diff --git a/www-apache/mod_geoip2/ChangeLog b/www-apache/mod_geoip2/ChangeLog
new file mode 100644 (file)
index 0000000..4c55963
--- /dev/null
@@ -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 (file)
index 0000000..8916ec9
--- /dev/null
@@ -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 (file)
index 0000000..41206ad
--- /dev/null
@@ -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 (file)
index 0000000..64a719e
--- /dev/null
@@ -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 (file)
index 0000000..60a386b
--- /dev/null
@@ -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
index 707c4fb130683d341176d35bdbb55b346a6902c0..5e7655bbe7d528af8aab6dd63545720b6a2f582b 100644 (file)
@@ -1,5 +1,7 @@
 AUX 50_mod_musicindex.conf 118 RMD160 9fc78e55b8683204d69fb6a44e5bca09cd60c6e2 SHA1 4aadebdb57feeb916c734b58015c404e8874112c SHA256 43e6495e358adf6cf64e77e01012a13c4cdb8ae83d6f5754e58e38ab09f2ed18
 DIST mod_musicindex-1.2.5.tar.gz 473072 RMD160 e37f21fe431c6b7249f418939111b47a31356003 SHA1 b29b984284f63267550dd1e11ed991ac0d0f6b4c SHA256 8bec0b61e4ad804614aa33de41848fe82e24197fb49a2c10fcc88687847d2aee
+DIST mod_musicindex-1.3.5.tar.gz 488090 RMD160 6fbc6514a8a73781fa37e1c3301b26e39cb00f52 SHA1 9641122a2df41aaa940e006534b4af7845e92cb1 SHA256 e9178f8dd6481f2614a17ba1cdf55ec55636cd0802866d236b4230ee801d67ca
 EBUILD mod_musicindex-1.2.5.ebuild 1112 RMD160 14d2b695b3887be1f88a4ab66ead1bc9dc7e41d9 SHA1 4ca6660bd3236150143c2d5133c9524cb7652f1a SHA256 264dab0ec750eac1e1ddaf93cd6f4a8b0ba98f3e1d59d948d0a8f5bc0517660a
-MISC ChangeLog 569 RMD160 a3e8f10763949101f8338f4cf7af18bd9e6a25a5 SHA1 4d861ebba8c13425f830ec10e1d76583570e017a SHA256 1b437e517ebcebef786bb9d796d158d73b3cf4969d30af249db99072f6f45fe7
+EBUILD mod_musicindex-1.3.5.ebuild 1130 RMD160 e3767386ea827df017a013ab6108abe849e98aa2 SHA1 45d10a5442adbc9d61b14bef53f60cda51dad026 SHA256 3ff4bf82bc24a441f3104d2b0d8fc888d90740135ae8a3162ceba413acaabd87
+MISC ChangeLog 710 RMD160 97774b0901d09b8201947a9e56b57e90fd7e6fd4 SHA1 f1f82099b63dc670bb94b009a8ebdab7623ed60a SHA256 05544e9441563687c28c1ebc0d21a851c51ea596d2487451ac7748faf157332f
 MISC metadata.xml 160 RMD160 a0f6e133e170b7477018d8584c20e8723f6914fa SHA1 a3b9b520ec43ee1f9b1c7b5c5b8745bf84454c03 SHA256 3c312146c4cb5b912d6f56292242ce3a85c629ca98ee7ef0a84ca575708b44fe