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 D314315800F for ; Tue, 24 Jan 2023 11:01:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD7D1E07A5; Tue, 24 Jan 2023 11:01:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A17B7E07A5 for ; Tue, 24 Jan 2023 11:01:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8B1C3340DBF for ; Tue, 24 Jan 2023 11:01:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9CF9889 for ; Tue, 24 Jan 2023 11:00:59 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1674558039.6875c3c69b65df4698b676f8c7c1334394647f54.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/ddrescue/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/ddrescue/Manifest sys-fs/ddrescue/ddrescue-1.27.ebuild X-VCS-Directories: sys-fs/ddrescue/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 6875c3c69b65df4698b676f8c7c1334394647f54 X-VCS-Branch: master Date: Tue, 24 Jan 2023 11:00:59 +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: 3a0d5c04-3fb3-4e99-8874-0574bb1d0155 X-Archives-Hash: 749bbd1424b8e39dda98ff088b9e2246 commit: 6875c3c69b65df4698b676f8c7c1334394647f54 Author: Marek Szuba gentoo org> AuthorDate: Tue Jan 24 09:38:25 2023 +0000 Commit: Marek Szuba gentoo org> CommitDate: Tue Jan 24 11:00:39 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6875c3c6 sys-fs/ddrescue: add 1.27 Signed-off-by: Marek Szuba gentoo.org> sys-fs/ddrescue/Manifest | 1 + sys-fs/ddrescue/ddrescue-1.27.ebuild | 39 ++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/sys-fs/ddrescue/Manifest b/sys-fs/ddrescue/Manifest index ea44f87243f9..bfa2a78af557 100644 --- a/sys-fs/ddrescue/Manifest +++ b/sys-fs/ddrescue/Manifest @@ -1 +1,2 @@ DIST ddrescue-1.26.tar.lz 91930 BLAKE2B c545499e380587729eb3fcc90a7baf66288348dc88027dfc14401ec72254cc786d8ab7be076a346964327668ff719048dada916c9f1514a765a255f02c5666c7 SHA512 bbe414563d459a1ad1c4e55848214d195e01f8bc455104eddbeff7046623f5bc21d961457d27ace2605d13dff68c7948182706b8afe6755e5c363e8cad86a1cc +DIST ddrescue-1.27.tar.lz 93496 BLAKE2B a8957819dec2255e446504c822331ae13a86193f4655cbe6d559a498db9daf8c0f8066355e395cfd44f08b2f15d831820003bdfde6fc59c8434a695f95bdbe21 SHA512 b9a8b462536c5ec29db69e3a5f70b0bce160d5c58373cb519f6d54aba2fc0c4907e74fbcd11d49291306dc29c76f1992575aef7cfff41f34748bbd96e33b745a diff --git a/sys-fs/ddrescue/ddrescue-1.27.ebuild b/sys-fs/ddrescue/ddrescue-1.27.ebuild new file mode 100644 index 000000000000..0790a952430c --- /dev/null +++ b/sys-fs/ddrescue/ddrescue-1.27.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 flag-o-matic unpacker + +DESCRIPTION="Copy data from one file or block device to another with read-error recovery" +HOMEPAGE="https://www.gnu.org/software/ddrescue/ddrescue.html" +SRC_URI="mirror://gnu/${PN}/${P}.tar.lz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux" +IUSE="static" + +DEPEND="$(unpacker_src_uri_depends)" +RDEPEND="" + +src_configure() { + use static && append-ldflags -static + + # not a normal configure script + econf \ + --prefix="${EPREFIX}"/usr \ + CXX="$(tc-getCXX)" \ + CPPFLAGS="${CPPFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS}" +} + +src_test() { + ./testsuite/check.sh "${S}"/testsuite || die +} + +src_install() { + emake DESTDIR="${D}" install install-man + einstalldocs +}