# ChangeLog for app-portage/eix
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/ChangeLog,v 1.37 2005/08/16 08:08:41 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/ChangeLog,v 1.38 2005/08/27 22:32:26 hollow Exp $
+
+*eix-0.3.0 (27 Aug 2005)
+
+ 27 Aug 2005; Benedikt Boehm <hollow@gentoo.org>
+ +files/0.3.0-if-else-fi.patch, +eix-0.3.0.ebuild:
+ Version bump
*eix-0.3.0_beta (16 Aug 2005)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 54726f66a6b7164142bb4641092d12c5 ChangeLog 4889
+MD5 1312d65760f4b7fc706ef9bf6f49ba41 ChangeLog 5033
MD5 68a279a35a3f34c3c9562ad4509938db eix-0.2.1.ebuild 916
MD5 49642086df408e27d9c50e8759b6f8e3 eix-0.2.2.ebuild 1152
MD5 74c5aadf8e3e9d642a20e64d1afefec8 metadata.xml 239
MD5 3ddb302ff870c03e4c516e07298417e2 eix-0.2.6.ebuild 1303
MD5 85087764ba2c23688b9cc5399ec65fc7 eix-0.3.0_beta.ebuild 1082
+MD5 08b1dd0ab38e76c19029a9dd78cdd856 eix-0.3.0.ebuild 1184
MD5 b012df8992488da6f22e677cba2e1f9c files/0.2.2-incorrect-masks.patch 1661
MD5 9033adc2410fa5477618aa28ae6d8582 files/0.2.2-unistd.h.patch 716
MD5 3a36ef63cff165b67afeb774a7edf9d1 files/0.2.6-package.cc.patch 461
MD5 1df3eabe7a20b27cf2d3c1c0b2b5a090 files/0.2.6-cdb-cast.patch 516
+MD5 451cd103e930d34810d0c426b7ad0ddb files/0.3.0-if-else-fi.patch 635
MD5 943e6938455bf034be166ecbe03c88aa files/digest-eix-0.2.1 62
MD5 3eff250e62af117080bac27f4f2a9655 files/digest-eix-0.2.2 62
MD5 79cb9eb15d5c16732f94bf126ee8ca2f files/digest-eix-0.2.6 62
+MD5 f0687628fdeca80bbcebef82a7a82e6f files/digest-eix-0.3.0 62
MD5 462758982cd4c3d424f0f84313959993 files/digest-eix-0.3.0_beta 67
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDAZ+KmPFBzbX68WERAuWpAKCVPgtXLGP/w+XqW7VWD8nIoMS9vwCdEy9A
-DnlifIXUQuQDq4YKycVgduI=
-=GqEW
+iD8DBQFDEOoPmPFBzbX68WERAvsmAJ9hu4EUOSfU9JXyeB35DpGsgPRe2ACcCwmO
+qpWNW+m8HDmXVh0j8hYG3Os=
+=0lau
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.3.0.ebuild,v 1.1 2005/08/27 22:32:26 hollow Exp $
+
+inherit eutils flag-o-matic bash-completion
+
+DESCRIPTION="Small utility for searching ebuilds with indexing for fast results"
+HOMEPAGE="http://eixwiki.unfoog.de"
+SRC_URI="mirror://sourceforge/eix/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="sys-apps/portage"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/0.3.0-if-else-fi.patch || die "epatch failed"
+}
+
+src_compile() {
+ econf || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dobashcompletion contrib/eix.bash-completion "${PN}"
+}
+
+pkg_postinst() {
+ einfo "Please run 'update-eix' to setup the portage search database."
+ einfo "The database file will be located at /var/cache/eix"
+ echo
+ einfo "If you want to use the cdb-support, you need to add"
+ einfo " PORTDIR_CACHE_METHOD=\"cdb\""
+ einfo "to you /etc/eixrc or ~/.eixrc"
+
+ bash-completion_pkg_postinst
+}
--- /dev/null
+--- eix-0.3.0/src/formatstring.cc.orig 2005-08-27 19:41:55.000000000 +0200
++++ eix-0.3.0/src/formatstring.cc 2005-08-27 19:42:03.000000000 +0200
+@@ -283,6 +283,9 @@
+ p = keller.top();
+ keller.pop();
+ }
++ if(q == NULL) {
++ q = new Text("");
++ }
+ ((ConditionBlock*)p)->if_true = q;
+ keller.push(p);
+ return START;
+@@ -307,7 +310,12 @@
+ p = keller.top();
+ keller.pop();
+ }
+- ((ConditionBlock*)p)->if_false = q;
++ if(((ConditionBlock*)p)->if_true == NULL) {
++ ((ConditionBlock*)p)->if_true = q;
++ }
++ else {
++ ((ConditionBlock*)p)->if_false = q;
++ }
+ ((ConditionBlock*)p)->final = true;
+ keller.push(p);
+ return START;
--- /dev/null
+MD5 3fc734b6e01dcae577092a513e5d68e5 eix-0.3.0.tar.bz2 288210