From fc637fb28da700da71ec2064d65ca5a7a31b9c6c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 18 Aug 2019 18:16:17 +0100 Subject: gentoo resync : 18.08.2019 --- net-misc/geoipupdate/Manifest | 2 +- net-misc/geoipupdate/geoipupdate-4.0.3-r1.ebuild | 48 ++++++++++++++++++++++++ net-misc/geoipupdate/geoipupdate-4.0.3.ebuild | 45 ---------------------- 3 files changed, 49 insertions(+), 46 deletions(-) create mode 100644 net-misc/geoipupdate/geoipupdate-4.0.3-r1.ebuild delete mode 100644 net-misc/geoipupdate/geoipupdate-4.0.3.ebuild (limited to 'net-misc/geoipupdate') diff --git a/net-misc/geoipupdate/Manifest b/net-misc/geoipupdate/Manifest index a7e96a6aa3b5..c68bc17e70a0 100644 --- a/net-misc/geoipupdate/Manifest +++ b/net-misc/geoipupdate/Manifest @@ -6,5 +6,5 @@ DIST geoipupdate-vendor-4.0.3.tar 532480 BLAKE2B c619098fa40d6a92743a2847900e7ce EBUILD geoipupdate-2.3.1.ebuild 573 BLAKE2B 1a4e9421d90bed8da5b4ddb282b53a9bb2cd9d7123007a8c7a207ed807480abf95ec3c2e7cea6a987d399fd73c7148778f6b28b9c66ea0f48f2c1cb4d9ae4435 SHA512 add023538fe12026667cf0feba8c1ebf1157609ba2ac9622466920d2ed7c128bec10ba7ac1a12acb358067e0ec757996ad0eec63c91c7b4a7c9d75984b06bcff EBUILD geoipupdate-3.1.0.ebuild 582 BLAKE2B 106db9ba7a0f95104f0728fd820da17c03ed7c1fa79481d3fe09e666594b707b64ec4522b5095c1f19b0afecc0cfa9f5dd6e60829d12cb0887910ddc82e66053 SHA512 b6fddee463197592d4bff439b9ba4e407725895544af9875c9157fad695cc700ce2d3ab293da271fa6d3826b458a1a20c477c1df51daef6367d59798b4ad1392 EBUILD geoipupdate-3.1.1.ebuild 582 BLAKE2B 106db9ba7a0f95104f0728fd820da17c03ed7c1fa79481d3fe09e666594b707b64ec4522b5095c1f19b0afecc0cfa9f5dd6e60829d12cb0887910ddc82e66053 SHA512 b6fddee463197592d4bff439b9ba4e407725895544af9875c9157fad695cc700ce2d3ab293da271fa6d3826b458a1a20c477c1df51daef6367d59798b4ad1392 -EBUILD geoipupdate-4.0.3.ebuild 1180 BLAKE2B 745d8e001574a0cdc506bf1be797dbfc9a2355b58d3edd47a2c6e986bf4e6fb068e929374db65941250a2c852e4838d5a298c277d474ce410853ca3a4a48778d SHA512 a62e3169aae94068c87d7f776a4b7a60862de2c8f3d2a9ae909b5259d12d0abc3d6a0aeee933ff479990bb02ceec19e05a6e1152d663a63b2517bb8c0ccd7421 +EBUILD geoipupdate-4.0.3-r1.ebuild 1268 BLAKE2B 39d26909a70acfdddbeb9f823e4babac6af48077af154f15f1228d7d50a40fe73b2c4de5842ce8d6b87ea6d39a25d998e553ec0cbf42904a9efa45302d9f7eee SHA512 194465588a84cd045cb0694c5dfbfd1e9e14cd07d49d3a77d68ec6e0df4a872766d8a5bcb2a9094f72853cfe3e28a350969cbd4bec99bce35edaa2786cb4d52d MISC metadata.xml 364 BLAKE2B f11ecee4030939844eddfd97da927e39bc333cd90a489176fdd1ae86fdce4da2793a984f6bbb7a2947585c7cba2f4f94789c342e37cca9c95c69777d6f6ad8e5 SHA512 0969b8629e162f85c16b9dd67dd0e5d1a980197e627cc47056a7e1bdece5d5e9816e0a00bace7cfb9b683e5ccfccc898791a2dfb9f274f46cc594708074a82cc diff --git a/net-misc/geoipupdate/geoipupdate-4.0.3-r1.ebuild b/net-misc/geoipupdate/geoipupdate-4.0.3-r1.ebuild new file mode 100644 index 000000000000..f8f05abf74d5 --- /dev/null +++ b/net-misc/geoipupdate/geoipupdate-4.0.3-r1.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://${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 + 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.3.ebuild b/net-misc/geoipupdate/geoipupdate-4.0.3.ebuild deleted file mode 100644 index 9e2b124631e5..000000000000 --- a/net-misc/geoipupdate/geoipupdate-4.0.3.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# 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 -} -- cgit v1.2.3