From 082468ba329d13905e58bf0fb93c1616a00c761d Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Sun, 6 Aug 2023 14:37:00 +0200 Subject: [PATCH] net-im/dendrite: Bump to 0.13.1_p20230803 Also make the vendored tarball better reproducable and place it into a new location. Signed-off-by: Nils Freydank --- net-im/dendrite/Manifest | 4 ++-- ...728.ebuild => dendrite-0.13.1_p20230803.ebuild} | 14 +++++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) rename net-im/dendrite/{dendrite-0.13.1_p20230728.ebuild => dendrite-0.13.1_p20230803.ebuild} (81%) diff --git a/net-im/dendrite/Manifest b/net-im/dendrite/Manifest index ce7dcff..faeae6b 100644 --- a/net-im/dendrite/Manifest +++ b/net-im/dendrite/Manifest @@ -1,2 +1,2 @@ -DIST dendrite-0.13.1_p20230728-deps.tar.xz 536763768 BLAKE2B 6a6cd2de2fb4c54567449edfa33d900635485c5e445db53700ebefd88e868a078077909bb8e0cd5460cadeb023325b89bee032407bf5f65c8e819ee987decb29 SHA512 a81f24f615d3af4aaee8f6cdd53dbcb09aa330d7dc99ace0745129ab551eb18a939808f5626fbed0660c6c8b70ba05294f38711c9a612b657758fed502147661 -DIST dendrite-0.13.1_p20230728.tar.gz 1245125 BLAKE2B 554b4a7dc909abe312a5b96b1a89534ad85fe7f9deb6421edb2b77faf3631a798e64e97b8589aafa41cb77db6f05b04f87e0c3cd26e74c92d081616584e0cc23 SHA512 f267abce0a7c491f6d297071916d6cd7171a83d3ef1f9d8fa792bd2e04cde8c6d5193ac26de90cff666653a228c7c9cbe02fdde2c280a76af2c098c23fc4d4c0 +DIST dendrite-0.13.1_p20230803-deps.tar.xz 536882232 BLAKE2B f8072ea534e431467207bdcd070fcbfd3601aa42032b7d4241d3b269e5f4571b3fa0c5f1321c95f5f1defeecee6c7cf3f00b876caa1db035b75b60313943ac75 SHA512 edc048d3c1287f845037fec6ae48c3279f2b131208524b922b762c8d1b697a78a94c4cc69163177d82e82ded1b46280c79eb23fef8f2cdb671f12d47ddfbefa3 +DIST dendrite-0.13.1_p20230803.tar.gz 1246073 BLAKE2B 4337bd51b6f559cd7ae78201649817825a7a6c7626667142b3add4f8cfc1d16fe228984853ccaccb0870cfbbd2fcd9c8c9f66a35eff6a68933721f199be2f2d4 SHA512 6cfd6794425c48b884545ee83927d7e25a18357a10e659c0f2ddc366fb14c8ec8383b2878cb644eca64089f265e4ade0b0bf0600502fab836795c05bb859a503 diff --git a/net-im/dendrite/dendrite-0.13.1_p20230728.ebuild b/net-im/dendrite/dendrite-0.13.1_p20230803.ebuild similarity index 81% rename from net-im/dendrite/dendrite-0.13.1_p20230728.ebuild rename to net-im/dendrite/dendrite-0.13.1_p20230803.ebuild index 67d881b..b24ab72 100644 --- a/net-im/dendrite/dendrite-0.13.1_p20230728.ebuild +++ b/net-im/dendrite/dendrite-0.13.1_p20230803.ebuild @@ -4,7 +4,7 @@ EAPI="8" EGO_PN="github.com/matrix-org/dendrite" inherit go-module systemd -COMMIT_ID="3f727485d6e21a603e4df1cb31c3795cc1023caa" +COMMIT_ID="294eff8a7f42f11b3559ca941468c766358fcae1" DESCRIPTION="Matrix homeserver written in go" HOMEPAGE="https://matrix.org https://github.com/matrix-org/dendrite" @@ -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" # There are some third-party licenses for test suites