* [gentoo-commits] repo/proj/guru:master commit in: app-crypt/lego/
@ 2024-03-11 17:31 David Roman
0 siblings, 0 replies; 8+ messages in thread
From: David Roman @ 2024-03-11 17:31 UTC (permalink / raw
To: gentoo-commits
commit: 0549759e97978de023ca4eea47c27119713c96e0
Author: Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Mon Mar 11 06:24:05 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Mar 11 07:30:16 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0549759e
app-crypt/lego: add 4.16.1
* Only install html files when +doc
Hot fix from upstream:
19bbefb fix: don't generate ARI cert ID if ARI is not enable (#2138)
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
app-crypt/lego/Manifest | 2 ++
.../lego/{lego-9999.ebuild => lego-4.16.1.ebuild} | 20 ++++++++++++--------
app-crypt/lego/lego-9999.ebuild | 18 +++++++++++-------
3 files changed, 25 insertions(+), 15 deletions(-)
diff --git a/app-crypt/lego/Manifest b/app-crypt/lego/Manifest
index 3d4c7d79e5..0cc3a5acfe 100644
--- a/app-crypt/lego/Manifest
+++ b/app-crypt/lego/Manifest
@@ -7,3 +7,5 @@ DIST lego-4.15.0.tar.gz 683931 BLAKE2B b4bcdca4ea72e7826b690b15c297b37c186567d01
DIST lego-4.16.0-deps.tar.xz 211637812 BLAKE2B ce3089dd2f355a72e6cf81309ae389a01eb65ce832e38065174997636b9b62e742ef7cddb3aa5ab9a8657b2d643b0e190b8f75fc9b767d74fcebb71e0d860146 SHA512 62fd86bef1163c5b0f8a3a3540e7fe94ccee1b097449c42f0d5267894a4e0931a89c0f8e2e2af0f37757c7a4f25fe0d27a305aa51490b7f522ec23b9267b7eb9
DIST lego-4.16.0-docs.tar.gz 3681408 BLAKE2B 3be8f0a8d9aaa13e4ff3bf0bd8b928bc7be0e1bec0dd31cc5e91cd1ae7d19a6952fe81a3db5c89d296642325b897e436acacf1e18975fdf5cbe34d0b1e1e7371 SHA512 80819d4496cd2cabf1d9eb8f254b240edf43e01a01c2de28274799986bee7f9a8698fc8dbba000d8e4e37b2d68e4a9f772214a237321077dedbe3a0657666244
DIST lego-4.16.0.tar.gz 698821 BLAKE2B 9058f856a477c70c12352df4786e18dadf444df60ed462411367a8aa18ce1e98ede4358e6aad8032d5d3230341fd7e544343bda27fd92c46c494e0a5eb683f35 SHA512 ba40fdcd94cb1f12d609104d1af5c8e398f3a3d70e4d2a0b65365b401b6928149749778de9acb138e9548d634ea210641c07d2218135f2e4c903a39947f206e5
+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
diff --git a/app-crypt/lego/lego-9999.ebuild b/app-crypt/lego/lego-4.16.1.ebuild
similarity index 82%
copy from app-crypt/lego/lego-9999.ebuild
copy to app-crypt/lego/lego-4.16.1.ebuild
index 3c984d15fc..c012524d54 100644
--- a/app-crypt/lego/lego-9999.ebuild
+++ b/app-crypt/lego/lego-4.16.1.ebuild
@@ -8,7 +8,7 @@ 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=1f91ea806ff8f3184b7f4e00fc6e69b1e23a08a2
+DOCUMENTATION_COMMIT=14be9e1e1c33a1e370b7fc76ebe3e6fba938c87d
if [[ ${PV} == 9999* ]]; then
inherit git-r3
@@ -16,7 +16,7 @@ if [[ ${PV} == 9999* ]]; then
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
+ 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"
@@ -41,7 +41,7 @@ src_unpack() {
go-module_live_vendor
if use doc; then
EGIT_BRANCH="gh-pages"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${P}-doc"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${DOCUMENTATION_COMMIT}"
git-r3_src_unpack
fi
else
@@ -49,6 +49,14 @@ 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
@@ -73,10 +81,6 @@ src_install() {
# docs
einstalldocs
if use doc; then
- if [[ ${PV} == 9999* ]]; then
- dodoc -r ../"${P}"-doc/*
- else
- dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/*
- fi
+ dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/*
fi
}
diff --git a/app-crypt/lego/lego-9999.ebuild b/app-crypt/lego/lego-9999.ebuild
index 3c984d15fc..c4ae98059e 100644
--- a/app-crypt/lego/lego-9999.ebuild
+++ b/app-crypt/lego/lego-9999.ebuild
@@ -8,7 +8,7 @@ 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=1f91ea806ff8f3184b7f4e00fc6e69b1e23a08a2
+DOCUMENTATION_COMMIT=14be9e1e1c33a1e370b7fc76ebe3e6fba938c87d
if [[ ${PV} == 9999* ]]; then
inherit git-r3
@@ -41,7 +41,7 @@ src_unpack() {
go-module_live_vendor
if use doc; then
EGIT_BRANCH="gh-pages"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${P}-doc"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${DOCUMENTATION_COMMIT}"
git-r3_src_unpack
fi
else
@@ -49,6 +49,14 @@ 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
@@ -73,10 +81,6 @@ src_install() {
# docs
einstalldocs
if use doc; then
- if [[ ${PV} == 9999* ]]; then
- dodoc -r ../"${P}"-doc/*
- else
- dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/*
- fi
+ dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/*
fi
}
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-crypt/lego/
@ 2025-03-15 10:36 Haelwenn Monnier
0 siblings, 0 replies; 8+ messages in thread
From: Haelwenn Monnier @ 2025-03-15 10:36 UTC (permalink / raw
To: gentoo-commits
commit: f6fdcc0a0557c39774fad24a6b77f16db8f34090
Author: Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Fri Mar 14 17:00:48 2025 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Fri Mar 14 17:00:48 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f6fdcc0a
app-crypt/lego: cleanup
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
app-crypt/lego/Manifest | 8 ----
app-crypt/lego/lego-4.14.2.ebuild | 82 ---------------------------------------
app-crypt/lego/lego-4.15.0.ebuild | 82 ---------------------------------------
app-crypt/lego/lego-4.16.0.ebuild | 82 ---------------------------------------
4 files changed, 254 deletions(-)
diff --git a/app-crypt/lego/Manifest b/app-crypt/lego/Manifest
index 0b335c1a0..4038bf1f7 100644
--- a/app-crypt/lego/Manifest
+++ b/app-crypt/lego/Manifest
@@ -1,12 +1,4 @@
-DIST lego-4.14.2-deps.tar.xz 204384528 BLAKE2B 5db3b7b6c194b4042b4c81a490c99f79339c9c0c4571bf31061a352626f08afcf8508edaf104af784243476264edd03c3e992aef711d05f26f5270f27b98e7bd SHA512 a07c5bf3fa0b99e3b2af06141b1049ff030b7d74c2a38fbe7c15fc46a622d4cc02c2e563e03eb5aede1ef8dc0ea3d16b775f2381a41caafbe3c6e45831d56544
-DIST lego-4.14.2-docs.tar.gz 3639965 BLAKE2B deb991244c93cd317a8e3acb90acc5f6712d5f5a1cf65ce615a13830e5a91fb35070b1eb9ce808322fa1e6e3cc9a6ee4253b488c1c8cbef0d7899b000a00d45f SHA512 13ea06e72581aee038d8cc4906b357d506b1dd20f1c8bd32a1c3fcfa364bdac2ccb76416bf6328f07e8feabc934329358ab75b0a440ede859caf350febac69fd
-DIST lego-4.14.2.tar.gz 672197 BLAKE2B b633d6ed12fd7d38c35db392a58785fd32c3475961a49c5dbb3fe4986ca17c322a39ff604e73688928db1fa26eee70c8d9774fb560f96c5e017b680e2f89dbf2 SHA512 089788d1df077bdf8731250664628c9dbf44c8db7f2755242029c69b450eb892845b4c0b549a7affe80e351a29a6cc9d07514df3d0b7d1d17b42e20d1c85eca1
-DIST lego-4.15.0-deps.tar.xz 211464468 BLAKE2B 545c8029f4bd337a73d9ba68b7c07e9c38a67e2ab35db31b3c79d3b438f4db88317be4715bcc642e41cb29d920e9dcbb0c9de75a1ecf14fff08f14b1056a43b8 SHA512 551532265fa0f42530ef428f798e293bc96530ad307b4bd658c77e4ca74fd8323766868b8b75e5657aa0f5f627705b3f1990430042cb7a8338269d7234179039
-DIST lego-4.15.0-docs.tar.gz 3650516 BLAKE2B b08d587ec1ee9dad15c568ab979270cf112ba8cf29c1eabd818f30bf38dd29c0625df1fff7d54ce1ed87dfe191378ad0ec288a11d3f029d55c1593c50301061a SHA512 34b1172aa9e4ef53cd2efb1e84ab0b94de2280f81440477471ebf0091cad2996ae0dbef9797b7f652c6ec13053eb6557cd809dbd48b1936747d3c0e4eda63a3d
-DIST lego-4.15.0.tar.gz 683931 BLAKE2B b4bcdca4ea72e7826b690b15c297b37c186567d0167715542279acad6173d8e77883ffb79ab9cdb53f505421f67326ceca52a698f9a977cffc738b77dd8d29ed SHA512 a6cc56cbd430ed4b05451783c81d95bbd16e1c4874078b96a9057e2e7b3fde581be1b3663fdc7713079df7f2f24c8581b2f6af5b6c64737303f98e7e2bde8602
DIST lego-4.16.0-deps.tar.xz 211637812 BLAKE2B ce3089dd2f355a72e6cf81309ae389a01eb65ce832e38065174997636b9b62e742ef7cddb3aa5ab9a8657b2d643b0e190b8f75fc9b767d74fcebb71e0d860146 SHA512 62fd86bef1163c5b0f8a3a3540e7fe94ccee1b097449c42f0d5267894a4e0931a89c0f8e2e2af0f37757c7a4f25fe0d27a305aa51490b7f522ec23b9267b7eb9
-DIST lego-4.16.0-docs.tar.gz 3681408 BLAKE2B 3be8f0a8d9aaa13e4ff3bf0bd8b928bc7be0e1bec0dd31cc5e91cd1ae7d19a6952fe81a3db5c89d296642325b897e436acacf1e18975fdf5cbe34d0b1e1e7371 SHA512 80819d4496cd2cabf1d9eb8f254b240edf43e01a01c2de28274799986bee7f9a8698fc8dbba000d8e4e37b2d68e4a9f772214a237321077dedbe3a0657666244
-DIST lego-4.16.0.tar.gz 698821 BLAKE2B 9058f856a477c70c12352df4786e18dadf444df60ed462411367a8aa18ce1e98ede4358e6aad8032d5d3230341fd7e544343bda27fd92c46c494e0a5eb683f35 SHA512 ba40fdcd94cb1f12d609104d1af5c8e398f3a3d70e4d2a0b65365b401b6928149749778de9acb138e9548d634ea210641c07d2218135f2e4c903a39947f206e5
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
diff --git a/app-crypt/lego/lego-4.14.2.ebuild b/app-crypt/lego/lego-4.14.2.ebuild
deleted file mode 100644
index 29e58d964..000000000
--- a/app-crypt/lego/lego-4.14.2.ebuild
+++ /dev/null
@@ -1,82 +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=e28a6ff22f2b7f75b8aaae5012672cfcca2be690
-
-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}/${P}-doc"
- git-r3_src_unpack
- fi
- else
- go-module_src_unpack
- 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
- if [[ ${PV} == 9999* ]]; then
- dodoc -r ../"${P}"-doc/*
- else
- dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/*
- fi
- fi
-}
diff --git a/app-crypt/lego/lego-4.15.0.ebuild b/app-crypt/lego/lego-4.15.0.ebuild
deleted file mode 100644
index 283540e19..000000000
--- a/app-crypt/lego/lego-4.15.0.ebuild
+++ /dev/null
@@ -1,82 +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=9fcb88b9d6914c456d6800cc84c3cd0a6ac93f18
-
-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}/${P}-doc"
- git-r3_src_unpack
- fi
- else
- go-module_src_unpack
- 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
- if [[ ${PV} == 9999* ]]; then
- dodoc -r ../"${P}"-doc/*
- else
- dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/*
- fi
- fi
-}
diff --git a/app-crypt/lego/lego-4.16.0.ebuild b/app-crypt/lego/lego-4.16.0.ebuild
deleted file mode 100644
index 3c984d15f..000000000
--- a/app-crypt/lego/lego-4.16.0.ebuild
+++ /dev/null
@@ -1,82 +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=1f91ea806ff8f3184b7f4e00fc6e69b1e23a08a2
-
-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}/${P}-doc"
- git-r3_src_unpack
- fi
- else
- go-module_src_unpack
- 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
- if [[ ${PV} == 9999* ]]; then
- dodoc -r ../"${P}"-doc/*
- else
- dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/*
- fi
- fi
-}
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-crypt/lego/
@ 2025-03-15 10:36 Haelwenn Monnier
0 siblings, 0 replies; 8+ messages in thread
From: Haelwenn Monnier @ 2025-03-15 10:36 UTC (permalink / raw
To: gentoo-commits
commit: 7d83857b6f84494d051eb8210b45954fc1bcf8e7
Author: Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Fri Mar 14 16:59:39 2025 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Fri Mar 14 16:59:39 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7d83857b
app-crypt/lego: update to 4.22.2
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
app-crypt/lego/Manifest | 3 +++
app-crypt/lego/{lego-9999.ebuild => lego-4.22.2.ebuild} | 4 ++--
app-crypt/lego/lego-9999.ebuild | 4 ++--
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/app-crypt/lego/Manifest b/app-crypt/lego/Manifest
index 7495cddf7..0b335c1a0 100644
--- a/app-crypt/lego/Manifest
+++ b/app-crypt/lego/Manifest
@@ -12,3 +12,6 @@ DIST lego-4.16.1.tar.gz 698801 BLAKE2B 005be7bf3462d941de99c46b659776f2b69b92988
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
diff --git a/app-crypt/lego/lego-9999.ebuild b/app-crypt/lego/lego-4.22.2.ebuild
similarity index 95%
copy from app-crypt/lego/lego-9999.ebuild
copy to app-crypt/lego/lego-4.22.2.ebuild
index 0a162fb3a..622358b37 100644
--- a/app-crypt/lego/lego-9999.ebuild
+++ b/app-crypt/lego/lego-4.22.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -8,7 +8,7 @@ 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
+DOCUMENTATION_COMMIT=f1411f1b397b637903fd2e62769d50b3974b97ec
if [[ ${PV} == 9999* ]]; then
inherit git-r3
diff --git a/app-crypt/lego/lego-9999.ebuild b/app-crypt/lego/lego-9999.ebuild
index 0a162fb3a..622358b37 100644
--- a/app-crypt/lego/lego-9999.ebuild
+++ b/app-crypt/lego/lego-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -8,7 +8,7 @@ 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
+DOCUMENTATION_COMMIT=f1411f1b397b637903fd2e62769d50b3974b97ec
if [[ ${PV} == 9999* ]]; then
inherit git-r3
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-crypt/lego/
@ 2024-06-15 11:12 Julien Roy
0 siblings, 0 replies; 8+ messages in thread
From: Julien Roy @ 2024-06-15 11:12 UTC (permalink / raw
To: gentoo-commits
commit: cbb8d17758903776d4b7fe494b932fddde224a6e
Author: Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Sat Jun 15 06:54:59 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat Jun 15 06:54:59 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cbb8d177
app-crypt/lego: update to 4.17.4
* significantly reduce deps tarball size 202 MiB -> 6.4 MiB using `go
mod vendor`
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
app-crypt/lego/Manifest | 3 +++
app-crypt/lego/{lego-9999.ebuild => lego-4.17.4.ebuild} | 5 +++--
app-crypt/lego/lego-9999.ebuild | 5 +++--
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/app-crypt/lego/Manifest b/app-crypt/lego/Manifest
index 0cc3a5acf..7495cddf7 100644
--- a/app-crypt/lego/Manifest
+++ b/app-crypt/lego/Manifest
@@ -9,3 +9,6 @@ DIST lego-4.16.0-docs.tar.gz 3681408 BLAKE2B 3be8f0a8d9aaa13e4ff3bf0bd8b928bc7be
DIST lego-4.16.0.tar.gz 698821 BLAKE2B 9058f856a477c70c12352df4786e18dadf444df60ed462411367a8aa18ce1e98ede4358e6aad8032d5d3230341fd7e544343bda27fd92c46c494e0a5eb683f35 SHA512 ba40fdcd94cb1f12d609104d1af5c8e398f3a3d70e4d2a0b65365b401b6928149749778de9acb138e9548d634ea210641c07d2218135f2e4c903a39947f206e5
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
diff --git a/app-crypt/lego/lego-9999.ebuild b/app-crypt/lego/lego-4.17.4.ebuild
similarity index 95%
copy from app-crypt/lego/lego-9999.ebuild
copy to app-crypt/lego/lego-4.17.4.ebuild
index c4ae98059..0a162fb3a 100644
--- a/app-crypt/lego/lego-9999.ebuild
+++ b/app-crypt/lego/lego-4.17.4.ebuild
@@ -8,7 +8,7 @@ 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
+DOCUMENTATION_COMMIT=5b9931c1cf7c95b3e6bd5bf37126701d0327a08f
if [[ ${PV} == 9999* ]]; then
inherit git-r3
@@ -45,7 +45,7 @@ src_unpack() {
git-r3_src_unpack
fi
else
- go-module_src_unpack
+ default
fi
}
@@ -65,6 +65,7 @@ src_compile() {
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/
diff --git a/app-crypt/lego/lego-9999.ebuild b/app-crypt/lego/lego-9999.ebuild
index c4ae98059..0a162fb3a 100644
--- a/app-crypt/lego/lego-9999.ebuild
+++ b/app-crypt/lego/lego-9999.ebuild
@@ -8,7 +8,7 @@ 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
+DOCUMENTATION_COMMIT=5b9931c1cf7c95b3e6bd5bf37126701d0327a08f
if [[ ${PV} == 9999* ]]; then
inherit git-r3
@@ -45,7 +45,7 @@ src_unpack() {
git-r3_src_unpack
fi
else
- go-module_src_unpack
+ default
fi
}
@@ -65,6 +65,7 @@ src_compile() {
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/
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-crypt/lego/
@ 2024-03-10 22:45 Julien Roy
0 siblings, 0 replies; 8+ messages in thread
From: Julien Roy @ 2024-03-10 22:45 UTC (permalink / raw
To: gentoo-commits
commit: 8e472f44c79ef8f1b4fb211d03afa35012f3e0ca
Author: Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Sun Mar 10 22:17:42 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sun Mar 10 22:18:10 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8e472f44
app-crypt/lego: add 4.16.0
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
app-crypt/lego/Manifest | 3 +++
app-crypt/lego/{lego-9999.ebuild => lego-4.16.0.ebuild} | 2 +-
app-crypt/lego/lego-9999.ebuild | 2 +-
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/app-crypt/lego/Manifest b/app-crypt/lego/Manifest
index a56340a1d7..3d4c7d79e5 100644
--- a/app-crypt/lego/Manifest
+++ b/app-crypt/lego/Manifest
@@ -4,3 +4,6 @@ DIST lego-4.14.2.tar.gz 672197 BLAKE2B b633d6ed12fd7d38c35db392a58785fd32c347596
DIST lego-4.15.0-deps.tar.xz 211464468 BLAKE2B 545c8029f4bd337a73d9ba68b7c07e9c38a67e2ab35db31b3c79d3b438f4db88317be4715bcc642e41cb29d920e9dcbb0c9de75a1ecf14fff08f14b1056a43b8 SHA512 551532265fa0f42530ef428f798e293bc96530ad307b4bd658c77e4ca74fd8323766868b8b75e5657aa0f5f627705b3f1990430042cb7a8338269d7234179039
DIST lego-4.15.0-docs.tar.gz 3650516 BLAKE2B b08d587ec1ee9dad15c568ab979270cf112ba8cf29c1eabd818f30bf38dd29c0625df1fff7d54ce1ed87dfe191378ad0ec288a11d3f029d55c1593c50301061a SHA512 34b1172aa9e4ef53cd2efb1e84ab0b94de2280f81440477471ebf0091cad2996ae0dbef9797b7f652c6ec13053eb6557cd809dbd48b1936747d3c0e4eda63a3d
DIST lego-4.15.0.tar.gz 683931 BLAKE2B b4bcdca4ea72e7826b690b15c297b37c186567d0167715542279acad6173d8e77883ffb79ab9cdb53f505421f67326ceca52a698f9a977cffc738b77dd8d29ed SHA512 a6cc56cbd430ed4b05451783c81d95bbd16e1c4874078b96a9057e2e7b3fde581be1b3663fdc7713079df7f2f24c8581b2f6af5b6c64737303f98e7e2bde8602
+DIST lego-4.16.0-deps.tar.xz 211637812 BLAKE2B ce3089dd2f355a72e6cf81309ae389a01eb65ce832e38065174997636b9b62e742ef7cddb3aa5ab9a8657b2d643b0e190b8f75fc9b767d74fcebb71e0d860146 SHA512 62fd86bef1163c5b0f8a3a3540e7fe94ccee1b097449c42f0d5267894a4e0931a89c0f8e2e2af0f37757c7a4f25fe0d27a305aa51490b7f522ec23b9267b7eb9
+DIST lego-4.16.0-docs.tar.gz 3681408 BLAKE2B 3be8f0a8d9aaa13e4ff3bf0bd8b928bc7be0e1bec0dd31cc5e91cd1ae7d19a6952fe81a3db5c89d296642325b897e436acacf1e18975fdf5cbe34d0b1e1e7371 SHA512 80819d4496cd2cabf1d9eb8f254b240edf43e01a01c2de28274799986bee7f9a8698fc8dbba000d8e4e37b2d68e4a9f772214a237321077dedbe3a0657666244
+DIST lego-4.16.0.tar.gz 698821 BLAKE2B 9058f856a477c70c12352df4786e18dadf444df60ed462411367a8aa18ce1e98ede4358e6aad8032d5d3230341fd7e544343bda27fd92c46c494e0a5eb683f35 SHA512 ba40fdcd94cb1f12d609104d1af5c8e398f3a3d70e4d2a0b65365b401b6928149749778de9acb138e9548d634ea210641c07d2218135f2e4c903a39947f206e5
diff --git a/app-crypt/lego/lego-9999.ebuild b/app-crypt/lego/lego-4.16.0.ebuild
similarity index 96%
copy from app-crypt/lego/lego-9999.ebuild
copy to app-crypt/lego/lego-4.16.0.ebuild
index 283540e19c..3c984d15fc 100644
--- a/app-crypt/lego/lego-9999.ebuild
+++ b/app-crypt/lego/lego-4.16.0.ebuild
@@ -8,7 +8,7 @@ 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=9fcb88b9d6914c456d6800cc84c3cd0a6ac93f18
+DOCUMENTATION_COMMIT=1f91ea806ff8f3184b7f4e00fc6e69b1e23a08a2
if [[ ${PV} == 9999* ]]; then
inherit git-r3
diff --git a/app-crypt/lego/lego-9999.ebuild b/app-crypt/lego/lego-9999.ebuild
index 283540e19c..3c984d15fc 100644
--- a/app-crypt/lego/lego-9999.ebuild
+++ b/app-crypt/lego/lego-9999.ebuild
@@ -8,7 +8,7 @@ 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=9fcb88b9d6914c456d6800cc84c3cd0a6ac93f18
+DOCUMENTATION_COMMIT=1f91ea806ff8f3184b7f4e00fc6e69b1e23a08a2
if [[ ${PV} == 9999* ]]; then
inherit git-r3
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-crypt/lego/
@ 2024-01-29 18:26 David Roman
0 siblings, 0 replies; 8+ messages in thread
From: David Roman @ 2024-01-29 18:26 UTC (permalink / raw
To: gentoo-commits
commit: 53ddd411d73f6fef1f7644bfe3fdf047050254e5
Author: Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Mon Jan 29 11:55:41 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Jan 29 11:55:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=53ddd411
app-crypt/lego: add 4.15.0
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
app-crypt/lego/Manifest | 3 +++
app-crypt/lego/{lego-9999.ebuild => lego-4.15.0.ebuild} | 2 +-
app-crypt/lego/lego-9999.ebuild | 2 +-
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/app-crypt/lego/Manifest b/app-crypt/lego/Manifest
index 6a66b1065e..a56340a1d7 100644
--- a/app-crypt/lego/Manifest
+++ b/app-crypt/lego/Manifest
@@ -1,3 +1,6 @@
DIST lego-4.14.2-deps.tar.xz 204384528 BLAKE2B 5db3b7b6c194b4042b4c81a490c99f79339c9c0c4571bf31061a352626f08afcf8508edaf104af784243476264edd03c3e992aef711d05f26f5270f27b98e7bd SHA512 a07c5bf3fa0b99e3b2af06141b1049ff030b7d74c2a38fbe7c15fc46a622d4cc02c2e563e03eb5aede1ef8dc0ea3d16b775f2381a41caafbe3c6e45831d56544
DIST lego-4.14.2-docs.tar.gz 3639965 BLAKE2B deb991244c93cd317a8e3acb90acc5f6712d5f5a1cf65ce615a13830e5a91fb35070b1eb9ce808322fa1e6e3cc9a6ee4253b488c1c8cbef0d7899b000a00d45f SHA512 13ea06e72581aee038d8cc4906b357d506b1dd20f1c8bd32a1c3fcfa364bdac2ccb76416bf6328f07e8feabc934329358ab75b0a440ede859caf350febac69fd
DIST lego-4.14.2.tar.gz 672197 BLAKE2B b633d6ed12fd7d38c35db392a58785fd32c3475961a49c5dbb3fe4986ca17c322a39ff604e73688928db1fa26eee70c8d9774fb560f96c5e017b680e2f89dbf2 SHA512 089788d1df077bdf8731250664628c9dbf44c8db7f2755242029c69b450eb892845b4c0b549a7affe80e351a29a6cc9d07514df3d0b7d1d17b42e20d1c85eca1
+DIST lego-4.15.0-deps.tar.xz 211464468 BLAKE2B 545c8029f4bd337a73d9ba68b7c07e9c38a67e2ab35db31b3c79d3b438f4db88317be4715bcc642e41cb29d920e9dcbb0c9de75a1ecf14fff08f14b1056a43b8 SHA512 551532265fa0f42530ef428f798e293bc96530ad307b4bd658c77e4ca74fd8323766868b8b75e5657aa0f5f627705b3f1990430042cb7a8338269d7234179039
+DIST lego-4.15.0-docs.tar.gz 3650516 BLAKE2B b08d587ec1ee9dad15c568ab979270cf112ba8cf29c1eabd818f30bf38dd29c0625df1fff7d54ce1ed87dfe191378ad0ec288a11d3f029d55c1593c50301061a SHA512 34b1172aa9e4ef53cd2efb1e84ab0b94de2280f81440477471ebf0091cad2996ae0dbef9797b7f652c6ec13053eb6557cd809dbd48b1936747d3c0e4eda63a3d
+DIST lego-4.15.0.tar.gz 683931 BLAKE2B b4bcdca4ea72e7826b690b15c297b37c186567d0167715542279acad6173d8e77883ffb79ab9cdb53f505421f67326ceca52a698f9a977cffc738b77dd8d29ed SHA512 a6cc56cbd430ed4b05451783c81d95bbd16e1c4874078b96a9057e2e7b3fde581be1b3663fdc7713079df7f2f24c8581b2f6af5b6c64737303f98e7e2bde8602
diff --git a/app-crypt/lego/lego-9999.ebuild b/app-crypt/lego/lego-4.15.0.ebuild
similarity index 96%
copy from app-crypt/lego/lego-9999.ebuild
copy to app-crypt/lego/lego-4.15.0.ebuild
index 29e58d9642..283540e19c 100644
--- a/app-crypt/lego/lego-9999.ebuild
+++ b/app-crypt/lego/lego-4.15.0.ebuild
@@ -8,7 +8,7 @@ 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=e28a6ff22f2b7f75b8aaae5012672cfcca2be690
+DOCUMENTATION_COMMIT=9fcb88b9d6914c456d6800cc84c3cd0a6ac93f18
if [[ ${PV} == 9999* ]]; then
inherit git-r3
diff --git a/app-crypt/lego/lego-9999.ebuild b/app-crypt/lego/lego-9999.ebuild
index 29e58d9642..283540e19c 100644
--- a/app-crypt/lego/lego-9999.ebuild
+++ b/app-crypt/lego/lego-9999.ebuild
@@ -8,7 +8,7 @@ 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=e28a6ff22f2b7f75b8aaae5012672cfcca2be690
+DOCUMENTATION_COMMIT=9fcb88b9d6914c456d6800cc84c3cd0a6ac93f18
if [[ ${PV} == 9999* ]]; then
inherit git-r3
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-crypt/lego/
@ 2024-01-07 23:46 David Roman
0 siblings, 0 replies; 8+ messages in thread
From: David Roman @ 2024-01-07 23:46 UTC (permalink / raw
To: gentoo-commits
commit: 59597bf3499fc941fa7d8b2b758595a13feae108
Author: Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Sun Jan 7 21:01:31 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sun Jan 7 21:01:31 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=59597bf3
app-crypt/lego: support arm64
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
app-crypt/lego/lego-4.14.2.ebuild | 4 ++--
app-crypt/lego/lego-9999.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/app-crypt/lego/lego-4.14.2.ebuild b/app-crypt/lego/lego-4.14.2.ebuild
index 2e16460056..29e58d9642 100644
--- a/app-crypt/lego/lego-4.14.2.ebuild
+++ b/app-crypt/lego/lego-4.14.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,7 +19,7 @@ else
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"
+ KEYWORDS="~amd64 ~arm64"
fi
# main
diff --git a/app-crypt/lego/lego-9999.ebuild b/app-crypt/lego/lego-9999.ebuild
index 2e16460056..29e58d9642 100644
--- a/app-crypt/lego/lego-9999.ebuild
+++ b/app-crypt/lego/lego-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,7 +19,7 @@ else
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"
+ KEYWORDS="~amd64 ~arm64"
fi
# main
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-crypt/lego/
@ 2024-01-01 14:31 Florian Schmaus
0 siblings, 0 replies; 8+ messages in thread
From: Florian Schmaus @ 2024-01-01 14:31 UTC (permalink / raw
To: gentoo-commits
commit: 70474a40cc82af756e37d4876271bd0df07292eb
Author: Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Mon Jan 1 04:54:52 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jan 1 04:54:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=70474a40
app-crypt/lego: ACME client alternative to certbot/acme.sh
written in Go which offers many built-in DNS plugins
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
app-crypt/lego/Manifest | 3 ++
app-crypt/lego/lego-4.14.2.ebuild | 82 +++++++++++++++++++++++++++++++++++++++
app-crypt/lego/lego-9999.ebuild | 82 +++++++++++++++++++++++++++++++++++++++
app-crypt/lego/metadata.xml | 13 +++++++
4 files changed, 180 insertions(+)
diff --git a/app-crypt/lego/Manifest b/app-crypt/lego/Manifest
new file mode 100644
index 0000000000..6a66b1065e
--- /dev/null
+++ b/app-crypt/lego/Manifest
@@ -0,0 +1,3 @@
+DIST lego-4.14.2-deps.tar.xz 204384528 BLAKE2B 5db3b7b6c194b4042b4c81a490c99f79339c9c0c4571bf31061a352626f08afcf8508edaf104af784243476264edd03c3e992aef711d05f26f5270f27b98e7bd SHA512 a07c5bf3fa0b99e3b2af06141b1049ff030b7d74c2a38fbe7c15fc46a622d4cc02c2e563e03eb5aede1ef8dc0ea3d16b775f2381a41caafbe3c6e45831d56544
+DIST lego-4.14.2-docs.tar.gz 3639965 BLAKE2B deb991244c93cd317a8e3acb90acc5f6712d5f5a1cf65ce615a13830e5a91fb35070b1eb9ce808322fa1e6e3cc9a6ee4253b488c1c8cbef0d7899b000a00d45f SHA512 13ea06e72581aee038d8cc4906b357d506b1dd20f1c8bd32a1c3fcfa364bdac2ccb76416bf6328f07e8feabc934329358ab75b0a440ede859caf350febac69fd
+DIST lego-4.14.2.tar.gz 672197 BLAKE2B b633d6ed12fd7d38c35db392a58785fd32c3475961a49c5dbb3fe4986ca17c322a39ff604e73688928db1fa26eee70c8d9774fb560f96c5e017b680e2f89dbf2 SHA512 089788d1df077bdf8731250664628c9dbf44c8db7f2755242029c69b450eb892845b4c0b549a7affe80e351a29a6cc9d07514df3d0b7d1d17b42e20d1c85eca1
diff --git a/app-crypt/lego/lego-4.14.2.ebuild b/app-crypt/lego/lego-4.14.2.ebuild
new file mode 100644
index 0000000000..2e16460056
--- /dev/null
+++ b/app-crypt/lego/lego-4.14.2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2023 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=e28a6ff22f2b7f75b8aaae5012672cfcca2be690
+
+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"
+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}/${P}-doc"
+ git-r3_src_unpack
+ fi
+ else
+ go-module_src_unpack
+ 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
+ if [[ ${PV} == 9999* ]]; then
+ dodoc -r ../"${P}"-doc/*
+ else
+ dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/*
+ fi
+ fi
+}
diff --git a/app-crypt/lego/lego-9999.ebuild b/app-crypt/lego/lego-9999.ebuild
new file mode 100644
index 0000000000..2e16460056
--- /dev/null
+++ b/app-crypt/lego/lego-9999.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2023 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=e28a6ff22f2b7f75b8aaae5012672cfcca2be690
+
+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"
+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}/${P}-doc"
+ git-r3_src_unpack
+ fi
+ else
+ go-module_src_unpack
+ 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
+ if [[ ${PV} == 9999* ]]; then
+ dodoc -r ../"${P}"-doc/*
+ else
+ dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/*
+ fi
+ fi
+}
diff --git a/app-crypt/lego/metadata.xml b/app-crypt/lego/metadata.xml
new file mode 100644
index 0000000000..9fbd01cd7f
--- /dev/null
+++ b/app-crypt/lego/metadata.xml
@@ -0,0 +1,13 @@
+<?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>
^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-03-15 10:37 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-11 17:31 [gentoo-commits] repo/proj/guru:master commit in: app-crypt/lego/ David Roman
-- strict thread matches above, loose matches on Subject: below --
2025-03-15 10:36 Haelwenn Monnier
2025-03-15 10:36 Haelwenn Monnier
2024-06-15 11:12 Julien Roy
2024-03-10 22:45 Julien Roy
2024-01-29 18:26 David Roman
2024-01-07 23:46 David Roman
2024-01-01 14:31 Florian Schmaus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox