app-crypt/lego: drop 4.30.1

Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu
2026-03-22 18:26:55 +02:00
parent 98ae4e526e
commit f31411e34a
2 changed files with 0 additions and 81 deletions

View File

@@ -1,6 +1,3 @@
DIST lego-4.30.1-deps.tar.xz 7400940 BLAKE2B df8f4b2221f24b19f959b547e78028459a3453d1913869cc7c13c589b584b9d8c78cc02a0f47d1b5a3bb4eeead633417b4d94f4df9f3e0ea2b7a2e36a74ca36b SHA512 d068244c818575c5075cf6ea28adfddab90e616e82111708d19e640e499e3759e175b21787cc671a1d0d416df860b2f4ef0c9a3f94c27bf558c2d25aba19f7c3
DIST lego-4.30.1-docs.tar.gz 3750156 BLAKE2B 4ace3a598111907137ed40e02cef8e8eaefe9b0da9e80bc9e8ea24b94feb607f991e9d6d4d47c0c960d21e794919e361e0148f5cde5fed553c3c1895a8722d7a SHA512 a27ed251e48233c1ff84d73f5cc053483aaa8bf7f4885dacb4623f3b4bd60466ad7a0e72493abe0801b2d17e586d20e559117c26a014e4ad56470e18ab230ecf
DIST lego-4.30.1.tar.gz 951127 BLAKE2B e3e724f0d342bdf80cb7eb7369bc9fe695011e18bb8b96bc4cc089dec4c262612a0b12b458a004a74cfe5daa53ff20efca60302e39e0c49d3f0c2a035571ea76 SHA512 12e2b765953aff79b8b0bcc7c26c6d9d2c0120bc1f3fc2ff18f59692bcf4b9b9ddebc6ec4826dca36d4da242991477eb91e1295683bf1410d0b3d19628cb2939
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

View File

@@ -1,78 +0,0 @@
# Copyright 1999-2025 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=093311eaa03c9f9f4cfdd9ef6bbc24547abfea4f
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://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${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}"/*
}