1 |
slyfox 11/11/30 07:21:30 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mc-4.8.0-r2.ebuild |
5 |
Log: |
6 |
Fix annoying leading spaces in ftp directories (upstream patch) |
7 |
|
8 |
(Portage version: 2.2.0_alpha77_p1/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.231 app-misc/mc/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?rev=1.231&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?rev=1.231&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?r1=1.230&r2=1.231 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v |
20 |
retrieving revision 1.230 |
21 |
retrieving revision 1.231 |
22 |
diff -u -r1.230 -r1.231 |
23 |
--- ChangeLog 11 Nov 2011 13:23:20 -0000 1.230 |
24 |
+++ ChangeLog 30 Nov 2011 07:21:30 -0000 1.231 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-misc/mc |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.230 2011/11/11 13:23:20 naota Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.231 2011/11/30 07:21:30 slyfox Exp $ |
30 |
+ |
31 |
+*mc-4.8.0-r2 (30 Nov 2011) |
32 |
+ |
33 |
+ 30 Nov 2011; Sergei Trofimovich <slyfox@g.o> +mc-4.8.0-r2.ebuild, |
34 |
+ +files/mc-4.8.0-fix-ftp-spaces.patch: |
35 |
+ Fix annoying leading spaces in ftp directories (upstream patch) |
36 |
|
37 |
11 Nov 2011; Naohiro Aota <naota@g.o> mc-4.7.5.3.ebuild, |
38 |
mc-4.7.5.5.ebuild, mc-4.8.0.ebuild, mc-4.8.0-r1.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-misc/mc/mc-4.8.0-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/mc-4.8.0-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/mc-4.8.0-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: mc-4.8.0-r2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.0-r2.ebuild,v 1.1 2011/11/30 07:21:30 slyfox Exp $ |
52 |
|
53 |
EAPI=4 |
54 |
|
55 |
inherit base flag-o-matic |
56 |
|
57 |
MY_P=${P/_/-} |
58 |
|
59 |
DESCRIPTION="GNU Midnight Commander is a text based file manager" |
60 |
HOMEPAGE="http://www.midnight-commander.org" |
61 |
SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz" |
62 |
|
63 |
LICENSE="GPL-3" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" |
66 |
IUSE="+edit gpm mclib +ncurses nls samba slang test X" |
67 |
|
68 |
REQUIRED_USE="^^ ( ncurses slang )" |
69 |
|
70 |
RDEPEND=">=dev-libs/glib-2.8:2 |
71 |
gpm? ( sys-libs/gpm ) |
72 |
kernel_linux? ( sys-fs/e2fsprogs ) |
73 |
ncurses? ( sys-libs/ncurses ) |
74 |
samba? ( net-fs/samba ) |
75 |
slang? ( >=sys-libs/slang-2 ) |
76 |
X? ( x11-libs/libX11 |
77 |
x11-libs/libICE |
78 |
x11-libs/libXau |
79 |
x11-libs/libXdmcp |
80 |
x11-libs/libSM )" |
81 |
DEPEND="${RDEPEND} |
82 |
app-arch/xz-utils |
83 |
dev-util/pkgconfig |
84 |
nls? ( sys-devel/gettext ) |
85 |
test? ( dev-libs/check ) |
86 |
" |
87 |
|
88 |
S=${WORKDIR}/${MY_P} |
89 |
|
90 |
PATCHES=("${FILESDIR}/${PN}"-4.8.0-fix-nls.patch |
91 |
"${FILESDIR}/${PN}"-4.8.0-fix-ftp-spaces.patch |
92 |
) |
93 |
|
94 |
src_configure() { |
95 |
local myscreen=ncurses |
96 |
use slang && myscreen=slang |
97 |
[[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket" |
98 |
|
99 |
econf \ |
100 |
--disable-dependency-tracking \ |
101 |
$(use_enable nls) \ |
102 |
--enable-vfs \ |
103 |
$(use_enable kernel_linux vfs-undelfs) \ |
104 |
--enable-charset \ |
105 |
$(use_with X x) \ |
106 |
$(use_enable samba vfs-smb) \ |
107 |
$(use_with gpm gpm-mouse) \ |
108 |
--with-screen=${myscreen} \ |
109 |
$(use_with edit) \ |
110 |
$(use_enable mclib) \ |
111 |
$(use_enable test tests) |
112 |
} |
113 |
|
114 |
src_install() { |
115 |
emake DESTDIR="${D}" install || die |
116 |
dodoc AUTHORS README NEWS |
117 |
|
118 |
# fix bug #334383 |
119 |
if use kernel_linux && [[ ${EUID} == 0 ]] ; then |
120 |
fowners root:tty /usr/libexec/mc/cons.saver || |
121 |
die "setting cons.saver's owner failed" |
122 |
fperms g+s /usr/libexec/mc/cons.saver || |
123 |
die "setting cons.saver's permissions failed" |
124 |
fi |
125 |
} |
126 |
|
127 |
pkg_postinst() { |
128 |
elog "To enable exiting to latest working directory," |
129 |
elog "put this into your ~/.bashrc:" |
130 |
elog ". ${EPREFIX}/usr/libexec/mc/mc.sh" |
131 |
} |