We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.

diff app-crypt/acmetool/acmetool-9999.ebuild @ 249:0685ed0fb913

[sync] imported 2c6bf87..18f98a6 from upstream commit 18f98a6f47cd77c1007b60dbfc7a838ffa99df0c Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Mar 27 21:11:43 2023 +0200 app-crypt/acmetool: version bump to 0.2.2 commit ee2df4ec1deab61cd7bb7de2cd13ffdd066cc41a Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Mar 27 19:30:58 2023 +0200 app-crypt/acmetool: split 0.2.1 from 9999, changed dependencies commit f3c9cf1c7a24619446390b0b71bf5bc090dfce77 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Mar 27 19:29:33 2023 +0200 removed dependency to go-overlay commit b2057a9b0ba65917f3840a6b121c1e78397c4723 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Mar 27 19:27:28 2023 +0200 golang eclasses: prefixed exported functions x-mgcf- commit e8d02d1edc997fec9e0b1e5d053a5b82ca4accf2 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Mar 27 19:08:52 2023 +0200 renamed golang eclasses, updated maintainer, added disclaimer commit 748ea4be8ee777bc788cb2a8801b118b41e6f8aa Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Mar 27 18:43:56 2023 +0200 copied eclasses for Go from go-overlay Reason: These eclasses are used to build app-crypt/acmetool. We previously imported go-overlay as a master repository to use the eclasses defined there but the overlay has been removed from official Gentoo overlay index due to inactivity. The removal broke new initial checkouts for this repository as go-overlay can no longer be found. Gentoo bug for MegaCoffee: https://bugs.gentoo.org/903167 Gentoo bug that caused removal: https://bugs.gentoo.org/864653 Original repository: https://github.com/Dr-Terrible/go-overlay
author Migration Sync <gentoo-overlay@megacoffee.net>
date Mon, 27 Mar 2023 19:15:01 +0000
parents e7c5198d2991
children 32efd9258ce5
line wrap: on
line diff
--- a/app-crypt/acmetool/acmetool-9999.ebuild	Thu Mar 23 19:45:02 2023 +0000
+++ b/app-crypt/acmetool/acmetool-9999.ebuild	Mon Mar 27 19:15:01 2023 +0000
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2023 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 EAPI=7
@@ -12,48 +12,57 @@
 # redirector
 #GOLANG_PKG_USE_CGO=1
 
+# How to update dependency list:
+# 1. Checkout the wanted tag.
+# 2. Find all dependencies via:
+#    for file in $(find . -iname \*.go); do grep -Poz '(?s)import\s*\((.*?)\)' "$file" | tr '\0' '\n' | grep -Pv '^\s*(import\s*\(|\))\s*$'; done | sed -e 's/^\s*//' | sort | uniq
+# 3. For all external dependencies visit the repos and check what version was current at time of acmetool tagging.
+#    ... yes, this will take a while
+# 4. Try to compile and go through all missing dependencies in the same way but base dependencies on the date of each parent dependency this time
+#    ... yes, this may take even longer
+
 DESCRIPTION="command line tool for automatically acquiring certificates from ACME servers"
 HOMEPAGE="https://github.com/hlandau/acmetool"
 if [[ "${PV}" = 9999 ]]; then
