diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-21 23:10:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-21 23:10:38 +0000 |
commit | 51a01b0f2371b8dfc39f2747ecafd7d5f083ecb4 (patch) | |
tree | 55d5c62353eb98ea2809ea087e9fc4b215c53563 /sys-fs/duperemove | |
parent | 46de1a2f454a1465026d681f5dfe8db7dde5b126 (diff) |
gentoo auto-resync : 21:11:2023 - 23:10:38
Diffstat (limited to 'sys-fs/duperemove')
-rw-r--r-- | sys-fs/duperemove/Manifest | 3 | ||||
-rw-r--r-- | sys-fs/duperemove/duperemove-0.14-r1.ebuild | 39 | ||||
-rw-r--r-- | sys-fs/duperemove/files/duperemove-0.14-wformat-security.patch | 25 |
3 files changed, 67 insertions, 0 deletions
diff --git a/sys-fs/duperemove/Manifest b/sys-fs/duperemove/Manifest index 182c07e28893..843708a7dacf 100644 --- a/sys-fs/duperemove/Manifest +++ b/sys-fs/duperemove/Manifest @@ -1,8 +1,11 @@ AUX duperemove-0.13-musl.patch 579 BLAKE2B 342bf0ab6a060f66553883043c7534f3615e9381a48411858161790f41896225c953a637b9423a6b1ef2e95dcb4b796733cbb091f2c84429c1348d0d1510c17e SHA512 e43b599d8722e11dc2e7b87234e189bb84fad0d614232ba4ac2d45a2b087fa517c2a6603385d9fbbbd622948d8f2c3971fce3049a83bc41617db80dd6c4b415f +AUX duperemove-0.14-wformat-security.patch 914 BLAKE2B 8f22ed762c1c9e0b1c6b3cead9c682dc19afa361057e08ea526b852ea6e87686560ff064365f7098c25baf881491db577a204d2805b19c1d19ff47e4e79b4751 SHA512 5cc50d539850b656a63fd10d057bb5cd05d264648864f5463c86ec81c4fef6acf53e90c33ac3dfcc0422560d0cca5d4184436db32f33d2b9a60c1c732c7f425c DIST duperemove-0.12.gh.tar.gz 162458 BLAKE2B 53dae9df2b45cb9ede8041e8a7a827c22c725da51d6df74acc96b464d4bfcc3a14b8adcd4b9ada68e2cf1411a5f015be27476e088a655998b0cc9d1f19acfae8 SHA512 7b5f464615f4ba850733657239dd4d68120d592424b6be56687b7ad4f6fd2dee67fd7729a1cd47c803dd77864dee033d8eef2f7f6774dc0f657b0d52aeb5559c DIST duperemove-0.13.gh.tar.gz 165454 BLAKE2B 8bfac3448b5ee8842be77b0ac969439197050d3ef4b245be85a918353c966e56d7b7505e004af830caca50732d1227795769d803640f422a1bed8ca299802e75 SHA512 e24fa9f658acf1c1badd797af719f81250861b9af4595cf96aa3583fe558a2fba7390bc06184f6a4b6c76be3c8b214d6a6ead8b0de6914a5e1df053d5e7e24e7 +DIST duperemove-0.14.gh.new.tar.gz 167912 BLAKE2B 819a86d8846106b701164425080f33e69e6239b7c7fe5df560fdb700b7d1275491d4a53c9f8e91fb29dc5c6381ba8a3f0a202f4cde5dadb4ebce328edd5d3764 SHA512 e193af84e729eb1bfb1cd1c5b965243bbefb93e0cba192ef5389916093dc84ad9e793031ecca06dc1173a673282aa16beb4d956b1a9acfc68d15d89798067d22 DIST duperemove-0.14.gh.tar.gz 167844 BLAKE2B 3f489ca29e3417cacb186fe5d93de2d1a1052a1fc04811c8853e30430e883daaa8cce9262efbe3d6535295cc53904c2c996fda397b24601a045907c9035f6601 SHA512 3a205d2cbf92a3d9a0f48d276a153b2259514cbb2a5911d63830cc145711118642329f164464ebd6639b764a624c8f9e59b19779a36155f5709f45e59689c008 EBUILD duperemove-0.12.ebuild 666 BLAKE2B d8b5f977758c598335dcc9520dc7db5edf6fa89b33c93c24033a8452a29882749cd4c686fb49c4933f227839230811b8b89cf625808371f16dc1cb6578a146c0 SHA512 eb2ec9c0da6f82783ac40a0d31be62981ee0650e1e4744cc88648fed8a97375dd810f8d4548ee598efd7b80278160afac7628e41f6aae71bf24db2aa5556acfd EBUILD duperemove-0.13.ebuild 712 BLAKE2B e3d14aa45c4e201bcdaf05c418b97129a63931c197f9ff328bcc5c4c857c84a036467816b96812d8acd206ec132fe5b69c8ca7a8b2edd38d1c9a800d856822a9 SHA512 121227e5b1b95a93d47e025491e3322789414c16f5e7d110f67c45fd5c587e6388d5e193aa87c9bd9f4a5bcc363b01f80530203b6634b89199a3a5180e30cea3 +EBUILD duperemove-0.14-r1.ebuild 776 BLAKE2B 10535f1edbcba1ab57270f559fc362645aa9b6099884e1994aa7635c3e9a10a786d5f51265da610489db439b6c5a763407c0f814f9ee54ecef1319b33d37c760 SHA512 9c2485b7c490c60e0807e1eb00b4f5b8c8ab1c38096e00f8df7f9af05ac8839eb6e2d4f719acbbc96fd31718c3f40086f702d57146c43617974c0846dd0a57a9 EBUILD duperemove-0.14.ebuild 662 BLAKE2B 5eb26b9a3df1269daec2b1198e4a1baf68e22aacc691fcb63cca4f13b9358d2afb14a9201f12979fa419758b2991ab72d1e2e81decbfa1ef661fffb1a42fb915 SHA512 b60e251b17c7e37cc99019173227c786799aef32ee8e07dea8d775e4c6120cd7852428d47b14478de687edcc70da0a01812cc54c6a7027b4add5ca3b893b6db8 MISC metadata.xml 334 BLAKE2B 375ee51b86214e9cc0d3b68727d83314d2694fa25f36758f7af1e691bcbc620896576c4f957809429d527ab0d9e6c6464af4850d13991b7174f8118901fd9985 SHA512 6ff5e136e085723546f070d388e9da22a902461629c799985fb2563c3eb3ca7b05794b4bcc96bedee97dd5a65551b2c74aeadbb3e2880a3ffa6426a9fea05bac diff --git a/sys-fs/duperemove/duperemove-0.14-r1.ebuild b/sys-fs/duperemove/duperemove-0.14-r1.ebuild new file mode 100644 index 000000000000..e08d9f8519fa --- /dev/null +++ b/sys-fs/duperemove/duperemove-0.14-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Btrfs and xfs deduplication utility" +HOMEPAGE="https://github.com/markfasheh/duperemove/" +# XXX: drop .new on bump after 0.14, added for respin +SRC_URI=" + https://github.com/markfasheh/duperemove/archive/v${PV/_/.}.tar.gz + -> ${P/_/.}.gh.new.tar.gz +" +S=${WORKDIR}/${P/_/.} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" + +DEPEND=" + dev-db/sqlite:3 + dev-libs/glib:2 +" +RDEPEND=" + ${DEPEND} +" + +PATCHES=( + "${FILESDIR}"/${P}-wformat-security.patch +) + +src_compile() { + emake VERSION="${PV}" IS_RELEASE=1 CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install +} diff --git a/sys-fs/duperemove/files/duperemove-0.14-wformat-security.patch b/sys-fs/duperemove/files/duperemove-0.14-wformat-security.patch new file mode 100644 index 000000000000..43c946ca35fe --- /dev/null +++ b/sys-fs/duperemove/files/duperemove-0.14-wformat-security.patch @@ -0,0 +1,25 @@ +https://github.com/markfasheh/duperemove/commit/5cbcc65254cf684b4281b278b5ee38c82d0a3ee5 + +From 5cbcc65254cf684b4281b278b5ee38c82d0a3ee5 Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich <slyich@gmail.com> +Date: Mon, 20 Nov 2023 21:09:58 +0000 +Subject: [PATCH] util.c: make debug helper `-Wformat-security`-clean + +Without the change `gcc-14` fails the build with `-Werror=format-security` +as: + + util.c:340:25: error: format not a string literal and no format arguments [-Werror=format-security] + 340 | fprintf(stream, buf); + | ^~~ + +It's a harmless warning as `UUID` has a well-defined set of characters. +But `fputs()` expresses intent more directly to print the string as is. +--- a/util.c ++++ b/util.c +@@ -337,5 +337,5 @@ void debug_print_uuid(FILE *stream, uuid_t uuid) + { + char buf[37]; + uuid_unparse(uuid, buf); +- fprintf(stream, buf); ++ fputs(buf, stream); + } |