From 407e833f44e52225d73e03f210468f32d4736e84 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Sun, 6 Aug 2023 14:37:01 +0200 Subject: [PATCH] net-im/gomuks: Update golang vendor tarballs This commit moves distfiles and changes them due to repackaging, but no code was changed. The vendored dep archive is now in a separate download section and built according to suggestions implemented e.g. in dev-vcs/git-lfs::gentoo. Signed-off-by: Nils Freydank --- net-im/gomuks/gomuks-0.3.0_p20230710.ebuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/net-im/gomuks/gomuks-0.3.0_p20230710.ebuild b/net-im/gomuks/gomuks-0.3.0_p20230710.ebuild index 31da7ce..271e2ae 100644 --- a/net-im/gomuks/gomuks-0.3.0_p20230710.ebuild +++ b/net-im/gomuks/gomuks-0.3.0_p20230710.ebuild @@ -16,10 +16,14 @@ else SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" fi # Add the manually vendored tarball. -# Build tar archive with these flags for reproducabilty: -# --mtime="1970-01-01" --sort=name --owner=portage --group=portage" -# Compress the tarball with: xz -9eT0k --memlimit-decompress=256M -SRC_URI+=" https://files.holgersson.xyz/gentoo/distfiles/holgersson-overlay/${P}-deps.tar.xz" +# 1) Create a tar archive optimized to reproduced by other users or devs. +# 2) Compress the archive using XZ limiting decompression memory for +# pretty constraint systems. +# Use something like: +# tar cf $P-deps.tar go-mod \ +# --mtime="1970-01-01" --sort=name --owner=portage --group=portage +# xz -k -9eT0 --memlimit-decompress=256M $P-deps.tar +SRC_URI+=" https://files.holgersson.xyz/gentoo/distfiles/golang-pkg-deps/${P}-deps.tar.xz" KEYWORDS="~amd64" LICENSE="