From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD7E7158086 for ; Wed, 8 Dec 2021 11:26:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D889B2BC009; Wed, 8 Dec 2021 11:26:25 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 860732BC009 for ; Wed, 8 Dec 2021 11:26:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 85604343649 for ; Wed, 8 Dec 2021 11:26:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A53F1E3 for ; Wed, 8 Dec 2021 11:26:23 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1638962769.4d8a8d9fe769fbf94f8fdf9bd2e1dcfaf5027c07.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/jdupes/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/jdupes/jdupes-1.20.2-r1.ebuild app-misc/jdupes/jdupes-9999.ebuild app-misc/jdupes/metadata.xml X-VCS-Directories: app-misc/jdupes/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: 4d8a8d9fe769fbf94f8fdf9bd2e1dcfaf5027c07 X-VCS-Branch: master Date: Wed, 8 Dec 2021 11:26:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6e5aec3d-5ead-48ea-a718-2b9839d4b4bb X-Archives-Hash: 815796e8b1f4c89246b81b1ff0eaa9f3 commit: 4d8a8d9fe769fbf94f8fdf9bd2e1dcfaf5027c07 Author: Jakov Petrina sartura hr> AuthorDate: Wed Dec 8 10:32:26 2021 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Wed Dec 8 11:26:09 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d8a8d9f app-misc/jdupes: add missing USE flags This change introduces several USE flags enabling support for deduplication (enabled by default), low memory scenario handling, and compile-time hardening. Closes: https://bugs.gentoo.org/828495 Thanks-to: Andreas Thalhammer linux.com> Signed-off-by: Jakov Petrina sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/23223 Signed-off-by: Jakov Smolić gentoo.org> app-misc/jdupes/{jdupes-9999.ebuild => jdupes-1.20.2-r1.ebuild} | 9 ++++++++- app-misc/jdupes/jdupes-9999.ebuild | 9 ++++++++- app-misc/jdupes/metadata.xml | 4 ++++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/app-misc/jdupes/jdupes-9999.ebuild b/app-misc/jdupes/jdupes-1.20.2-r1.ebuild similarity index 81% copy from app-misc/jdupes/jdupes-9999.ebuild copy to app-misc/jdupes/jdupes-1.20.2-r1.ebuild index 681f1d0f1493..a6b6e30cf675 100644 --- a/app-misc/jdupes/jdupes-9999.ebuild +++ b/app-misc/jdupes/jdupes-1.20.2-r1.ebuild @@ -17,6 +17,8 @@ fi LICENSE="MIT" SLOT="0" +IUSE="+dedupe lowmem hardened" + # missing test.sh script # https://github.com/jbruchon/jdupes/issues/191 RESTRICT="test" @@ -28,7 +30,12 @@ src_prepare() { src_compile() { tc-export CC - default + local myconf=( + $(usex dedupe 'ENABLE_DEDUPE=1' '') + $(usex lowmem 'LOW_MEMORY=1' '') + $(usex hardened 'HARDEN=1' '') + ) + emake ${myconf[@]} } src_install() { diff --git a/app-misc/jdupes/jdupes-9999.ebuild b/app-misc/jdupes/jdupes-9999.ebuild index 681f1d0f1493..a6b6e30cf675 100644 --- a/app-misc/jdupes/jdupes-9999.ebuild +++ b/app-misc/jdupes/jdupes-9999.ebuild @@ -17,6 +17,8 @@ fi LICENSE="MIT" SLOT="0" +IUSE="+dedupe lowmem hardened" + # missing test.sh script # https://github.com/jbruchon/jdupes/issues/191 RESTRICT="test" @@ -28,7 +30,12 @@ src_prepare() { src_compile() { tc-export CC - default + local myconf=( + $(usex dedupe 'ENABLE_DEDUPE=1' '') + $(usex lowmem 'LOW_MEMORY=1' '') + $(usex hardened 'HARDEN=1' '') + ) + emake ${myconf[@]} } src_install() { diff --git a/app-misc/jdupes/metadata.xml b/app-misc/jdupes/metadata.xml index a710c4ca4077..5079763f7636 100644 --- a/app-misc/jdupes/metadata.xml +++ b/app-misc/jdupes/metadata.xml @@ -13,6 +13,10 @@ proxy-maint@gentoo.org Proxy Maintainers + + Enable deduplication support + Enable support for low-memory operation + jbruchon/jdupes