summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-12-19 07:42:23 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-12-19 07:42:23 +0000
commit46667234f4bd1ba19bc6f917fc24cac42f3e556e (patch)
treed47060abbfab4cbcc69bde4f9277cbca008a8d3f /sys-fs/ext4magic
parentFix LICENSE, see COPYING, bug 446300. (diff)
downloadgentoo-2-46667234f4bd1ba19bc6f917fc24cac42f3e556e.tar.gz
gentoo-2-46667234f4bd1ba19bc6f917fc24cac42f3e556e.tar.bz2
gentoo-2-46667234f4bd1ba19bc6f917fc24cac42f3e556e.zip
Add support for debugging and 'expert mode' through USE-flags, thanks to gokturk
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'sys-fs/ext4magic')
-rw-r--r--sys-fs/ext4magic/ChangeLog7
-rw-r--r--sys-fs/ext4magic/ext4magic-0.3.1.ebuild10
-rw-r--r--sys-fs/ext4magic/metadata.xml3
3 files changed, 17 insertions, 3 deletions
diff --git a/sys-fs/ext4magic/ChangeLog b/sys-fs/ext4magic/ChangeLog
index 0f7f4810b350..afd0dec3be03 100644
--- a/sys-fs/ext4magic/ChangeLog
+++ b/sys-fs/ext4magic/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/ext4magic
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/ext4magic/ChangeLog,v 1.7 2012/09/24 14:00:50 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/ext4magic/ChangeLog,v 1.8 2012/12/19 07:42:23 pinkbyte Exp $
+
+ 19 Dec 2012; Sergey Popov <pinkbyte@gentoo.org> ext4magic-0.3.1.ebuild,
+ metadata.xml:
+ Add support for debugging and 'expert mode' through USE-flags, thanks to
+ gokturk
24 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> metadata.xml:
Package will be maintained by gokturk through proxy maintainers
diff --git a/sys-fs/ext4magic/ext4magic-0.3.1.ebuild b/sys-fs/ext4magic/ext4magic-0.3.1.ebuild
index 75044d4b79ac..03a3c49b98fa 100644
--- a/sys-fs/ext4magic/ext4magic-0.3.1.ebuild
+++ b/sys-fs/ext4magic/ext4magic-0.3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/ext4magic/ext4magic-0.3.1.ebuild,v 1.1 2012/09/24 11:23:26 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/ext4magic/ext4magic-0.3.1.ebuild,v 1.2 2012/12/19 07:42:23 pinkbyte Exp $
EAPI=4
@@ -11,7 +11,7 @@ SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="expert-mode debug"
RDEPEND="app-arch/bzip2
>=sys-apps/file-5.04
@@ -21,3 +21,9 @@ RDEPEND="app-arch/bzip2
DEPEND=${RDEPEND}
DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+src_configure() {
+ econf \
+ $(use_enable expert-mode) \
+ $(use_enable debug)
+}
diff --git a/sys-fs/ext4magic/metadata.xml b/sys-fs/ext4magic/metadata.xml
index 31dd33448ef4..4f4390a2810d 100644
--- a/sys-fs/ext4magic/metadata.xml
+++ b/sys-fs/ext4magic/metadata.xml
@@ -12,4 +12,7 @@
<name>Sergey Popov</name>
<description>Proxy maintainer. CC him on bugs</description>
</maintainer>
+ <use>
+ <flag name='expert-mode'>Builds ext4magic with expert mode. Highly useful in recovering data from a corrupted filesystem.</flag>
+ </use>
</pkgmetadata>