sys-fs/xfs_undelete: new package, add 15.0

Signed-off-by: Sergey Alirzaev <l29ah@riseup.net>
This commit is contained in:
Sergey Alirzaev
2025-08-02 13:50:53 +02:00
parent 2ee8d3cdcc
commit 099229a63d
3 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST xfs_undelete-15.0.tar.gz 26539 BLAKE2B 82f575269c9769bad9c75e8e54201164fde0b024aaa1ed09c01ccfe0264a3346bc6b1cff37dd89991f4f45025dcff7edd0e5d99caf66a9c01dc4eae85bdb5b13 SHA512 aa7c4b1a059d5ffc8010dc4226d0b4ef332372dcc753e65b2ba9aa184b407ab6fd2af855e944f32c3bb0ad0e74ad7bb73e0100b52b248235a1e248e5388c1774

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>zl29ah@gmail.com</email>
<name>Sergey Alirzaev</name>
</maintainer>
<longdescription lang="en">
It tries to recover all inodes on an XFS filesystem marked as deleted.
It's rather dumb, it just looks for the magic string IN\0\0\3\2\0\0 and
considers those as deleted inodes. Then, it tries to make sense of
the extents stored in the inode (which XFS does not delete) and collect
the data blocks of the file. That file is then stored on another
filesystem in a subdirectory, by default xfs_undeleted relative to
the current directory.
</longdescription>
<upstream>
<remote-id type="github">ianka/xfs_undelete</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="An undelete tool for the XFS filesystem"
HOMEPAGE="https://github.com/ianka/xfs_undelete"
SRC_URI="https://github.com/ianka/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="dev-lang/tcl:0=
dev-tcltk/tcllib
sys-fs/xfsprogs"
src_prepare() {
default
mv xfs_undelete.{man,1} || die "mv failed"
}
src_install() {
einstalldocs
dobin xfs_undelete
doman xfs_undelete.1
}