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 B1D241581D3 for ; Tue, 21 May 2024 11:39:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43054E2A91; Tue, 21 May 2024 11:39:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 254E7E2A91 for ; Tue, 21 May 2024 11:39:08 +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 336E4335DCC for ; Tue, 21 May 2024 11:39:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F54B1AF1 for ; Tue, 21 May 2024 11:39:05 +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: <1716291527.3024a3c1fdc1a78d1a2ffae796d455b5e0296a5f.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/whdd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-block/whdd/Manifest sys-block/whdd/whdd-3.1.ebuild X-VCS-Directories: sys-block/whdd/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 3024a3c1fdc1a78d1a2ffae796d455b5e0296a5f X-VCS-Branch: master Date: Tue, 21 May 2024 11:39:05 +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: e4064066-13ab-4fb7-8a88-bf685407225f X-Archives-Hash: 583e47d25de2fb972a1b9ff200ef281c commit: 3024a3c1fdc1a78d1a2ffae796d455b5e0296a5f Author: Marek Szuba gentoo org> AuthorDate: Tue May 21 11:32:57 2024 +0000 Commit: Marek Szuba gentoo org> CommitDate: Tue May 21 11:38:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3024a3c1 sys-block/whdd: add 3.1 Upstream now provides CMake build scripts as well but they do not appear to be ready yet, as in addition to not respecting user CFLAGS (easily fixed) whdd built with CMake immediately segfaults. Signed-off-by: Marek Szuba gentoo.org> sys-block/whdd/Manifest | 1 + sys-block/whdd/whdd-3.1.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/sys-block/whdd/Manifest b/sys-block/whdd/Manifest index c2bc70e91df6..a749ef279c3a 100644 --- a/sys-block/whdd/Manifest +++ b/sys-block/whdd/Manifest @@ -1 +1,2 @@ DIST whdd-3.0.1-rel.tar.gz 45657 BLAKE2B 9730e61580359c95fc3e3d23540f3b10e75b476e634cce3be744b8849193f43f968f227bdbd25a0c643106c1343b27070c8b51f33278e902ab54991a05eee021 SHA512 6d5d8dad7537118a5915a29a549e18595da1b6ba031f0ca661805ad0033fd48f32804eb307f67e7b31d6002e708ae578a32aff366f3e610ab36b25f0a4e50803 +DIST whdd-3.1-rel.tar.gz 45806 BLAKE2B dce0230955fda721539891f0e993f25d3777e7d11331bbbd7b7e853dafd2edba043fc598c672634cc8bb65bad5c0ae9f3e26713f98c0d551dc72d08de20e1eb4 SHA512 8960b482d7c3a75b0b9e540092a0c074dbb66561f455fdf454e8cd89cc5dc4dc028e60b44ce74ecbf568af5e7e34a5b3b5deaee9480112f4161d98b773442bed diff --git a/sys-block/whdd/whdd-3.1.ebuild b/sys-block/whdd/whdd-3.1.ebuild new file mode 100644 index 000000000000..5009455fad36 --- /dev/null +++ b/sys-block/whdd/whdd-3.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Diagnostic and recovery tool for block devices" +HOMEPAGE="https://whdd.github.io" + +inherit toolchain-funcs + +if [[ ${PV} == 9999 ]] +then + EGIT_REPO_URI="https://github.com/${PN}/${PN}" + inherit git-r3 +else + SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}-rel.tar.gz" + KEYWORDS="~amd64 ~riscv ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" + +DEPEND="dev-util/dialog:= + sys-libs/ncurses:=[unicode(+)]" +RDEPEND="${DEPEND} + sys-apps/smartmontools" + +src_compile() { + tc-export CC + default +} + +src_install() { + emake DESTDIR="${ED}" install + einstalldocs +}