summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-24 03:02:55 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-24 03:02:55 +0000
commit530a5a826feeb71085fb8a01927f4d775a0b131b (patch)
treeb7669c45ea3f2a3a37b2437817a370226bb1c819 /sys-fs
parent71dd9d29cdaf7cc0ecdb9ea37d128726a941c630 (diff)
gentoo auto-resync : 24:11:2024 - 03:02:54
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/Manifest.gzbin22248 -> 22263 bytes
-rw-r--r--sys-fs/compsize/Manifest5
-rw-r--r--sys-fs/compsize/compsize-1.5.ebuild2
-rw-r--r--sys-fs/compsize/files/compsize-1.5-btrfs-progs.patch35
-rw-r--r--sys-fs/compsize/metadata.xml9
-rw-r--r--sys-fs/exfatprogs/Manifest8
-rw-r--r--sys-fs/exfatprogs/exfatprogs-1.2.2.ebuild25
-rw-r--r--sys-fs/exfatprogs/exfatprogs-1.2.3.ebuild25
-rw-r--r--sys-fs/exfatprogs/exfatprogs-1.2.6.ebuild (renamed from sys-fs/exfatprogs/exfatprogs-1.2.4.ebuild)2
-rw-r--r--sys-fs/genfstab/Manifest4
-rw-r--r--sys-fs/genfstab/genfstab-24.ebuild27
-rw-r--r--sys-fs/genfstab/genfstab-29.ebuild39
-rw-r--r--sys-fs/mtools/Manifest2
-rw-r--r--sys-fs/mtools/mtools-4.0.46.ebuild54
14 files changed, 148 insertions, 89 deletions
diff --git a/sys-fs/Manifest.gz b/sys-fs/Manifest.gz
index 2056e690e29b..c9cd390024db 100644
--- a/sys-fs/Manifest.gz
+++ b/sys-fs/Manifest.gz
Binary files differ
diff --git a/sys-fs/compsize/Manifest b/sys-fs/compsize/Manifest
index 5a7d384af544..fe0263386f27 100644
--- a/sys-fs/compsize/Manifest
+++ b/sys-fs/compsize/Manifest
@@ -1,4 +1,5 @@
+AUX compsize-1.5-btrfs-progs.patch 781 BLAKE2B ce4b600a3489e09c00dcb6a071789145994f8b0ee86c9044737554a1a050a8cfd4d04a94b8dc63b4b57cf63e745715a64585fb2e0c23794272878934eb12ae1b SHA512 54b79130db2d7b9ac0f5bc5f56fa36293141dd08829e4eb552f76ea8a90f0f2ddce5b57f80431949173b11d5d53c2e66004078c168fc8515059b61f3f1e25edc
DIST compsize-1.5.tar.gz 15015 BLAKE2B 1a7fc676ffaeb69fd410a834eab54ef63c5fa11e428bd0567ab5dec5dc27fe1b4901fdd47760c07a7fb26375b81ba997528c0aa83409eb364a3b9f2cb1942cc8 SHA512 25d6f1973e8a0a86bd857dc1e1ba99760451cf388f3bd3ede6a6ef35351ff63f100646d313010aff3de9e70b2c68866a31c4ea31d9c6df9254648cd1bd0272fa
-EBUILD compsize-1.5.ebuild 926 BLAKE2B f8b4a81536ebcce43b6f9fb7e5156d45e59a2d0c0ca0e3992b5b6c9160491bb26d930558cd448e5808946f5356cd7e87b9e64cfff9e2bf065f03fb597d08f055 SHA512 ee5b993faaa94359c545aed3237ece35f8e6de65f3bdab3df3a7b7d1c0e9df408f4884e8724f4e17acd3c12f21af2f6d8ee5ad0e6ce149a3226e4bab97dc6c72
+EBUILD compsize-1.5.ebuild 976 BLAKE2B c10f8d9ac336e915dfc302153f078c2c3e40e17e71ed66ba56e01ff6fc9b314dc465f3068b8f835975559732ad795e1a446beefbae8fa068eb8745257013429c SHA512 cb64681b2b1209bb70c88ecc327738a4be8b98fabf877167d4e8e0b2a03bc31aa23262fdda29d5e437e82b47c51d43937fcc847ec5aa829243a7f08eee4eaaea
EBUILD compsize-9999.ebuild 928 BLAKE2B 8fc33041687cfdbce6d4d6fc783a205ee1cb44adf73d116e4902076e5c6a8ecb4c5a9243f08ad6bf45498500855fad582dd5f1640a8c387a49eae9a4abd3e7a8 SHA512 e3c8c59c8bd9aae6365e773b1fe319adb7b4239166d8802c2b545c0ec531b6f1a442fc3fb9d7f92c3555accdc5435d031d41aa187f2fb054d3141d22c364f282
-MISC metadata.xml 250 BLAKE2B 22af94e4a12e43f1a8972d561c2db3ae9f5b27af5e6c089400b02221af6822ae6e9293bb674fbed2fdf85a96256f044e4863d82b7b579b88b31cca25ec07e793 SHA512 c1e552a74229f0d6c896d91f6814bc39a1a4325bb900c73bc6b5683f7b62dfc5e38a0eceb2c8fab7e456d9f49024a1ec53d30852594a8f2868fb4b4ced59d06a
+MISC metadata.xml 479 BLAKE2B f4f628bc877000b672f62f777866ed752572b8cd5913b6758f6324e5557616ef00d0a9598cc261720ed485ef63a37ac525bbdd7abf4336e1268fde06c157eb9b SHA512 eb7c759b73232d65b28ab8db283c2decf21a35df250936617fbee3ca0bd8aa0e7c7eb48070340183128c9abd1b440bdfdb1a2ed6a9ddc0aa91d5f9f992115263
diff --git a/sys-fs/compsize/compsize-1.5.ebuild b/sys-fs/compsize/compsize-1.5.ebuild
index 2f5223f474b9..49f2a0af1795 100644
--- a/sys-fs/compsize/compsize-1.5.ebuild
+++ b/sys-fs/compsize/compsize-1.5.ebuild
@@ -22,6 +22,8 @@ IUSE="debug"
DEPEND="sys-fs/btrfs-progs"
+PATCHES=( "${FILESDIR}/${P}-btrfs-progs.patch" )
+
src_prepare() {
default
# Don't try to install a gzipped manfile during emake install
diff --git a/sys-fs/compsize/files/compsize-1.5-btrfs-progs.patch b/sys-fs/compsize/files/compsize-1.5-btrfs-progs.patch
new file mode 100644
index 000000000000..3d2d75e370c0
--- /dev/null
+++ b/sys-fs/compsize/files/compsize-1.5-btrfs-progs.patch
@@ -0,0 +1,35 @@
+diff --git a/compsize.c b/compsize.c
+index 42ec304..0f533e5 100644
+--- a/compsize.c
++++ b/compsize.c
+@@ -5,12 +5,14 @@
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <dirent.h>
++#include "kerncompat.h"
+ #include <btrfs/ioctl.h>
+ #include <btrfs/ctree.h>
+ #include <stdarg.h>
+ #include <stdlib.h>
+ #include <sys/ioctl.h>
+ #include <inttypes.h>
++#include <errno.h>
+ #include <linux/limits.h>
+ #include <getopt.h>
+ #include <signal.h>
+diff --git a/radix-tree.h b/radix-tree.h
+index bf96d83..d99ea7e 100644
+--- a/radix-tree.h
++++ b/radix-tree.h
+@@ -37,11 +37,7 @@
+ #ifndef _LINUX_RADIX_TREE_H
+ #define _LINUX_RADIX_TREE_H
+
+-#if BTRFS_FLAT_INCLUDES
+ #include "kerncompat.h"
+-#else
+-#include <btrfs/kerncompat.h>
+-#endif /* BTRFS_FLAT_INCLUDES */
+
+ #define RADIX_TREE_MAX_TAGS 2
+
diff --git a/sys-fs/compsize/metadata.xml b/sys-fs/compsize/metadata.xml
index ba656c0ab8ac..76c8a8ae2eb8 100644
--- a/sys-fs/compsize/metadata.xml
+++ b/sys-fs/compsize/metadata.xml
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person" proxied="yes">
+ <email>davidroman96@gmail.com</email>
+ <name>David Roman</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<upstream>
<remote-id type="github">kilobyte/compsize</remote-id>
</upstream>
diff --git a/sys-fs/exfatprogs/Manifest b/sys-fs/exfatprogs/Manifest
index 0ed86707573d..98c0dcfc2ba7 100644
--- a/sys-fs/exfatprogs/Manifest
+++ b/sys-fs/exfatprogs/Manifest
@@ -1,10 +1,6 @@
-DIST exfatprogs-1.2.2.tar.xz 274552 BLAKE2B 457c2036f07d81193bfb8f23a47410f70ddf125b91f88ddb303874341d5304293cc254e337d820b15ac135c4a96d59a35e6e741f049052065a5f866720516c13 SHA512 51ff77860704a7a4a2986e0090514d46614d6d6ce5ad07ea622e4dd806f06f034959a0c35d7e67689a7eb6836a1de967e302d5ec1c9ca6d33fa80d68d574741e
-DIST exfatprogs-1.2.3.tar.xz 275976 BLAKE2B 68d6a6d389748f9a0b815bc325696c1c2104a72a6e681888ef98e02e0244c7335e6f4abde40ebbdb28a3a5ac098e894a788e17d378993e59f0d7906f65ab394b SHA512 7ed568fba5bb4d12fcf6d5cf4b8afc1f0d95a28c67dcbe722284d3cab689b668b78a6c87e56a427d93542d6df45bd288794a4f2e60f94e831eab00eae7f097f4
-DIST exfatprogs-1.2.4.tar.xz 275696 BLAKE2B 70b60f339affb4236b050bec089395f732965a5e0959eb271f4dd2664536336288cef3103cb123fc33fe32c9c4c51ab17430db5fd169bb61f4afc2c003c51752 SHA512 9073e7643c68f43c948cc7b8a0a75c89375351801ae9e3e015858760663b223f3da32bac64f814a57cbf748e6ce7943ebcac7d8fe885ebca31a2184061d10daa
DIST exfatprogs-1.2.5.tar.xz 364904 BLAKE2B 11909a494d0e6ae3ba938ae6c8511d587037f32c0a07a7775c3da5e1019cd2ca989f42e616da4a44e32551d936db97a935b0074322389cc39b4c336043535bea SHA512 812c070e8b0b87e481081ff7a4d26d99fe0e6aadf3b4cc81c211bd269ebd3e42c419baaaa95335f3967868f8c9f39f6e5a6e951c92b86fa881b9c88b435ed7e3
-EBUILD exfatprogs-1.2.2.ebuild 619 BLAKE2B 5044cc0a42ed6aca9a588340c7477cc7ab9091f8e5e35783d93df91a4e63ddd72b26ccecc52f27003151226f727c26ed965271056272bb7ea704ac2cf4df1539 SHA512 3412cd6c1ab4650f658981cdff401f6a78128a71f19aad5320cce4bc35066867e31d949f50fb4a2b49e42873657553b4bf9de2bb364245deab0009008b238766
-EBUILD exfatprogs-1.2.3.ebuild 619 BLAKE2B 5044cc0a42ed6aca9a588340c7477cc7ab9091f8e5e35783d93df91a4e63ddd72b26ccecc52f27003151226f727c26ed965271056272bb7ea704ac2cf4df1539 SHA512 3412cd6c1ab4650f658981cdff401f6a78128a71f19aad5320cce4bc35066867e31d949f50fb4a2b49e42873657553b4bf9de2bb364245deab0009008b238766
-EBUILD exfatprogs-1.2.4.ebuild 620 BLAKE2B 202064bfe5034cc2cf2a1c55979d6ff6e5ff7c60b7e8fc14e98cbe084ae0a99de1215616557d2061a953ea3a895b8a0b88adf9692b2e7a3cdedddf4479d490e8 SHA512 d810071aac4d60771a4d46331a022307cf12513b6919f12fe91b5fa731868678759440f9a267285f7f45d612a7b791d8b4eceb1f2aea3675e381447d055fada0
+DIST exfatprogs-1.2.6.tar.xz 365832 BLAKE2B 2f92976638cb7ec626692a60ac7097003ab441d1cca6cc502b776c2954da0e527fa28053e4c2c601aecadd267684910bcdf0f00797322ec9635fe64263fe2d1d SHA512 e0fc88bd7cbac023ac58965d3c1d6b0722277c39efa3e098b0e395e0d245ce445c3f202af9c313e93fcd5d891e14044af479415915ed52a94c55d71945d14762
EBUILD exfatprogs-1.2.5.ebuild 620 BLAKE2B 202064bfe5034cc2cf2a1c55979d6ff6e5ff7c60b7e8fc14e98cbe084ae0a99de1215616557d2061a953ea3a895b8a0b88adf9692b2e7a3cdedddf4479d490e8 SHA512 d810071aac4d60771a4d46331a022307cf12513b6919f12fe91b5fa731868678759440f9a267285f7f45d612a7b791d8b4eceb1f2aea3675e381447d055fada0
+EBUILD exfatprogs-1.2.6.ebuild 624 BLAKE2B b2ef42340838d02717ab4a4c9041ecf27deac202e24b7a67fda5ad53c5cb438b6846d2854ceac0319a4e66adf0a41022b13c0944b2edd31c18d1afd477e2f282 SHA512 c93a6d9e4beac3d4cf1f720a1bb92bef6cc7e8409bbcdcee69489645e4f0d841df9dffb29df98897af185e9aed73f66d9969c4ad4d8d642d17acfa55f601cd7c
EBUILD exfatprogs-9999.ebuild 624 BLAKE2B b2ef42340838d02717ab4a4c9041ecf27deac202e24b7a67fda5ad53c5cb438b6846d2854ceac0319a4e66adf0a41022b13c0944b2edd31c18d1afd477e2f282 SHA512 c93a6d9e4beac3d4cf1f720a1bb92bef6cc7e8409bbcdcee69489645e4f0d841df9dffb29df98897af185e9aed73f66d9969c4ad4d8d642d17acfa55f601cd7c
MISC metadata.xml 344 BLAKE2B 6f45e027a37eb3d01018cfd5b1d07691129367cb969896e42303b38ca81bbdc8aef68f1dc542b2a5aefa793d2f28c60c8c5dc2261b75b817973302dd7e817541 SHA512 5ce136106ee694a1a8725e3498189a1162aa249a91b4597a3cd6f87c202b6a30fd1bd6daa13e9f80fe108f3e024ca995502b9b18b30bbad47722b18fa325fa1d
diff --git a/sys-fs/exfatprogs/exfatprogs-1.2.2.ebuild b/sys-fs/exfatprogs/exfatprogs-1.2.2.ebuild
deleted file mode 100644
index 64cf3654a575..000000000000
--- a/sys-fs/exfatprogs/exfatprogs-1.2.2.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Userspace utilities for new exfat filesystem (kernel 5.7+)"
-HOMEPAGE="https://github.com/exfatprogs/exfatprogs"
-
-if [[ ${PV} == *9999 ]] ; then
- inherit autotools git-r3
- EGIT_REPO_URI="https://github.com/exfatprogs/exfatprogs.git"
-else
- SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz"
- KEYWORDS="amd64 ~arm64 ~loong ppc ppc64 ~riscv x86"
-fi
-LICENSE="GPL-2"
-SLOT="0"
-
-RDEPEND="!sys-fs/exfat-utils"
-
-src_prepare() {
- default
-
- [[ ${PV} == *9999 ]] && eautoreconf
-}
diff --git a/sys-fs/exfatprogs/exfatprogs-1.2.3.ebuild b/sys-fs/exfatprogs/exfatprogs-1.2.3.ebuild
deleted file mode 100644
index 64cf3654a575..000000000000
--- a/sys-fs/exfatprogs/exfatprogs-1.2.3.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Userspace utilities for new exfat filesystem (kernel 5.7+)"
-HOMEPAGE="https://github.com/exfatprogs/exfatprogs"
-
-if [[ ${PV} == *9999 ]] ; then
- inherit autotools git-r3
- EGIT_REPO_URI="https://github.com/exfatprogs/exfatprogs.git"
-else
- SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz"
- KEYWORDS="amd64 ~arm64 ~loong ppc ppc64 ~riscv x86"
-fi
-LICENSE="GPL-2"
-SLOT="0"
-
-RDEPEND="!sys-fs/exfat-utils"
-
-src_prepare() {
- default
-
- [[ ${PV} == *9999 ]] && eautoreconf
-}
diff --git a/sys-fs/exfatprogs/exfatprogs-1.2.4.ebuild b/sys-fs/exfatprogs/exfatprogs-1.2.6.ebuild
index 502d109228b8..24a35a00a404 100644
--- a/sys-fs/exfatprogs/exfatprogs-1.2.4.ebuild
+++ b/sys-fs/exfatprogs/exfatprogs-1.2.6.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/exfatprogs/exfatprogs.git"
else
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz"
- KEYWORDS="amd64 ~arm64 ~loong ppc ppc64 ~riscv x86"
+ KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
fi
LICENSE="GPL-2"
diff --git a/sys-fs/genfstab/Manifest b/sys-fs/genfstab/Manifest
index ad4cd0a0bb6b..6984d8a3fea6 100644
--- a/sys-fs/genfstab/Manifest
+++ b/sys-fs/genfstab/Manifest
@@ -1,5 +1,5 @@
DIST arch-install-scripts-v28.tar.gz 19730 BLAKE2B 0ff5ba79b200ad642e049ec19217cc5c0794d627a28f42e03c0df2444fef4d8488a6ee011d26fb8fe958c1a1a2fa0a13920567e394b2389c772f516b1fe8f388 SHA512 09a027b04b70e01ccd1fd82e3a443c876bdf978b94a922de9dea4dbc187360460ea35720816724b72fc31b02338b11bf39b47ec9156518a8a3ade000530bf1df
-DIST genfstab-24.gh.tar.gz 17916 BLAKE2B 07246efbde341dce7dc624c467e3f0bd849bccec46cd27f90f132960526674f44554b1ae7ac89e2d1f603567db4058f8dd465f54297071e89f65845ba07c6499 SHA512 0391bf93fc7c6ef0acefc3a0ce314d8c52542d519e4f88198734d90db9fc9ef23310c0c414c0940703fb6c0f74f6d8f23d1795bb3eed2b2a8ff5a594f00b63e4
-EBUILD genfstab-24.ebuild 730 BLAKE2B 652429dfceb2b898edd837cee2041745bb445a60094aec09b8a18abca62f2bfadbcc0dd08143094d7928c18a66b1f887349d94c2f30b5f3626889e1afec1a42b SHA512 3ea27e37d366c24fbb0a3b40f9ba0b0acde4b87e85dfaaf6b3b3b71e29502a5bf37e0c9939b5233bd514bd806e19af66bce8fe264939da97cddfb14cf891db15
+DIST arch-install-scripts-v29.tar.bz2 19418 BLAKE2B 733d326fd5b2948fc30d4c8e4752e855b8babe73698019825bf828334d07e0c3527534d5f58248f701b6aeda41425c2c6869da77506be891a493c3871f3c5e1f SHA512 39239dcdcdf8cf9ef72b7a16f2c42133baa8791c9d2753a35818236d92a0327d0aacd399013a06548739000556481ce6608106280f185006140fea9468157066
EBUILD genfstab-28-r1.ebuild 944 BLAKE2B 000f46f086171e758f7c200a854fc2e5087e18ce3acfb2dfd4f50bbcbbd4c615bdce4771a6bca985fbe54a52b5e003275e7c4b4f844992df5890766c238d2c1b SHA512 f898b7a4ed30ee4d86827c41897e23f7be8e234c8cecbd50f6237b3613925306e9ae9eb0aa87f5b32fd8a1c18ed844f9fb2a557be35c4e2e5799de1fe9548ab0
+EBUILD genfstab-29.ebuild 1001 BLAKE2B 25e63fe8e067df3547145ee9fca7bd9f38d1328594c51e8d653cc790b37ace8b934ae19ea104775659af62562e1ce6104c92a0cd7bd1e430bc91ea4ef3bf4fe3 SHA512 250e9344a9d6f241285f66d2cd1c1d4d71a8b60d96eb2f29ed052358660a4d75ef2554bce7bb8fbd284ac37a1f9f1408afbcdc134e171ce25390b6c7af72e896
MISC metadata.xml 1442 BLAKE2B 212c2094c67559d00b443f1744b3191234b4fa9d4e467622c7dbd6b7931220e9e245495d639694b6aa6ee1056bd0bb17a9c648cb1085bd34427351d729817d1a SHA512 1637a1eb56dc5cf52690695ca05d6cd95e1d85261198ecf59eeb679c6843065b663625d706f5de145276ef7dda54327c604a99e8212fe662462f95c2a88459e9
diff --git a/sys-fs/genfstab/genfstab-24.ebuild b/sys-fs/genfstab/genfstab-24.ebuild
deleted file mode 100644
index 702066b4d0b9..000000000000
--- a/sys-fs/genfstab/genfstab-24.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1
-
-DESCRIPTION="Genfstab - generate output suitable for addition to an fstab file"
-HOMEPAGE="https://github.com/archlinux/arch-install-scripts https://man.archlinux.org/man/genfstab.8"
-SRC_URI="https://github.com/archlinux/arch-install-scripts/archive/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
-S="${WORKDIR}/arch-install-scripts-tags-v${PV}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm64 x86"
-
-BDEPEND="app-text/asciidoc"
-
-src_compile() {
- emake MANS="doc/genfstab.8" BINPROGS="genfstab"
-}
-
-src_install() {
- dobin genfstab
- doman doc/genfstab.8
- newbashcomp completion/genfstab.bash genfstab
-}
diff --git a/sys-fs/genfstab/genfstab-29.ebuild b/sys-fs/genfstab/genfstab-29.ebuild
new file mode 100644
index 000000000000..0c5a2ce911a1
--- /dev/null
+++ b/sys-fs/genfstab/genfstab-29.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit shell-completion
+
+DESCRIPTION="Genfstab - generate output suitable for addition to an fstab file"
+HOMEPAGE="https://gitlab.archlinux.org/archlinux/arch-install-scripts https://man.archlinux.org/man/genfstab.8"
+SRC_URI="https://gitlab.archlinux.org/archlinux/arch-install-scripts/-/archive/v${PV}/arch-install-scripts-v${PV}.tar.bz2"
+
+S="${WORKDIR}/arch-install-scripts-v${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ app-alternatives/awk
+ app-text/asciidoc
+ sys-devel/m4
+"
+
+src_test() {
+ emake MANS="doc/genfstab.8" BINPROGS="genfstab" check
+}
+
+src_compile() {
+ emake MANS="doc/genfstab.8" BINPROGS="genfstab"
+}
+
+src_install() {
+ dobin genfstab
+ doman doc/genfstab.8
+ newbashcomp completion/bash/genfstab genfstab
+ newzshcomp completion/zsh/_genfstab _genfstab
+}
diff --git a/sys-fs/mtools/Manifest b/sys-fs/mtools/Manifest
index bb9b221a21d6..cdbba269f0ef 100644
--- a/sys-fs/mtools/Manifest
+++ b/sys-fs/mtools/Manifest
@@ -2,8 +2,10 @@ DIST mtools-4.0.42.tar.bz2 441506 BLAKE2B 07afec0aea49427ec71ae8ddde9c1dceb33b25
DIST mtools-4.0.43.tar.bz2 443673 BLAKE2B d000839bbb6bc647eb5a32b08b40b1350cd0a85fd564f0705ecbfe20f8f4ef21bf2d59cd0ccd7a159c829c019c6c2f3cbdef82ff3f4a9e8828cc13d44ddabd1d SHA512 b70e483688124a653dd333ab127494dab12d413809680a4846dc4ae5c166a0b9938a2ab290e518c1f1a5b18ed96d2c2a29d92d61b16b772a4ab5e495379fe410
DIST mtools-4.0.44.tar.lz 389267 BLAKE2B 1a6a9d257fc07cf27280a535feac873d27690fb02114b293e31d7c8441de6bbdbd57a13f4ba62ce5a5093cd45683776dd8e61ac822b1d3d44eb98cd21f7b9088 SHA512 8977f43b1cd25a0d1052f9f8f140d73d432bd49a7a4737d0b743a9f8ccec5aff6bbbdc07455011ecc49038b1b1dfd6908dda8c46d06389b1511875f9bc654f84
DIST mtools-4.0.45.tar.lz 389733 BLAKE2B bb23b310fea5d10e5f0c0ed543e0f8cbac9ba4177128419b6e05fb4a06896a64ddccb27c932eb41c339a0167706e729c2f209837874fe4ac4d165a534802031c SHA512 dd5869fee6f376deab2beb3d5168045a6abc7bbfdea35a274369420c99771ee89477629364a8c677dfba56e0df5c7d2760b6cbfba2d425a89a7b8c21f2b6e538
+DIST mtools-4.0.46.tar.lz 391300 BLAKE2B 997e766b215aebefb23d57f357ea0b95db62a7e3b40712597c38aa11c0f9c47dc43b0b6a34bfa2b976ec8298ed221c5d7d81e9f16dbeb0a4812e3a6cbff16a16 SHA512 1af737cc4793a2e6afe14b5595f085f8aa29e58bf4d8ba89454c7b9a10041a0ebe06fd50b525332c38805c7a9b014fc4379ae1cc259da7626974c6b6a061e727
EBUILD mtools-4.0.42.ebuild 1060 BLAKE2B d92adedc56a0e1546c388ec7131c11e2c9a14b5fee3fd9d30be1da012d04479b440f56ed410ad598e020b85562ef18aba787e876ba380a05127fe9ae0cc1feef SHA512 a54c3be439cccb4393e965be0f50b23608f338ae611d2f6d3a4b411032638318f178b05198623c8bab2d537ccda40bfac4ac70d4d48353b3ed0409b61384047e
EBUILD mtools-4.0.43.ebuild 1060 BLAKE2B f26d54fc0f2584f27560d2160efc8d527a70ecd317727adfb051e04bd20bd53ef32568ad96e3a8420256f1416d6c2b52203a5830d25c09bb267cbe58968b3c8c SHA512 852d8572c2f89299ee51e8608ef1d0f500bdc4308fd6d637f3ba4201034158b5c1266b5eab7e64d4e9a9b01845bea1b68327606333d265f86012e7618f8b2304
EBUILD mtools-4.0.44.ebuild 1106 BLAKE2B 19e50766eebc08fe10b45f1ebabce0cc3b5b9e1e640ab12462c0b41acb3a7f95467447c07bcff1a414700c22ae69ee9d8258e68944e6f5a89e88a4501b359fe7 SHA512 ee30772edcbc8df7a5595b9408bfcb9b48f67adc8f74f20061427d4df6e23a2ddadc54e1b46d61b758ad33708421ef8092aacebe5f31124133a43939282a2af3
EBUILD mtools-4.0.45.ebuild 1113 BLAKE2B 1d6a108b730fdcb212050a7dfc7a0923d10bf97d540168c11d2f394b80ccf0a1f0f513db678a45120476585976b2cd873d67cb50bab482b6b342d1b09038763f SHA512 2e822b7900b123495c307de3c012925e919fffdbc0af7006dd5fccfe7b1644a144ab4ed8325fce22b1e79c8e8a09ba6604574368e4db5b2b9d8d7237e138ab03
+EBUILD mtools-4.0.46.ebuild 1113 BLAKE2B 1d6a108b730fdcb212050a7dfc7a0923d10bf97d540168c11d2f394b80ccf0a1f0f513db678a45120476585976b2cd873d67cb50bab482b6b342d1b09038763f SHA512 2e822b7900b123495c307de3c012925e919fffdbc0af7006dd5fccfe7b1644a144ab4ed8325fce22b1e79c8e8a09ba6604574368e4db5b2b9d8d7237e138ab03
MISC metadata.xml 375 BLAKE2B 7b9f85cb5e60ac6716012455042af65e14007d0b913842352098db7a79256b07096b51645ad294dad1d3be6f7acd3aa05bf52985a0cafce9faa78bde4de0a073 SHA512 827ce3643138e41a4ab9b652e16035bfa9e9a0714e69e979841feca48231d4bdbd37252e1d3aa2b5c4753e38215eadc58f8e43c00914ec9888d66078ea5f91c4
diff --git a/sys-fs/mtools/mtools-4.0.46.ebuild b/sys-fs/mtools/mtools-4.0.46.ebuild
new file mode 100644
index 000000000000..95a421fafd18
--- /dev/null
+++ b/sys-fs/mtools/mtools-4.0.46.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic unpacker
+
+DESCRIPTION="Utilities to access MS-DOS disks from Unix without mounting them"
+HOMEPAGE="https://www.gnu.org/software/mtools/ https://savannah.gnu.org/projects/mtools"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.lz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos ~x64-solaris"
+IUSE="gui"
+
+RDEPEND="
+ virtual/libiconv
+ gui? (
+ x11-libs/libICE
+ x11-libs/libXau
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXt
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="$(unpacker_src_uri_depends)"
+
+src_configure() {
+ if ! use elibc_glibc && ! use elibc_musl ; then
+ # bug #447688
+ append-libs "-liconv"
+ fi
+
+ local myeconfargs=(
+ --sysconfdir="${EPREFIX}"/etc/mtools
+ $(use_with gui x)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ local -a DOCS=( README* Release.notes )
+
+ default
+
+ insinto /etc/mtools
+ doins mtools.conf
+
+ # Default is fine
+ sed -i -e '/^SAMPLE FILE$/s:^:#:' "${ED}"/etc/mtools/mtools.conf || die
+}