From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/geoip/
Date: Wed, 10 Mar 2021 01:24:25 +0000 (UTC) [thread overview]
Message-ID: <1615338892.3e4b6af2825b3d18187474d53890a0ccba72bce6.sam@gentoo> (raw)
commit: 3e4b6af2825b3d18187474d53890a0ccba72bce6
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 10 01:14:29 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 10 01:14:52 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e4b6af2
dev-libs/geoip: update EAPI 6 -> 7, fix invalid ROOT usage
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/geoip/geoip-1.6.12.ebuild | 27 ++++++++++-----------------
1 file changed, 10 insertions(+), 17 deletions(-)
diff --git a/dev-libs/geoip/geoip-1.6.12.ebuild b/dev-libs/geoip/geoip-1.6.12.ebuild
index 2f5ee8e5606..8d3acd5e9c6 100644
--- a/dev-libs/geoip/geoip-1.6.12.ebuild
+++ b/dev-libs/geoip/geoip-1.6.12.ebuild
@@ -1,14 +1,14 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit autotools eutils ltprune
+EAPI=7
+
+inherit autotools
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
-"
+SRC_URI="https://github.com/maxmind/${PN}-api-c/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-api-c-${PV}"
# GPL-2 for md5.c - part of libGeoIPUpdate, MaxMind for GeoLite Country db
LICENSE="LGPL-2.1 GPL-2 MaxMind2"
@@ -17,24 +17,17 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd
IUSE="static-libs"
RESTRICT="test"
-DEPEND="
- net-misc/wget
-"
-RDEPEND="
- ${DEPEND}
-"
-
-S="${WORKDIR}/${PN}-api-c-${PV}"
+DEPEND="net-misc/wget"
+RDEPEND="${DEPEND}"
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
+ sed -e "s|@PREFIX@|${EPREFIX}|g" "${FILESDIR}"/geoipupdate-r6.sh > geoipupdate.sh || die
}
src_install() {
@@ -42,7 +35,7 @@ src_install() {
dodoc AUTHORS ChangeLog NEWS.md README*
- prune_libtool_files
+ find "${ED}" -name '*.la' -delete || die
keepdir /usr/share/GeoIP
@@ -52,6 +45,6 @@ src_install() {
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 "net-misc/geoipupdate) to populate ${EROOT}/usr/share/GeoIP/"
elog "with geo-located IP address databases."
}
next reply other threads:[~2021-03-10 1:24 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-10 1:24 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-08-28 5:06 [gentoo-commits] repo/gentoo:master commit in: dev-libs/geoip/ WANG Xuerui
2022-02-19 15:07 Arthur Zamarin
2022-02-19 13:41 Arthur Zamarin
2022-02-19 13:22 Jakov Smolić
2022-02-19 13:15 Jakov Smolić
2022-02-19 12:46 Arthur Zamarin
2022-02-19 9:19 Arthur Zamarin
2022-02-19 8:51 Arthur Zamarin
2021-07-24 23:02 Marek Szuba
2021-03-10 1:24 Sam James
2021-03-06 7:26 Sam James
2021-03-05 20:34 Sam James
2021-03-04 6:12 Sam James
2021-03-04 6:12 Sam James
2021-03-04 6:11 Sam James
2021-03-04 6:11 Sam James
2021-03-04 6:10 Sam James
2021-03-04 6:10 Sam James
2021-02-26 21:56 Sam James
2020-07-23 11:11 Kent Fredric
2018-08-18 5:29 Mikle Kolyada
2018-03-15 13:54 Mikle Kolyada
2018-01-20 14:56 Jeroen Roovers
2017-11-03 21:52 Sergei Trofimovich
2017-08-29 21:39 Thomas Deutschmann
2017-08-26 9:03 Mikle Kolyada
2017-07-12 8:56 Sergei Trofimovich
2017-05-26 8:44 Jeroen Roovers
2017-05-22 18:41 Tobias Klausmann
2017-05-18 22:38 Michael Weber
2017-05-18 16:26 Michael Weber
2017-05-10 14:17 Jeroen Roovers
2017-04-20 17:04 Jeroen Roovers
2017-04-08 8:50 Jeroen Roovers
2017-03-16 12:36 Michael Weber
2017-03-16 10:59 Michael Weber
2017-03-08 5:59 Markus Meier
2017-03-04 14:02 Agostino Sarubbo
2017-03-02 10:47 Agostino Sarubbo
2017-03-02 10:30 Agostino Sarubbo
2017-03-01 13:43 Tobias Klausmann
2017-03-01 10:43 Michael Weber
2017-01-29 16:08 Fabian Groffen
2016-05-27 2:48 Jeroen Roovers
2016-05-26 9:42 Tobias Klausmann
2016-03-20 11:53 Agostino Sarubbo
2016-03-19 7:06 Jeroen Roovers
2016-03-17 10:50 Agostino Sarubbo
2016-03-15 17:28 Markus Meier
2016-03-06 12:58 Agostino Sarubbo
2016-01-16 11:26 Jeroen Roovers
2015-11-08 5:47 Jeroen Roovers
2015-11-08 5:47 Jeroen Roovers
2015-11-08 0:10 Mikle Kolyada
2015-11-01 4:20 Jeroen Roovers
2015-10-30 10:15 Agostino Sarubbo
2015-10-17 10:54 Markus Meier
2015-10-11 11:59 Mikle Kolyada
2015-09-25 14:13 Agostino Sarubbo
2015-09-24 10:36 Agostino Sarubbo
2015-09-21 5:26 Jeroen Roovers
2015-09-20 12:50 Tobias Klausmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1615338892.3e4b6af2825b3d18187474d53890a0ccba72bce6.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox