sys-fs/ext4magic - 0.3.2-r2 (gentoo)

Search

Package Information

Description:
Tool for recovery of deleted or overwritten files on ext3/ext4 filesystems
Homepage:
https://sourceforge.net/projects/ext4magic/
License:
BSD-2 FSFAP GPL-2 GPL-2+

Ebuild Details

Version EAPI Keywords Slot
0.3.2-r2 8 amd64 ~arm64 x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Tool for recovery of deleted or overwritten files on ext3/ext4 filesystems"
HOMEPAGE="https://sourceforge.net/projects/ext4magic/"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"

LICENSE="BSD-2 FSFAP GPL-2 GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="debug +expert-mode file-attr"

RDEPEND="app-arch/bzip2
	>=sys-apps/file-5.04
	sys-apps/util-linux
	>=sys-fs/e2fsprogs-1.41.9
	virtual/zlib:="
DEPEND="${RDEPEND}"

DOCS="AUTHORS ChangeLog NEWS README TODO"

PATCHES=(
	"${FILESDIR}"/${PN}-0.3.2-sysmacros.patch
	"${FILESDIR}"/${PN}-0.3.2-i_dir_acl.patch
	"${FILESDIR}"/${PN}-0.3.2-fix-sys-types-h.patch
)

src_configure() {
	# build-system incorrectly recognizes '--disable-feature' options as enabled!
	econf \
		$(usex debug '--enable-debug' '') \
		$(usex debug '--enable-debug-magic' '') \
		$(usex expert-mode '--enable-expert-mode' '') \
		$(usex file-attr '--enable-file-attr' '')
}

USE Flags

expert-mode
Default: Enabled (+)

Dependencies

DEPEND

app-arch/bzip2
	>=sys-apps/file-5.04
	sys-apps/util-linux
	>=sys-fs/e2fsprogs-1.41.9
	virtual/zlib:=

RDEPEND

app-arch/bzip2
	>=sys-apps/file-5.04
	sys-apps/util-linux
	>=sys-fs/e2fsprogs-1.41.9
	virtual/zlib:=