1 |
graaff 08/02/29 15:31:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wml-2.0.11-r3.ebuild |
5 |
Log: |
6 |
Fix insecure tmpfile usage #209927 |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.38 dev-lang/wml/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/wml/ChangeLog?rev=1.38&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/wml/ChangeLog?rev=1.38&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/wml/ChangeLog?r1=1.37&r2=1.38 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/wml/ChangeLog,v |
19 |
retrieving revision 1.37 |
20 |
retrieving revision 1.38 |
21 |
diff -u -r1.37 -r1.38 |
22 |
--- ChangeLog 23 Dec 2007 13:14:16 -0000 1.37 |
23 |
+++ ChangeLog 29 Feb 2008 15:31:49 -0000 1.38 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for dev-lang/wml |
26 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/wml/ChangeLog,v 1.37 2007/12/23 13:14:16 graaff Exp $ |
28 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/wml/ChangeLog,v 1.38 2008/02/29 15:31:49 graaff Exp $ |
30 |
+ |
31 |
+*wml-2.0.11-r3 (29 Feb 2008) |
32 |
+ |
33 |
+ 29 Feb 2008; Hans de Graaff <graaff@g.o> |
34 |
+ +files/wml-2.0.11-tmpfile.patch, +wml-2.0.11-r3.ebuild: |
35 |
+ Fix insecure temporary file usage (CVE-2008-0665, CVE-2008-0666), Gentoo bug |
36 |
+ #209927, based on a patch by Debian. |
37 |
|
38 |
*wml-2.0.11-r2 (23 Dec 2007) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-lang/wml/wml-2.0.11-r3.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/wml/wml-2.0.11-r3.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/wml/wml-2.0.11-r3.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: wml-2.0.11-r3.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2008 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/wml/wml-2.0.11-r3.ebuild,v 1.1 2008/02/29 15:31:49 graaff Exp $ |
53 |
|
54 |
inherit fixheadtails eutils autotools multilib |
55 |
|
56 |
DESCRIPTION="Website META Language" |
57 |
HOMEPAGE="http://thewml.org/" |
58 |
SRC_URI="http://thewml.org/distrib/${P}.tar.gz" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~ia64 ~ppc ~s390 ~sparc ~x86" |
63 |
IUSE="" |
64 |
|
65 |
DEPEND="dev-libs/libpcre |
66 |
dev-lang/perl" |
67 |
|
68 |
src_unpack() { |
69 |
unpack ${A} |
70 |
ht_fix_all |
71 |
cd "${S}" |
72 |
|
73 |
epatch "${FILESDIR}/wml-2.0.9-gcc41.patch" |
74 |
epatch "${FILESDIR}/wml-2.0.9-autotools-update.patch" |
75 |
epatch "${FILESDIR}/wml-2.0.11-tmpfile.patch" |
76 |
|
77 |
einfo "Patching Makefile.in files to fix various problems" |
78 |
# Patch Makefile to avoid stripping binaries |
79 |
for m in $(find "${S}" -name Makefile.in -print); do |
80 |
sed -i -e "s/-m 755 -s/-m 755/" "${m}" || die "Could not run sed on ${m}" |
81 |
sed -i -e "/^libdir.*/s::libdir = \$(prefix)/$(get_libdir)\$(libsubdir):" "${m}" || die "Could not run sed on ${m}" |
82 |
done |
83 |
|
84 |
# Patch Makefile to avoid a dependency on lynx just for documentation |
85 |
sed -i -e "s/lynx -dump -nolist -width=72/cat/" wml_aux/tidy/Makefile.in || die |
86 |
|
87 |
for d in $(find "${S}" \( -name configure.ac -o -name configure.in \) -exec dirname {} \;); do |
88 |
pushd ${d} &>/dev/null |
89 |
AT_NOELIBTOOLIZE="yes" eautoreconf |
90 |
popd &>/dev/null |
91 |
done |
92 |
|
93 |
elibtoolize |
94 |
} |
95 |
|
96 |
src_compile() { |
97 |
econf --libdir=/usr/$(get_libdir) || die "./configure failed" |
98 |
emake || die "emake failed" |
99 |
} |
100 |
|
101 |
# The default src_test first checks if 'make test' is possible using the '-n' |
102 |
# option of make, but this messes up the tests completely. |
103 |
src_test() { |
104 |
emake -j1 test |
105 |
} |
106 |
|
107 |
src_install() { |
108 |
einstall || die |
109 |
dodoc ANNOUNCE BUGREPORT C* INSTALL MANIFEST README* SUPPORT VERSION* |
110 |
} |
111 |
|
112 |
|
113 |
|
114 |
-- |
115 |
gentoo-commits@l.g.o mailing list |