app-crypt/lego: treeclean, moved to ::gentoo

Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2025-04-06 12:05:14 +02:00
parent 6a7f3620d4
commit 95e259da92
6 changed files with 0 additions and 369 deletions

View File

@@ -1,9 +0,0 @@
DIST lego-4.16.0-deps.tar.xz 211637812 BLAKE2B ce3089dd2f355a72e6cf81309ae389a01eb65ce832e38065174997636b9b62e742ef7cddb3aa5ab9a8657b2d643b0e190b8f75fc9b767d74fcebb71e0d860146 SHA512 62fd86bef1163c5b0f8a3a3540e7fe94ccee1b097449c42f0d5267894a4e0931a89c0f8e2e2af0f37757c7a4f25fe0d27a305aa51490b7f522ec23b9267b7eb9
DIST lego-4.16.1-docs.tar.gz 3681606 BLAKE2B 9f80ba3f132eb08b06a960c8a9bdcf372a7925bdc931a078385ff1b6b9f01981d76758c15cc3f8c35f48e461bdc84f5a4d6a7b9a6b1aadbda249ca4d27459bc3 SHA512 1c953edd93b6d56b0b1bd48519b745d7ebfce9df76d6c92cccde88e4aff814de19d9a68e3d949f517530acaf738def97550d1a866e156a8d03e9ff644766df35
DIST lego-4.16.1.tar.gz 698801 BLAKE2B 005be7bf3462d941de99c46b659776f2b69b9298819a23009060fbf0f7532c62eae3512c10619f034916eaa3c20b9607d78786cf5ec023df139cc6c186b0df20 SHA512 a65c661fc003cc26c13ed6b38719a0ab49a8fe8e2a18c59c84e5c974b918aaf0c55c92015d2794a17b4fe5ac31c3557a4d5e1971527441b8bdf80907fe4b90e9
DIST lego-4.17.4-deps.tar.xz 6737692 BLAKE2B 3c5ed3ed9eb2cd6ce75c26d822cd75f1e20ac0802f77811f68cab79631ab69d5e0d1493bf037280d6d422c1acefa900858e41387fea8c0f32c55aab80f243a8e SHA512 84bfd2b1deccea61f98f4fed41920622272ca6786877c74879a6f556d911c5a7bfd2147cde8eae87ae1c58549a3e78fa8544af030d2bff29c19139237389a045
DIST lego-4.17.4-docs.tar.gz 3694481 BLAKE2B bccfa16f8bdd4fea165ef5fa1051b5d3b6d39ad55438791d997376015568215fb5ec0485bdef5246bcc725622f7ff412446eca48d60ec906f75d253532a3d556 SHA512 e4d910e68a312e7d193f5e2953956232f00b24a01ab47cb0bc8e5c7002143ea1e3d708af932a762c3a3abeca692f92d6ab62da172eea28a1ffe28e7b8ff4cad5
DIST lego-4.17.4.tar.gz 710264 BLAKE2B 822cfbbf084477ea34cf263b66a54a9ab6b1307a99b463cb4da8488321e9da3d8e7260664a5261444e8d9a8c0508da8f60ab0887875846e040187a214eb13a42 SHA512 28118b6a7677dcca9b1476cbba4eb9d1ef0eda68ddc8b3db83b50a77bc8721fbe77ab5da9d66b1e7c4b75097f3a1aa64b60d0f58ebb36bbfdfc284ae5dabcfc1
DIST lego-4.22.2-deps.tar.xz 7963988 BLAKE2B 279adf06311ee0769acb7e8681da09fef75456f8ade9d45f0daaa031920fcb2198fd0cab5a37e04332fccfb30e195fcfc1e66f80644861a6a3d502fa650264c5 SHA512 24e9cdf1afe65845a6c7846e71f92532b3e7dad304f9ea4b04afb0f65d8842c67036578fa453ce6a9cd6835be97e86412a52d31fa958bf8b3645e6d3297137b8
DIST lego-4.22.2-docs.tar.gz 10722353 BLAKE2B 24dea7d335646d12c55e23e030a81767618da9c32a09e464d7fad0e91f914eaed4508c1d1a771725c9ea0e2eedb8cddc2e5cd6b0e2bb31c7d1ee89791d342ed9 SHA512 1b998ee4153e5621b7c53e9dc4941c6749c916c6c92d2dfe8e2373f6ee7ad86dd2d13c1ef1d227a464a182ec7c35484d524778e8e6dc4531941eccc2b6304c22
DIST lego-4.22.2.tar.gz 804158 BLAKE2B a75a327988d46ed8715a3c28c34a5de1c9de607b396b3179645a7b4a0dd83aa408bad10df4e64cc5d402ddf8653d17c034019c4d4f162fb9a252d83013278314 SHA512 a69c15e65753ba428635804a0f47d708c13beab3cbd888cc6d9b80fc13ee0614c4a4e948b43972d201f95969171db4443b81672ad93b7a681b96af11f9250db1

