1 |
vapier 08/03/29 02:37:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: unzip-5.52-r2.ebuild |
5 |
Log: |
6 |
Fix for CVE-2008-0888 #213761. |
7 |
(Portage version: 2.2_pre5) |
8 |
|
9 |
Revision Changes Path |
10 |
1.51 app-arch/unzip/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/unzip/ChangeLog?rev=1.51&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/unzip/ChangeLog?rev=1.51&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/unzip/ChangeLog?r1=1.50&r2=1.51 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-arch/unzip/ChangeLog,v |
19 |
retrieving revision 1.50 |
20 |
retrieving revision 1.51 |
21 |
diff -u -r1.50 -r1.51 |
22 |
--- ChangeLog 8 Feb 2008 15:09:57 -0000 1.50 |
23 |
+++ ChangeLog 29 Mar 2008 02:37:33 -0000 1.51 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-arch/unzip |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-arch/unzip/ChangeLog,v 1.50 2008/02/08 15:09:57 cla Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-arch/unzip/ChangeLog,v 1.51 2008/03/29 02:37:33 vapier Exp $ |
29 |
+ |
30 |
+*unzip-5.52-r2 (29 Mar 2008) |
31 |
+ |
32 |
+ 29 Mar 2008; Mike Frysinger <vapier@g.o> |
33 |
+ +files/unzip-5.52-CVE-2008-0888.patch, +unzip-5.52-r2.ebuild: |
34 |
+ Fix for CVE-2008-0888 #213761. |
35 |
|
36 |
08 Feb 2008; Dawid Węgliński <cla@g.o> unzip-5.52-r1.ebuild: |
37 |
Change SRC_URI as the old url wasn't fetchable |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-arch/unzip/unzip-5.52-r2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/unzip/unzip-5.52-r2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/unzip/unzip-5.52-r2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: unzip-5.52-r2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-arch/unzip/unzip-5.52-r2.ebuild,v 1.1 2008/03/29 02:37:33 vapier Exp $ |
51 |
|
52 |
inherit eutils toolchain-funcs flag-o-matic |
53 |
|
54 |
DESCRIPTION="unzipper for pkzip-compressed files" |
55 |
HOMEPAGE="http://www.info-zip.org/" |
56 |
SRC_URI="mirror://gentoo/${PN}${PV/.}.tar.gz" |
57 |
|
58 |
LICENSE="Info-ZIP" |
59 |
SLOT="0" |
60 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
61 |
IUSE="" |
62 |
|
63 |
DEPEND="" |
64 |
|
65 |
src_unpack() { |
66 |
unpack ${A} |
67 |
cd "${S}" |
68 |
epatch "${FILESDIR}"/${P}-no-exec-stack.patch |
69 |
epatch "${FILESDIR}"/${P}-CVE-2008-0888.patch #213761 |
70 |
sed -i \ |
71 |
-e 's:-O3:$(CFLAGS) $(CPPFLAGS):' \ |
72 |
-e 's:-O :$(CFLAGS) $(CPPFLAGS) :' \ |
73 |
-e "s:CC=gcc :CC=$(tc-getCC) :" \ |
74 |
-e "s:LD=gcc :LD=$(tc-getCC) :" \ |
75 |
-e 's:LF2 = -s:LF2 = :' \ |
76 |
-e 's:LF = :LF = $(LDFLAGS) :' \ |
77 |
-e 's:SL = :SL = $(LDFLAGS) :' \ |
78 |
-e 's:FL = :FL = $(LDFLAGS) :' \ |
79 |
unix/Makefile \ |
80 |
|| die "sed unix/Makefile failed" |
81 |
} |
82 |
|
83 |
src_compile() { |
84 |
local TARGET |
85 |
case ${CHOST} in |
86 |
i?86*-linux*) TARGET=linux_asm ;; |
87 |
*-linux*) TARGET=linux_noasm ;; |
88 |
i?86*-freebsd* | i?86*-dragonfly* | i?86*-openbsd* | i?86*-netbsd*) |
89 |
TARGET=freebsd ;; # mislabelled bsd with x86 asm |
90 |
*-freebsd* | *-dragonfly* | *-openbsd* | *-netbsd*) |
91 |
TARGET=bsd ;; |
92 |
*-darwin*) TARGET=macosx ;; |
93 |
*) die "Unknown target, you suck" ;; |
94 |
esac |
95 |
append-lfs-flags #104315 |
96 |
emake -f unix/Makefile ${TARGET} || die "emake failed" |
97 |
} |
98 |
|
99 |
src_install() { |
100 |
dobin unzip funzip unzipsfx unix/zipgrep || die "dobin failed" |
101 |
dosym unzip /usr/bin/zipinfo || die |
102 |
doman man/*.1 |
103 |
dodoc BUGS History* README ToDo WHERE |
104 |
} |
105 |
|
106 |
|
107 |
|
108 |
-- |
109 |
gentoo-commits@l.g.o mailing list |