-	inherit golang-live
+	inherit x-mgcf-golang-live
 	KEYWORDS=""
 else
 	GOLANG_PKG_DEPENDENCIES=(
-		"github.com/alecthomas/kingpin:947dcec5ba9c011838740e680966fd7087a71d0d -> gopkg.in/alecthomas/kingpin.v2" # v2.2.6
-		"github.com/alecthomas/template:fb15b899a75114aa79cc930e33c46b577cc664b1"
-		"github.com/alecthomas/units:f65c72e2690dc4b403c8bd637baf4611cd4c069b"
-		"github.com/cheggaaa/pb:f907f6f5dd81f77c2bbc1cde92e4c5a04720cb11 -> gopkg.in/cheggaaa/pb.v1" # v1.0.28
-		"github.com/coreos/go-systemd:2d78030078ef61b3cae27f42ad6d0e46db51b339" # v22.0.0
-		"github.com/godbus/dbus:37bf87eef99d69c4f1d3528bd66e3a87dc201472" # v5.0.3
-		"github.com/golang/crypto:06a226fb4e3765ef3f48aa2852b401bc7b98e981 -> golang.org/x"
-		"github.com/golang/net:3c3fba18258b2a1398a025a6aeb7374d2a470009 -> golang.org/x"
-		"github.com/golang/sys:05986578812163b26672dabd9b425240ae2bb0ad -> golang.org/x"
-		"github.com/golang/text:81608d7e9c6863c922f599e4ff1329a685218c0d -> golang.org/x"
-		"github.com/go-yaml/yaml:0b1645d91e851e735d3e23330303ce81f70adbe3 -> gopkg.in/yaml.v2" # v2.3.0
-		"github.com/hlandau/acmeapi:4c466ab079c59d00344630cb861d075f3a75bc56 -> gopkg.in/hlandau/acmeapi.v2" # v2.0.1
-		"github.com/hlandau/buildinfo:337a29b5499734e584d4630ce535af64c5fe7813"
-		"github.com/hlandau/configurable:41496864a1fe3e0fef2973f22372b755d2897402 -> gopkg.in/hlandau/configurable.v1" # v1.0.1
-		"github.com/hlandau/dexlogconfig:244f29bd260884993b176cd14ef2f7631f6f3c18"
-		"github.com/hlandau/easyconfig:c31249162931b4963bbe6e501cccb60d23271a3f -> gopkg.in/hlandau/easyconfig.v1" # v1.0.17
-		"github.com/hlandau/goutils:0cdb66aea5b843822af6fdffc21286b8fe8379c4"
-		"github.com/hlandau/service:b64b3467ebd16f64faec1640c25e318efc0c0d7b -> gopkg.in/hlandau/service.v2" # v2.0.16
-		"github.com/hlandau/svcutils:c25dac49e50cbbcbef8c81b089f56156f4067729 -> gopkg.in/hlandau/svcutils.v1" # v1.0.10
-		"github.com/hlandau/xlog:197ef798aed28e08ed3e176e678fda81be993a31"
-		"github.com/jmhodges/clock:880ee4c335489bc78d01e4d0a254ae880734bc15" # v1.1
-		"github.com/mattn/go-isatty:7b513a986450394f7bbf1476909911b3aa3a55ce" # v0.0.12
-		"github.com/mattn/go-runewidth:14e809f6d78fcf9f48ff9b70981472b64c05f754" # v0.0.9
-		"github.com/mitchellh/go-wordwrap:9e67c67572bc5dd02aef930e2b0ae3c02a4b5a5c" # v1.0.0
-		"github.com/ogier/pflag:45c278ab3607870051a2ea9040bb85fcb8557481"
-		"github.com/peterhellberg/link:7d8125c3085c14bd320d898c73b78ef2c5320f31" # v1.1.0
-		"github.com/satori/go.uuid:b2ce2384e17bbe0c6d34077efa39dbab3e09123b"
-#		"github.com/satori/go.uuid:f58768cc1a7a7e77a3bd49e98cdd21419399b6a3" # v1.2.0 (incompatible API)
-#		"github.com/satori/go.uuid:879c5887cd475cd7864858769793b2ceb0d44feb" # v1.1.0 (incompatible API)
-		"github.com/shiena/ansicolor:a422bbe96644373c5753384a59d678f7d261ff10"
-		"github.com/square/go-jose:3a5ee095dcb5030a9de84fb92c222ac652fff176 -> gopkg.in/square/go-jose.v2" # v2.5.1
-		"github.com/square/go-jose:56062818b5e15ee405eb8363f9498c7113e98337 -> gopkg.in/square/go-jose.v1" # v1.1.2 (yes, we need both v1 and v2)
+		"github.com/alecthomas/kingpin:947dcec5ba9c011838740e680966fd7087a71d0d -> gopkg.in/alecthomas/kingpin.v2" # v2.2.6 (2017-12-17)
+		"github.com/alecthomas/template:a0175ee3bccc567396460bf5acd36800cb10c49c" # 2016-04-05, wanted by alecthomas/kingpin.v2
+		"github.com/alecthomas/units:2efee857e7cfd4f3d0138cc3cbb1b4966962b93a" # 2015-10-22, wanted by alecthomas/kingpin.v2
+		"github.com/cheggaaa/pb:5784bcc95a1741c2ca2b46b19f1f3d398557300c -> gopkg.in/cheggaaa/pb.v1" # v1.0.29 (2020-08-06)
+		"github.com/coreos/go-systemd:a9a7ef127534245b9e83cfd9d5d0b09164af7ae9" # 2022-02-03, wanted by hlandau/dexlogconfig
+		"github.com/gofrs/uuid:9363593625d72b57a14e20172547979b02b4aab2" # 2023-01-07
+		"github.com/golang/crypto:642fcc37f5043eadb2509c84b2769e729e7d27ef -> golang.org/x" # v0.1.0 (2022-10-19); did not exist back when wanted by hlandau/acmeapi and square/go-jose.v2 ?!
+		"github.com/golang/net:8e2b117aee74f6b86c207a808b0255de45c0a18a -> golang.org/x" # v0.7.0 (2023-02-14); at time of acmetool-0.2.2 v0.5.0 was active but it has known DoS issues
+		"github.com/golang/sys:95e765b1cc43ac521bd4fd501e00774e34401449 -> golang.org/x" # v0.1.0 (2022-10-13); did not exist back when wanted by mattn/go-isatty ?!
+		"github.com/golang/text:71a9c9afc4cd710b9412f7f99f0d8e35b10e488a -> golang.org/x" # v0.7.0 (2023-01-31), missing deps wanted by golang/net
+		"github.com/go-yaml/yaml:7649d4548cb53a614db133b2a8ac1f31859dda8c -> gopkg.in/yaml.v2" # v2.4.0
+		"github.com/hlandau/acmeapi:2f4c7d86d6266dcd2702933b44c8a5822f163134 -> gopkg.in/hlandau/acmeapi.v2" # v2.0.2 (2021-03-23)
+		"github.com/hlandau/buildinfo:337a29b5499734e584d4630ce535af64c5fe7813" # 2016-11-12, wanted by hlandau/dexlogconfig
+		"github.com/hlandau/configurable:41496864a1fe3e0fef2973f22372b755d2897402 -> gopkg.in/hlandau/configurable.v1" # v1.0.1 (2015-10-29), wanted by hlandau/easyconfig
+		"github.com/hlandau/dexlogconfig:86a3fc314fe7a8d9d58005220de8e2a85dd5744f" # 2022-03-19
+		"github.com/hlandau/easyconfig:30db2856f1fc2e9494aae5f96b57ad1a22029a03 -> gopkg.in/hlandau/easyconfig.v1" # v1.0.18 (2021-12-12)
+		"github.com/hlandau/goutils:0cdb66aea5b843822af6fdffc21286b8fe8379c4" # 2016-07-22
+		"github.com/hlandau/service:0e0d7e650dbdeaa82b606a6afc0b5f38a9e77b37 -> gopkg.in/hlandau/service.v2" # v2.0.17
+		"github.com/hlandau/svcutils:6e7e875ab1a2f881e8bc757c1b2c1a779bcd57ee -> gopkg.in/hlandau/svcutils.v1" # v1.0.11
+		"github.com/hlandau/xlog:5c67351975541184f98d42d2163f76bbd7330374" # 2021-03-23
+		"github.com/hlandauf/dbus:b24e1c7d19a5fc589597f8abbf32a2b3688a4eb8 -> gopkg.in/hlandauf/dbus.v5" # v5.990.1 (2021-03-17), wanted by hlandauf/go-systemd
+		"github.com/hlandauf/go-systemd:d4cbd5bfbd436076dfb05aa42689bcff67950a47" # 2021-03-17
+		"github.com/jmhodges/clock:8a401d017099427a3a22abf2b14a49d9a069f433" # 2022-06-05
+		"github.com/mattn/go-isatty:3751eb45e68b73541370d508d59323eaa44c0de2" # 2021-01-18, wanted by hlandau/xlog
+		"github.com/mattn/go-runewidth:f1f639b53e80fe40abd644a702ed196880b0b345" # 2020-07-12, wanted by cheggaaa/pb
+		"github.com/mitchellh/go-wordwrap:ecf0936a077a4bd73a1cc2ac5c370f2b55618d62" # 2020-09-25
+		"github.com/ogier/pflag:73e519546fc0bce0c395610afcf6aa4e5aec88eb" # 2020-10-25, wanted by hlandau/easyconfig
+		"github.com/peterhellberg/link:7d8125c3085c14bd320d898c73b78ef2c5320f31" # 2019-11-13, wanted by hlandau/acmeapi
+		"github.com/rivo/uniseg:f8f8f751c732fdcd5e158c13c28f8863ad80e9a5" # 2019-07-06, wanted by mattn/go-runewidth
+		"github.com/square/go-jose:56062818b5e15ee405eb8363f9498c7113e98337 -> gopkg.in/square/go-jose.v1" # v1.1.2
+		"github.com/square/go-jose:3a5ee095dcb5030a9de84fb92c222ac652fff176 -> gopkg.in/square/go-jose.v2" # v2.5.1 (2020-05-01), wanted by hlandau/acmeapi.v2
+		"github.com/shiena/ansicolor:c7312218db184c554578219828d6c9498d02dcb1" # 2020-09-04, wanted by hlandau/xlog
 		"github.com/tylerstillwater/graceful:4654dfbb6ad53cb5e27f37d99b02e16c1872fbbb -> gopkg.in/tylerb/graceful.v1" # v1.2.15
 	)
-	inherit golang-single
+	inherit x-mgcf-golang-single
 	KEYWORDS="~amd64 ~x86"
 fi