1 |
slyfox 12/04/28 19:55:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mc-4.8.3-r2.ebuild |
5 |
Removed: mc-4.8.3-r1.ebuild |
6 |
Log: |
7 |
Fix symlink creation crash. Thanks to Lars Wendler (Polynomial-C) for the fix (bug #413691). |
8 |
|
9 |
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.254 app-misc/mc/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?rev=1.254&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?rev=1.254&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?r1=1.253&r2=1.254 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v |
21 |
retrieving revision 1.253 |
22 |
retrieving revision 1.254 |
23 |
diff -u -r1.253 -r1.254 |
24 |
--- ChangeLog 23 Apr 2012 15:59:12 -0000 1.253 |
25 |
+++ ChangeLog 28 Apr 2012 19:55:27 -0000 1.254 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for app-misc/mc |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.253 2012/04/23 15:59:12 polynomial-c Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.254 2012/04/28 19:55:27 slyfox Exp $ |
31 |
+ |
32 |
+*mc-4.8.3-r2 (28 Apr 2012) |
33 |
+ |
34 |
+ 28 Apr 2012; Sergei Trofimovich <slyfox@g.o> |
35 |
+ +files/mc-4.8.3-fix-relative-symlink-creation-crash.patch, |
36 |
+ +mc-4.8.3-r2.ebuild, -mc-4.8.3-r1.ebuild: |
37 |
+ Fix symlink creation crash. Thanks to Lars Wendler (Polynomial-C) for the fix |
38 |
+ (bug #413691). |
39 |
|
40 |
*mc-4.8.3-r1 (23 Apr 2012) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 app-misc/mc/mc-4.8.3-r2.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/mc-4.8.3-r2.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/mc-4.8.3-r2.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: mc-4.8.3-r2.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2012 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.3-r2.ebuild,v 1.1 2012/04/28 19:55:27 slyfox Exp $ |
55 |
|
56 |
EAPI=4 |
57 |
|
58 |
inherit eutils flag-o-matic |
59 |
|
60 |
MY_P=${P/_/-} |
61 |
|
62 |
DESCRIPTION="GNU Midnight Commander is a text based file manager" |
63 |
HOMEPAGE="http://www.midnight-commander.org" |
64 |
SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz" |
65 |
|
66 |
LICENSE="GPL-3" |
67 |
SLOT="0" |
68 |
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" |
69 |
IUSE="+edit gpm mclib nls samba +slang test X +xdg" |
70 |
|
71 |
RDEPEND=">=dev-libs/glib-2.8:2 |
72 |
gpm? ( sys-libs/gpm ) |
73 |
kernel_linux? ( sys-fs/e2fsprogs ) |
74 |
samba? ( net-fs/samba ) |
75 |
slang? ( >=sys-libs/slang-2 ) |
76 |
!slang? ( sys-libs/ncurses ) |
77 |
X? ( x11-libs/libX11 |
78 |
x11-libs/libICE |
79 |
x11-libs/libXau |
80 |
x11-libs/libXdmcp |
81 |
x11-libs/libSM )" |
82 |
DEPEND="${RDEPEND} |
83 |
app-arch/xz-utils |
84 |
dev-util/pkgconfig |
85 |
nls? ( sys-devel/gettext ) |
86 |
test? ( dev-libs/check ) |
87 |
" |
88 |
|
89 |
S=${WORKDIR}/${MY_P} |
90 |
|
91 |
src_prepare() { |
92 |
cp "${FILESDIR}"/${P}-missing-do_panel_cd_stub_env.c \ |
93 |
tests/src/filemanager/do_panel_cd_stub_env.c || die |
94 |
|
95 |
# bug #413259 |
96 |
epatch "${FILESDIR}"/${P}-fix-chown-crash.patch |
97 |
epatch "${FILESDIR}"/${P}-fix-relative-symlink-creation-crash.patch #413691 |
98 |
} |
99 |
|
100 |
src_configure() { |
101 |
local myscreen=ncurses |
102 |
use slang && myscreen=slang |
103 |
[[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket" |
104 |
|
105 |
local homedir=".mc" |
106 |
use xdg && homedir="XDG" |
107 |
|
108 |
econf \ |
109 |
--disable-dependency-tracking \ |
110 |
$(use_enable nls) \ |
111 |
--enable-vfs \ |
112 |
$(use_enable kernel_linux vfs-undelfs) \ |
113 |
--enable-charset \ |
114 |
$(use_with X x) \ |
115 |
$(use_enable samba vfs-smb) \ |
116 |
$(use_with gpm gpm-mouse) \ |
117 |
--with-screen=${myscreen} \ |
118 |
$(use_with edit) \ |
119 |
$(use_enable mclib) \ |
120 |
$(use_enable test tests) \ |
121 |
--with-homedir=${homedir} |
122 |
} |
123 |
|
124 |
src_install() { |
125 |
emake DESTDIR="${D}" install |
126 |
dodoc AUTHORS README NEWS |
127 |
|
128 |
# fix bug #334383 |
129 |
if use kernel_linux && [[ ${EUID} == 0 ]] ; then |
130 |
fowners root:tty /usr/libexec/mc/cons.saver |
131 |
fperms g+s /usr/libexec/mc/cons.saver |
132 |
fi |
133 |
} |
134 |
|
135 |
pkg_postinst() { |
136 |
elog "To enable exiting to latest working directory," |
137 |
elog "put this into your ~/.bashrc:" |
138 |
elog ". ${EPREFIX}/usr/libexec/mc/mc.sh" |
139 |
} |