public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/geoipupdate/
Date: Sat, 31 Aug 2019 05:28:19 +0000 (UTC)	[thread overview]
Message-ID: <1567229298.c1766eec8b1f88c53516d63a6535bf9b6accabb3.jer@gentoo> (raw)

commit:     c1766eec8b1f88c53516d63a6535bf9b6accabb3
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 31 04:53:57 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Aug 31 05:28:18 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1766eec

net-misc/geoipupdate: Version 4.0.4

Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 net-misc/geoipupdate/Manifest                 |  1 +
 net-misc/geoipupdate/geoipupdate-4.0.4.ebuild | 48 +++++++++++++++++++++++++++
 net-misc/geoipupdate/geoipupdate-4.0.4.tar.gz |  0
 3 files changed, 49 insertions(+)

diff --git a/net-misc/geoipupdate/Manifest b/net-misc/geoipupdate/Manifest
index e084a7d2e85..0e0d731e577 100644
--- a/net-misc/geoipupdate/Manifest
+++ b/net-misc/geoipupdate/Manifest
@@ -2,4 +2,5 @@ DIST geoipupdate-2.3.1.tar.gz 362497 BLAKE2B e07eb22d6b4897d735af0c354f991119316
 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-4.0.4.tar.gz 107115 BLAKE2B 1ab08a34c41ac08aa26faf2078e7a964350c09c65871829023928dc25011a931f9be4aff32300778ab645831b8786898a986e15aec8bceb31f77715be77f857a SHA512 2d97f65128d26600345b07cab4b1c1ed26f68bb850f4fa92d8f6b4065d1e9a25b73b38e1cc08bc0afc11135394fe20fb77bd931e557ba6fe83d792ad3bcc4a1c
 DIST geoipupdate-vendor-4.0.3.tar 532480 BLAKE2B c619098fa40d6a92743a2847900e7cefe5d61aa9dbd36399e4a26d7c2fda1ea493f91ded8a4b17a76063960c0f8a11cc7b3b7b734e9f3d978da7035799d32956 SHA512 25976c66d775e3e50b422e9f564b9486c7c08d9dba8a11b5ac9faf62f3545673fa94d2ea6ea40750835840c938b686b174de5658236a19e85d592d861eea05b8

diff --git a/net-misc/geoipupdate/geoipupdate-4.0.4.ebuild b/net-misc/geoipupdate/geoipupdate-4.0.4.ebuild
new file mode 100644
index 00000000000..37d94082af1
--- /dev/null
+++ b/net-misc/geoipupdate/geoipupdate-4.0.4.ebuild
@@ -0,0 +1,48 @@
+# 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://github.com/maxmind/geoipupdate"
+SRC_URI="
+	https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DOCS=( GeoIP.conf.md geoipupdate.md )
+
+src_unpack() {
+	golang-vcs-snapshot_src_unpack
+}
+
+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
+	export CONFFILE=/etc/GeoIP.conf
+	export DATADIR=/usr/share/GeoIP
+	export VERSION=${PV}
+	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
+}

diff --git a/net-misc/geoipupdate/geoipupdate-4.0.4.tar.gz b/net-misc/geoipupdate/geoipupdate-4.0.4.tar.gz
new file mode 100644
index 00000000000..e69de29bb2d


             reply	other threads:[~2019-08-31  5:28 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-31  5:28 Jeroen Roovers [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-09  8:01 罗百科
2019-07-29 19:10 罗百科
2019-07-28 16:44 罗百科
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=1567229298.c1766eec8b1f88c53516d63a6535bf9b6accabb3.jer@gentoo \
    --to=jer@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