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 C79B9158083 for ; Wed, 25 Sep 2024 16:20:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 206E9E2BA5; Wed, 25 Sep 2024 16:20:24 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 0B2A9E2BA5 for ; Wed, 25 Sep 2024 16:20:24 +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 3A3FD34316C for ; Wed, 25 Sep 2024 16:20:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 534351ACF for ; Wed, 25 Sep 2024 16:20:21 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1727281179.bdde1d3e33419ab5ad550998bdbeb69dabf00190.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/mtd-utils/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/mtd-utils/Manifest sys-fs/mtd-utils/mtd-utils-2.2.1.ebuild X-VCS-Directories: sys-fs/mtd-utils/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: bdde1d3e33419ab5ad550998bdbeb69dabf00190 X-VCS-Branch: master Date: Wed, 25 Sep 2024 16:20:21 +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: 45f4c164-436d-42cd-85a1-5d741e0ecef3 X-Archives-Hash: 3f157f541128ad2cdaae3d3680577f79 commit: bdde1d3e33419ab5ad550998bdbeb69dabf00190 Author: Robin H. Johnson gentoo org> AuthorDate: Wed Sep 25 16:19:39 2024 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Wed Sep 25 16:19:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdde1d3e sys-fs/mtd-utils: bump to 2.2.1 Signed-off-by: Robin H. Johnson gentoo.org> sys-fs/mtd-utils/Manifest | 1 + sys-fs/mtd-utils/mtd-utils-2.2.1.ebuild | 58 +++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/sys-fs/mtd-utils/Manifest b/sys-fs/mtd-utils/Manifest index 4719fe93cf9b..b89a103ace37 100644 --- a/sys-fs/mtd-utils/Manifest +++ b/sys-fs/mtd-utils/Manifest @@ -1 +1,2 @@ DIST mtd-utils-2.1.6.tar.bz2 458333 BLAKE2B 799c19fbee1a690fa695edfa7e2ab1691e37fccb3f83685065e93b5ceea96e550eecdba4576b7d1a58a1b0ce06e3e551ee635fe9ed16521952fc85986f74ae6f SHA512 470902475b9e583d3a12801c1cab5492c671ec3ccf853cc3336c4e2b8771eac489d67b1414b9f1e827c42ebdba0fe2cdc681297477d67a796af04d81160442bd +DIST mtd-utils-2.2.1.tar.bz2 476562 BLAKE2B 81403a5c6a94ad9147cda56a3f821d6b46b2718d7b1e084aa5236802c22e6b75223c68073abdd35f2ceb8b4857880e923dd49274c6ba3e9fce0ec1a0314fef22 SHA512 ef1cf4d6fa5219b8bbe4728282d0d73fd3234c36743cdfb901908269632f55a7993fdbeb22cc2b6841add1a9f320c4504a42980f5856626e259401e8e2f17f7d diff --git a/sys-fs/mtd-utils/mtd-utils-2.2.1.ebuild b/sys-fs/mtd-utils/mtd-utils-2.2.1.ebuild new file mode 100644 index 000000000000..bdc80fbd7c37 --- /dev/null +++ b/sys-fs/mtd-utils/mtd-utils-2.2.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="MTD userspace tools (NFTL, JFFS2, NAND, FTL, UBI)" +HOMEPAGE="https://git.infradead.org/?p=mtd-utils.git;a=summary" +SRC_URI="https://infraroot.at/pub/mtd/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="+lzo +ssl test xattr +zstd" +RESTRICT="!test? ( test )" + +DEPEND=" + sys-apps/util-linux:= + sys-libs/zlib:= + lzo? ( dev-libs/lzo:= ) + ssl? ( dev-libs/openssl:0= ) + xattr? ( sys-apps/acl ) + zstd? ( app-arch/zstd:= ) +" +RDEPEND="${DEPEND}" +BDEPEND="test? ( dev-util/cmocka )" + +DOCS=( jffsX-utils/device_table.txt ubifs-utils/mkfs.ubifs/README ) + +src_prepare() { + default + sed -i '/if test.*then/s: == : = :' configure || die +} + +src_configure() { + # --enable-tests is for test programs that are installed + local myeconfargs=( + --enable-tests + $(use_enable test unit-tests) + $(use_with lzo) + $(use_with ssl ubifs) + $(use_with xattr) + $(use_with zstd) + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + default + doman \ + jffsX-utils/mkfs.jffs2.1 \ + ubi-utils/ubinize.8 +}