From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BF0A1139694 for ; Thu, 20 Apr 2017 17:04:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24E44E0D90; Thu, 20 Apr 2017 17:04:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E6E72E0D90 for ; Thu, 20 Apr 2017 17:04:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 99B8733BE32 for ; Thu, 20 Apr 2017 17:04:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 05CE17436 for ; Thu, 20 Apr 2017 17:04:53 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1492707890.72ea63236274d64c0f5b805041bf1a54dbbf49ff.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/geoip/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/geoip/Manifest dev-libs/geoip/geoip-1.6.10.ebuild X-VCS-Directories: dev-libs/geoip/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 72ea63236274d64c0f5b805041bf1a54dbbf49ff X-VCS-Branch: master Date: Thu, 20 Apr 2017 17:04:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e85cc802-2c6b-423c-af33-8e0562812965 X-Archives-Hash: 3f7cafdad12f23698a587d6aa9d25cb0 commit: 72ea63236274d64c0f5b805041bf1a54dbbf49ff Author: Jeroen Roovers gentoo org> AuthorDate: Thu Apr 20 17:01:48 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Thu Apr 20 17:04:50 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72ea6323 dev-libs/geoip: Version bump. Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-libs/geoip/Manifest | 1 + dev-libs/geoip/geoip-1.6.10.ebuild | 57 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-libs/geoip/Manifest b/dev-libs/geoip/Manifest index 9cb0ceb8ccb..231b219a165 100644 --- a/dev-libs/geoip/Manifest +++ b/dev-libs/geoip/Manifest @@ -1 +1,2 @@ +DIST geoip-1.6.10.tar.gz 161506 SHA256 de0d6d037d5e0ad9f7110e7f3b82eb20a24616712d29be0019e28ba7364cdc3e SHA512 5cd527da9d9a921bcc3020e636b410310e6462832804ac2d594b9cb4ceaacac0c31eb64f97e23e77d468da7b63a704084e140c8b69b838e362a188309756a2bf WHIRLPOOL 0b2cfc3ce8b901e731c1f6fbbf36f8ee5487179df3e22ae2bae9c616c9215d93a4c1cb8e975de8e978caa8b4f7e18914cc13bdffdfccfe81a6df5706fe6bb82a DIST geoip-1.6.9.tar.gz 158576 SHA256 05468adbb6bdbddc588ee6f0df990f47b1b24d278519c35d59f7a8058a2a9825 SHA512 a3a34511ba32e6c7d0b46b0e608c5be54411cf5b095c867c3225941b55e5714ec7c68de64e0aefcf4ee2081fbd626480067d6bc9822d775decef1f8e26d7e976 WHIRLPOOL 4b4a4e4dff60f3b9db456d54b5529c24c93b3e18c4aff0d67d35165e9092fcd7e163ce868f729140f9ee5e3a8f49c19ff8a7324f1b106fd9a81a7896d92288ae diff --git a/dev-libs/geoip/geoip-1.6.10.ebuild b/dev-libs/geoip/geoip-1.6.10.ebuild new file mode 100644 index 00000000000..5ecf50082bd --- /dev/null +++ b/dev-libs/geoip/geoip-1.6.10.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils + +DESCRIPTION="GeoIP Legacy C API" +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 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="static-libs" +RESTRICT="test" + +DEPEND=" + net-misc/wget +" +RDEPEND=" + ${DEPEND} +" + +S="${WORKDIR}/${PN}-api-c-${PV}" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) + sed -e "s|@PREFIX@|${ROOT}|g" "${FILESDIR}"/geoipupdate-r6.sh > geoipupdate.sh || die +} + +src_install() { + default + + dodoc AUTHORS ChangeLog NEWS.md README* + + prune_libtool_files + + keepdir /usr/share/GeoIP + + dosbin geoipupdate.sh +} + +pkg_postinst() { + ewarn "WARNING: Databases are no longer installed by this ebuild." + elog "Don't forget to run 'geoipupdate.sh -f' (or geoipupdate from" + elog "net-misc/geoipupdate) to populate ${ROOT}/usr/share/GeoIP/" + elog "with geo-located IP address databases." +}