public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-crypt/lego/
Date: Sat, 15 Jun 2024 11:12:17 +0000 (UTC)	[thread overview]
Message-ID: <1718434499.cbb8d17758903776d4b7fe494b932fddde224a6e.julien@gentoo> (raw)

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/


             reply	other threads:[~2024-06-15 11:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-15 11:12 Julien Roy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-06 10:05 [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/lego/ David Roman
2025-04-07  9:32 ` [gentoo-commits] repo/proj/guru:master " David Roman
2025-03-15 10:36 Haelwenn Monnier
2025-03-15 10:36 Haelwenn Monnier
2024-03-11 17:31 David Roman
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1718434499.cbb8d17758903776d4b7fe494b932fddde224a6e.julien@gentoo \
    --to=julien@jroy.ca \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox