mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
sys-fs/xfs_undelete: new package, add 15.0
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net>
This commit is contained in:
1
sys-fs/xfs_undelete/Manifest
Normal file
1
sys-fs/xfs_undelete/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST xfs_undelete-15.0.tar.gz 26539 BLAKE2B 82f575269c9769bad9c75e8e54201164fde0b024aaa1ed09c01ccfe0264a3346bc6b1cff37dd89991f4f45025dcff7edd0e5d99caf66a9c01dc4eae85bdb5b13 SHA512 aa7c4b1a059d5ffc8010dc4226d0b4ef332372dcc753e65b2ba9aa184b407ab6fd2af855e944f32c3bb0ad0e74ad7bb73e0100b52b248235a1e248e5388c1774
|
||||
20
sys-fs/xfs_undelete/metadata.xml
Normal file
20
sys-fs/xfs_undelete/metadata.xml
Normal 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>
|
||||
28
sys-fs/xfs_undelete/xfs_undelete-15.0.ebuild
Normal file
28
sys-fs/xfs_undelete/xfs_undelete-15.0.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user