1 |
polynomial-c 13/11/20 18:48:47 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: apr-1.5.0.ebuild |
5 |
Removed: apr-1.4.6-r1.ebuild apr-1.4.5.ebuild |
6 |
Log: |
7 |
Version bump. Removed old |
8 |
|
9 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) |
10 |
|
11 |
Revision Changes Path |
12 |
1.11 dev-libs/apr/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/metadata.xml?rev=1.11&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/metadata.xml?rev=1.11&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/metadata.xml?r1=1.10&r2=1.11 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/apr/metadata.xml,v |
21 |
retrieving revision 1.10 |
22 |
retrieving revision 1.11 |
23 |
diff -u -r1.10 -r1.11 |
24 |
--- metadata.xml 18 Jul 2013 09:28:43 -0000 1.10 |
25 |
+++ metadata.xml 20 Nov 2013 18:48:47 -0000 1.11 |
26 |
@@ -8,6 +8,5 @@ |
27 |
<use> |
28 |
<flag name="older-kernels-compatibility">Enable binary compatibility with older kernels</flag> |
29 |
<flag name="urandom">Use /dev/urandom instead of /dev/random</flag> |
30 |
- <flag name="uuid">Enable UUID support</flag> |
31 |
</use> |
32 |
</pkgmetadata> |
33 |
|
34 |
|
35 |
|
36 |
1.202 dev-libs/apr/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/ChangeLog?rev=1.202&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/ChangeLog?rev=1.202&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/ChangeLog?r1=1.201&r2=1.202 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v |
45 |
retrieving revision 1.201 |
46 |
retrieving revision 1.202 |
47 |
diff -u -r1.201 -r1.202 |
48 |
--- ChangeLog 18 Aug 2013 13:28:49 -0000 1.201 |
49 |
+++ ChangeLog 20 Nov 2013 18:48:47 -0000 1.202 |
50 |
@@ -1,6 +1,13 @@ |
51 |
# ChangeLog for dev-libs/apr |
52 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.201 2013/08/18 13:28:49 ago Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.202 2013/11/20 18:48:47 polynomial-c Exp $ |
55 |
+ |
56 |
+*apr-1.5.0 (20 Nov 2013) |
57 |
+ |
58 |
+ 20 Nov 2013; Lars Wendler <polynomial-c@g.o> -apr-1.4.5.ebuild, |
59 |
+ -apr-1.4.6-r1.ebuild, +apr-1.5.0.ebuild, +files/apr-1.5.0-mint.patch, |
60 |
+ metadata.xml: |
61 |
+ Version bump. Removed old. |
62 |
|
63 |
18 Aug 2013; Agostino Sarubbo <ago@g.o> apr-1.4.8-r1.ebuild: |
64 |
Stable for x86, wrt bug #477296 |
65 |
|
66 |
|
67 |
|
68 |
1.1 dev-libs/apr/apr-1.5.0.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/apr-1.5.0.ebuild?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/apr-1.5.0.ebuild?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: apr-1.5.0.ebuild |
74 |
=================================================================== |
75 |
# Copyright 1999-2013 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.5.0.ebuild,v 1.1 2013/11/20 18:48:47 polynomial-c Exp $ |
78 |
|
79 |
EAPI="4" |
80 |
|
81 |
inherit autotools eutils libtool multilib |
82 |
|
83 |
DESCRIPTION="Apache Portable Runtime Library" |
84 |
HOMEPAGE="http://apr.apache.org/" |
85 |
SRC_URI="mirror://apache/apr/${P}.tar.bz2" |
86 |
|
87 |
LICENSE="Apache-2.0" |
88 |
SLOT="1" |
89 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
90 |
IUSE="doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom" |
91 |
|
92 |
RDEPEND="elibc_glibc? ( >=sys-apps/util-linux-2.16 ) |
93 |
elibc_mintlib? ( >=sys-apps/util-linux-2.18 )" |
94 |
DEPEND="${RDEPEND} |
95 |
doc? ( app-doc/doxygen )" |
96 |
|
97 |
DOCS=(CHANGES NOTICE README) |
98 |
|
99 |
src_prepare() { |
100 |
epatch "${FILESDIR}"/${PN}-1.5.0-mint.patch |
101 |
|
102 |
# Ensure that system libtool is used. |
103 |
local g= |
104 |
[[ ${CHOST} == *-darwin* ]] && g=g |
105 |
sed -e 's:${installbuilddir}/libtool:'"${EPREFIX}/usr/bin/${g}libtool"':' -i apr-config.in || die "sed failed" |
106 |
sed -e 's:@LIBTOOL@:$(SHELL) '"${EPREFIX}/usr/bin/${g}libtool"':' -i build/apr_rules.mk.in || die "sed failed" |
107 |
|
108 |
# Apply user patches, bug #449048 |
109 |
epatch_user |
110 |
|
111 |
AT_M4DIR="build" eautoreconf |
112 |
elibtoolize |
113 |
|
114 |
epatch "${FILESDIR}/config.layout.patch" |
115 |
} |
116 |
|
117 |
src_configure() { |
118 |
local myconf |
119 |
|
120 |
[[ ${CHOST} == *-mint* ]] && export ac_cv_func_poll=no |
121 |
|
122 |
if use older-kernels-compatibility; then |
123 |
local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec |
124 |
export apr_cv_accept4="no" |
125 |
export apr_cv_dup3="no" |
126 |
export apr_cv_epoll_create1="no" |
127 |
export apr_cv_sock_cloexec="no" |
128 |
fi |
129 |
|
130 |
if use urandom; then |
131 |
myconf+=" --with-devrandom=/dev/urandom" |
132 |
elif (( ${CHOST#*-hpux11.} <= 11 )); then |
133 |
: # no /dev/*random on hpux11.11 and before, $PN detects this. |
134 |
else |
135 |
myconf+=" --with-devrandom=/dev/random" |
136 |
fi |
137 |
|
138 |
if [[ ${CHOST} == *-mint* ]] ; then |
139 |
myconf+=" --disable-dso" |
140 |
fi |
141 |
|
142 |
# shl_load does not search runpath, but hpux11 supports dlopen |
143 |
[[ ${CHOST} == *-hpux11* ]] && myconf="${myconf} --enable-dso=dlfcn" |
144 |
|
145 |
if [[ ${CHOST} == *-solaris2.10 ]]; then |
146 |
case $(<$([[ ${CHOST} != ${CBUILD} ]] && echo "${EPREFIX}/usr/${CHOST}")/usr/include/atomic.h) in |
147 |
*atomic_cas_ptr*) ;; |
148 |
*) |
149 |
elog "You do not have Solaris Patch ID "$( |
150 |
[[ ${CHOST} == sparc* ]] && echo 118884 || echo 118885 |
151 |
)" (Problem 4954703) installed on your host ($(hostname))," |
152 |
elog "using generic atomic operations instead." |
153 |
myconf="${myconf} --disable-nonportable-atomics" |
154 |
;; |
155 |
esac |
156 |
fi |
157 |
|
158 |
CONFIG_SHELL="${EPREFIX}"/bin/bash econf \ |
159 |
--enable-layout=gentoo \ |
160 |
--enable-nonportable-atomics \ |
161 |
--enable-threads \ |
162 |
${myconf} |
163 |
|
164 |
rm -f libtool |
165 |
} |
166 |
|
167 |
src_compile() { |
168 |
emake |
169 |
|
170 |
if use doc; then |
171 |
emake dox |
172 |
fi |
173 |
} |
174 |
|
175 |
src_install() { |
176 |
default |
177 |
|
178 |
find "${ED}" -name "*.la" -exec rm -f {} + |
179 |
|
180 |
if use doc; then |
181 |
dohtml -r docs/dox/html/* |
182 |
fi |
183 |
|
184 |
if ! use static-libs; then |
185 |
find "${ED}" -name "*.a" -exec rm -f {} + |
186 |
fi |
187 |
|
188 |
# This file is only used on AIX systems, which Gentoo is not, |
189 |
# and causes collisions between the SLOTs, so remove it. |
190 |
# Even in Prefix, we don't need this on AIX. |
191 |
rm -f "${ED}usr/$(get_libdir)/apr.exp" |
192 |
} |