diff options
author | Jeroen Roovers <jer@gentoo.org> | 2014-11-02 20:19:45 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2014-11-02 20:19:45 +0000 |
commit | 43045106bbb7a3c68499ee486d08e9fd97e4b99b (patch) | |
tree | 2ce9612204b121c5bd93b626b4e57a5eb7079af1 /dev-libs/geoip | |
parent | Old. (diff) | |
download | historical-43045106bbb7a3c68499ee486d08e9fd97e4b99b.tar.gz historical-43045106bbb7a3c68499ee486d08e9fd97e4b99b.tar.bz2 historical-43045106bbb7a3c68499ee486d08e9fd97e4b99b.zip |
Old.
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'dev-libs/geoip')
-rw-r--r-- | dev-libs/geoip/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/geoip/Manifest | 30 | ||||
-rwxr-xr-x | dev-libs/geoip/files/geoipupdate-r2.sh | 33 | ||||
-rwxr-xr-x | dev-libs/geoip/files/geoipupdate-r3.sh | 36 | ||||
-rw-r--r-- | dev-libs/geoip/geoip-1.6.0-r1.ebuild | 66 | ||||
-rw-r--r-- | dev-libs/geoip/geoip-1.6.0-r3.ebuild | 53 | ||||
-rw-r--r-- | dev-libs/geoip/metadata.xml | 3 |
7 files changed, 11 insertions, 217 deletions
diff --git a/dev-libs/geoip/ChangeLog b/dev-libs/geoip/ChangeLog index 79c2e97de71e..2a668732a1d1 100644 --- a/dev-libs/geoip/ChangeLog +++ b/dev-libs/geoip/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/geoip # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v 1.233 2014/11/02 09:02:22 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v 1.234 2014/11/02 20:19:43 jer Exp $ + + 02 Nov 2014; Jeroen Roovers <jer@gentoo.org> -geoip-1.6.0-r1.ebuild, + -geoip-1.6.0-r3.ebuild, -files/geoipupdate-r2.sh, -files/geoipupdate-r3.sh, + metadata.xml: + Old. 02 Nov 2014; Agostino Sarubbo <ago@gentoo.org> geoip-1.6.2.ebuild: Stable for alpha, wrt bug #523034 diff --git a/dev-libs/geoip/Manifest b/dev-libs/geoip/Manifest index fb60aa2b1716..919cfb0907d2 100644 --- a/dev-libs/geoip/Manifest +++ b/dev-libs/geoip/Manifest @@ -1,37 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -AUX geoipupdate-r2.sh 853 SHA256 0db50d206cffa000c42f2f22fce02e990f5383ac1ca00faafc81e6e24f49b8d7 SHA512 9af29239e5e439e98651ea4640a06bf88c1968dd3cef58e36fdf197b99da45404dd571514234d0a4d708719e37473fc582b6a59c1559659ed47017061d578303 WHIRLPOOL 46451c31cf0d1c170dbbd4ad9660639da851ede7c9757a28769f4314fd63ea350118a29656b14b6d14b587d703c8eeb7dc2a2a4119cc1a5e5f7bebc33e0c6c43 -AUX geoipupdate-r3.sh 941 SHA256 34ea9c1f55bf71507e96eba03b8a9ce436894cb446a0d726875bccd8789c4709 SHA512 c828ac656aa6d078fda68dcc7edf02d285a22641c677503d3d88be6abe9b8d69ade5cd0ae4cbffd5798b4a6bab04fe4d8995c5ce34660858af4b38e8521d51e9 WHIRLPOOL be81155f8be7d3e30a86830fbbf0b4271cfd49ce890505c5d082a178c508902b9b910fc5d4593a76acc5d77f0fcdcdf94f21006f32bebef8dbaa157794415f47 AUX geoipupdate-r5.sh 1084 SHA256 4c2b032e280b614ff028e930c9612c27bf4281e189c38e572eecfe36fb5e4cd8 SHA512 504ddf341f93a7ddf97dba76b59ddfd89e867d8d0e38afde2358fc85b281423c50f40e3c9e4430848ad3ff1c0105747a807518b92723984b11e9c30b81b60c92 WHIRLPOOL be02d1eca58c0b097a4bce893da04933fcc19d7e96f7f9d8ef9b586bb0467f75ab2750392be9b264264d1a3255a6469ca2f679c38ad934ebb95172012cefbf22 -DIST GeoIP.dat.gz 393946 SHA256 fc7f90a8236b958d3fdbcc333f657651b1680a3083fc398828c88b67500241a0 SHA512 00bc54ad6ec92f3fe963041dc0d714649b9df1a43fee217a56cebbb9cccb289d49510bfee98315d31003c75e7aad9603e05ce089776b699eb56fafebbda4e4ae WHIRLPOOL 19915f5d2ede5bcb4160a5a39ea48dbb8ed400b1983bbfef9fe43ee5007d87f3ba5b18a1fa6438fc183f5855312184cbb176676dbd6f5462d6531fba4ecdd1bd -DIST GeoIPASNum.dat.gz 1966360 SHA256 499cee393bb524a12feafeb78f28cb076e43b793f3c9d2d3928d7f1afa706284 SHA512 7f5d86dedf175134d975fe28d60f1946727b16d983de3c9cabe4e86884f1ad5fdaf77a4e39fa39804f08f573dbc2d8923db6cc21268e6143fb3d3f34a32696f5 WHIRLPOOL fd0394d9ea35a3c4135fc2b60ca4d86d8aef3ed03299c251e493fbe2a3a15b12338c133a1d919d23b9fec5addd6a260dd6c3bbc0b1ea7aa614caa0d457b1cdf0 -DIST GeoIPv6.dat.gz 613971 SHA256 ba76c683d525a7119c3e588ea0ed97ec0dbb52c93d506a355d67bc6a88caef52 SHA512 7c63426caee53c851c141b52175156fca916bf7a075093f4deb2160471fdbdd305821760aba354f5f44a6154e8739fbe0e95442d555ba9794a331acceb64e124 WHIRLPOOL c00cb796c2555c7710f42ea0b0b5fe37b0bad1d63da167e2f555366519a126f737d3361ecec4c8a351bc64f1dbbe1d869a97f0bb5a542161c2ecf42184119eb4 -DIST GeoLiteCity.dat.gz 11312286 SHA256 998b3a90122807b003c21d714b1114d6c4f882b44efd2bad3f8b74f5a0c9afcb SHA512 9ef440e9ab8b383346b60f78b475621f054a9a8897cebb699d63b6b204e2662217a990eb37abb440c6b802363d0fa4d98ddd2d729472f1af7af51e04b0762907 WHIRLPOOL 15052c95d8b758d7e60bfb3dd5f76390b55dd4b6d24000b09509371e9cdc85dcb4fa9979a6644bc9bd1c724097b5fc0a3087e7ad126ceae0d962f225fee1f4b6 -DIST GeoLiteCityv6.dat.gz 11538424 SHA256 520ac5834cc1b060ee071f55f280348098bd0315a8607cd58fabd954e2931cd6 SHA512 c40f5781c69201c9a0cda9b6fbd80ccc234be21158a754501303df153da1ac82a4d562d0138076121584928ec63be69fac24ebc100c66d6e16a92879bec058a1 WHIRLPOOL c165a26a29a8b171bc2b9e005587e6cfc14849fd092af8c24c64d685115ba98699c3796abbd2f69b0c5a31b9165f03e699dad0b986b3103461978d2b9ee10b4a -DIST geoip-1.6.0.tar.gz 160178 SHA256 61bed5907e9544d5b1071ea962a55154dd0827c04bd8a5814fb5863897c9a024 SHA512 b8cb2fff83ebf5a96981aa91d8d1d54e421ca290116ec4ecbf799c67c77524a245316db67fa538ae17a4e123338a1414e85c641ee156fb385887647c31a1a9e9 WHIRLPOOL 3689ffd74fec7e59afbe5db470cb15457b3dfd9c36a93577e4126425fcd64cdec59c51fa09b30e14cea31994f1f372c41c5d1bae45b9356448a4cc280220cad1 DIST geoip-1.6.2.tar.gz 162932 SHA256 72562fc10792eea6cfa662d93ef40c6541b73619df8057a6e411144e671a9174 SHA512 4795584dedfa84f46783e5c2beb414c33159e0f181acafef455e56359ad66e5693caadac8c93cff92279fadce23deb7ee5f6413fceafe49efb83de5e01755a67 WHIRLPOOL c8565d32e3434be72de241b57f0f99ad0145d88f582b36588b741cf46e30a005c09347a5c67c92373ed6f77af7009267ebe1be8e64c71c5e9102edaa4c164c5f DIST geoip-1.6.3.tar.gz 164218 SHA256 17d39b73432a3e0792128a440760bf3eba92e17f7514d2aee7fd311843f573f4 SHA512 40ce99b8bda44720f34d42f677fcd29f4e54ebb76d8034fdf972a3a2ca04fc03ad0bb6c70c127dad5c1d61916edd17dd2343fc3038d3dfc3a683046f18115412 WHIRLPOOL 35d452a536c85bf3c7e662743eb4c0ed02f68bee5f9ec62db5d40d94a846ec8e0d8ee92058ec078d8d10b2758488f3589f68a22bec0a15c40a44a9efeaa1312d -EBUILD geoip-1.6.0-r1.ebuild 1880 SHA256 62611d4332b912ac52fb1309670a8602682f09bcdec74887e40eb446a07363fa SHA512 ac2c9ae60e778a09164a1cf353c2473b6b9bd73480e2c055a2e07b80081cbd414dd406ace05c5da081534d685a2a1d9503b15fe2a1b5ad36fe267d2be2a1afaa WHIRLPOOL eabee9c6baab1ba51f3b3183651e4c146c63c0c837e4bbbfca15a89080a05d8e3a22dd215a48888b52366a5a820cea8d0a1bd7d4e20bb5ce52610f1ff1868284 -EBUILD geoip-1.6.0-r3.ebuild 1375 SHA256 851bbd80a46afce3e44f5df9b96c72237d86fc710b4a865cb229a5ae5c582d29 SHA512 8a36258a480042a6c6e2bfef7e6f2b7164d609503a17260c19c4a777294df6b0552e170583f62af412fc36e40f1fb871ad2438ddb624ea25212dc43d41bbc0fb WHIRLPOOL 0bc71e22c1272ac4766778349920991c5cc6e44e257b3b0ec7a03a8a51a7d9a4e17ec9e32e9ff94ce782c71f2303287b5b2ff83dc93e5bf49b7b18b076e63d61 EBUILD geoip-1.6.2.ebuild 1492 SHA256 73f88ec3439cdb9b8042485466b4df1b776614c37122f554a32fcb2bea32d92c SHA512 123d150a22a37e4ecf60df5ae17fec6be2b3ef4af73742ab39838188a47262d2a6444f45359284514ef645256296e309df53a15f4aff427659f05c99b47825a6 WHIRLPOOL 70851e5ef4430e2bf4ae952946ee38411880156ab3d9e922ea6a5719d181cd0586f997b9b7ff2cd15803c1b4cfa0a8c65555e27a09f223518beb6725b8b5cd05 EBUILD geoip-1.6.3.ebuild 1500 SHA256 b2ca6db02966809fa5c2e01fd9d4c1a313b44452cdc1318849177c8959f18754 SHA512 e2a1f3cf34ad2c4caf938e3db047db2e6101816ce62ca5dae480104f072e40caad731cdf1ceca55b367cfba68a9c9f3ff11093f1320e5e8559e49122d86a6f98 WHIRLPOOL a832d9d264fb6cfd948966e14314b223783c9a27f57e452f543a150ec447da3cc206239aa84430d950f815ca3d3abd817a6c2545c98548a84ecfceefed44e1fc -MISC ChangeLog 28610 SHA256 6dcc3284fedf720b26b415729957c3dea582f610e5610de9bd7c3b4a4aa8bd3e SHA512 4f614c47d1f232f66eee0c869554f67a932884594b78da17da3e532566d71d97b1c2ade0d63c6e6ccc9fa9aed52872053a60ca2cb7db582c4db9a11f2834b7a2 WHIRLPOOL 70694e4e7c58ec786ba44aa6d6bcbfc682a94ea556d96a041b19e0e28cf75633ad3df03792b9c5f68ac6157a27fad7cbe3977de191101692caa8848781f13afc -MISC metadata.xml 241 SHA256 3d42196a34024a717e8521954e6be11f030735fe0fb86c7827cf047b8c7802e1 SHA512 88ff9c4b327d2972284a4354a38145fc154830c5ffb86912f3149214944ad72b930b3362da04f3fd1fc376e46a38c2d93fe3a67e5f3ed72b0a15d2692d208d49 WHIRLPOOL d239cc85487a236466ee0cf2cfbc35a1b19571fbccd598ee0f558f3068326f6b9a88bfc8942b769c1f93a6c47a83abd4f687768ac0e9bfae74a4023491d8f5b4 +MISC ChangeLog 28783 SHA256 925cfb14ef2c88d30a7a9646ebde28ee22065bbbf5939911266a3976e41088ba SHA512 932c677eb8887c80ca569e861432a7a3b7fb1d9886e494d8278bd49a0bba2636689b4e4ac28659eb57d9652073bcdc1205c1d1bd05bafd9c51c2ec0286916ed7 WHIRLPOOL efaf73b275dc58870d3a92508ac7871d258d1e8af21c068b5f66995e6f3427a9aa575c3085cf30c804b8b428b12b357beb41182657a521ea55af6fbc60840a2f +MISC metadata.xml 159 SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6 SHA512 2c104d2a804da0a38770b6f1ec26cd5b0a49e30392177d5794734a3f4129e82fd0971e5a8a1e48913bfaf1bab57e7bac1fe5ce4f5c618ce057aa5aaf9e59113b WHIRLPOOL 044dec64f8899582332d7fbd7612d2a7c5c7234c44bb9fc51a56f7d6400cd3066a154c3c49dd3f4b468f11e029aa24ff0097ab1387b9f322d57f1d9876afd601 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJUVfMfAAoJELp701BxlEWfspgP/A58Q0y89NaZWHmZyzB8FS6q -h5n1TmITIOq9Asb+yAh7b/OvvnPzCYxbn/IJ4Ervb5DSup9j4ZzekgjM+EdrZ0RO -RnADzsW3NNrp8zAt3zsmhZk2t9L/c+6drVFphZNF4JHgXCSe8eW0TaBGLAvIV4jG -TyVX/0OBeMyi0H8gU3AXdLaVzWysKbCLvN46fC7YldLmvCalFxAERl/kzGwX3rAr -HN4ZXOAviWsaqIFd18BEtmPtjWVPkzFvktv5Imbsr8KqFpPLM+a2QkyXMC/HUIJQ -ZzMoc2afLyS3P87CWrSlfhkXcK2yKFa6Ue49p4MGlIo6etf4822/+J5EKJjoY8bj -8guW8IJ/4ZBMnNPs4zXGxOmRXxDQFMuMu2sbO2F/s+LsfCVr1ZZEfwkCXvEaFoiQ -UAo4Q2DHkW/LLbLuKCEv8ERyhpIMMccBVcujcD+w761c7h5m2xwaVndOJzLH1bQV -85oWBlUc3dYuQEK8CiR+w1THcmauiv8e1gcoP6jrJddaBydVX9PfFvQqSnJNv/vg -e8Mm7etmDIwkeAC9g11xBq3ewziu/O43OlYqekMuXR/rGb7fHc+qHehdCI69lmFu -lpErRdWBtAHcPgAvvKru/6jASZighfzMXGI3+qUIYZNP35iAGuyyhgskDVY63AKU -9eiRBIF4PElQHQlouF/u -=aIDY +iEYEAREIAAYFAlRWkeEACgkQVWmRsqeSphMxCwCfUgiPnuYRq3phW1pRl6jXOFfH +4EcAn1wqpwFan5d/iCtDd2zhZXry04P3 +=KRF9 -----END PGP SIGNATURE----- diff --git a/dev-libs/geoip/files/geoipupdate-r2.sh b/dev-libs/geoip/files/geoipupdate-r2.sh deleted file mode 100755 index 5c6a55e10762..000000000000 --- a/dev-libs/geoip/files/geoipupdate-r2.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh - -GEOIP_MIRROR="https://geolite.maxmind.com/download/geoip/database" -GEOIPDIR=/usr/share/GeoIP -TMPDIR= - -DATABASES="GeoLiteCity GeoLiteCountry/GeoIP asnum/GeoIPASNum GeoIPv6 GeoLiteCityv6-beta/GeoLiteCityv6" - -if [ -d "${GEOIPDIR}" ]; then - cd $GEOIPDIR - if [ -n "${DATABASES}" ]; then - TMPDIR=$(mktemp -d geoipupdate.XXXXXXXXXX) - - echo "Updating GeoIP databases..." - - for db in $DATABASES; do - fname=$(basename $db) - - if [ -f "${GEOIPDIR}/${fname}.dat" ]; then - wget --no-verbose -t 3 -T 60 \ - "${GEOIP_MIRROR}/${db}.dat.gz" \ - -O "${TMPDIR}/${fname}.dat.gz" - if [ $? -eq 0 ]; then - gunzip -fdc "${TMPDIR}/${fname}.dat.gz" > "${TMPDIR}/${fname}.dat" - mv "${TMPDIR}/${fname}.dat" "${GEOIPDIR}/${fname}.dat" - chmod 0644 "${GEOIPDIR}/${fname}.dat" - fi - fi - done - [ -d "${TMPDIR}" ] && rm -rf $TMPDIR - fi -fi - diff --git a/dev-libs/geoip/files/geoipupdate-r3.sh b/dev-libs/geoip/files/geoipupdate-r3.sh deleted file mode 100755 index 951591616a30..000000000000 --- a/dev-libs/geoip/files/geoipupdate-r3.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -GEOIP_MIRROR="https://geolite.maxmind.com/download/geoip/database" -GEOIPDIR=@PREFIX@/usr/share/GeoIP -TMPDIR= - -DATABASES="GeoLiteCity GeoLiteCountry/GeoIP asnum/GeoIPASNum GeoIPv6 GeoLiteCityv6-beta/GeoLiteCityv6" - -if [ "${1}" = -f ] || [ "${1}" = --force ]; then - force=true -fi - -if [ -d "${GEOIPDIR}" ]; then - cd $GEOIPDIR - if [ -n "${DATABASES}" ]; then - TMPDIR=$(mktemp -d geoipupdate.XXXXXXXXXX) - - echo "Updating GeoIP databases..." - - for db in $DATABASES; do - fname=$(basename $db) - - if [ -f "${GEOIPDIR}/${fname}.dat" ] || [ ${force} ]; then - wget --no-verbose -t 3 -T 60 \ - "${GEOIP_MIRROR}/${db}.dat.gz" \ - -O "${TMPDIR}/${fname}.dat.gz" - if [ $? -eq 0 ]; then - gunzip -fdc "${TMPDIR}/${fname}.dat.gz" > "${TMPDIR}/${fname}.dat" - mv "${TMPDIR}/${fname}.dat" "${GEOIPDIR}/${fname}.dat" - chmod 0644 "${GEOIPDIR}/${fname}.dat" - fi - fi - done - [ -d "${TMPDIR}" ] && rm -rf $TMPDIR - fi -fi diff --git a/dev-libs/geoip/geoip-1.6.0-r1.ebuild b/dev-libs/geoip/geoip-1.6.0-r1.ebuild deleted file mode 100644 index d9b4d2701ad4..000000000000 --- a/dev-libs/geoip/geoip-1.6.0-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/geoip-1.6.0-r1.ebuild,v 1.18 2014/09/04 01:10:13 blueness Exp $ - -EAPI=5 -inherit autotools eutils - -GEOLITE_URI="https://geolite.maxmind.com/download/geoip/database/" - -DESCRIPTION="easily lookup countries by IP addresses, even when Reverse DNS entries don't exist" -HOMEPAGE="https://github.com/maxmind/geoip-api-c" -SRC_URI=" - https://github.com/maxmind/${PN}-api-c/archive/v${PV}.tar.gz -> ${P}.tar.gz - ${GEOLITE_URI}GeoLiteCountry/GeoIP.dat.gz - ${GEOLITE_URI}asnum/GeoIPASNum.dat.gz - city? ( ${GEOLITE_URI}GeoLiteCity.dat.gz ) - ipv6? ( - ${GEOLITE_URI}GeoIPv6.dat.gz - city? ( ${GEOLITE_URI}GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz ) - ) -" - -# GPL-2 for md5.c - part of libGeoIPUpdate, MaxMind for GeoLite Country db -LICENSE="LGPL-2.1 GPL-2 MaxMind2" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos" -IUSE="city ipv6 static-libs" - -DEPEND="sys-libs/zlib" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${PN}-api-c-${PV}" - -src_prepare() { - sed -e 's|yahoo.com|98.139.183.24|g' \ - -i test/country_test_name.txt test/region_test.txt || die - - # used in src_test() (bug #494650): - mkdir data/ || die - cp "${WORKDIR}"/GeoIP.dat data/ || die - - eautoreconf -} - -src_configure() { - econf $(use_enable static-libs static) -} - -src_install() { - default - - dodoc AUTHORS ChangeLog README* TODO - - prune_libtool_files - - insinto /usr/share/GeoIP - doins "${WORKDIR}"/{GeoIP,GeoIPASNum}.dat - use city && newins "${WORKDIR}"/GeoLiteCity.dat GeoIPCity.dat - - if use ipv6; then - doins "${WORKDIR}/GeoIPv6.dat" - use city && newins "${WORKDIR}"/GeoLiteCityv6.dat GeoIPCityv6.dat - fi - - newsbin "${FILESDIR}/geoipupdate-r2.sh" geoipupdate.sh -} diff --git a/dev-libs/geoip/geoip-1.6.0-r3.ebuild b/dev-libs/geoip/geoip-1.6.0-r3.ebuild deleted file mode 100644 index d86248d902bd..000000000000 --- a/dev-libs/geoip/geoip-1.6.0-r3.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/geoip-1.6.0-r3.ebuild,v 1.3 2014/09/04 01:10:13 blueness Exp $ - -EAPI=5 -inherit autotools eutils - -DESCRIPTION="easily lookup countries by IP addresses, even when Reverse DNS entries don't exist" -HOMEPAGE="https://github.com/maxmind/geoip-api-c" -SRC_URI=" - https://github.com/maxmind/${PN}-api-c/archive/v${PV}.tar.gz -> ${P}.tar.gz -" - -# GPL-2 for md5.c - part of libGeoIPUpdate, MaxMind for GeoLite Country db -LICENSE="LGPL-2.1 GPL-2 MaxMind2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos" -IUSE="static-libs" -RESTRICT="test" - -DEPEND="net-misc/wget" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${PN}-api-c-${PV}" - -src_prepare() { - eautoreconf -} - -src_configure() { - econf $(use_enable static-libs static) - sed -e "s|@PREFIX@|${ROOT}|g" "${FILESDIR}"/geoipupdate-r3.sh > geoipupdate.sh || die -} - -src_install() { - default - - dodoc AUTHORS ChangeLog README* TODO - - prune_libtool_files - - keepdir /usr/share/GeoIP - - dosbin geoipupdate.sh -} - -pkg_postinst() { - "${ROOT}"/usr/sbin/geoipupdate.sh --force -} - -pkg_prerm() { - [[ -z "${REPLACED_BY_VERSION}" ]] && rm -f "${ROOT}"/usr/share/GeoIP/*.dat -} diff --git a/dev-libs/geoip/metadata.xml b/dev-libs/geoip/metadata.xml index 4c687978da1d..03aa50bab7e3 100644 --- a/dev-libs/geoip/metadata.xml +++ b/dev-libs/geoip/metadata.xml @@ -2,7 +2,4 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>netmon</herd> -<use> - <flag name='city'>Install the city based IP address database</flag> -</use> </pkgmetadata> |