From fca897458b4324630716d8dad684772a45cd6e8a Mon Sep 17 00:00:00 2001 From: Christoph Mende Date: Sat, 19 Feb 2011 16:58:43 +0000 Subject: Fixed "directory seems to be empty" (bug #350114) Package-Manager: portage-2.1.9.40/cvs/Linux x86_64 --- sys-fs/gt5/ChangeLog | 10 +++++++-- sys-fs/gt5/Manifest | 14 ++++++++++++- sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch | 11 ++++++++++ sys-fs/gt5/gt5-1.4.0-r2.ebuild | 32 +++++++++++++++++++++++++++++ 4 files changed, 64 insertions(+), 3 deletions(-) create mode 100644 sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch create mode 100644 sys-fs/gt5/gt5-1.4.0-r2.ebuild diff --git a/sys-fs/gt5/ChangeLog b/sys-fs/gt5/ChangeLog index 6a2e942ff991..aeacd961e78f 100644 --- a/sys-fs/gt5/ChangeLog +++ b/sys-fs/gt5/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-fs/gt5 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/gt5/ChangeLog,v 1.8 2008/06/13 09:24:44 armin76 Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/gt5/ChangeLog,v 1.9 2011/02/19 16:58:43 angelos Exp $ + +*gt5-1.4.0-r2 (19 Feb 2011) + + 19 Feb 2011; +gt5-1.4.0-r2.ebuild, + +files/gt5-1.4.0-empty-dirs.patch: + Fixed "directory seems to be empty" (bug #350114) 13 Jun 2008; Raúl Porcel gt5-1.4.0-r1.ebuild: x86 stable wrt #225353 diff --git a/sys-fs/gt5/Manifest b/sys-fs/gt5/Manifest index 53d9cfa0ac0c..458180c7eaa4 100644 --- a/sys-fs/gt5/Manifest +++ b/sys-fs/gt5/Manifest @@ -1,5 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX gt5-1.4.0-bash-shabang.patch 292 RMD160 076c2ff6e071726a96af4f855031776e19e69e27 SHA1 5ad46e178ef7fa1ff53524f4a7c00e3ae078363a SHA256 4874f44532b0d4038399ff7663c62503308fae4048a6715220663fbe4cccecda +AUX gt5-1.4.0-empty-dirs.patch 339 RMD160 dd8f0c2870ea5bd7a9468b29a50f2a12a0dfd2b7 SHA1 c27bc14ab56ca57c3b017d9549d3d5823916105a SHA256 47be75e34dcb9de44ccf3dbb61b633a7904a359efe70dd7678ef9838ca3a035d DIST gt5-1.4.0.tar.gz 16504 RMD160 cdc883abac919d63b44cff03c8c0208fb5081ff7 SHA1 352f542a0951056f11e7d6b532314c42c91c3ea9 SHA256 785a2a71f77e29d2cf4bbd2c6f49f690d6fdcb5f53abd51aee393572fd7fa03e EBUILD gt5-1.4.0-r1.ebuild 654 RMD160 43982d84a113d4773efcd6bafe15e1d06ec0d769 SHA1 36cea86d7ba8a34f77c868bfc364b528f9a98cdc SHA256 4f4a0ab46b699e2ee19b53f4d30f4cdc7f854d0220108a518876927d547cefad -MISC ChangeLog 1093 RMD160 278de144c90eee8f8f5d1116f5635e5ed46fb12e SHA1 4485ccdf78c923576394e1ad2f82101f5fca50ea SHA256 d08e7af4746d54bf5500dd4ab0a32c040f90a1fd165fa6a69061a00c236acfba +EBUILD gt5-1.4.0-r2.ebuild 696 RMD160 4fb56a77e783c0ab83b3418094eccbb956a1757b SHA1 8184ca6df4278976d925fcffcb400b4dac61d8c5 SHA256 426c35384c613edb699cc319616ba4bbc8ae10fd0e85c6452dc893dfcaf3ed1f +MISC ChangeLog 1270 RMD160 2446b40dba0a122496d894537187688bc09dd31e SHA1 9e82348628fd0df88b5e1160bea402a2e2d3e52d SHA256 77b56dcd9d70a761ddff34dfc7da7fe81eeb0668f124903e106a1ae181f0add4 MISC metadata.xml 258 RMD160 6d4c6c4e7c021a3fc82145a078f8e113eb6f521a SHA1 02004f2821b6ac3f69abfbfdafc9744008535258 SHA256 ee85021b7ae93a2e1442a570b114d3c9bf2e577c16b7b1b409914983d5d55485 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iF4EAREIAAYFAk1f9sYACgkQmWq1bYTyC0M5pAD/cU8tsBxjqOcUI3qXlh3bKG62 +RUJIxLCk1gD4htya48AA/1+9/sEseNeN0DD5BEEf3Y3WYyat4ugkBtkxAELff4Vh +=F7lv +-----END PGP SIGNATURE----- diff --git a/sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch b/sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch new file mode 100644 index 000000000000..4aab4d0ab840 --- /dev/null +++ b/sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch @@ -0,0 +1,11 @@ +--- /usr/bin/gt5.old 2011-01-10 23:01:29.778000092 +0100 ++++ /usr/bin/gt5 2011-01-10 23:01:16.577000089 +0100 +@@ -261,7 +261,7 @@ + + #can du handle depths? + DEPTH="$(du --help 2>&1 | "$AWK" ' +- /depth/{sub(/^[^-]*/,""); sub(/[N ].*/,""); print; exit} ++ /depth/{sub(/^[^-]*/,""); sub(/,[N ].*/,""); print; exit} + ')$((MAX_DEPTH+1))" + + { diff --git a/sys-fs/gt5/gt5-1.4.0-r2.ebuild b/sys-fs/gt5/gt5-1.4.0-r2.ebuild new file mode 100644 index 000000000000..44c6d57da5e1 --- /dev/null +++ b/sys-fs/gt5/gt5-1.4.0-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/gt5/gt5-1.4.0-r2.ebuild,v 1.1 2011/02/19 16:58:42 angelos Exp $ + +inherit eutils + +DESCRIPTION="a diff-capable 'du-browser'" +HOMEPAGE="http://gt5.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="" + +RDEPEND="|| ( www-client/links + www-client/elinks + www-client/lynx )" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-bash-shabang.patch" \ + "${FILESDIR}/${P}-empty-dirs.patch" +} + +src_install() { + dobin gt5 + doman gt5.1 + dodoc Changelog README +} -- cgit v1.2.3-65-gdbad