1 |
idl0r 12/02/28 08:08:16 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: apr-1.4.6.ebuild |
5 |
Log: |
6 |
Version bump, CVE-2012-0840, bug 403731 |
7 |
|
8 |
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.8 dev-libs/apr/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/metadata.xml?rev=1.8&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/metadata.xml?rev=1.8&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/metadata.xml?r1=1.7&r2=1.8 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/apr/metadata.xml,v |
20 |
retrieving revision 1.7 |
21 |
retrieving revision 1.8 |
22 |
diff -u -r1.7 -r1.8 |
23 |
--- metadata.xml 18 Feb 2011 17:02:48 -0000 1.7 |
24 |
+++ metadata.xml 28 Feb 2012 08:08:16 -0000 1.8 |
25 |
@@ -1,13 +1,13 @@ |
26 |
<?xml version="1.0" encoding="UTF-8"?> |
27 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
28 |
<pkgmetadata> |
29 |
-<herd>apache</herd> |
30 |
-<maintainer> |
31 |
- <email>apache-bugs@g.o</email> |
32 |
-</maintainer> |
33 |
-<use> |
34 |
- <flag name='older-kernels-compatibility'>Enable binary compatibility with older kernels</flag> |
35 |
- <flag name='urandom'>Use /dev/urandom instead of /dev/random</flag> |
36 |
- <flag name='uuid'>Enable UUID support</flag> |
37 |
-</use> |
38 |
+ <herd>apache</herd> |
39 |
+ <maintainer> |
40 |
+ <email>apache-bugs@g.o</email> |
41 |
+ </maintainer> |
42 |
+ <use> |
43 |
+ <flag name="older-kernels-compatibility">Enable binary compatibility with older kernels</flag> |
44 |
+ <flag name="urandom">Use /dev/urandom instead of /dev/random</flag> |
45 |
+ <flag name="uuid">Enable UUID support</flag> |
46 |
+ </use> |
47 |
</pkgmetadata> |
48 |
|
49 |
|
50 |
|
51 |
1.183 dev-libs/apr/ChangeLog |
52 |
|
53 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/ChangeLog?rev=1.183&view=markup |
54 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/ChangeLog?rev=1.183&content-type=text/plain |
55 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/ChangeLog?r1=1.182&r2=1.183 |
56 |
|
57 |
Index: ChangeLog |
58 |
=================================================================== |
59 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v |
60 |
retrieving revision 1.182 |
61 |
retrieving revision 1.183 |
62 |
diff -u -r1.182 -r1.183 |
63 |
--- ChangeLog 11 Nov 2011 20:34:47 -0000 1.182 |
64 |
+++ ChangeLog 28 Feb 2012 08:08:16 -0000 1.183 |
65 |
@@ -1,6 +1,12 @@ |
66 |
# ChangeLog for dev-libs/apr |
67 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
68 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.182 2011/11/11 20:34:47 hwoarang Exp $ |
69 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
70 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.183 2012/02/28 08:08:16 idl0r Exp $ |
71 |
+ |
72 |
+*apr-1.4.6 (28 Feb 2012) |
73 |
+ |
74 |
+ 28 Feb 2012; Christian Ruppert <idl0r@g.o> +apr-1.4.6.ebuild, |
75 |
+ metadata.xml: |
76 |
+ Version bump, CVE-2012-0840, bug 403731 |
77 |
|
78 |
11 Nov 2011; Markos Chandras <hwoarang@g.o> -apr-1.4.4.ebuild: |
79 |
remove old ebuild |
80 |
|
81 |
|
82 |
|
83 |
1.1 dev-libs/apr/apr-1.4.6.ebuild |
84 |
|
85 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/apr-1.4.6.ebuild?rev=1.1&view=markup |
86 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/apr-1.4.6.ebuild?rev=1.1&content-type=text/plain |
87 |
|
88 |
Index: apr-1.4.6.ebuild |
89 |
=================================================================== |
90 |
# Copyright 1999-2012 Gentoo Foundation |
91 |
# Distributed under the terms of the GNU General Public License v2 |
92 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.4.6.ebuild,v 1.1 2012/02/28 08:08:16 idl0r Exp $ |
93 |
|
94 |
EAPI="4" |
95 |
|
96 |
inherit autotools eutils libtool multilib |
97 |
|
98 |
DESCRIPTION="Apache Portable Runtime Library" |
99 |
HOMEPAGE="http://apr.apache.org/" |
100 |
SRC_URI="mirror://apache/apr/${P}.tar.bz2" |
101 |
|
102 |
LICENSE="Apache-2.0" |
103 |
SLOT="1" |
104 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
105 |
IUSE="doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom +uuid" |
106 |
|
107 |
RDEPEND="uuid? ( !elibc_FreeBSD? ( >=sys-apps/util-linux-2.16 ) )" |
108 |
DEPEND="${RDEPEND} |
109 |
doc? ( app-doc/doxygen )" |
110 |
|
111 |
DOCS=(CHANGES NOTICE README) |
112 |
|
113 |
src_prepare() { |
114 |
# Ensure that system libtool is used. |
115 |
sed -e 's:${installbuilddir}/libtool:/usr/bin/libtool:' -i apr-config.in || die "sed failed" |
116 |
sed -e 's:@LIBTOOL@:$(SHELL) /usr/bin/libtool:' -i build/apr_rules.mk.in || die "sed failed" |
117 |
|
118 |
AT_M4DIR="build" eautoreconf |
119 |
elibtoolize |
120 |
|
121 |
epatch "${FILESDIR}/config.layout.patch" |
122 |
} |
123 |
|
124 |
src_configure() { |
125 |
local myconf |
126 |
|
127 |
if use older-kernels-compatibility; then |
128 |
local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec |
129 |
export apr_cv_accept4="no" |
130 |
export apr_cv_dup3="no" |
131 |
export apr_cv_epoll_create1="no" |
132 |
export apr_cv_sock_cloexec="no" |
133 |
fi |
134 |
|
135 |
if use urandom; then |
136 |
myconf+=" --with-devrandom=/dev/urandom" |
137 |
else |
138 |
myconf+=" --with-devrandom=/dev/random" |
139 |
fi |
140 |
|
141 |
if ! use uuid; then |
142 |
local apr_cv_osuuid |
143 |
export apr_cv_osuuid="no" |
144 |
fi |
145 |
|
146 |
CONFIG_SHELL="/bin/bash" econf \ |
147 |
--enable-layout=gentoo \ |
148 |
--enable-nonportable-atomics \ |
149 |
--enable-threads \ |
150 |
${myconf} |
151 |
|
152 |
rm -f libtool |
153 |
} |
154 |
|
155 |
src_compile() { |
156 |
emake |
157 |
|
158 |
if use doc; then |
159 |
emake dox |
160 |
fi |
161 |
} |
162 |
|
163 |
src_install() { |
164 |
default |
165 |
|
166 |
find "${ED}" -name "*.la" -exec rm -f {} + |
167 |
|
168 |
if use doc; then |
169 |
dohtml -r docs/dox/html/* |
170 |
fi |
171 |
|
172 |
if ! use static-libs; then |
173 |
find "${ED}" -name "*.a" -exec rm -f {} + |
174 |
fi |
175 |
|
176 |
# This file is only used on AIX systems, which Gentoo is not, |
177 |
# and causes collisions between the SLOTs, so remove it. |
178 |
rm -f "${ED}usr/$(get_libdir)/apr.exp" |
179 |
} |