diff options
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/Manifest.gz | bin | 22563 -> 22560 bytes | |||
-rw-r--r-- | sys-fs/mtd-utils/Manifest | 2 | ||||
-rw-r--r-- | sys-fs/mtd-utils/mtd-utils-2.1.6.ebuild | 52 |
3 files changed, 54 insertions, 0 deletions
diff --git a/sys-fs/Manifest.gz b/sys-fs/Manifest.gz Binary files differindex 2bc28cd31e65..20759fae6fde 100644 --- a/sys-fs/Manifest.gz +++ b/sys-fs/Manifest.gz diff --git a/sys-fs/mtd-utils/Manifest b/sys-fs/mtd-utils/Manifest index 2c5bccdb122e..e1f67d127d85 100644 --- a/sys-fs/mtd-utils/Manifest +++ b/sys-fs/mtd-utils/Manifest @@ -1,3 +1,5 @@ DIST mtd-utils-2.1.5.tar.bz2 640309 BLAKE2B 94dfd37c10d2759c2fe0b2a7565e2a2aeafdfcaaba2ab9eddc5de2d77658f2702f25004609698585c170839f4e4b685e99004918f1e20cf1ced6925680215427 SHA512 625ee12baf38401c60f6c22d53ed649710417f8d03c6c2217cee890478954e22261428fbf11c713493fb6b7d452ed5af44b0dc9c58133f7b4f52e369353a62c3 +DIST mtd-utils-2.1.6.tar.bz2 458333 BLAKE2B 799c19fbee1a690fa695edfa7e2ab1691e37fccb3f83685065e93b5ceea96e550eecdba4576b7d1a58a1b0ce06e3e551ee635fe9ed16521952fc85986f74ae6f SHA512 470902475b9e583d3a12801c1cab5492c671ec3ccf853cc3336c4e2b8771eac489d67b1414b9f1e827c42ebdba0fe2cdc681297477d67a796af04d81160442bd EBUILD mtd-utils-2.1.5.ebuild 1132 BLAKE2B 14535a937eca1ecb763221a78fc74f9e90a6ee319f4acf7be8f2991666ebbb5f3207e5502b5b4d932084fed91b7bbc29c8f626b56393603d645caf827890355f SHA512 d007d9efd365dff6228baa03f506e713ebf7e1466d08881fc72e0224dafe870a804ef5769818cba1f329e27c1acaf67296dc9f2c1d2978f2bc4bad5f7e216e5a +EBUILD mtd-utils-2.1.6.ebuild 1138 BLAKE2B a7e82b12de85a5075bd29b73174ad2e0673563946dac952299ba4f47f818505ade1a80be9f73ae6d9f6b41dbc75bd1efcc7024d7c15d82f83e093b8f511cc344 SHA512 ed31cf1ba64a2321e2a868b06a8b77d49d539e9133ba26700e1a12c00442b70b11c7f69855b02ec73cc1475784dac24033d960218f1874a2bf50e1a48d489a73 MISC metadata.xml 589 BLAKE2B 4991d24ee29697e60dd1672008647d8b7ef2f6cf60a64ccf3b1174eecdaf842b81783ecd9995a7b050f98b744546550074b6c2ea509e45f3f42106badbc3deeb SHA512 a3a46acfa94eb80e4220d2e143a929f4a02e1d6708378a4e429b7de4e82bfe1d04aee5868c889c98354b566b58f0512d50f36357f16fa6997afffd0c2177b696 diff --git a/sys-fs/mtd-utils/mtd-utils-2.1.6.ebuild b/sys-fs/mtd-utils/mtd-utils-2.1.6.ebuild new file mode 100644 index 000000000000..840f5928e349 --- /dev/null +++ b/sys-fs/mtd-utils/mtd-utils-2.1.6.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +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 ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="+lzo test xattr +zstd" +RESTRICT="!test? ( test )" + +DEPEND=" + sys-apps/util-linux:= + sys-libs/zlib:= + lzo? ( dev-libs/lzo:= ) + 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 ) + +PATCHES=( + #"${FILESDIR}"/${P}-glibc-2.36.patch +) + +src_prepare() { + default + sed -i '/if test.*then/s: == : = :' configure || die +} + +src_configure() { + # --enable-tests is for test programs that are installed + econf \ + --enable-tests \ + $(use_enable test unit-tests) \ + $(use_with lzo) \ + $(use_with xattr) \ + $(use_with zstd) +} + +src_install() { + default + doman \ + jffsX-utils/mkfs.jffs2.1 \ + ubi-utils/ubinize.8 +} |