diff --git a/app-crypt/lego/Manifest b/app-crypt/lego/Manifest index b872a809912c8..09bb039297dc9 100644 --- a/app-crypt/lego/Manifest +++ b/app-crypt/lego/Manifest @@ -1,8 +1,3 @@ -DIST lego-4.32.0-deps.tar.xz 7597736 BLAKE2B 96a2f2cad3b1d30cf63a078b2045323cced8af8006a236de7a371b4ee45a8efe7a5e775de306bfc41b18ba5ce40f30c3e1cfbbd1800243baf9fcd4ec2f710fc6 SHA512 cd27cc9cc518404936309858f7379f198511067fcfc48662895d8ccb93be1b011357f020a0e957e93cfe87c13800c16bd1c20aca8242bc5cd8313b9524da40b8 -DIST lego-4.32.0-docs.tar.gz 3881562 BLAKE2B a1a4d9299de899139052388d2d7518bf53af1fd5c790359142f0b6a5434cec7da51db19a76a000944a3bf64c70dafccd7b8fb74106388e909e557ccb3194d32c SHA512 6c587076cc883bff7d95ab5329cbb9194acedaa92bcf6cf9e432a5ef9ab1554e80dbca26354eadab8e39d723719901a4688ce90c6f115ef906cdcd6ac1b0bcaf -DIST lego-4.32.0.tar.gz 1010788 BLAKE2B f2071b26c3a212f5f5daa1ad5109d3c96040fe60352f5b8cd9ef7d60c8c80817601c7d134d6d2426ee1ca089a71138c831769aa21e23b20945539ce7ca61ba7f SHA512 622e0cb4dd15dd9a40dc9d4e6af1a92b154d0ea934d838c99d3c886e236970ca92204cd6bd3ddbb1385cc17722c8a9c0deb27a1a899d27939a4cdea96ac1a445 -DIST lego-4.33.0-docs.tar.gz 3920422 BLAKE2B f20764d0b218eba7b5eedd4e5a02f378afb517a4886224ce7f7bc740a777e1a39086f7d36deb507617f1873ab498e00bcd575a1d706fcadf7cf25d96010f41cb SHA512 8ba56e8e3049e68802053ce674b973740dbf71cd169d68ef68971fbf0a91a3cc5fd9e4d80a9ada29d58120fe4f0639439e781c2303129adf862d080cbbb37f66 -DIST lego-4.33.0.tar.gz 1023223 BLAKE2B 5b403eb921c4b507e45050be9cd1139abecce8c7ec186e3684856834172f12f8ce6de6b79896bfff798770a3fc81675f5f5e0785b2d6797bfe8cdb0ce5a28af8 SHA512 cc708e0793be31a9fad295e108fa285dd4f8d6b119604769efe5ad17640296ff7161ceef50084b92806fb8ea6bc0b0305e3cfbf9d8e06ef1f5ba157b78855659 DIST lego-4.34.0-deps.tar.xz 7167440 BLAKE2B c7f14176c8c79d72f657d26c7e9835e8449a089352677c39b75ef27fc54495fb837f8db9710ef80c4e607a89158003d89afa7cb026e1a77425ea609eac2cd8b7 SHA512 e5c2901aff4fde203eb65d362a4db3ab673998814bc97da6dbab7d489f9bf007b10bc565f3b95ec7684cd33ad242fed282811f5cfe833760891c3c47252520a2 DIST lego-4.34.0-docs.tar.gz 3955346 BLAKE2B e3383524477d5d20224252ff3589783b7e9e4315a0ee0d0544cdc84524dafcaf5190dcbb49208bbba37657e9f54e321e9d93576911ac6f967464486b7c0e5335 SHA512 b98bfd5e1bcb360801d698e9b5f5fff5c2c421a06b584ce680b1e34f6dcfabdcafc156f032afe310ab2bf0f4c59d06c95c2803807ceb1eec1b9166ab309ca70a DIST lego-4.34.0.tar.gz 1089429 BLAKE2B e2268a520b25e45954c1a4907353e6e400e300bb1a3a5f8d5eb2d8fc4e0be9a0a114ec039e8b36ad31de66411ce55fa1cb884929c3c26897c18b45fd692bf35b SHA512 153beb004e7cb19c8922b111f748778d7f7ff4836ddefb044f0e1809128d9a291c1ee26b7ada1123bd4b890b31f0b1574b6eb26a56343826aedf848596e5c263 diff --git a/app-crypt/lego/lego-4.32.0.ebuild b/app-crypt/lego/lego-4.32.0.ebuild deleted file mode 100644 index 4c207129aaaad..0000000000000 --- a/app-crypt/lego/lego-4.32.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module - -DESCRIPTION="Let's Encrypt/ACME client (like certbot or acme.sh) and library written in Go" -HOMEPAGE="https://github.com/go-acme/lego/" - -DOCUMENTATION_COMMIT=4777ab4f2e3616564bde22de54f856c6041c3fd8 - -if [[ ${PV} == 9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/go-acme/lego.git" -else - SRC_URI=" - https://github.com/go-acme/lego/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/go-acme/lego/archive/${DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz - https://distfiles.gentoo.org/pub/dev/ceamac@gentoo.org/${CATEGORY}/${PN}/${P}-deps.tar.xz -" - KEYWORDS="~amd64 ~arm64" -fi - -# main -LICENSE="MIT" -# deps -LICENSE+=" Apache-2.0 BSD-2 BSD ISC MPL-2.0" -SLOT="0" - -# some tests require network access otherwise get following error -# expected: "zoneee: unexpected status code: [status code: 401] body: Unauthorized" -# actual : "zoneee: could not find zone for domain \"prefix.example.com\" (_acme-challenge.prefix.example.com.): could not find the start of authority for _acme-challenge.prefix.example.com.: read udp 10.0.0.1:54729->10.0.0.1:53: read: connection refused" -PROPERTIES="test_network" -RESTRICT="test" - -src_unpack() { - if [[ ${PV} == 9999* ]]; then - git-r3_src_unpack - go-module_live_vendor - EGIT_BRANCH="gh-pages" - EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${DOCUMENTATION_COMMIT}" - git-r3_src_unpack - else - default - fi -} - -src_prepare() { - default - find ../"${PN}"-"${DOCUMENTATION_COMMIT}"/ -type f -not -name '*.html' -delete || die -} - -src_compile() { - export CGO_ENABLED=0 - - local VERSION - if [[ ${PV} == 9999* ]]; then - VERSION="$(git rev-parse HEAD)" || die - else - VERSION="${PV}" - fi - - ego build -trimpath -ldflags "-X main.version=${VERSION}" -o dist/"${PN}" ./cmd/lego/ -} - -src_test() { - ego test -v -cover ./... -} - -src_install() { - # primary program - dobin dist/"${PN}" - - # docs - einstalldocs - dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/* -} diff --git a/app-crypt/lego/lego-4.33.0.ebuild b/app-crypt/lego/lego-4.33.0.ebuild deleted file mode 100644 index 9075d7bdeb675..0000000000000 --- a/app-crypt/lego/lego-4.33.0.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module - -DESCRIPTION="Let's Encrypt/ACME client (like certbot or acme.sh) and library written in Go" -HOMEPAGE="https://github.com/go-acme/lego/" - -DOCUMENTATION_COMMIT=f3c9ebffd6a1fc24b117776d606b1a5c83f2d954 - -if [[ ${PV} == 9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/go-acme/lego.git" -else - SRC_URI=" - https://github.com/go-acme/lego/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/go-acme/lego/archive/${DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz - https://distfiles.gentoo.org/pub/dev/ceamac@gentoo.org/${CATEGORY}/${PN}/${PN}-4.32.0-deps.tar.xz -" - KEYWORDS="~amd64 ~arm64" -fi - -# main -LICENSE="MIT" -# deps -LICENSE+=" Apache-2.0 BSD-2 BSD ISC MPL-2.0" -SLOT="0" - -# some tests require network access otherwise get following error -# expected: "zoneee: unexpected status code: [status code: 401] body: Unauthorized" -# actual : "zoneee: could not find zone for domain \"prefix.example.com\" (_acme-challenge.prefix.example.com.): could not find the start of authority for _acme-challenge.prefix.example.com.: read udp 10.0.0.1:54729->10.0.0.1:53: read: connection refused" -PROPERTIES="test_network" -RESTRICT="test" - -src_unpack() { - if [[ ${PV} == 9999* ]]; then - git-r3_src_unpack - go-module_live_vendor - EGIT_BRANCH="gh-pages" - EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${DOCUMENTATION_COMMIT}" - git-r3_src_unpack - else - default - fi -} - -src_prepare() { - default - find ../"${PN}"-"${DOCUMENTATION_COMMIT}"/ -type f -not -name '*.html' -delete || die - - # lego 4.33.0 uses the same vendored deps as lego 4.32.0, let's reuse the tarball - mv "${WORKDIR}"/lego-4.32.0/vendor . || die -} - -src_compile() { - export CGO_ENABLED=0 - - local VERSION - if [[ ${PV} == 9999* ]]; then - VERSION="$(git rev-parse HEAD)" || die - else - VERSION="${PV}" - fi - - ego build -trimpath -ldflags "-X main.version=${VERSION}" -o dist/"${PN}" ./cmd/lego/ -} - -src_test() { - ego test -v -cover ./... -} - -src_install() { - # primary program - dobin dist/"${PN}" - - # docs - einstalldocs - dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/* -}