summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2006-11-10 22:13:54 +0000
committerHarald van Dijk <truedfx@gentoo.org>2006-11-10 22:13:54 +0000
commitc0562ad3596d88ea4099b8018c8e8d472ca177aa (patch)
treefb9a3ed734ecabdc2632b174f9c9d867d5d8f8f8 /app-portage
parentVersion bump. (diff)
downloadgentoo-2-c0562ad3596d88ea4099b8018c8e8d472ca177aa.tar.gz
gentoo-2-c0562ad3596d88ea4099b8018c8e8d472ca177aa.tar.bz2
gentoo-2-c0562ad3596d88ea4099b8018c8e8d472ca177aa.zip
Try harder at ignoring masked flags (#154628)
(Portage version: 2.1.2_rc1-r5)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/ufed/ChangeLog8
-rw-r--r--app-portage/ufed/files/digest-ufed-0.40-r43
-rw-r--r--app-portage/ufed/files/ufed-0.40-masked.patch18
-rw-r--r--app-portage/ufed/ufed-0.40-r4.ebuild41
4 files changed, 69 insertions, 1 deletions
diff --git a/app-portage/ufed/ChangeLog b/app-portage/ufed/ChangeLog
index 6aa0d2bf70d7..1729d6f84620 100644
--- a/app-portage/ufed/ChangeLog
+++ b/app-portage/ufed/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-portage/ufed
# Copyright 2003-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/ufed/ChangeLog,v 1.45 2006/10/13 20:50:04 truedfx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/ufed/ChangeLog,v 1.46 2006/11/10 22:13:54 truedfx Exp $
+
+*ufed-0.40-r4 (10 Nov 2006)
+
+ 10 Nov 2006; Harald van Dijk <truedfx@gentoo.org>
+ +files/ufed-0.40-masked.patch, -ufed-0.40-r3.ebuild, +ufed-0.40-r4.ebuild:
+ Try harder at ignoring masked flags (#154628)
13 Oct 2006; Harald van Dijk <truedfx@gentoo.org>
+files/ufed-0.40-comments.patch, ufed-0.40-r3.ebuild:
diff --git a/app-portage/ufed/files/digest-ufed-0.40-r4 b/app-portage/ufed/files/digest-ufed-0.40-r4
new file mode 100644
index 000000000000..7e70efd006a3
--- /dev/null
+++ b/app-portage/ufed/files/digest-ufed-0.40-r4
@@ -0,0 +1,3 @@
+MD5 81c6dc3af93d6ab2f592ba2cd7b1ee7f ufed-0.40.tar.bz2 20288
+RMD160 f360eb01f952acb4f52cfa571927a523f1fe3015 ufed-0.40.tar.bz2 20288
+SHA256 85d8894b7d163dacf7dfc94fff4e8c4a9cbb0302a66fc7e545a6d5c1c6c9318c ufed-0.40.tar.bz2 20288
diff --git a/app-portage/ufed/files/ufed-0.40-masked.patch b/app-portage/ufed/files/ufed-0.40-masked.patch
new file mode 100644
index 000000000000..e51c5aa48ad3
--- /dev/null
+++ b/app-portage/ufed/files/ufed-0.40-masked.patch
@@ -0,0 +1,18 @@
+--- ufed-0.40/ufed.pl
++++ ufed-0.40/ufed.pl
+@@ -33,8 +33,13 @@
+ }
+ @{$use_descriptions{'-*'}} = 'Never enable any flags other than those specified in /etc/make.conf';
+
+-for(keys %Portage::use_masked_flags)
+-{ delete $use_descriptions{$_} if $Portage::use_masked_flags{$_} }
++for(keys %Portage::use_masked_flags) {
++ if($Portage::use_masked_flags{$_}) {
++ delete $Portage::default_flags{$_};
++ delete $Portage::all_flags{$_};
++ delete $use_descriptions{$_};
++ }
++}
+
+ flags_dialog;
+
diff --git a/app-portage/ufed/ufed-0.40-r4.ebuild b/app-portage/ufed/ufed-0.40-r4.ebuild
new file mode 100644
index 000000000000..b30d50ce6160
--- /dev/null
+++ b/app-portage/ufed/ufed-0.40-r4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/ufed/ufed-0.40-r4.ebuild,v 1.1 2006/11/10 22:13:54 truedfx Exp $
+
+inherit eutils
+
+DESCRIPTION="Gentoo Linux USE flags editor"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ http://dev.gentoo.org/~truedfx/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}
+ dev-lang/perl"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-useorder.patch
+ epatch "${FILESDIR}"/${P}-source.patch
+ epatch "${FILESDIR}"/${P}-comments.patch
+ epatch "${FILESDIR}"/${P}-masked.patch
+}
+
+src_compile() {
+ ./configure || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ newsbin ufed.pl ufed
+ doman ufed.8
+ insinto /usr/lib/ufed
+ doins *.pm
+ exeinto /usr/lib/ufed
+ doexe ufed-curses
+}