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 <nils.freydank@posteo.de>
This commit is contained in:
Nils Freydank 2023-08-06 14:37:01 +02:00
parent 082468ba32
commit 407e833f44
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112

View File

@ -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="