From c8f9ea324922b8264726938021e3dafc1d1c42d0 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 10 Jun 2009 01:24:48 +0300 Subject: new file: app-misc/mc/mc-4.9999.ebuild (Midnight Commander from git) new file: net-dialup/openl2tp/openl2tp-1.4.ebuild (openl2tp) --- app-misc/mc/ChangeLog | 617 +++++++++++++++++++++ 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 + app-misc/mc/files/mc-4.6.0-ebuild-syntax.patch | 12 + app-misc/mc/files/mc-4.6.1-bash-all.patch | 33 ++ .../mc/files/mc-4.6.1-charset-locale-aliases.patch | 40 ++ app-misc/mc/files/mc-4.6.1-find.patch | 155 ++++++ app-misc/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.9999.ebuild | 122 ++++ net-dialup/openl2tp/openl2tp-1.4.ebuild | 45 ++ net-firewall/iptables/iptables-1.4.3.2-r1.ebuild | 2 +- 16 files changed, 1401 insertions(+), 1 deletion(-) create mode 100644 app-misc/mc/ChangeLog 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.9999.ebuild create mode 100644 net-dialup/openl2tp/openl2tp-1.4.ebuild diff --git a/app-misc/mc/ChangeLog b/app-misc/mc/ChangeLog new file mode 100644 index 0000000..524e494 --- /dev/null +++ b/app-misc/mc/ChangeLog @@ -0,0 +1,617 @@ +# ChangeLog for app-misc/mc +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.148 2009/05/28 17:45:05 arfrever Exp $ + + 28 May 2009; Arfrever Frehtes Taifersar Arahesis + mc-4.6.2_pre1.ebuild: + Add missing dependency. + + 28 May 2009; Fabian Groffen mc-4.6.2_pre1.ebuild: + iconv -o is not documented on Linux, and it for sure doesn't work with + libiconv. Backport from Prefix + + 24 May 2009; Arfrever Frehtes Taifersar Arahesis + mc-4.6.2_pre1.ebuild: + Fix encoding of some files (bug #230832). + + 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/files/chdir-4.6.0.gentoo b/app-misc/mc/files/chdir-4.6.0.gentoo new file mode 100644 index 0000000..9332ba0 --- /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 0000000..2148ce2 --- /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 0000000..29cda12 --- /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 0000000..ce59dd3 --- /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 0000000..d161281 --- /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 0000000..53aedd0 --- /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 0000000..f44a6ac --- /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 0000000..07b1f6d --- /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 0000000..de30715 --- /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 0000000..eca34aa --- /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 0000000..a71d249 --- /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 0000000..890658e --- /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.9999.ebuild b/app-misc/mc/mc-4.9999.ebuild new file mode 100644 index 0000000..8f2910d --- /dev/null +++ b/app-misc/mc/mc-4.9999.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2009 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.10 2009/05/28 17:45:05 arfrever Exp $ + +EAPI=1 + +inherit eutils toolchain-funcs git autotools + +MY_P=${P/_/-} + +DESCRIPTION="GNU Midnight Commander is a s-lang based file manager." +HOMEPAGE="http://www.gnu.org/software/mc" +SRC_URI="" + +EGIT_REPO_URI="git://midnight-commander.org/git/mc.git" +EGIT_BOOTSTRAP="./autogen.sh" + +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} + dev-util/pkgconfig + nls? ( sys-devel/gettext ) + unicode? ( virtual/libiconv )" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + git_src_unpack + 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." + + if use unicode; then + local conversion_table=( + "cs ISO-8859-2" + "es ISO-8859-1" + "hu ISO-8859-2" + "nl ISO-8859-1" + "pl ISO-8859-2" + "ru KOI8-R" + "sr ISO-8859-5" + "uk KOI8-U" + ) + local element + for element in "${conversion_table[@]}"; do + local lingua="${element% *}" + local old_encoding="${element#* }" + local file + for file in "doc/${lingua}/xnc.hlp" "lib/mc.hint.${lingua}" "lib/mc.menu.${lingua}"; do + if [[ -f "${file}" ]]; then + mv "${file}" "${file}.${old_encoding}" + iconv -f ${old_encoding} -t UTF-8 "${file}.${old_encoding}" > "${file}" || die "iconv ${file} failed" + fi + done + done + fi + + # 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 + + # 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 +} diff --git a/net-dialup/openl2tp/openl2tp-1.4.ebuild b/net-dialup/openl2tp/openl2tp-1.4.ebuild new file mode 100644 index 0000000..3b880e2 --- /dev/null +++ b/net-dialup/openl2tp/openl2tp-1.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Userspace tools for kernel L2TP implementation." +HOMEPAGE="http://openl2tp.sourceforge.net" +SRC_URI="mirror://sourceforge/openl2tp/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc" + +DEPEND="sys-libs/readline + =net-dialup/ppp-2.4.4* + || ( + >=sys-kernel/vanilla-sources-2.6.23 + >=sys-kernel/gentoo-sources-2.6.23 + )" +RDEPEND="net-nds/rpcbind ${DEPEND}" + +# This prevents some weird error with the openl2tp Makefile regarding -Werror +# being passed where it shouldn't be going. +unset CFLAGS + +src_unpack() { + unpack ${A} + cd "${S}" +# epatch "debian/patches/01_rm_unused.patch" +} + +src_compile() { + emake || die "Build failed." +} + +src_install() { + emake DESTDIR=${D} install || die "Install failed." + + if use doc; then + dodoc README CHANGES doc/*.txt + fi + newinitd "${FILESDIR}"/openl2tp.initd openl2tp +} diff --git a/net-firewall/iptables/iptables-1.4.3.2-r1.ebuild b/net-firewall/iptables/iptables-1.4.3.2-r1.ebuild index ba4fa3d..6e776de 100644 --- a/net-firewall/iptables/iptables-1.4.3.2-r1.ebuild +++ b/net-firewall/iptables/iptables-1.4.3.2-r1.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://iptables.org/projects/iptables/files/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="" IUSE="+l7-filter" DEPEND="virtual/os-headers -- cgit v1.2.3