sys-fs/duperemove: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
d613e1c4df
commit
f5df70c470
|
@ -1,3 +1 @@
|
|||
DIST duperemove-0.12.gh.tar.gz 162458 BLAKE2B 53dae9df2b45cb9ede8041e8a7a827c22c725da51d6df74acc96b464d4bfcc3a14b8adcd4b9ada68e2cf1411a5f015be27476e088a655998b0cc9d1f19acfae8 SHA512 7b5f464615f4ba850733657239dd4d68120d592424b6be56687b7ad4f6fd2dee67fd7729a1cd47c803dd77864dee033d8eef2f7f6774dc0f657b0d52aeb5559c
|
||||
DIST duperemove-0.14.1.gh.new.tar.gz 167968 BLAKE2B 74d5ed6c452a24103d9ca0050ee1d1fdbb4eb4df5c2e86f84e6a1c70abf54d2caf27597d2088a5130d696bebaf07f93dd5f47e9c414af9ce3d19f096b872a02a SHA512 16af9fb002d6e51ce469869507d5d4b8f9576620746337252ad733e6f74ae275c1e83da6af1c203543b9d19890180952d87f9fad4a02d4c4e0a25577ce569191
|
||||
DIST duperemove-0.14.gh.new.tar.gz 167912 BLAKE2B 819a86d8846106b701164425080f33e69e6239b7c7fe5df560fdb700b7d1275491d4a53c9f8e91fb29dc5c6381ba8a3f0a202f4cde5dadb4ebce328edd5d3764 SHA512 e193af84e729eb1bfb1cd1c5b965243bbefb93e0cba192ef5389916093dc84ad9e793031ecca06dc1173a673282aa16beb4d956b1a9acfc68d15d89798067d22
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
# 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/"
|
||||
SRC_URI="
|
||||
https://github.com/markfasheh/duperemove/archive/v${PV/_/.}.tar.gz
|
||||
-> ${P/_/.}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-db/sqlite:3
|
||||
dev-libs/glib:2"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${P/_/.}
|
||||
|
||||
src_compile() {
|
||||
emake VERSION="${PV}" IS_RELEASE=1 CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
# 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
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
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);
|
||||
}
|
Loading…
Reference in New Issue