View File

@@ -1,86 +0,0 @@
# Copyright 1999-2024 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=14be9e1e1c33a1e370b7fc76ebe3e6fba938c87d
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/rahilarious/gentoo-distfiles/releases/download/${PN}-4.16.0/deps.tar.xz -> ${PN}-4.16.0-deps.tar.xz
doc? ( https://github.com/go-acme/lego/archive/${DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz )
"
KEYWORDS="~amd64 ~arm64"
fi
# main
LICENSE="MIT"
# deps
LICENSE+=" Apache-2.0 BSD-2 BSD ISC MPL-2.0"
SLOT="0"
IUSE="doc"
# 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
if use doc; then
EGIT_BRANCH="gh-pages"
EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${DOCUMENTATION_COMMIT}"
git-r3_src_unpack
fi
else
go-module_src_unpack
fi
}
src_prepare() {
default
if use doc; then
find ../"${PN}"-"${DOCUMENTATION_COMMIT}"/ -type f -not -name '*.html' -delete || die
fi
}
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
if use doc; then
dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/*
fi
}

View File

@@ -1,87 +0,0 @@
# Copyright 1999-2024 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=5b9931c1cf7c95b3e6bd5bf37126701d0327a08f
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/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz
doc? ( https://github.com/go-acme/lego/archive/${DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz )
"
KEYWORDS="~amd64 ~arm64"
fi
# main
LICENSE="MIT"
# deps
LICENSE+=" Apache-2.0 BSD-2 BSD ISC MPL-2.0"
SLOT="0"
IUSE="doc"
# 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
if use doc; then
EGIT_BRANCH="gh-pages"
EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${DOCUMENTATION_COMMIT}"
git-r3_src_unpack
fi
else
default
fi
}
src_prepare() {
default
if use doc; then
find ../"${PN}"-"${DOCUMENTATION_COMMIT}"/ -type f -not -name '*.html' -delete || die
fi
}
src_compile() {
export CGO_ENABLED=0
local VERSION
if [[ ${PV} == 9999* ]]; then
VERSION="$(git rev-parse HEAD)" || die
else
VERSION="${PV}"
ln -sv ../vendor ./ || die
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
if use doc; then
dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/*
fi
}

View File

@@ -1,87 +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=f1411f1b397b637903fd2e62769d50b3974b97ec
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/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz
doc? ( https://github.com/go-acme/lego/archive/${DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz )
"
KEYWORDS="~amd64 ~arm64"
fi
# main
LICENSE="MIT"
# deps
LICENSE+=" Apache-2.0 BSD-2 BSD ISC MPL-2.0"
SLOT="0"
IUSE="doc"
# 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
if use doc; then
EGIT_BRANCH="gh-pages"
EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${DOCUMENTATION_COMMIT}"
git-r3_src_unpack
fi
else
default
fi
}
src_prepare() {
default
if use doc; then
find ../"${PN}"-"${DOCUMENTATION_COMMIT}"/ -type f -not -name '*.html' -delete || die
fi
}
src_compile() {
export CGO_ENABLED=0
local VERSION
if [[ ${PV} == 9999* ]]; then
VERSION="$(git rev-parse HEAD)" || die
else
VERSION="${PV}"
ln -sv ../vendor ./ || die
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
if use doc; then
dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/*
fi
}

View File

@@ -1,87 +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=f1411f1b397b637903fd2e62769d50b3974b97ec
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/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz
doc? ( https://github.com/go-acme/lego/archive/${DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz )
"
KEYWORDS="~amd64 ~arm64"
fi
# main
LICENSE="MIT"
# deps
LICENSE+=" Apache-2.0 BSD-2 BSD ISC MPL-2.0"
SLOT="0"
IUSE="doc"
# 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
if use doc; then
EGIT_BRANCH="gh-pages"
EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${DOCUMENTATION_COMMIT}"
git-r3_src_unpack
fi
else
default
fi
}
src_prepare() {
default
if use doc; then
find ../"${PN}"-"${DOCUMENTATION_COMMIT}"/ -type f -not -name '*.html' -delete || die
fi
}
src_compile() {
export CGO_ENABLED=0
local VERSION
if [[ ${PV} == 9999* ]]; then
VERSION="$(git rev-parse HEAD)" || die
else
VERSION="${PV}"
ln -sv ../vendor ./ || die
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
if use doc; then
dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/*
fi
}

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>me@rahil.rocks</email>
<name>Rahil Bhimjiani</name>
</maintainer>
<upstream>
<remote-id type="github">go-acme/lego</remote-id>
<bugs-to>https://github.com/go-acme/lego/issues</bugs-to>
<doc>https://go-acme.github.io/lego/</doc>
</upstream>
</pkgmetadata>