public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/geoipupdate/
Date: Sat, 14 Jun 2025 19:01:52 +0000 (UTC)	[thread overview]
Message-ID: <1749927704.cf43362ed77fe1139a6fbfa277b318ece7fb0145.sam@gentoo> (raw)

commit:     cf43362ed77fe1139a6fbfa277b318ece7fb0145
Author:     Vladislav Mikhailikov <vmikhailikov <AT> gmail <DOT> com>
AuthorDate: Fri Jun 13 21:41:14 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 14 19:01:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf43362e

net-misc/geoipupdate: add 7.1.0

Signed-off-by: Vladislav Mikhailikov <vmikhailikov <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42585
Closes: https://github.com/gentoo/gentoo/pull/42585
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/geoipupdate/Manifest                 |  1 +
 net-misc/geoipupdate/geoipupdate-7.1.0.ebuild | 44 +++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/net-misc/geoipupdate/Manifest b/net-misc/geoipupdate/Manifest
index b82cc47515e6..fd9a96bde9ee 100644
--- a/net-misc/geoipupdate/Manifest
+++ b/net-misc/geoipupdate/Manifest
@@ -1,2 +1,3 @@
 DIST geoipupdate-6.1.0-deps.tar.xz 866588 BLAKE2B aabda8132d0f8866e3450b5c2f07dccc7b1555cac0a987fea48ffe3f07a8c66c72bb41ca1478d47f03cb61bd29a6183bd0621126222decc4e29b8525c3ba991e SHA512 4a03b35258dc77659471299fe119da1e435b1360df08b0b8a19f6374e3880c1c6153fcdb5146f74900ebf540c2c66a3007228f05b702f526ed9e75e01f51f98d
 DIST geoipupdate-6.1.0.tar.gz 47557 BLAKE2B ef33058f8504c06dc2c2a350421866cd88a6b87624874cf6bd29d99c77637c3b99468a6ba615d71310e0c5d49d6ee2820d9a3841c1127437fa602864a014d77d SHA512 b20a3101fb055ed71fe999fe924b71f6d0eb76da8bc4444f7281a3deceac1ee7d1854f3d672b93edabf152cc69551933dd951419ab484259d47f56b243e568eb
+DIST geoipupdate-7.1.0.tar.gz 53229 BLAKE2B 6c978636c752b73ed5a2d397ed779d37a1f55cb4657a097d2f9c00c73139e70d5de2c07540a36573110b39bc64b74fc8ae29f6bf8d85b07c5353c8f3542f450b SHA512 8f577e2dc6555dbc29aaff95b3aaf6144237a98ed305011c43a753b1238041b1bb1d49a7218d4820b0592f08db9fd75f142cf2035e0c0b89f04de97818d211a0

diff --git a/net-misc/geoipupdate/geoipupdate-7.1.0.ebuild b/net-misc/geoipupdate/geoipupdate-7.1.0.ebuild
new file mode 100644
index 000000000000..a32886bcfe6b
--- /dev/null
+++ b/net-misc/geoipupdate/geoipupdate-7.1.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="Performs automatic updates of GeoIP2 and GeoIP Legacy binary databases"
+HOMEPAGE="https://github.com/maxmind/geoipupdate"
+SRC_URI="https://github.com/maxmind/geoipupdate/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-6.1.0-deps.tar.xz"
+
+LICENSE="ISC BSD BSD-2 MIT Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc64 ~s390 ~x86"
+
+DOCS=( README.md CHANGELOG.md doc/GeoIP.conf.md doc/geoipupdate.md )
+
+src_compile() {
+	# Do not let these leak from outside into the package
+	unset GOBIN GOPATH GOCODE
+
+	# 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 CONFFILE=/etc/GeoIP.conf
+	export DATADIR=/usr/share/GeoIP
+	export VERSION=${PV}
+
+	default
+}
+
+src_install() {
+	dobin build/geoipupdate
+
+	keepdir /usr/share/GeoIP
+
+	insinto /etc
+	doins build/GeoIP.conf
+
+	einstalldocs
+}


             reply	other threads:[~2025-06-14 19:02 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-14 19:01 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-14 19:01 [gentoo-commits] repo/gentoo:master commit in: net-misc/geoipupdate/ Sam James
2025-03-14  5:41 Sam James
2024-04-29  7:51 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 罗百科
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=1749927704.cf43362ed77fe1139a6fbfa277b318ece7fb0145.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