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

comparison 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
comparison
equal deleted inserted replaced
248:566e55bdfa9a 249:0685ed0fb913
1 # Copyright 1999-2017 Gentoo Foundation 1 # Copyright 1999-2023 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2 2 # Distributed under the terms of the GNU General Public License v2
3 # $Id$ 3 # $Id$
4 EAPI=7 4 EAPI=7
5 5
6 GOLANG_PKG_IMPORTPATH="github.com/hlandau" 6 GOLANG_PKG_IMPORTPATH="github.com/hlandau"
10 #GOLANG_PKG_IS_MULTIPLE="1" 10 #GOLANG_PKG_IS_MULTIPLE="1"
11 # Without this, dropping privs is non-functional, which (generally) breaks 11 # Without this, dropping privs is non-functional, which (generally) breaks
12 # redirector 12 # redirector
13 #GOLANG_PKG_USE_CGO=1 13 #GOLANG_PKG_USE_CGO=1
14 14
15 # How to update dependency list:
16 # 1. Checkout the wanted tag.
17 # 2. Find all dependencies via:
18 # 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
19 # 3. For all external dependencies visit the repos and check what version was current at time of acmetool tagging.
20 # ... yes, this will take a while
21 # 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
22 # ... yes, this may take even longer
23
15 DESCRIPTION="command line tool for automatically acquiring certificates from ACME servers" 24 DESCRIPTION="command line tool for automatically acquiring certificates from ACME servers"
16 HOMEPAGE="https://github.com/hlandau/acmetool" 25 HOMEPAGE="https://github.com/hlandau/acmetool"
17 if [[ "${PV}" = 9999 ]]; then 26 if [[ "${PV}" = 9999 ]]; then
18 inherit golang-live 27 inherit x-mgcf-golang-live
19 KEYWORDS="" 28 KEYWORDS=""
20 else 29 else
21 GOLANG_PKG_DEPENDENCIES=( 30 GOLANG_PKG_DEPENDENCIES=(
22 "github.com/alecthomas/kingpin:947dcec5ba9c011838740e680966fd7087a71d0d -> gopkg.in/alecthomas/kingpin.v2" # v2.2.6 31 "github.com/alecthomas/kingpin:947dcec5ba9c011838740e680966fd7087a71d0d -> gopkg.in/alecthomas/kingpin.v2" # v2.2.6 (2017-12-17)
23 "github.com/alecthomas/template:fb15b899a75114aa79cc930e33c46b577cc664b1" 32 "github.com/alecthomas/template:a0175ee3bccc567396460bf5acd36800cb10c49c" # 2016-04-05, wanted by alecthomas/kingpin.v2
24 "github.com/alecthomas/units:f65c72e2690dc4b403c8bd637baf4611cd4c069b" 33 "github.com/alecthomas/units:2efee857e7cfd4f3d0138cc3cbb1b4966962b93a" # 2015-10-22, wanted by alecthomas/kingpin.v2
25 "github.com/cheggaaa/pb:f907f6f5dd81f77c2bbc1cde92e4c5a04720cb11 -> gopkg.in/cheggaaa/pb.v1" # v1.0.28 34 "github.com/cheggaaa/pb:5784bcc95a1741c2ca2b46b19f1f3d398557300c -> gopkg.in/cheggaaa/pb.v1" # v1.0.29 (2020-08-06)
26 "github.com/coreos/go-systemd:2d78030078ef61b3cae27f42ad6d0e46db51b339" # v22.0.0 35 "github.com/coreos/go-systemd:a9a7ef127534245b9e83cfd9d5d0b09164af7ae9" # 2022-02-03, wanted by hlandau/dexlogconfig
27 "github.com/godbus/dbus:37bf87eef99d69c4f1d3528bd66e3a87dc201472" # v5.0.3 36 "github.com/gofrs/uuid:9363593625d72b57a14e20172547979b02b4aab2" # 2023-01-07
28 "github.com/golang/crypto:06a226fb4e3765ef3f48aa2852b401bc7b98e981 -> golang.org/x" 37 "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 ?!
29 "github.com/golang/net:3c3fba18258b2a1398a025a6aeb7374d2a470009 -> golang.org/x" 38 "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
30 "github.com/golang/sys:05986578812163b26672dabd9b425240ae2bb0ad -> golang.org/x" 39 "github.com/golang/sys:95e765b1cc43ac521bd4fd501e00774e34401449 -> golang.org/x" # v0.1.0 (2022-10-13); did not exist back when wanted by mattn/go-isatty ?!
31 "github.com/golang/text:81608d7e9c6863c922f599e4ff1329a685218c0d -> golang.org/x" 40 "github.com/golang/text:71a9c9afc4cd710b9412f7f99f0d8e35b10e488a -> golang.org/x" # v0.7.0 (2023-01-31), missing deps wanted by golang/net
32 "github.com/go-yaml/yaml:0b1645d91e851e735d3e23330303ce81f70adbe3 -> gopkg.in/yaml.v2" # v2.3.0 41 "github.com/go-yaml/yaml:7649d4548cb53a614db133b2a8ac1f31859dda8c -> gopkg.in/yaml.v2" # v2.4.0
33 "github.com/hlandau/acmeapi:4c466ab079c59d00344630cb861d075f3a75bc56 -> gopkg.in/hlandau/acmeapi.v2" # v2.0.1 42 "github.com/hlandau/acmeapi:2f4c7d86d6266dcd2702933b44c8a5822f163134 -> gopkg.in/hlandau/acmeapi.v2" # v2.0.2 (2021-03-23)
34 "github.com/hlandau/buildinfo:337a29b5499734e584d4630ce535af64c5fe7813" 43 "github.com/hlandau/buildinfo:337a29b5499734e584d4630ce535af64c5fe7813" # 2016-11-12, wanted by hlandau/dexlogconfig
35 "github.com/hlandau/configurable:41496864a1fe3e0fef2973f22372b755d2897402 -> gopkg.in/hlandau/configurable.v1" # v1.0.1 44 "github.com/hlandau/configurable:41496864a1fe3e0fef2973f22372b755d2897402 -> gopkg.in/hlandau/configurable.v1" # v1.0.1 (2015-10-29), wanted by hlandau/easyconfig
36 "github.com/hlandau/dexlogconfig:244f29bd260884993b176cd14ef2f7631f6f3c18" 45 "github.com/hlandau/dexlogconfig:86a3fc314fe7a8d9d58005220de8e2a85dd5744f" # 2022-03-19
37 "github.com/hlandau/easyconfig:c31249162931b4963bbe6e501cccb60d23271a3f -> gopkg.in/hlandau/easyconfig.v1" # v1.0.17 46 "github.com/hlandau/easyconfig:30db2856f1fc2e9494aae5f96b57ad1a22029a03 -> gopkg.in/hlandau/easyconfig.v1" # v1.0.18 (2021-12-12)
38 "github.com/hlandau/goutils:0cdb66aea5b843822af6fdffc21286b8fe8379c4" 47 "github.com/hlandau/goutils:0cdb66aea5b843822af6fdffc21286b8fe8379c4" # 2016-07-22
39 "github.com/hlandau/service:b64b3467ebd16f64faec1640c25e318efc0c0d7b -> gopkg.in/hlandau/service.v2" # v2.0.16 48 "github.com/hlandau/service:0e0d7e650dbdeaa82b606a6afc0b5f38a9e77b37 -> gopkg.in/hlandau/service.v2" # v2.0.17
40 "github.com/hlandau/svcutils:c25dac49e50cbbcbef8c81b089f56156f4067729 -> gopkg.in/hlandau/svcutils.v1" # v1.0.10 49 "github.com/hlandau/svcutils:6e7e875ab1a2f881e8bc757c1b2c1a779bcd57ee -> gopkg.in/hlandau/svcutils.v1" # v1.0.11
41 "github.com/hlandau/xlog:197ef798aed28e08ed3e176e678fda81be993a31" 50 "github.com/hlandau/xlog:5c67351975541184f98d42d2163f76bbd7330374" # 2021-03-23
42 "github.com/jmhodges/clock:880ee4c335489bc78d01e4d0a254ae880734bc15" # v1.1 51 "github.com/hlandauf/dbus:b24e1c7d19a5fc589597f8abbf32a2b3688a4eb8 -> gopkg.in/hlandauf/dbus.v5" # v5.990.1 (2021-03-17), wanted by hlandauf/go-systemd
43 "github.com/mattn/go-isatty:7b513a986450394f7bbf1476909911b3aa3a55ce" # v0.0.12 52 "github.com/hlandauf/go-systemd:d4cbd5bfbd436076dfb05aa42689bcff67950a47" # 2021-03-17
44 "github.com/mattn/go-runewidth:14e809f6d78fcf9f48ff9b70981472b64c05f754" # v0.0.9 53 "github.com/jmhodges/clock:8a401d017099427a3a22abf2b14a49d9a069f433" # 2022-06-05
45 "github.com/mitchellh/go-wordwrap:9e67c67572bc5dd02aef930e2b0ae3c02a4b5a5c" # v1.0.0 54 "github.com/mattn/go-isatty:3751eb45e68b73541370d508d59323eaa44c0de2" # 2021-01-18, wanted by hlandau/xlog
46 "github.com/ogier/pflag:45c278ab3607870051a2ea9040bb85fcb8557481" 55 "github.com/mattn/go-runewidth:f1f639b53e80fe40abd644a702ed196880b0b345" # 2020-07-12, wanted by cheggaaa/pb
47 "github.com/peterhellberg/link:7d8125c3085c14bd320d898c73b78ef2c5320f31" # v1.1.0 56 "github.com/mitchellh/go-wordwrap:ecf0936a077a4bd73a1cc2ac5c370f2b55618d62" # 2020-09-25
48 "github.com/satori/go.uuid:b2ce2384e17bbe0c6d34077efa39dbab3e09123b" 57 "github.com/ogier/pflag:73e519546fc0bce0c395610afcf6aa4e5aec88eb" # 2020-10-25, wanted by hlandau/easyconfig
49 # "github.com/satori/go.uuid:f58768cc1a7a7e77a3bd49e98cdd21419399b6a3" # v1.2.0 (incompatible API) 58 "github.com/peterhellberg/link:7d8125c3085c14bd320d898c73b78ef2c5320f31" # 2019-11-13, wanted by hlandau/acmeapi
50 # "github.com/satori/go.uuid:879c5887cd475cd7864858769793b2ceb0d44feb" # v1.1.0 (incompatible API) 59 "github.com/rivo/uniseg:f8f8f751c732fdcd5e158c13c28f8863ad80e9a5" # 2019-07-06, wanted by mattn/go-runewidth
51 "github.com/shiena/ansicolor:a422bbe96644373c5753384a59d678f7d261ff10" 60 "github.com/square/go-jose:56062818b5e15ee405eb8363f9498c7113e98337 -> gopkg.in/square/go-jose.v1" # v1.1.2
52 "github.com/square/go-jose:3a5ee095dcb5030a9de84fb92c222ac652fff176 -> gopkg.in/square/go-jose.v2" # v2.5.1 61 "github.com/square/go-jose:3a5ee095dcb5030a9de84fb92c222ac652fff176 -> gopkg.in/square/go-jose.v2" # v2.5.1 (2020-05-01), wanted by hlandau/acmeapi.v2
53 "github.com/square/go-jose:56062818b5e15ee405eb8363f9498c7113e98337 -> gopkg.in/square/go-jose.v1" # v1.1.2 (yes, we need both v1 and v2) 62 "github.com/shiena/ansicolor:c7312218db184c554578219828d6c9498d02dcb1" # 2020-09-04, wanted by hlandau/xlog
54 "github.com/tylerstillwater/graceful:4654dfbb6ad53cb5e27f37d99b02e16c1872fbbb -> gopkg.in/tylerb/graceful.v1" # v1.2.15 63 "github.com/tylerstillwater/graceful:4654dfbb6ad53cb5e27f37d99b02e16c1872fbbb -> gopkg.in/tylerb/graceful.v1" # v1.2.15
55 ) 64 )
56 inherit golang-single 65 inherit x-mgcf-golang-single
57 KEYWORDS="~amd64 ~x86" 66 KEYWORDS="~amd64 ~x86"
58 fi 67 fi
59 68
60 LICENSE="MIT" 69 LICENSE="MIT"
61 SLOT="0" 70 SLOT="0"