From: "罗百科" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/geoipupdate/
Date: Sun, 28 Jul 2019 16:44:41 +0000 (UTC) [thread overview]
Message-ID: <1564332273.a98b07cfd740df5a4dd75773521e73788d1027d4.patrick@gentoo> (raw)
commit: a98b07cfd740df5a4dd75773521e73788d1027d4
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 28 16:43:15 2019 +0000
Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Jul 28 16:44:33 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a98b07cf
net-misc/geoipupdate: Bump
New version is rewritten in Go, so ebuild is very different.
Based on work by Wiktor Kerr <wiktor <AT> adjust.com>
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
net-misc/geoipupdate/Manifest | 2 ++
net-misc/geoipupdate/geoipupdate-4.0.3.ebuild | 45 +++++++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/net-misc/geoipupdate/Manifest b/net-misc/geoipupdate/Manifest
index 20ddcb207c3..e084a7d2e85 100644
--- a/net-misc/geoipupdate/Manifest
+++ b/net-misc/geoipupdate/Manifest
@@ -1,3 +1,5 @@
DIST geoipupdate-2.3.1.tar.gz 362497 BLAKE2B e07eb22d6b4897d735af0c354f99111931646e8d194d493cf6992ac76a065a02816e5eaf0c974f752aeabb9cde7e7f8ec70d70529402b0b58072c44994e39e53 SHA512 98537e17ea03dbc0e377bf3fd045a96cbcf2f36f1fbcdf494f0a60d15f9ea5d2f0cd5e127245c6425e0ff8b77028147a2a6316034752298c8e9671007b7245a1
DIST geoipupdate-3.1.0.tar.gz 370293 BLAKE2B 5cd7b4563ca0b6820b863e24b80054f27c49bd9e89898f6b7248d3389a81f9c680f9979293fa2acaab0727b3c915926396404e19e90ffbb0ef6647a64d30c14a SHA512 9efd30593df0a2564f98a0e99d02ac3671e5752034d8c747d84a204cd620845e619bec511b6004d895cdb611a2d98b921eb830192d258c572ac9efd603cd5c99
DIST geoipupdate-3.1.1.tar.gz 366789 BLAKE2B 1f823bd51553c9c96ad78bab893a15d4bc3f4ee5cea873f2fd3fbcbe7a38f22d2995558f8196f4c4030fb6f24b179104912af3290d3b7ed9bde9fbe5ff37862c SHA512 24e6a9f72449df1a2763314f188828332b5516962dbd75892689e505516af967bece60cc846fe17cfcc1ddb4d6111c9cd7d5c0ebc9d3e8e7af355f8a1c7f1a2f
+DIST geoipupdate-4.0.3.tar.gz 107019 BLAKE2B 55978bb6fc37b02706d4f48b76dc8b85f3aacc86f1192a0d31cee5c55fb4d0feb8d5ddb2b6a13d4a85d80133ccaa318bd9ad3e7d3d5b818fea2a3a0fa09a62d3 SHA512 870f930a54a45f5fe14c8328158ea2c8d2d8e4320a5400abc8ec18ae1e234426e86492a41868ccd3bf649acf0cd347722683326817359fed7d147ab21eb64397
+DIST geoipupdate-vendor-4.0.3.tar 532480 BLAKE2B c619098fa40d6a92743a2847900e7cefe5d61aa9dbd36399e4a26d7c2fda1ea493f91ded8a4b17a76063960c0f8a11cc7b3b7b734e9f3d978da7035799d32956 SHA512 25976c66d775e3e50b422e9f564b9486c7c08d9dba8a11b5ac9faf62f3545673fa94d2ea6ea40750835840c938b686b174de5658236a19e85d592d861eea05b8
diff --git a/net-misc/geoipupdate/geoipupdate-4.0.3.ebuild b/net-misc/geoipupdate/geoipupdate-4.0.3.ebuild
new file mode 100644
index 00000000000..748f8dc8f2a
--- /dev/null
+++ b/net-misc/geoipupdate/geoipupdate-4.0.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_PN="github.com/maxmind/${PN}"
+
+inherit golang-vcs-snapshot
+
+DESCRIPTION="performs automatic updates of GeoIP2 and GeoIP Legacy binary databases"
+HOMEPAGE="https://${EGO_PN}"
+SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://files.adjust.com/${PN}-vendor-${PV}.tar"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DOCS=( GeoIP.conf.md geoipupdate.md )
+
+src_unpack() {
+ golang-vcs-snapshot_src_unpack
+ tar xf "${DISTDIR}/${PN}-vendor-${PV}.tar" -C "${S}/src/github.com/maxmind/geoipupdate" || die
+}
+
+src_compile() {
+ cd src/${EGO_PN} || die
+ # requires pandoc but the information is still in the distributed md files
+ sed -i -e '/GeoIP.conf.5 /d' -e '/geoipupdate.1$/d' Makefile || die
+ sed -i -e 's/go build/go build -x/' Makefile || die
+
+ # the horror, the horror ... but it's all automagic
+ export GO111MODULE=on
+ export GOFLAGS=-mod=vendor
+ default
+}
+
+src_install() {
+ mkdir "${D}/usr/bin" -p
+ cd "src/${EGO_PN}/build" || die
+ cp "geoipupdate ${D}/usr/bin" || die
+ keepdir /usr/share/GeoIP
+ insinto /etc
+ doins GeoIP.conf
+}
next reply other threads:[~2019-07-28 16:44 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-28 16:44 罗百科 [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-29 7:51 [gentoo-commits] repo/gentoo:master commit in: net-misc/geoipupdate/ Jakov Smolić
2024-02-27 23:00 Sam James
2024-02-27 23:00 Sam James
2024-02-27 23:00 Sam James
2023-09-02 11:42 Andreas Sturmlechner
2023-09-02 11:42 Andreas Sturmlechner
2022-12-18 12:21 Sam James
2022-05-16 19:57 Sam James
2022-05-16 19:57 Sam James
2022-03-20 20:21 Arthur Zamarin
2022-02-19 15:07 Arthur Zamarin
2022-02-19 13:22 Jakov Smolić
2022-02-19 13:15 Jakov Smolić
2022-02-19 12:48 Arthur Zamarin
2021-12-10 3:49 Sam James
2021-02-28 21:34 Sam James
2021-02-27 10:07 Sam James
2020-07-05 8:40 Sergei Trofimovich
2020-07-01 12:21 Michał Górny
2020-06-28 20:56 Thomas Deutschmann
2020-06-26 17:43 Agostino Sarubbo
2020-05-13 18:12 Robin H. Johnson
2020-05-13 14:56 Robin H. Johnson
2020-04-13 22:29 Sergei Trofimovich
2020-02-08 18:55 David Seifert
2019-09-01 8:59 Jeroen Roovers
2019-08-31 5:28 Jeroen Roovers
2019-08-09 8:01 罗百科
2019-07-29 19:10 罗百科
2018-09-11 12:51 Jeroen Roovers
2018-09-11 12:51 Jeroen Roovers
2018-08-22 12:47 Jeroen Roovers
2018-08-22 12:47 Jeroen Roovers
2018-08-15 19:17 Jeroen Roovers
2018-08-15 19:17 Jeroen Roovers
2017-10-31 8:14 Jeroen Roovers
2017-05-26 8:44 Jeroen Roovers
2017-04-08 8:50 Jeroen Roovers
2017-04-08 8:50 Jeroen Roovers
2017-03-11 17:07 Agostino Sarubbo
2017-03-07 10:03 Michael Weber
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 6:17 Jeroen Roovers
2017-01-07 8:32 Jeroen Roovers
2016-08-17 6:42 Jeroen Roovers
2016-05-31 19:28 Tobias Klausmann
2016-05-24 20:15 Markus Meier
2016-01-22 4:57 Jeroen Roovers
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=1564332273.a98b07cfd740df5a4dd75773521e73788d1027d4.patrick@gentoo \
--to=patrick@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