From f5551576e3cb8e18ee11c0461341d4831cc404d7 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 18 Apr 2009 20:23:02 +0000 Subject: [PATCH] add mc git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1108 6952d904-891a-0410-993b-d76249ca496b --- app-misc/mc/ChangeLog | 605 ++++++++++++++++++ app-misc/mc/Manifest | 21 + app-misc/mc/files/chdir-4.6.0.gentoo | 11 + app-misc/mc/files/ebuild.syntax | 87 +++ app-misc/mc/files/mc-4.6.0-7zip.patch | 25 + .../mc/files/mc-4.6.0-ebuild-syntax.patch | 12 + app-misc/mc/files/mc-4.6.1-bash-all.patch | 33 + .../mc-4.6.1-charset-locale-aliases.patch | 40 ++ app-misc/mc/files/mc-4.6.1-find.patch | 155 +++++ .../mc/files/mc-4.6.1-invalid-mtime.patch | 30 + app-misc/mc/files/mc-4.6.1-largefile.patch | 194 ++++++ app-misc/mc/files/mc-4.6.1-nonblock.patch | 11 + app-misc/mc/files/mc.gentoo | 16 + app-misc/mc/files/mc.ini | 2 + app-misc/mc/mc-4.6.1-r4.ebuild | 159 +++++ app-misc/mc/mc-4.6.2_pre1.ebuild | 108 ++++ app-misc/mc/metadata.xml | 11 + 17 files changed, 1520 insertions(+) create mode 100644 app-misc/mc/ChangeLog create mode 100644 app-misc/mc/Manifest create mode 100644 app-misc/mc/files/chdir-4.6.0.gentoo create mode 100644 app-misc/mc/files/ebuild.syntax create mode 100644 app-misc/mc/files/mc-4.6.0-7zip.patch create mode 100644 app-misc/mc/files/mc-4.6.0-ebuild-syntax.patch create mode 100644 app-misc/mc/files/mc-4.6.1-bash-all.patch create mode 100644 app-misc/mc/files/mc-4.6.1-charset-locale-aliases.patch create mode 100644 app-misc/mc/files/mc-4.6.1-find.patch create mode 100644 app-misc/mc/files/mc-4.6.1-invalid-mtime.patch create mode 100644 app-misc/mc/files/mc-4.6.1-largefile.patch create mode 100644 app-misc/mc/files/mc-4.6.1-nonblock.patch create mode 100644 app-misc/mc/files/mc.gentoo create mode 100644 app-misc/mc/files/mc.ini create mode 100644 app-misc/mc/mc-4.6.1-r4.ebuild create mode 100644 app-misc/mc/mc-4.6.2_pre1.ebuild create mode 100644 app-misc/mc/metadata.xml diff --git a/app-misc/mc/ChangeLog b/app-misc/mc/ChangeLog new file mode 100644 index 00000000..4a8a6064 --- /dev/null +++ b/app-misc/mc/ChangeLog @@ -0,0 +1,605 @@ +# ChangeLog for app-misc/mc +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.145 2008/11/24 17:55:35 ssuominen Exp $ + + 24 Nov 2008; metadata.xml, mc-4.6.2_pre1.ebuild: + Rename my old e-mail drac at gentoo.org to ssuominen at gentoo.org. Move + patchset tarball from my old dev space to gentoo mirrors. + + 17 Nov 2008; Diego E. Pettenò + files/mc-4.6.1-bash-all.patch: + Fix patch with absolute paths. + + 14 Sep 2008; mc-4.6.1-r4.ebuild, mc-4.6.2_pre1.ebuild: + - work around mc cross compile problems by skipping the building of docs + + 31 Jul 2008; Ulrich Mueller metadata.xml: + Add USE flag description to metadata wrt GLEP 56. + + 05 May 2008; Samuli Suominen mc-4.6.2_pre1.ebuild: + USE unicode wrt #220365 + + 28 Apr 2008; Samuli Suominen mc-4.6.2_pre1.ebuild: + Prepare unmasking. Unkeyword arm/s390/sh because slang-2 is required for + new unicode patch. Restore cons.server setuid hack. + + 27 Apr 2008; Samuli Suominen files/ebuild.syntax: + Syntax update. Remove check_KV and PROVIDE. Add elog and EAPI. + +*mc-4.6.2_pre1 (27 Apr 2008) + + 27 Apr 2008; Samuli Suominen +mc-4.6.2_pre1.ebuild: + Version bump wrt #218921 with patchset. + + 01 Mar 2008; Diego Pettenò mc-4.6.1-r3.ebuild, + mc-4.6.1-r4.ebuild: + Remove pam USE flag that was unbound to anything useful. mcserv is not even + installed anymore. + + 09 Feb 2008; Samuli Suominen mc-4.6.1-r4.ebuild: + Change slang dep. to allow 2.1.3. + + 19 Nov 2007; Joshua Kinard mc-4.6.1-r4.ebuild: + Stable on mips, per #197144. + + 30 Oct 2007; Jeroen Roovers mc-4.6.1-r4.ebuild: + Stable for HPPA (bug #197144). + + 28 Oct 2007; Markus Rothe mc-4.6.1-r4.ebuild: + Stable on ppc64; bug #197144 + + 26 Oct 2007; Daniel Gryniewicz mc-4.6.1-r4.ebuild: + Marked stable on amd64 for bug #197144 + + 26 Oct 2007; nixnut mc-4.6.1-r4.ebuild: + Stable on ppc wrt bug 197144 + + 26 Oct 2007; Raúl Porcel mc-4.6.1-r4.ebuild: + alpha/ia64/sparc/x86 stable + + 26 Oct 2007; Raúl Porcel -mc-4.6.1.ebuild, + mc-4.6.1-r4.ebuild: + Fix HOMEPAGE, bug #197139, remove old + + 10 Oct 2007; Christian Faulhammer mc-4.6.1.ebuild, + mc-4.6.1-r3.ebuild, mc-4.6.1-r4.ebuild: + remove PROVIDE=virtual/editor as we have now a new-style virtual + + 22 Jul 2007; David Shakaryan mc-4.6.1.ebuild, + mc-4.6.1-r3.ebuild, mc-4.6.1-r4.ebuild: + Remove virtual/x11 from dependencies. + +*mc-4.6.1-r4 (05 Jul 2007) + + 05 Jul 2007; Harald van Dijk + +files/mc-4.6.1-invalid-mtime.patch, +mc-4.6.1-r4.ebuild: + Report invalid mtimes without crashing (#184296) + + 03 Jun 2007; Wulf C. Krueger mc-4.6.1-r3.ebuild: + Added get_libdir instead of hardcoded lib. Fixes bug 180678. + + 19 May 2007; Raúl Porcel mc-4.6.1-r3.ebuild: + alpha stable wrt #177316 + + 12 May 2007; Joshua Kinard mc-4.6.1-r3.ebuild: + Stable on mips, per #177316. + + 12 May 2007; Steve Dibb mc-4.6.1-r3.ebuild: + amd64 stable, bug 177316 + + 07 May 2007; Gustavo Zacarias mc-4.6.1-r3.ebuild: + Stable on sparc wrt #177316 + + 07 May 2007; Jeroen Roovers mc-4.6.1-r3.ebuild: + Stable for HPPA (bug #177316). + + 07 May 2007; Raúl Porcel mc-4.6.1-r3.ebuild: + ia64 stable wrt #177316 + + 06 May 2007; Markus Rothe mc-4.6.1-r3.ebuild: + Stable on ppc64; bug #177316 + + 06 May 2007; Tobias Scherbaum mc-4.6.1-r3.ebuild: + ppc stable, bug #177316 + + 06 May 2007; Andrej Kacian mc-4.6.1-r3.ebuild: + Stable on x86, bug #153925. + + 23 Apr 2007; Markus Ullmann mc-4.6.1-r3.ebuild: + some quotation and fix bug #167316 + + 12 Mar 2007; Javier Villavicencio + +files/mc-4.6.1-charset-locale-aliases.patch, mc-4.6.1-r3.ebuild: + Correctly generate charset.alias. Fixes bug 169678. + + 28 Jan 2007; Marius Mauch mc-4.6.1.ebuild, + mc-4.6.1-r3.ebuild: + Replacing einfo with elog + + 06 Jan 2007; Danny van Dyk -mc-4.6.1-r2.ebuild: + QA: Removed unused versions. + +*mc-4.6.1-r3 (15 Nov 2006) + + 15 Nov 2006; Markus Ullmann + +files/mc-4.6.1-bash-all.patch, +mc-4.6.1-r3.ebuild: + Adding bash 3.2 compatibility patch from bug #153925 thanks to + mehmetkemal@gmx.net + + 06 Oct 2006; Emanuele Giaquinta -mc-4.6.1-r1.ebuild, + mc-4.6.1-r2.ebuild: + Do not use einstall to install, Makefile's support DESTDIR. Cleanup. + + 02 Aug 2006; Emanuele Giaquinta mc-4.6.1-r2.ebuild: + Correct utf8 patch name in epatch statement, bug #142533. + +*mc-4.6.1-r2 (02 Aug 2006) + + 02 Aug 2006; Emanuele Giaquinta +mc-4.6.1-r2.ebuild: + Update the utf8 patch to the latest debian version to fix a compile error, bug + #140802. Bump u7z extension. + + 27 Jul 2006; Diego Pettenò mc-4.6.1.ebuild, + mc-4.6.1-r1.ebuild: + Fix dependency on slang 1, see bug #141947. + + 20 Jul 2006; Emanuele Giaquinta + -files/mc-4.6.0-bug-102356.patch, + -files/mc-4.6.0-can-2004-1004-1005-1092-1176.patch, + -files/mc-4.6.0-cpan-2003-1023.patch, -files/mc-4.6.0-find.patch, + -files/mc-4.6.0-ftp.patch, -files/mc-4.6.0-gcc4.patch, + -files/mc-4.6.0-key.c.patch, -files/mc-4.6.0-largefile.patch, + -files/mc-4.6.0-vfs.patch, -mc-4.6.0-r14.ebuild: + Cleanup. + + 12 Jul 2006; Aron Griffis mc-4.6.1.ebuild: + Mark 4.6.1 stable on ia64. #130229 + + 26 Jun 2006; Javier Villavicencio + mc-4.6.1-r1.ebuild: + Add ~x86-fbsd keyword. + + 01 Jun 2006; Andrej Kacian mc-4.6.1-r1.ebuild: + Prevent lazy bindings in cons.saver binary (bug #135009, opened by me). + + 31 May 2006; metadata.xml, -mc-4.6.0-r12.ebuild, + -mc-4.6.0-r13.ebuild: + - security/qa cleanup. flush old/vuln ebuilds. update metadata.xml + +*mc-4.6.1-r1 (03 May 2006) + + 03 May 2006; Emanuele Giaquinta + +files/mc-4.6.1-nonblock.patch, +mc-4.6.1-r1.ebuild: + Add patch, thanks to hansmi, to fix bug #127411. + + 27 Apr 2006; Marien Zwart files/digest-mc-4.6.0-r12, + files/digest-mc-4.6.0-r13, files/digest-mc-4.6.0-r14, + files/digest-mc-4.6.1, Manifest: + Fixing SHA256 digest, pass four + + 24 Apr 2006; Scott Stoddard mc-4.6.1.ebuild: + Stable on amd64 (bug #130299) + + 24 Apr 2006; Joshua Kinard mc-4.6.1.ebuild: + Marked stable on mips. + + 24 Apr 2006; Gustavo Zacarias mc-4.6.1.ebuild: + Stable on hppa wrt #130299 + + 20 Apr 2006; Jose Luis Rivero mc-4.6.1.ebuild: + Stable on alpha wrt #130299 + + 18 Apr 2006; Stephanie Lockwood-Childs mc-4.6.1.ebuild: + stable on ppc (Bug #130299) + + 18 Apr 2006; Gustavo Zacarias mc-4.6.1.ebuild: + Stable on sparc wrt #130299 + + 18 Apr 2006; Krzysiek Pawlik mc-4.6.0-r12.ebuild, + mc-4.6.0-r13.ebuild, mc-4.6.1.ebuild: + Stable on x86, see bug #130299. Changed DEPEND for modular X. + + 17 Apr 2006; Markus Rothe mc-4.6.1.ebuild: + Stable on ppc64; bug #130299 + + 17 Apr 2006; Emanuele Giaquinta mc-4.6.1.ebuild: + Make dep on e2fsprogs conditional to kernel_linux. + +*mc-4.6.1 (26 Mar 2006) + + 26 Mar 2006; Steve Arnold +files/mc-4.6.1-find.patch, + +files/mc-4.6.1-largefile.patch, +mc-4.6.1.ebuild: + Adding updated ebuild for bug #102356, suitably modified, since this + issue needs resolution (what can I say, I made a command decision :) + Thanks to Rafael Antonio Porras for porting + the patches and posting the updated ebuild (the UTF-8 patch is in + distfiles). + + 11 Mar 2006; Simon Stelling mc-4.6.0-r12.ebuild, + mc-4.6.0-r13.ebuild, mc-4.6.0-r14.ebuild: + add missing utf8 patch to SRC_URI; bug 125175 + + 06 Mar 2006; Simon Stelling mc-4.6.0-r12.ebuild, + mc-4.6.0-r13.ebuild, mc-4.6.0-r14.ebuild: + fix bug 125175 + + 28 Jan 2006; Simon Stelling + +files/mc-4.6.0-bug-102356.patch, mc-4.6.0-r14.ebuild: + fix bug 102356 + + 03 Jan 2006; Karol Wojtaszek mc-4.6.0-r14.ebuild: + Add modular X dependencies, bug #117639 + + 16 Dec 2005; Diego Pettenò mc-4.6.0-r14.ebuild: + Remove --with-gnu-ld option, bug #108386. + + 01 Sep 2005; Stefan Briesenick mc-4.6.0-r14.ebuild: + removed obsolete unicode dependency (see bug 104490). + + 10 Jun 2005; Heinrich Wendel + files/mc-4.6.0-7zip.patch: + fix 7zip support + +*mc-4.6.0-r14 (06 Jun 2005) + + 06 Jun 2005; Heinrich Wendel + +files/mc-4.6.0-7zip.patch, +files/mc.ini, +mc-4.6.0-r14.ebuild: + bug #68037, bug #88247, bug #77265 + + 26 Apr 2005; Martin Schlemmer + +files/mc-4.6.0-gcc4.patch, mc-4.6.0-r13.ebuild: + Fix building with gcc4. + + 13 Apr 2005; Heinrich Wendel mc-4.6.0-r13.ebuild: + fix pkgconfig depend, bug #87396 + + 19 Feb 2005; Hardave Riar mc-4.6.0-r13.ebuild: + Stable on mips, bug #77992 + + 15 Feb 2005; Heinrich Wendel mc-4.6.0-r13.ebuild: + mark amd64; x86 + + 13 Feb 2005; Jason Wever mc-4.6.0-r13.ebuild: + Stable on sparc wrt security bug #77992. + + 13 Feb 2005; Bryan Østergaard mc-4.6.0-r13.ebuild: + Stable on alpha, bug 77992. + + 13 Feb 2005; Markus Rothe mc-4.6.0-r13.ebuild: + Stable on ppc64; bug #77992 + + 12 Feb 2005; Michael Hanselmann mc-4.6.0-r13.ebuild: + Stable on ppc. + +*mc-4.6.0-r13 (12 Feb 2005) + + 12 Feb 2005; Heinrich Wendel + +files/mc-4.6.0-can-2004-1004-1005-1092-1176.patch.bz2, + -mc-4.6.0-r11.ebuild, +mc-4.6.0-r13.ebuild: + security fixes, bug #77992 + + 02 Jan 2005; Ciaran McCreesh : + Change encoding to UTF-8 for GLEP 31 compliance + + 29 Dec 2004; Heinrich Wendel mc-4.6.0-r11.ebuild, + mc-4.6.0-r12.ebuild: + add pkgconfig dep; mark -r12 stable + + 17 Nov 2004; mc-4.6.0-r12.ebuild: + fix file collision with glibc, bug #71275 + +*mc-4.6.0-r12 (17 Nov 2004) + + 17 Nov 2004; -mc-4.5.55-r7.ebuild, -mc-4.6.0-r10.ebuild, + +mc-4.6.0-r12.ebuild, -mc-4.6.0-r5.ebuild, -mc-4.6.0-r7.ebuild, + -mc-4.6.0-r9.ebuild: + fix segfault if no TERM is given, bug #67530 + + 03 Nov 2004; Markus Rothe mc-4.6.0-r11.ebuild: + Stable on ppc64 + + 03 Nov 2004; Bret Curtis mc-4.6.0-r11.ebuild: + marked stable for mips + + 29 Oct 2004; Michael Imhof mc-4.6.0-r11.ebuild: + Added ~s390 keyword. + + 26 Oct 2004; Tom Martin mc-4.6.0-r11.ebuild: + Stable on amd64. + + 21 Oct 2004; Sven Blumenstein mc-4.6.0-r11.ebuild: + Stable on sparc. + + 19 Oct 2004; Dylan Carlson mc-4.6.0-r9.ebuild: + Stable on amd64. + + 06 Oct 2004; Guy Martin mc-4.6.0-r11.ebuild: + Stable on hppa. + + 02 Oct 2004; Bryan Østergaard mc-4.6.0-r11.ebuild: + Stable on alpha. + + 27 Sep 2004; Heinrich Wendel mc-4.6.0-r11.ebuild: + only apply unicode patch if use slang is given as well, bug #65341 + + 25 Sep 2004; Heinrich Wendel mc-4.6.0-r11.ebuild: + work with newer samba versions, bug #61869 + + 25 Sep 2004; Heinrich Wendel mc-4.6.0-r11.ebuild: + make pam optional, bug #65036 + + 24 Sep 2004; Heinrich Wendel mc-4.6.0-r11.ebuild: + add slang to unicode deps + + 21 Sep 2004; Heinrich Wendel mc-4.6.0-r11.ebuild: + mark stable on x86 + + 20 Sep 2004; Heinrich Wendel mc-4.6.0-r11.ebuild: + add missing syntax files again, bug #64721 + + 20 Sep 2004; Bryan Østergaard mc-4.6.0-r10.ebuild: + Stable on alpha. + + 16 Sep 2004; Heinrich Wendel + +files/mc-4.6.0-largefile.patch, +files/mc-4.6.0-utf8.patch.bz2, + mc-4.6.0-r11.ebuild: + add utf8 support, bug #64195 + + 08 Sep 2004; Gustavo Zacarias mc-4.6.0-r10.ebuild: + Keyworded sparc and hppa back into stable, PLEASE be careful when committing + + 08 Sep 2004; Heinrich Wendel mc-4.6.0-r10.ebuild: + provide virtual/editor, bug #38767 + + 05 Sep 2004; Guy Martin mc-4.6.0-r10.ebuild: + Marked stable on hppa. + + 31 Aug 2004; Gustavo Zacarias mc-4.6.0-r10.ebuild: + Stable on sparc + +*mc-4.6.0-r10 (26 Aug 2004) + + 26 Aug 2004; Heinrich Wendel +files/ebuild.syntax, + +files/mc-4.6.0-ebuild-syntax.patch, +mc-4.6.0-r10.ebuild: + add syntax highlighting for .ebuild and .eclass files, bug #61075 + + 24 Aug 2004; Heinrich Wendel -mc-4.6.0-r8.ebuild, + mc-4.6.0-r9.ebuild: + mark stable on x86 + + 10 Aug 2004; Tom Gall mc-4.6.0-r9.ebuild: + stable on ppc64, bug #58016 + +*mc-4.6.0-r9 (02 Aug 2004) + + 02 Aug 2004; Heinrich Wendel mc-4.6.0-r9.ebuild, + files/mc-4.6.0-ftp.patch: + add support for th @ character in ftp, bug #58330 + +*mc-4.6.0-r8 (24 May 2004) + + 24 May 2004; Heinrich Wendel : + add support for cons.saver, bug #51506, remove samba 2.x support + + 14 May 2004; Joshua Kinard mc-4.6.0-r7.ebuild: + Marked stable on mips. + + 12 May 2004; Heinrich Wendel mc-4.6.0-r3.ebuild, + mc-4.6.0-r4.ebuild, mc-4.6.0-r5.ebuild, mc-4.6.0-r6.ebuild, + mc-4.6.0-r7.ebuild: + bump revision of samba patch to avoid digest mismatches + + 10 May 2004; Luca Barbato mc-4.6.0-r7.ebuild: + Marked ppc + + 09 May 2004; Gustavo Zacarias mc-4.6.0-r7.ebuild: + Stable on hppa & sparc wrt #49990 + + 09 May 2004; Bryan Østergaard mc-4.6.0-r7.ebuild: + Stable on alpha. + +*mc-4.6.0-r7 (08 May 2004) + + 08 May 2004; Heinrich Wendel mc-4.6.0-r7.ebuild, + files/mc-4.6.0-can-2004-0226-0231-0232.patch.bz2: + security update, bug #49990 + + 08 May 2004; Heinrich Wendel mc-4.6.0-r5.ebuild, + mc-4.6.0-r6.ebuild: + fix syntax error + +*mc-4.6.0-r6 (13 Apr 2004) + + 13 Apr 2004; Heinrich Wendel mc-4.6.0-r2.ebuild, + mc-4.6.0-r3.ebuild, mc-4.6.0-r4.ebuild, mc-4.6.0-r6.ebuild, metadata.xml, + files/mc-4.6.0-vfs.patch: + add patch to support .tbz and .tbz2 archives + +*mc-4.6.0-r5 (29 Mar 2004) + + 29 Mar 2004; Heinrich Wendel mc-4.6.0-r5.ebuild, + files/mc-4.6.0-cpan-2003-1023.patch: + security bug #45957, mark stable + + 14 Mar 2004; Michael Sterrett mc-4.5.55-r7.ebuild, + mc-4.6.0-r2.ebuild, mc-4.6.0-r3.ebuild, mc-4.6.0-r4.ebuild: + Don't assign default to S; header fix + + 26 Dec 2003; Heinrich Wendel mc-4.5.55-r7.ebuild, + mc-4.6.0-r2.ebuild, mc-4.6.0-r3.ebuild, mc-4.6.0-r4.ebuild: + filter -malign-double (bug #36424) + + 23 Dec 2003; Heinrich Wendel mc-4.6.0-r2.ebuild, + mc-4.6.0-r3.ebuild, mc-4.6.0-r4.ebuild: + fixed typo (bug #36375), marked -r3 stable + + 18 Dec 2003; Guy Martin mc-4.6.0-r3.ebuild: + Marked stable on hppa. + + 07 Dec 2003; Heinrich Wendel mc-4.6.0-r3.ebuild, + mc-4.6.0-r4.ebuild: + added ~amd64 + + 06 Dec 2003; Heinrich Wendel mc-4.6.0-r3.ebuild, + mc-4.6.0-r4.ebuild: + fixed search path for smbpasswd, bug #34210 + + 13 Nov 2003; mc-4.6.0-r3.ebuild: + added mips to KEYWORDS + +*mc-4.6.0-r4 (11 Oct 2003) + + 11 Oct 2003; Heinrich Wendel mc-4.6.0-r4.ebuild: + dynamic samba3 link, big thx to Michal 'Spock' Januszewski + +*mc-4.6.0-r3 (27 Sep 2003) + + 27 Sep 2003; Heinrich Wendel mc-4.6.0-r3.ebuild: + added static samba lib to compile with samba 3.x + + 02 Sep 2003; Heinrich Wendel mc-4.6.0-r1.ebuild, + mc-4.6.0-r2.ebuild, mc-4.6.0.ebuild: + fixed bug #27212, marked -r2 stable + +*mc-4.6.0-r2 (21 Aug 2003) + + 21 Aug 2003; Heinrich Wendel mc-4.6.0-r2.ebuild, + files/mc.gentoo: + fixed bugs #25839 and #24412 + + 08 Aug 2003; Tavis Ormandy mc-4.6.0-r1.ebuild: + stable on alpha + + 12 Jun 2003; mc-4.6.0-r1.ebuild: + add Header + +*mc-4.6.0-r1 (06 May 2003) + + 07 Jul 2003; Jan Seidel mc-4.6.0-r1.ebuild : + Marked stable on mips. + + 02 Jul 2003; Guy Martin mc-4.6.0-r1.ebuild : + Marked stable on hppa. + + 06 May 2003; Michael Nazaroff mc-4.6.0-r1.ebuild, + chdir-4.6.0.gentoo, mc.gentoo: + Made a small edition to mc which allows it to chdir to the current + working directory on exit. + + 06 May 2003; Michael Nazaroff chdir-4.6.0.gentoo: + Made small change to chdir script to fix a mc crash on startup problem. + +*mc-4.6.0 (05 Feb 2003) + + 17 Jun 2003; Guy Martin mc-4.6.0.ebuild : + Added hppa to KEYWORDS. + + 31 Mar 2003; Christian Birchinger mc-4.6.0.ebuild: + Added sparc stable keyword + + 29 Mar 2003; Seemant Kulleen mc-4.5.55-r7.ebuild, + mc-4.6.0.ebuild: + HOMEPAGE fix by Frantz Dhin in bug #18299 + + 16 Mar 2003; Jan Seidel : + Added mips to KEYWORDS + + 05 Feb 2003; Brad Cowan mc-4.6.0.ebuild, + files/digest-mc-4.6.0: + Release version after a year and a half yea :). + +*mc-4.6.0_pre3 (22 Jan 2003) + + 22 Jan 2003; Brad Cowan mc-4.6.0_pre3.ebuild, + files/digest-mc-4.6.0_pre3: + Version bump with many bugfixes, hopefully upstream fixed the man2hlp bug for + good. + +*mc-4.6.0_pre2 (26 Dec 2002) + + 26 Dec 2002; Brad Cowan mc-4.6.0_pre2.ebuild, + files/digest-mc-4.6.0_pre2: + Version bump with many bugfixes and feature additions. + + 06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords + +*mc-4.5.55-r7 (06 Dec 2002) + + 06 Dec 2002; Brad Cowan mc-4.5.55-r7.ebuild, + files/digest-mc-4.5.55-r7: + + Total rework of an ugly ebuild, hopefully fixes a problem with help, + files in var/tmp. + +*mc-4.6.0_pre1-r4 (13 Nov 2002) + + 13 Nov 2002; Brad Cowan mc-4.6.0_pre1-r4.ebuild, + files/digest-mc-4.6.0_pre1-r4, files/man2hlp.c : + + Replaced man2hlp.c with a cvs version recommended by upstream dev's, + still trying to fix problem with /var/tmp filling up. + +*mc-4.6.0_pre1-r3 (10 Nov 2002) + + 10 Nov 2002; Brad Cowan mc-4.6.0_pre1-r3.ebuild, + files/digest-mc-4.6.0_pre1-r3 : + + Removed troublesome man2help translations, hopefully finally fixed + problem with /var/tmp filling up. + +*mc-4.6.0_pre1-r2 (29 Oct 2002) + + 29 Oct 2002; Brad Cowan mc-4.6.0_pre1-r2.ebuild, + files/digest-mc-4.6.0_pre1-r2 : + + Updated snapshot. + +*mc-4.6.0_pre1-r1 (23 Oct 2002) + + 23 Oct 2002; Brad Cowan mc-4.6.0_pre1-r1.ebuild, + files/digest-mc-4.6.0_pre1-r1 : + + Added snapshot patch to fix pam compile bug, closes bug #9424. + +*mc-4.6.0_pre1 (22 Aug 2002) + + 22 Aug 2002; Brad Cowan mc-4.6.0_pre1.ebuild : + ChangeLog, files/digest-mc-4.6.0_pre1 : + + Version bump with many bugfixes and improvements. + +*mc-4.5.55-r5 (20 Jun 2002) + + 20 Jun 2002; Seemant Kulleen mc-4.5.55-r5.ebuild + files/digest-mc-4.5.55-r5 : + + Samba fixes from Maik Schreiber , + closes bug #3113. + +*mc-4.5.55-r4 (11 Apr 2002) + 11 Apr 2002; Spider + Update all glib dependencies to use glib-1.2* in preparation of unmasking the glib-2.0.1 packages + +*mc-4.5.55-r4 (26 Mar 2002) + + 26 Mar 2002; M.Schlemmer mc-4.5.55-r4.ebuild : + + Remove gnome support as it is broken currently. Add the X use flag support. + +*mc-4.5.55-r2 (22 Mar 2002) + + 22 Mar 2002; Seemant Kulleen mc-4.5.55-r2.ebuild : + + LFH compliance: Matthew Kennedy submitted us this fix, which places the man + pages into the /usr/share/man tree, instead of /usr/man. This turns out to + be more LFH compliant, in addition to placin the manpages where man knows to + look for them (/usr/man is not in MANPATH). + +*mc-4.5.55-r1 (10 Mar 2002) + + 10 Mar 2002; Bruce A. Locke mc-4.5.55-r1.ebuild : + + - NLS fixes submitted by seemant@rocketmail.com (Seemant Kulleen) + - gpm dependency fix from homas.raschbacher@Netway.at (LordVan(Thomas Raschbacher)) + + diff --git a/app-misc/mc/Manifest b/app-misc/mc/Manifest new file mode 100644 index 00000000..763c2f94 --- /dev/null +++ b/app-misc/mc/Manifest @@ -0,0 +1,21 @@ +AUX chdir-4.6.0.gentoo 159 RMD160 5edd511a40033bc11ed6e486edcce5b23c8305a2 SHA1 f9d22b48903f1f5c7f3ae885c6949c65827583b5 SHA256 92fbe981eda972767866b388548c1837dcc32b06549b2dcf3c44d8bfe62d398f +AUX ebuild.syntax 2581 RMD160 20b6f49fa9734abf0d1f4ef7031f5c1779501798 SHA1 2e4231e54a8d8eda9e3f67acec23c5d1915bfac5 SHA256 808d91ac2395f7d6189f4b17f3e2b042c2db46674ca019f66ff6f5062eff9ef5 +AUX mc-4.6.0-7zip.patch 631 RMD160 aee1d87da11c95e18e189874832b97e43521e8e0 SHA1 b8376620d0201963c8595b5ffad4cc631182b2d7 SHA256 371801acda66eed1c2a334385b1dc3854f3d864282aa58650c4fb46d615a93d7 +AUX mc-4.6.0-ebuild-syntax.patch 296 RMD160 adc93b215cb7d092226a8a6dc6d7eb1114d031fc SHA1 e6e7d073a533f6020ef72efea22c91cd6d7a42eb SHA256 18787cc1605326aea8e71573780c02992e31404bde79b02b63ca1d2bb14a5aef +AUX mc-4.6.1-bash-all.patch 924 RMD160 647b45835dbe3aa879ed333ea42e346c4bbc73eb SHA1 21607d94762c25d16ed402a6841955b69d8819e9 SHA256 0fc6eb34fd885c737913de18dc0b0460a471f938189fdb5ede46e1d068dc7b04 +AUX mc-4.6.1-charset-locale-aliases.patch 1529 RMD160 2adaa973e9d021ca79c3d3a1693b296635a2a0ac SHA1 1446e749c6c2b372f3c4f966b1fa13dc67619adc SHA256 fce9179fe4481104448779d51602b593b15d45f56825fce43b4c85c1194c743e +AUX mc-4.6.1-find.patch 5522 RMD160 edba65b5c797d4ac1a4230c24d5746c8f5d06664 SHA1 7611f81a9f69ba3e62931f73fa0bfd56a5706e10 SHA256 70afc16da05d7d10bc1965039090546856692ed6013acf51b2a9d9ca85ed6868 +AUX mc-4.6.1-invalid-mtime.patch 787 RMD160 fb02c6c2c672780551a79d942cd7b3be8eb96c1c SHA1 4ef7584019cc5e7632c2a687705d4b2bd7ba457e SHA256 e6cd8c235aed5362538689daf2a92eddb36e2c79387e26c78d8ac71210224520 +AUX mc-4.6.1-largefile.patch 6919 RMD160 f6bcb19aed609d89a0fdf36646b991d13f45f1ca SHA1 1bbe8c7d614aae3ed8225237b0ac2fdc6bc4ca64 SHA256 005bbc46f6b4ee3ff8ce29cf1b8974af69e38b4ca5676512927a3a8cd290ee57 +AUX mc-4.6.1-nonblock.patch 394 RMD160 414e6d99045ad73d3634e135892d1615cb3322fd SHA1 34b3e6d4807c9e055dbafeede0ed3aa74efe7224 SHA256 49487dbe67eef61543ca9d36f81d2d8884787d2c18dd7ca90ba032ef0ed3c10e +AUX mc.gentoo 322 RMD160 957d5127be68de3eca20ac3121607faa1370d997 SHA1 c13e3625613764aa7c06aaba4519efa30c5722c1 SHA256 6dff61a04bf35cbc5c9570e3ad194a8d8ffd255096c977997d11aa59cd0f24c9 +AUX mc.ini 43 RMD160 2254610744c484553cd3332a4f45e439b13cceed SHA1 dde4fa7bc44867f9e1b34e170aec07484e8497dc SHA256 ed0921487e74b913fa34f4d672584b64da6cf5d592b17c65328621934a4d46f1 +DIST mc-4.6.1-utf8-r2.patch.bz2 30449 RMD160 ffe89eb0cef217ba87398c93b65ebc0e5fefac5d SHA1 f0994ddc412b4f86a7dab83686e846156fc36de2 SHA256 f58de9e412694958c00c7ef831995f2b56b7add7ea1e26567281516db02f483e +DIST mc-4.6.1.tar.gz 3928370 RMD160 d565ee95a8916d73fad5e0defeb9f2f57e50962b SHA1 92be0802143245e0fb7e3847d70da614cad7d5fb SHA256 086ab03daaac28a28c0ddb9a709040b59e1322f6bfa68e39d004d9c66b119e7e +DIST mc-4.6.2-pre1-patches-1.tbz2 48513 RMD160 d003bbc281fce5eb1b7040ff29f9ddff6139121e SHA1 6926944d54289a3779fe7da4e906ddc3c9cc8f57 SHA256 7a7465bcde781c174bf7e596f9772e2e027ffb3d54941c4d9d430c913a0e2483 +DIST mc-4.6.2-pre1.tar.gz 4009197 RMD160 335d032a9562814ebcab1b2848312d3ee1cb5bab SHA1 9eca70f0b1da9f66207b66c07c6bea49c08b818e SHA256 6aeb0ae5371c8beedec37958f73804f6da44bf9cf738647065b17d959b27be34 +DIST u7z-4.29.tar.bz2 2951 RMD160 1ab0cfea1563e81bdde9c0552d37efe710ea14bf SHA1 1a8c65dcb58a8f1be9d7fa8a3b91b1819fbb3360 SHA256 0d046e76fade7c7e31be01626bb3fcb0afcb5f62809733d0c70e0e12c655348d +EBUILD mc-4.6.1-r4.ebuild 4458 RMD160 310edd888d035b6bce6ebe685cafd96954a24507 SHA1 53d9725cb2fdcae43423727ab0964c07b89cf356 SHA256 1ce723b96dfad2a2a6038600ed5b38bd0205cd6eaeed5efab6a93419f7ff249c +EBUILD mc-4.6.2_pre1.ebuild 2795 RMD160 d29040b6861695858c0253357d913054083e83d3 SHA1 8c58668abc87913e08abed23a705014bd38e237d SHA256 6e85b6087fbcc03d9ef93fbb5a2b88ce323745e0451ab9f7a3e5f42839ccaee3 +MISC ChangeLog 20952 RMD160 587d0ac3c656f4b840725c02c54666d8175b8c2e SHA1 6fa50881c880dee72c2f6c5efef4cf0618590a6f SHA256 0f383a9f7d3d7787c121bdf25be86535c6a0211778eb38ce99dc424aac64aa07 +MISC metadata.xml 300 RMD160 9f102fd6d3f520bc53b394229456e9b70e91807f SHA1 020bf4ff7b164e352b8340434ed3762430db87bc SHA256 f1f97640f02ba1eca452c927887656187f24f40a0f8ba97223dcbedb21497ef5 diff --git a/app-misc/mc/files/chdir-4.6.0.gentoo b/app-misc/mc/files/chdir-4.6.0.gentoo new file mode 100644 index 00000000..9332ba0e --- /dev/null +++ b/app-misc/mc/files/chdir-4.6.0.gentoo @@ -0,0 +1,11 @@ + +MC () +{ + mkdir -p $HOME/.mc/tmp 2> /dev/null + chmod 700 $HOME/.mc/tmp + MC=$HOME/.mc/tmp/mc-$$ + /usr/bin/mc -P "$MC" + cd "`cat $MC`" + rm -f "$MC" + unset MC; +} diff --git a/app-misc/mc/files/ebuild.syntax b/app-misc/mc/files/ebuild.syntax new file mode 100644 index 00000000..2148ce2a --- /dev/null +++ b/app-misc/mc/files/ebuild.syntax @@ -0,0 +1,87 @@ +context default + keyword linestart HOMEPAGE brightcyan + keyword linestart DESCRIPTION brightcyan + keyword linestart SRC_URI brightcyan + keyword linestart LICENSE brightcyan + keyword linestart SLOT brightcyan + keyword linestart KEYWORDS brightcyan + keyword linestart IUSE brightcyan + keyword linestart RESTRICT brightcyan + keyword linestart DEPEND brightcyan + keyword linestart RDEPEND brightcyan + keyword linestart EAPI brightcyan + keyword linestart S brightcyan + + keyword whole local yellow + keyword whole use yellow + keyword whole has_version yellow + keyword whole best_version yellow + keyword whole use_with yellow + keyword whole use_enable yellow + keyword whole keepdir yellow + keyword whole econf yellow + keyword whole einstall yellow + keyword whole die yellow + keyword whole einfo yellow + keyword whole elog yellow + keyword whole emake yellow + keyword whole eerror yellow + keyword whole epatch yellow + keyword whole ebegin yellow + keyword whole eend yellow + keyword whole ewarn yellow + keyword whole unpack yellow + + keyword whole diropts yellow + keyword whole dobin yellow + keyword whole docinto yellow + keyword whole dodir yellow + keyword whole dodoc yellow + keyword whole doexe yellow + keyword whole dohard yellow + keyword whole dohtml yellow + keyword whole doinfo yellow + keyword whole doins yellow + keyword whole dolib.a yellow + keyword whole dolib.so yellow + keyword whole dolib yellow + keyword whole doman yellow + keyword whole dosbin yellow + keyword whole dosym yellow + keyword whole exeinto yellow + keyword whole exeopts yellow + keyword whole fowners yellow + keyword whole fperms yellow + keyword whole insinto yellow + keyword whole insopts yellow + keyword whole into yellow + keyword whole libopts yellow + keyword whole newbin yellow + keyword whole newdoc yellow + keyword whole newexe yellow + keyword whole newins yellow + keyword whole newman yellow + keyword whole newsbin yellow + keyword whole prepall yellow + keyword whole prepalldocs yellow + keyword whole prepallinfo yellow + keyword whole prepallman yellow + + keyword = yellow + keyword : yellow + keyword ${+} brightgreen + + keyword linestart abcdefghijklmnopqrstuvwxyz_\(\) brightmagenta + + keyword *() brightcyan + + keyword { magenta + keyword } magenta + +context linestart inherit \n magenta + keyword whole inherit yellow + +context # \n red + +context " " green + keyword wholeright ${+} brightgreen diff --git a/app-misc/mc/files/mc-4.6.0-7zip.patch b/app-misc/mc/files/mc-4.6.0-7zip.patch new file mode 100644 index 00000000..29cda12f --- /dev/null +++ b/app-misc/mc/files/mc-4.6.0-7zip.patch @@ -0,0 +1,25 @@ +--- lib/mc.ext.in.old 2003-01-30 17:48:33.000000000 +0200 ++++ lib/mc.ext.in 2004-11-08 16:51:59.429212632 +0200 +@@ -143,6 +143,12 @@ + shell/.info + Open=info -f %f + ++# 7-Zip, Needs to be before manual page definitions ++regex/\.(7z|7Z)$ ++ View=%view{ascii} 7za l %f 2>/dev/null ++ Open=%cd %p#u7z ++ ++ + # Manual page + # Exception - .so libraries are not manual pages + regex/\.(so|so\.[0-9\.]*)$ +--- vfs/extfs/extfs.ini.old 2002-12-09 16:16:33.000000000 +0200 ++++ vfs/extfs/extfs.ini 2004-10-25 13:56:04.000000000 +0300 +@@ -7,6 +7,7 @@ + ulha + urar + uha ++u7z + # For arj usage you need a special patch to unarj (see unarj.diff) + uarj + diff --git a/app-misc/mc/files/mc-4.6.0-ebuild-syntax.patch b/app-misc/mc/files/mc-4.6.0-ebuild-syntax.patch new file mode 100644 index 00000000..ce59dd33 --- /dev/null +++ b/app-misc/mc/files/mc-4.6.0-ebuild-syntax.patch @@ -0,0 +1,12 @@ +--- Syntax 2004-08-20 22:52:37.145034864 +0200 ++++ Syntax.new 2004-08-20 22:52:19.000000000 +0200 +@@ -116,6 +116,9 @@ + file Don_t_match_me Mail\sfolder ^From\s + include mail.syntax + ++file .\*\\.(ebuild|eclass)$ Gentoo\sEbuild ++include ebuild.syntax ++ + file .\* unknown + include unknown.syntax + diff --git a/app-misc/mc/files/mc-4.6.1-bash-all.patch b/app-misc/mc/files/mc-4.6.1-bash-all.patch new file mode 100644 index 00000000..d1612810 --- /dev/null +++ b/app-misc/mc/files/mc-4.6.1-bash-all.patch @@ -0,0 +1,33 @@ +--- a/src/subshell.c 2006-05-08 23:11:48.000000000 +0200 ++++ b/src/subshell.c 2006-10-28 15:40:46.000000000 +0200 +@@ -745,29 +745,13 @@ subshell_name_quote (const char *s) + memcpy (d, cmd_start, len); + d += len; + +- /* +- * Print every character in octal format with the leading backslash. +- * tcsh and zsh may require 4-digit octals, bash < 2.05b doesn't like them. +- */ +- if (subshell_type == BASH) { + for (; *s; s++) { +- /* Must quote numbers, so that they are not glued to octals */ + if (isalpha ((unsigned char) *s)) { + *d++ = (unsigned char) *s; + } else { +- sprintf (d, "\\%03o", (unsigned char) *s); +- d += 4; +- } +- } +- } else { +- for (; *s; s++) { +- if (isalnum ((unsigned char) *s)) { +- *d++ = (unsigned char) *s; +- } else { + sprintf (d, "\\0%03o", (unsigned char) *s); + d += 5; + } +- } + } + + memcpy (d, common_end, sizeof (common_end)); + diff --git a/app-misc/mc/files/mc-4.6.1-charset-locale-aliases.patch b/app-misc/mc/files/mc-4.6.1-charset-locale-aliases.patch new file mode 100644 index 00000000..53aedd0d --- /dev/null +++ b/app-misc/mc/files/mc-4.6.1-charset-locale-aliases.patch @@ -0,0 +1,40 @@ +diff -ruN mc-4.6.1.orig/intl/Makefile.in mc-4.6.1/intl/Makefile.in +--- mc-4.6.1.orig/intl/Makefile.in 2007-03-06 22:31:02.000000000 +0300 ++++ mc-4.6.1/intl/Makefile.in 2007-03-06 22:38:52.000000000 +0300 +@@ -156,12 +156,7 @@ + test @GLIBC21@ != no || $(mkinstalldirs) $(DESTDIR)$(libdir); \ + temp=$(DESTDIR)$(libdir)/t-charset.alias; \ + dest=$(DESTDIR)$(libdir)/charset.alias; \ +- if test -f $(DESTDIR)$(libdir)/charset.alias; then \ +- orig=$(DESTDIR)$(libdir)/charset.alias; \ +- sed -f ref-add.sed $$orig > $$temp; \ +- $(INSTALL_DATA) $$temp $$dest; \ +- rm -f $$temp; \ +- else \ ++ if ! test -f $(libdir)/charset.alias; then \ + if test @GLIBC21@ = no; then \ + orig=charset.alias; \ + sed -f ref-add.sed $$orig > $$temp; \ +@@ -170,14 +165,14 @@ + fi; \ + fi; \ + $(mkinstalldirs) $(DESTDIR)$(localedir); \ +- test -f $(DESTDIR)$(localedir)/locale.alias \ +- && orig=$(DESTDIR)$(localedir)/locale.alias \ +- || orig=$(srcdir)/locale.alias; \ +- temp=$(DESTDIR)$(localedir)/t-locale.alias; \ +- dest=$(DESTDIR)$(localedir)/locale.alias; \ +- sed -f ref-add.sed $$orig > $$temp; \ +- $(INSTALL_DATA) $$temp $$dest; \ +- rm -f $$temp; \ ++ if ! test -f $(localedir)/locale.alias; then \ ++ orig=$(srcdir)/locale.alias; \ ++ temp=$(DESTDIR)$(localedir)/t-locale.alias; \ ++ dest=$(DESTDIR)$(localedir)/locale.alias; \ ++ sed -f ref-add.sed $$orig > $$temp; \ ++ $(INSTALL_DATA) $$temp $$dest; \ ++ rm -f $$temp; \ ++ fi; \ + else \ + : ; \ + fi diff --git a/app-misc/mc/files/mc-4.6.1-find.patch b/app-misc/mc/files/mc-4.6.1-find.patch new file mode 100644 index 00000000..f44a6ac6 --- /dev/null +++ b/app-misc/mc/files/mc-4.6.1-find.patch @@ -0,0 +1,155 @@ +diff -Naur mc-4.6.1.orig/src/cmd.c mc-4.6.1/src/cmd.c +--- mc-4.6.1.orig/src/cmd.c 2005-05-27 16:19:18.000000000 +0200 ++++ mc-4.6.1/src/cmd.c 2006-03-19 12:57:00.000000000 +0100 +@@ -510,7 +510,7 @@ + continue; + } + c = regexp_match (reg_exp_t, current_panel->dir.list[i].fname, +- match_file); ++ match_file, 0); + if (c == -1) { + message (1, MSG_ERROR, _(" Malformed regular expression ")); + g_free (reg_exp); +diff -Naur mc-4.6.1.orig/src/dir.c mc-4.6.1/src/dir.c +--- mc-4.6.1.orig/src/dir.c 2005-05-27 16:19:18.000000000 +0200 ++++ mc-4.6.1/src/dir.c 2006-03-19 12:58:56.000000000 +0100 +@@ -405,7 +405,7 @@ + *stale_link = 1; + } + if (!(S_ISDIR (buf1->st_mode) || *link_to_dir) && filter +- && !regexp_match (filter, dp->d_name, match_file)) ++ && !regexp_match (filter, dp->d_name, match_file, 0)) + return 0; + + /* Need to grow the *list? */ +diff -Naur mc-4.6.1.orig/src/ext.c mc-4.6.1/src/ext.c +--- mc-4.6.1.orig/src/ext.c 2005-05-27 16:19:18.000000000 +0200 ++++ mc-4.6.1/src/ext.c 2006-03-19 13:00:43.000000000 +0100 +@@ -394,7 +394,7 @@ + } + + if (content_string[0] +- && regexp_match (ptr, content_string + content_shift, match_regex)) { ++ && regexp_match (ptr, content_string + content_shift, match_regex, 0)) { + found = 1; + } + +@@ -534,11 +534,11 @@ + /* Do not transform shell patterns, you can use shell/ for + * that + */ +- if (regexp_match (p, filename, match_regex)) ++ if (regexp_match (p, filename, match_regex, 0)) + found = 1; + } else if (!strncmp (p, "directory/", 10)) { + if (S_ISDIR (mystat.st_mode) +- && regexp_match (p + 10, filename, match_regex)) ++ && regexp_match (p + 10, filename, match_regex, 0)) + found = 1; + } else if (!strncmp (p, "shell/", 6)) { + p += 6; +diff -Naur mc-4.6.1.orig/src/find.c mc-4.6.1/src/find.c +--- mc-4.6.1.orig/src/find.c 2005-05-27 16:19:18.000000000 +0200 ++++ mc-4.6.1/src/find.c 2006-03-19 13:04:10.000000000 +0100 +@@ -575,6 +575,7 @@ + struct stat tmp_stat; + static int pos; + static int subdirs_left = 0; ++ int flags = 0; + + if (!h) { /* someone forces me to close dirp */ + if (dirp) { +@@ -586,6 +587,10 @@ + dp = 0; + return 1; + } ++ ++ if (!(case_sense->state & C_BOOL)) ++ flags |= REG_ICASE; ++ + do_search_begin: + while (!dp){ + +@@ -662,7 +667,7 @@ + g_free (tmp_name); + } + +- if (regexp_match (find_pattern, dp->d_name, match_file)){ ++ if (regexp_match (find_pattern, dp->d_name, match_file, flags)){ + if (content_pattern) { + if (search_content (h, directory, dp->d_name)) { + return 1; +diff -Naur mc-4.6.1.orig/src/user.c mc-4.6.1/src/user.c +--- mc-4.6.1.orig/src/user.c 2005-07-01 17:47:07.000000000 +0200 ++++ mc-4.6.1/src/user.c 2006-03-19 13:05:00.000000000 +0100 +@@ -412,18 +412,18 @@ + break; + case 'f': /* file name pattern */ + p = extract_arg (p, arg, sizeof (arg)); +- *condition = panel && regexp_match (arg, panel->dir.list [panel->selected].fname, match_file); ++ *condition = panel && regexp_match (arg, panel->dir.list [panel->selected].fname, match_file, 0); + break; + case 'y': /* syntax pattern */ + if (edit_widget && edit_widget->syntax_type) { + p = extract_arg (p, arg, sizeof (arg)); + *condition = panel && +- regexp_match (arg, edit_widget->syntax_type, match_normal); ++ regexp_match (arg, edit_widget->syntax_type, match_normal, 0); + } + break; + case 'd': + p = extract_arg (p, arg, sizeof (arg)); +- *condition = panel && regexp_match (arg, panel->cwd, match_file); ++ *condition = panel && regexp_match (arg, panel->cwd, match_file, 0); + break; + case 't': + p = extract_arg (p, arg, sizeof (arg)); +diff -Naur mc-4.6.1.orig/src/util.c mc-4.6.1/src/util.c +--- mc-4.6.1.orig/src/util.c 2005-05-27 16:19:18.000000000 +0200 ++++ mc-4.6.1/src/util.c 2006-03-19 13:06:58.000000000 +0100 +@@ -563,27 +563,30 @@ + return g_strdup (pattern); + } + +-int regexp_match (const char *pattern, const char *string, int match_type) ++int regexp_match (const char *pattern, const char *string, int match_type, int flags) + { + static regex_t r; + static char *old_pattern = NULL; + static int old_type; ++ static int old_flags; + int rval; + char *my_pattern; + +- if (!old_pattern || STRCOMP (old_pattern, pattern) || old_type != match_type){ ++ if (!old_pattern || STRCOMP (old_pattern, pattern) || old_type != match_type || old_flags != flags){ + if (old_pattern){ + regfree (&r); + g_free (old_pattern); + old_pattern = NULL; + } + my_pattern = convert_pattern (pattern, match_type, 0); +- if (regcomp (&r, my_pattern, REG_EXTENDED|REG_NOSUB|MC_ARCH_FLAGS)) { ++ ++ if (regcomp (&r, my_pattern, REG_EXTENDED|REG_NOSUB|MC_ARCH_FLAGS|flags)) { + g_free (my_pattern); + return -1; + } + old_pattern = my_pattern; + old_type = match_type; ++ old_flags = flags; + } + rval = !regexec (&r, string, 0, NULL, 0); + return rval; +diff -Naur mc-4.6.1.orig/src/util.h mc-4.6.1/src/util.h +--- mc-4.6.1.orig/src/util.h 2005-01-13 20:20:47.000000000 +0100 ++++ mc-4.6.1/src/util.h 2006-03-19 13:07:16.000000000 +0100 +@@ -116,7 +116,7 @@ + + extern int easy_patterns; + char *convert_pattern (const char *pattern, int match_type, int do_group); +-int regexp_match (const char *pattern, const char *string, int match_type); ++int regexp_match (const char *pattern, const char *string, int match_type, int flags); + + /* Error pipes */ + void open_error_pipe (void); diff --git a/app-misc/mc/files/mc-4.6.1-invalid-mtime.patch b/app-misc/mc/files/mc-4.6.1-invalid-mtime.patch new file mode 100644 index 00000000..07b1f6d1 --- /dev/null +++ b/app-misc/mc/files/mc-4.6.1-invalid-mtime.patch @@ -0,0 +1,30 @@ + + Invalid timestamps on files caused mc to segfault by passing a null + pointer to strftime. Avoid trying to print the time in this case. + + Reported by Maxim Britov + at http://bugs.gentoo.org/184296 + +--- mc-4.6.1/src/util.c ++++ mc-4.6.1/src/util.c +@@ -717,6 +717,7 @@ + static size_t i18n_timelength = 0; + static const char *fmtyear, *fmttime; + const char *fmt; ++ struct tm *whentm; + + if (i18n_timelength == 0){ + i18n_timelength = i18n_checktimelength() + 1; +@@ -740,7 +741,11 @@ + else + fmt = fmttime; + +- strftime (timebuf, i18n_timelength, fmt, localtime(&when)); ++ whentm = localtime(&when); ++ if (whentm == NULL) ++ return "(invalid)"; ++ ++ strftime (timebuf, i18n_timelength, fmt, whentm); + return timebuf; + } + diff --git a/app-misc/mc/files/mc-4.6.1-largefile.patch b/app-misc/mc/files/mc-4.6.1-largefile.patch new file mode 100644 index 00000000..de307157 --- /dev/null +++ b/app-misc/mc/files/mc-4.6.1-largefile.patch @@ -0,0 +1,194 @@ +diff -Naur mc-4.6.1.orig/intl/loadmsgcat.c mc-4.6.1/intl/loadmsgcat.c +--- mc-4.6.1.orig/intl/loadmsgcat.c 2005-07-23 18:52:57.000000000 +0200 ++++ mc-4.6.1/intl/loadmsgcat.c 2006-03-19 17:11:14.000000000 +0100 +@@ -1002,7 +1002,7 @@ + /* The magic number is wrong: not a message catalog file. */ + #ifdef HAVE_MMAP + if (use_mmap) +- munmap ((caddr_t) data, size); ++ munmap ((void *) data, size); + else + #endif + free (data); +@@ -1271,7 +1271,7 @@ + free (domain->malloced); + #ifdef HAVE_MMAP + if (use_mmap) +- munmap ((caddr_t) data, size); ++ munmap ((void *) data, size); + else + #endif + free (data); +@@ -1306,7 +1306,7 @@ + + # ifdef _POSIX_MAPPED_FILES + if (domain->use_mmap) +- munmap ((caddr_t) domain->data, domain->mmap_size); ++ munmap ((void *) domain->data, domain->mmap_size); + else + # endif /* _POSIX_MAPPED_FILES */ + free ((void *) domain->data); +diff -Naur mc-4.6.1.orig/src/view.c mc-4.6.1/src/view.c +--- mc-4.6.1.orig/src/view.c 2005-05-27 16:19:18.000000000 +0200 ++++ mc-4.6.1/src/view.c 2006-03-19 17:10:34.000000000 +0100 +@@ -76,6 +76,12 @@ + #define vwidth (view->widget.cols - (view->have_frame ? 2 : 0)) + #define vheight (view->widget.lines - (view->have_frame ? 2 : 0)) + ++#if GLIB_MAJOR_VERSION >= 2 ++# define my_g_malloc g_try_malloc ++#else ++# define my_g_malloc g_malloc ++#endif ++ + /* Offset in bytes into a file */ + typedef unsigned long offset_type; + #define INVALID_OFFSET ((offset_type) -1) +@@ -560,8 +566,8 @@ + view->data = mc_mmap (0, view->s.st_size, PROT_READ, + MAP_FILE | MAP_SHARED, view->file, 0); + else +- view->data = (caddr_t) -1; +- if ((caddr_t) view->data != (caddr_t) - 1) { ++ view->data = (void *) -1; ++ if (view->data != (void *)-1) { + /* mmap worked */ + view->first = 0; + view->bytes_read = view->s.st_size; +@@ -573,6 +579,9 @@ + /* For the OSes that don't provide mmap call, try to load all the + * file into memory (alex@bcs.zaporizhzhe.ua). Also, mmap can fail + * for any reason, so we use this as fallback (pavel@ucw.cz) */ ++ ++ /* If large file support is enabled, st_size is a 64 bit value and ++ * will thus on 32 bit platforms possibly be beyond the range of gulong */ + + /* Make sure view->s.st_size is not truncated when passed to g_malloc */ + if ((gulong) view->s.st_size == view->s.st_size) +diff -Naur mc-4.6.1.orig/vfs/local.c mc-4.6.1/vfs/local.c +--- mc-4.6.1.orig/vfs/local.c 2004-09-25 01:00:18.000000000 +0200 ++++ mc-4.6.1/vfs/local.c 2006-03-19 17:00:45.000000000 +0100 +@@ -243,8 +243,8 @@ + } + + #ifdef HAVE_MMAP +-caddr_t +-local_mmap (struct vfs_class *me, caddr_t addr, size_t len, int prot, int flags, void *data, off_t offset) ++void * ++local_mmap (struct vfs_class *me, void *addr, size_t len, int prot, int flags, void *data, off_t offset) + { + int fd = * (int *)data; + +@@ -252,7 +252,7 @@ + } + + int +-local_munmap (struct vfs_class *me, caddr_t addr, size_t len, void *data) ++local_munmap (struct vfs_class *me, void *addr, size_t len, void *data) + { + return munmap (addr, len); + } +diff -Naur mc-4.6.1.orig/vfs/local.h mc-4.6.1/vfs/local.h +--- mc-4.6.1.orig/vfs/local.h 2004-08-17 11:17:43.000000000 +0200 ++++ mc-4.6.1/vfs/local.h 2006-03-19 17:01:35.000000000 +0100 +@@ -13,9 +13,9 @@ + extern int local_errno (struct vfs_class *me); + extern int local_lseek (void *data, off_t offset, int whence); + #ifdef HAVE_MMAP +-extern caddr_t local_mmap (struct vfs_class *me, caddr_t addr, size_t len, ++extern void *local_mmap (struct vfs_class *me, void *addr, size_t len, + int prot, int flags, void *data, off_t offset); +-extern int local_munmap (struct vfs_class *me, caddr_t addr, size_t len, void *data); ++extern int local_munmap (struct vfs_class *me, void *addr, size_t len, void *data); + #endif + + #endif +diff -Naur mc-4.6.1.orig/vfs/samba/lib/util.c mc-4.6.1/vfs/samba/lib/util.c +--- mc-4.6.1.orig/vfs/samba/lib/util.c 2005-05-27 16:19:19.000000000 +0200 ++++ mc-4.6.1/vfs/samba/lib/util.c 2006-03-19 17:06:39.000000000 +0100 +@@ -1836,7 +1836,7 @@ + + /* Look up the host address in the address list we just got. */ + for (i = 0; hp->h_addr_list[i]; i++) { +- if (memcmp(hp->h_addr_list[i], (caddr_t) & addr, sizeof(addr)) == 0) ++ if (memcmp(hp->h_addr_list[i], &addr, sizeof(addr)) == 0) + return True; + } + +diff -Naur mc-4.6.1.orig/vfs/vfs.c mc-4.6.1/vfs/vfs.c +--- mc-4.6.1.orig/vfs/vfs.c 2005-05-27 16:19:19.000000000 +0200 ++++ mc-4.6.1/vfs/vfs.c 2006-03-19 17:03:48.000000000 +0100 +@@ -740,27 +740,27 @@ + + #ifdef HAVE_MMAP + static struct mc_mmapping { +- caddr_t addr; ++ void *addr; + void *vfs_info; + struct vfs_class *vfs; + struct mc_mmapping *next; + } *mc_mmaparray = NULL; + +-caddr_t +-mc_mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset) ++void * ++mc_mmap (void *addr, size_t len, int prot, int flags, int fd, off_t offset) + { + struct vfs_class *vfs; +- caddr_t result; ++ void *result; + struct mc_mmapping *mcm; + + if (fd == -1) +- return (caddr_t) -1; ++ return (void *) -1; + + vfs = vfs_op (fd); +- result = vfs->mmap ? (*vfs->mmap)(vfs, addr, len, prot, flags, vfs_info (fd), offset) : (caddr_t)-1; +- if (result == (caddr_t)-1){ ++ result = vfs->mmap ? (*vfs->mmap)(vfs, addr, len, prot, flags, vfs_info (fd), offset) : (void *)-1; ++ if (result == (void *)-1){ + errno = ferrno (vfs); +- return (caddr_t)-1; ++ return (void *)-1; + } + mcm =g_new (struct mc_mmapping, 1); + mcm->addr = result; +@@ -772,7 +772,7 @@ + } + + int +-mc_munmap (caddr_t addr, size_t len) ++mc_munmap (void *addr, size_t len) + { + struct mc_mmapping *mcm, *mcm2 = NULL; + +diff -Naur mc-4.6.1.orig/vfs/vfs.h mc-4.6.1/vfs/vfs.h +--- mc-4.6.1.orig/vfs/vfs.h 2004-11-16 17:16:08.000000000 +0100 ++++ mc-4.6.1/vfs/vfs.h 2006-03-19 17:05:57.000000000 +0100 +@@ -49,8 +49,8 @@ + int mc_ctl (int fd, int ctlop, void *arg); + int mc_setctl (const char *path, int ctlop, void *arg); + #ifdef HAVE_MMAP +-caddr_t mc_mmap (caddr_t, size_t, int, int, int, off_t); +-int mc_munmap (caddr_t addr, size_t len); ++void *mc_mmap (void *, size_t, int, int, int, off_t); ++int mc_munmap (void *addr, size_t len); + #endif /* HAVE_MMAP */ + + /* Operations for mc_ctl - on open file */ +diff -Naur mc-4.6.1.orig/vfs/vfs-impl.h mc-4.6.1/vfs/vfs-impl.h +--- mc-4.6.1.orig/vfs/vfs-impl.h 2004-09-02 15:57:59.000000000 +0200 ++++ mc-4.6.1/vfs/vfs-impl.h 2006-03-19 17:12:01.000000000 +0100 +@@ -72,9 +72,9 @@ + int (*setctl) (struct vfs_class *me, const char *path, int ctlop, + void *arg); + #ifdef HAVE_MMAP +- caddr_t (*mmap) (struct vfs_class *me, caddr_t addr, size_t len, ++ void *(*mmap) (struct vfs_class *me, void *addr, size_t len, + int prot, int flags, void *vfs_info, off_t offset); +- int (*munmap) (struct vfs_class *me, caddr_t addr, size_t len, ++ int (*munmap) (struct vfs_class *me, void *addr, size_t len, + void *vfs_info); + #endif + }; diff --git a/app-misc/mc/files/mc-4.6.1-nonblock.patch b/app-misc/mc/files/mc-4.6.1-nonblock.patch new file mode 100644 index 00000000..eca34aaf --- /dev/null +++ b/app-misc/mc/files/mc-4.6.1-nonblock.patch @@ -0,0 +1,11 @@ +--- mc-4.6.1/src/cons.saver.c.old 2006-04-30 20:45:11.725128977 +0200 ++++ mc-4.6.1/src/cons.saver.c 2006-04-30 20:45:55.545063247 +0200 +@@ -134,7 +134,7 @@ + + if (seteuid (uid) < 0) + die (); +- console_fd = open (tty_name, O_RDONLY); ++ console_fd = open (tty_name, O_RDONLY | O_NONBLOCK); + if (console_fd < 0) + die (); + if (fstat (console_fd, &st) < 0 || ! S_ISCHR (st.st_mode)) diff --git a/app-misc/mc/files/mc.gentoo b/app-misc/mc/files/mc.gentoo new file mode 100644 index 00000000..a71d249b --- /dev/null +++ b/app-misc/mc/files/mc.gentoo @@ -0,0 +1,16 @@ +#!/bin/sh + +# A little fix so mc exits into it's current working directory +MC_ENV=/usr/share/mc/bin/mc.sh + +for i in $MC_ENV; do + if [ -x $i ]; then + . $i + fi +done + +# include this, so also xterm,kterm,gterm,etc will have default bash settings + +#if [ "x$SHLVL" != "x1" ]; then # We're not a login shell +# . /etc/profile +#fi diff --git a/app-misc/mc/files/mc.ini b/app-misc/mc/files/mc.ini new file mode 100644 index 00000000..890658ec --- /dev/null +++ b/app-misc/mc/files/mc.ini @@ -0,0 +1,2 @@ +[Midnight-Commander] +use_8th_bit_as_meta=0 diff --git a/app-misc/mc/mc-4.6.1-r4.ebuild b/app-misc/mc/mc-4.6.1-r4.ebuild new file mode 100644 index 00000000..4aad230a --- /dev/null +++ b/app-misc/mc/mc-4.6.1-r4.ebuild @@ -0,0 +1,159 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.6.1-r4.ebuild,v 1.15 2008/09/14 02:04:27 solar Exp $ + +inherit flag-o-matic eutils + +U7Z_PV="4.29" +U7Z="u7z-${U7Z_PV}.tar.bz2" +DESCRIPTION="GNU Midnight Commander cli-based file manager" +HOMEPAGE="http://www.gnu.org/software/mc/" +SRC_URI="http://www.ibiblio.org/pub/Linux/utils/file/managers/${PN}/${P}.tar.gz + mirror://gentoo/${P}-utf8-r2.patch.bz2 + 7zip? ( http://sgh-punk.narod.ru/files/u7z/${U7Z} )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" +IUSE="7zip X gpm ncurses nls samba slang unicode" + +RDEPEND="kernel_linux? ( >=sys-fs/e2fsprogs-1.19 ) + ncurses? ( >=sys-libs/ncurses-5.2-r5 ) + =dev-libs/glib-2* + gpm? ( >=sys-libs/gpm-1.19.3 ) + slang? ( >=sys-libs/slang-1.4 ) + samba? ( >=net-fs/samba-3.0.0 ) + X? ( x11-libs/libX11 + x11-libs/libICE + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libSM ) + x86? ( 7zip? ( >=app-arch/p7zip-4.16 ) ) + ppc? ( 7zip? ( >=app-arch/p7zip-4.16 ) ) + amd64? ( 7zip? ( >=app-arch/p7zip-4.16 ) )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +pkg_setup() { + if use unicode && ! use slang ; then + eerror "You must either disable unicode useflag or, if you want a" + eerror "unicode-aware mc, set the slang useflag as well." + die "set slang or unset unicode" + fi +} + +src_unpack() { + if ( use x86 || use amd64 || use ppc ) && use 7zip; then + unpack ${U7Z} + fi + unpack ${P}.tar.gz + cd "${S}" + + epatch "${FILESDIR}"/${P}-find.patch + if ( use x86 || use amd64 || use ppc ) && use 7zip; then + epatch "${FILESDIR}"/${PN}-4.6.0-7zip.patch + fi + epatch "${FILESDIR}"/${P}-largefile.patch + + # Don't crash on invalid mtimes + # Bug #184296 + epatch "${FILESDIR}"/${P}-invalid-mtime.patch + + if use slang && use unicode; then + epatch "${DISTDIR}"/${P}-utf8-r2.patch.bz2 + fi + epatch "${FILESDIR}"/${P}-nonblock.patch + epatch "${FILESDIR}"/${P}-bash-all.patch + + # Prevent lazy bindings in cons.saver binary. (bug #135009) + # - not using bindnow-flags() because cons.saver is only built on GNU/Linux + sed -i -e "s:^\(cons_saver_LDADD = .*\):\1 -Wl,-z,now:" \ + src/Makefile.in + + # docs try to run the files it just built while trying convert .1 to .hlp files. + # this will never work for cross compiles, so we simply don't make docs. + if tc-is-cross-compiler; then + sed -i -e s/'lib doc syntax'/'lib syntax'/ Makefile.in + fi + + # Correctly generate charset.alias. + # Fixes bugs 71275, 105960 and 169678 + epatch "${FILESDIR}"/${P}-charset-locale-aliases.patch +} + +src_compile() { + append-flags -I/usr/include/gssapi + + filter-flags -malign-double + + local myconf="" + + if ! use slang && ! use ncurses ; then + myconf="${myconf} --with-screen=mcslang" + elif use ncurses && ! use slang ; then + myconf="${myconf} --with-screen=ncurses" + else + use slang && myconf="${myconf} --with-screen=slang" + fi + + myconf="${myconf} `use_with gpm gpm-mouse`" + + use nls \ + && myconf="${myconf} --with-included-gettext" \ + || myconf="${myconf} --disable-nls" + + myconf="${myconf} `use_with X x`" + + use samba \ + && myconf="${myconf} --with-samba --with-configdir=/etc/samba --with-codepagedir=/var/lib/samba/codepages --with-privatedir=/etc/samba/private" \ + || myconf="${myconf} --without-samba" + + econf \ + --with-vfs \ + --with-ext2undel \ + --with-edit \ + --enable-charset \ + ${myconf} || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + cat "${FILESDIR}"/chdir-4.6.0.gentoo >>\ + "${S}"/lib/mc-wrapper.sh + + make install DESTDIR="${D}" || die "make install failed" + + # install cons.saver setuid, to actually work + fperms u+s /usr/$(get_libdir)/mc/cons.saver + + dodoc ChangeLog AUTHORS MAINTAINERS FAQ INSTALL* NEWS README* + + insinto /usr/share/mc + doins "${FILESDIR}"/mc.gentoo + doins "${FILESDIR}"/mc.ini + + if ( use x86 || use amd64 || use ppc ) && use 7zip; then + cd ../${U7Z_PV} + exeinto /usr/share/mc/extfs + doexe u7z + dodoc readme.u7z + newdoc ChangeLog ChangeLog.u7z + fi + + insinto /usr/share/mc/syntax + doins "${FILESDIR}"/ebuild.syntax + cd "${D}"/usr/share/mc/syntax + epatch "${FILESDIR}"/${PN}-4.6.0-ebuild-syntax.patch +} + +pkg_postinst() { + elog "Add the following line to your ~/.bashrc to" + elog "allow mc to chdir to its latest working dir at exit" + elog "" + elog "# Midnight Commander chdir enhancement" + elog "if [ -f /usr/share/mc/mc.gentoo ]; then" + elog " . /usr/share/mc/mc.gentoo" + elog "fi" +} diff --git a/app-misc/mc/mc-4.6.2_pre1.ebuild b/app-misc/mc/mc-4.6.2_pre1.ebuild new file mode 100644 index 00000000..f78ac3ea --- /dev/null +++ b/app-misc/mc/mc-4.6.2_pre1.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.6.2_pre1.ebuild,v 1.7 2008/11/24 17:55:35 ssuominen Exp $ + +EAPI=1 + +inherit eutils toolchain-funcs + +MY_P=${P/_/-} + +DESCRIPTION="GNU Midnight Commander is a s-lang based file manager." +HOMEPAGE="http://www.gnu.org/software/mc" +SRC_URI="http://ftp.gnu.org/gnu/mc/${MY_P}.tar.gz + mirror://gentoo/${MY_P}-patches-1.tbz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~arm ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="gpm nls samba +unicode X" + +RDEPEND=">=dev-libs/glib-2 + unicode? ( >=sys-libs/slang-2.1.3 ) + !unicode? ( sys-libs/ncurses ) + gpm? ( sys-libs/gpm ) + X? ( x11-libs/libX11 + x11-libs/libICE + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libSM ) + samba? ( net-fs/samba ) + kernel_linux? ( sys-fs/e2fsprogs ) + app-arch/zip + app-arch/unzip" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + + use unicode || \ + EPATCH_EXCLUDE="48_all_deb_utf8-slang2.patch 60_all_deb_recode.patch" + + EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patches + + # Prevent lazy bindings in cons.saver binary for bug #135009 + sed -i -e "s:^\(cons_saver_LDADD = .*\):\1 -Wl,-z,now:" \ + src/Makefile.in || die "sed failed." + + # docs try to run the files it just built while trying convert .1 to .hlp files. + # this will never work for cross compiles, so we simply don't make docs. + if tc-is-cross-compiler; then + sed -i -e s/'lib doc syntax'/'lib syntax'/ Makefile.in + fi +} + +src_compile() { + local myconf="--with-vfs --with-ext2undel --enable-charset --with-edit" + + if use unicode; then + myconf+=" --with-screen=slang" + else + myconf+=" --with-screen=ncurses" + fi + + if use samba; then + myconf+=" --with-samba --with-configdir=/etc/samba --with-codepagedir=/var/lib/samba/codepages" + else + myconf+=" --without-samba" + fi + + econf --disable-dependency-tracking \ + $(use_enable nls) \ + $(use_with gpm gpm-mouse) \ + $(use_with X x) \ + ${myconf} + + emake || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS FAQ HACKING MAINTAINERS NEWS README* TODO + + insinto /usr/share/mc + doins "${FILESDIR}"/mc.gentoo + doins "${FILESDIR}"/mc.ini + + # Install cons.saver setuid to actually work + fperms u+s /usr/libexec/mc/cons.saver + + # Install ebuild syntax + insinto /usr/share/mc/syntax + doins "${FILESDIR}"/ebuild.syntax +} + +pkg_postinst() { + elog "Add the following line to your ~/.bashrc to" + elog "allow mc to chdir to its latest working dir at exit" + elog "" + elog "# Midnight Commander chdir enhancement" + elog "if [ -f /usr/share/mc/mc.gentoo ]; then" + elog " . /usr/share/mc/mc.gentoo" + elog "fi" +} diff --git a/app-misc/mc/metadata.xml b/app-misc/mc/metadata.xml new file mode 100644 index 00000000..5057a625 --- /dev/null +++ b/app-misc/mc/metadata.xml @@ -0,0 +1,11 @@ + + + +desktop-misc + + ssuominen@gentoo.org + + + Add support for 7zip archives + +