Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
Date: Thu, 07 Jul 2016 00:04:03
Message-Id: 1467849988.76d1eccd7a65f9f7cfd5c81b406ddbca11a84a63.blueness@gentoo
1 commit: 76d1eccd7a65f9f7cfd5c81b406ddbca11a84a63
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 7 00:06:28 2016 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 7 00:06:28 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76d1eccd
7
8 net-libs/axtls: remove older versions
9
10 Package-Manager: portage-2.2.28
11
12 net-libs/axtls/Manifest | 3 -
13 net-libs/axtls/axtls-1.5.0.ebuild | 177 --------------------------------------
14 net-libs/axtls/axtls-1.5.1.ebuild | 177 --------------------------------------
15 net-libs/axtls/axtls-1.5.2.ebuild | 177 --------------------------------------
16 4 files changed, 534 deletions(-)
17
18 diff --git a/net-libs/axtls/Manifest b/net-libs/axtls/Manifest
19 index 6a5f8dc..5deb48c 100644
20 --- a/net-libs/axtls/Manifest
21 +++ b/net-libs/axtls/Manifest
22 @@ -1,5 +1,2 @@
23 -DIST axTLS-1.5.0.tar.gz 1302393 SHA256 7ff27d1eb1ad1630e1a3431278d72857c1124edd9a15a07a79709bc77d8bb710 SHA512 526e3c408c960e7e48dd791c6cf94a3dbc62a36c0453e4705529490160cacd5ca1c663fab153a899618e78516714e3afb7a93dae075d2717eb9a91e63f3e9c04 WHIRLPOOL 5fc0e9f4d3f8994dc2909f85261aac538b9563b3dee787d8d6a0942f087041893217a0b9237d5c0824c3a64bb8272bb30d2c4fcdbd11a879107f20892c8f180f
24 -DIST axTLS-1.5.1.tar.gz 1305575 SHA256 860a2754c497109854889e78eb2efdf00661f3b5dbb5e130bd5d8441a2f6ea50 SHA512 4b35e151d222496f5e4ab9c849ca9b14a245590a07f07132eab2fa633dac4cf7abfe29344f643fa182c9c443a139d3230d4b3554d3ff0932410ab36ae3666d92 WHIRLPOOL c1072aa94a7916db38d26902bac175d17e4f8fe1a431956d0b366f9cd913c89c145d119c823d9c1bfa51d54aa191ca43386b4312bea3a16f61d9df4ff2eb6b68
25 -DIST axTLS-1.5.2.tar.gz 1309632 SHA256 c4568cdf3e326c6fee2d7d16b4e13e05a29cecf49c1774c7858fe83cde01f8bb SHA512 138c1134c949fb85335454907c8fa74f18860d16371aba7d4d46faa4fb0e9cbf41d259cf72389f439d8d6436dc200951001a53e996793ba59254f5ddefe99999 WHIRLPOOL 36b889c4aa5e3c2c0da20a189ec7342db86b757acbb5c9c8a12262d95ceabb490ac97fa608efd66757e74e6347e0f5ff5bd5c76ac453d9dbdc115c45b8e35ad4
26 DIST axTLS-1.5.3.tar.gz 1309853 SHA256 367ce7918b9e7738d853d5eaaa9d4fbdb362c5b323d4c0622a72d891f6b8d8e6 SHA512 d37fb1341259b079ed234512a96656d67e005c50d9f8e0c856fb140c9da35267624e065134e0cc8310f70e5cf5d196c7dd34f01e2a7a5cc29e77e7ca46c25281 WHIRLPOOL 92de1a06da740adf0238550d36a75216bace6c7fb867e82d38f2ca2362dcf0e41810191933aa788ffda080367b6beb312f1a9a240ab687a6c4f324988d36a81c
27 DIST axTLS-1.5.4.tar.gz 1296351 SHA256 24d50cc4f5908d06cfacb2a3916d91ed75c5b1441809e47bc45e1053d6ba5d91 SHA512 0e52ca22199b3c7eb45641c7fdbe607f79fcea25f12d1ee0535a6a7c7579ee42777d27ce6474866eca19287bd11a1de76f5c39f715eb06e9e4cf3324b31bbbb2 WHIRLPOOL 29d2b5e72165c28c0e9084677f44b52116ec5da5efabc2fed79479800cbfe43c5dd4bf7390951b5168a63af0acd1cb5635fecac7d4ef42d570a1ef6d5e7edb6f
28
29 diff --git a/net-libs/axtls/axtls-1.5.0.ebuild b/net-libs/axtls/axtls-1.5.0.ebuild
30 deleted file mode 100644
31 index b0149d2..0000000
32 --- a/net-libs/axtls/axtls-1.5.0.ebuild
33 +++ /dev/null
34 @@ -1,177 +0,0 @@
35 -# Copyright 1999-2015 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -# $Id$
38 -
39 -EAPI="5"
40 -
41 -inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user
42 -
43 -################################################################################
44 -# axtls CONFIG MINI-HOWTO
45 -#
46 -# Note: axtls is highly configurable and uses mconf, like the linux kernel.
47 -# You can configure it in a couple of ways:
48 -#
49 -# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
50 -# you want, and possibly a lot more.
51 -#
52 -# 2) You can create your own configuration file by doing
53 -#
54 -# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
55 -# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
56 -# make menuconfig
57 -#
58 -# Now configure axtls as you want. Finally save your config file:
59 -#
60 -# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
61 -#
62 -# where ${PV} is the current version. You can then run emerge again with
63 -# your configuration by doing
64 -#
65 -# USE="savedconfig" emerge axtls
66 -#
67 -################################################################################
68 -
69 -MY_PN=${PN/tls/TLS}
70 -
71 -DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
72 -HOMEPAGE="http://axtls.sourceforge.net/"
73 -SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
74 -S="${WORKDIR}/${PN}-code"
75 -
76 -LICENSE="BSD GPL-2"
77 -SLOT="0"
78 -KEYWORDS="amd64 arm hppa ~mips ppc ppc64 ~s390 x86"
79 -
80 -IUSE="httpd cgi-lua cgi-php static static-libs doc"
81 -
82 -# TODO: add ipv6, and c#, java, lua, perl bindings
83 -# Currently these all have some issue
84 -DEPEND="doc? ( app-doc/doxygen )"
85 -RDEPEND="
86 - httpd? (
87 - cgi-lua? ( dev-lang/lua )
88 - cgi-php? ( dev-lang/php[cgi] )
89 - )"
90 -
91 -#Note1: static, cgi-* makes no sense if httpd is not given
92 -REQUIRED_USE="
93 - static? ( httpd )
94 - cgi-lua? ( httpd )
95 - cgi-php? ( httpd )"
96 -
97 -AXTLS_GROUP="axtls"
98 -AXTLS_USER="axtls"
99 -
100 -pkg_setup() {
101 - use httpd && {
102 - ebegin "Creating axtls user and group"
103 - enewgroup ${AXTLS_GROUP}
104 - enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
105 - }
106 -}
107 -
108 -src_prepare() {
109 - tc-export AR CC
110 -
111 - epatch "${FILESDIR}/explicit-libdir-r1.patch"
112 -
113 - #We want CONFIG_DEBUG to avoid stripping
114 - #but not for debugging info
115 - sed -i -e 's: -g::' config/Rules.mak || die
116 - sed -i -e 's: -g::' config/makefile.conf || die
117 -
118 - multilib_copy_sources
119 -}
120 -
121 -use_flag_config() {
122 - cp "${FILESDIR}"/config config/.config || die
123 -
124 - #Respect CFLAGS/LDFLAGS
125 - sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
126 - config/.config || die
127 - sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
128 - config/.config || die
129 -
130 - #The logic is that the default config file enables everything and we disable
131 - #here with sed unless a USE flags says to keep it
132 - if use httpd; then
133 - if ! use static; then
134 - sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
135 - config/.config || die
136 - fi
137 - if ! use cgi-php && ! use cgi-lua; then
138 - sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
139 - config/.config || die
140 - fi
141 - if ! use cgi-php; then
142 - sed -i -e 's:,.php::' config/.config || die
143 - fi
144 - if ! use cgi-lua; then
145 - sed -i -e 's:\.lua,::' \
146 - -e 's:lua:php:' \
147 - -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
148 - config/.config || die
149 - fi
150 - else
151 - sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
152 - config/.config || die
153 - fi
154 -
155 - yes "n" | emake -j1 oldconfig > /dev/null || die
156 -}
157 -
158 -multilib_src_configure() {
159 - #Per-ABI substitutions.
160 - sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
161 - Makefile || die
162 -
163 - #Use CC as the host compiler for mconf
164 - sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
165 - config/Rules.mak || die
166 -
167 - if use savedconfig; then
168 - restore_config config/.config
169 - if [[ -f config/.config ]]; then
170 - ewarn "Using saved config, all other USE flags ignored"
171 - else
172 - ewarn "No saved config, seeding with the default"
173 - cp "${FILESDIR}"/config config/.config || die
174 - fi
175 - yes "" | emake -j1 oldconfig > /dev/null || die
176 - else
177 - use_flag_config
178 - fi
179 -}
180 -
181 -multilib_src_install() {
182 - if multilib_is_native_abi && use savedconfig; then
183 - save_config config/.config
184 - fi
185 -
186 - emake PREFIX="${ED}/usr" install
187 -
188 - if ! use static-libs; then
189 - rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
190 - fi
191 -
192 - # The build system needs to install before it builds docs
193 - if multilib_is_native_abi && use doc; then
194 - emake docs
195 - dodoc -r docsrc/html
196 - fi
197 -}
198 -
199 -multilib_src_install_all() {
200 - if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
201 - mv "${ED}"/usr/bin/{,ax}htpasswd || die
202 - fi
203 -
204 - if use httpd; then
205 - newinitd "${FILESDIR}"/axhttpd.initd axhttpd
206 - newconfd "${FILESDIR}"/axhttpd.confd axhttpd
207 - fi
208 -
209 - docompress -x /usr/share/doc/${PF}/README
210 - dodoc README
211 -}
212
213 diff --git a/net-libs/axtls/axtls-1.5.1.ebuild b/net-libs/axtls/axtls-1.5.1.ebuild
214 deleted file mode 100644
215 index b0149d2..0000000
216 --- a/net-libs/axtls/axtls-1.5.1.ebuild
217 +++ /dev/null
218 @@ -1,177 +0,0 @@
219 -# Copyright 1999-2015 Gentoo Foundation
220 -# Distributed under the terms of the GNU General Public License v2
221 -# $Id$
222 -
223 -EAPI="5"
224 -
225 -inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user
226 -
227 -################################################################################
228 -# axtls CONFIG MINI-HOWTO
229 -#
230 -# Note: axtls is highly configurable and uses mconf, like the linux kernel.
231 -# You can configure it in a couple of ways:
232 -#
233 -# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
234 -# you want, and possibly a lot more.
235 -#
236 -# 2) You can create your own configuration file by doing
237 -#
238 -# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
239 -# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
240 -# make menuconfig
241 -#
242 -# Now configure axtls as you want. Finally save your config file:
243 -#
244 -# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
245 -#
246 -# where ${PV} is the current version. You can then run emerge again with
247 -# your configuration by doing
248 -#
249 -# USE="savedconfig" emerge axtls
250 -#
251 -################################################################################
252 -
253 -MY_PN=${PN/tls/TLS}
254 -
255 -DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
256 -HOMEPAGE="http://axtls.sourceforge.net/"
257 -SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
258 -S="${WORKDIR}/${PN}-code"
259 -
260 -LICENSE="BSD GPL-2"
261 -SLOT="0"
262 -KEYWORDS="amd64 arm hppa ~mips ppc ppc64 ~s390 x86"
263 -
264 -IUSE="httpd cgi-lua cgi-php static static-libs doc"
265 -
266 -# TODO: add ipv6, and c#, java, lua, perl bindings
267 -# Currently these all have some issue
268 -DEPEND="doc? ( app-doc/doxygen )"
269 -RDEPEND="
270 - httpd? (
271 - cgi-lua? ( dev-lang/lua )
272 - cgi-php? ( dev-lang/php[cgi] )
273 - )"
274 -
275 -#Note1: static, cgi-* makes no sense if httpd is not given
276 -REQUIRED_USE="
277 - static? ( httpd )
278 - cgi-lua? ( httpd )
279 - cgi-php? ( httpd )"
280 -
281 -AXTLS_GROUP="axtls"
282 -AXTLS_USER="axtls"
283 -
284 -pkg_setup() {
285 - use httpd && {
286 - ebegin "Creating axtls user and group"
287 - enewgroup ${AXTLS_GROUP}
288 - enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
289 - }
290 -}
291 -
292 -src_prepare() {
293 - tc-export AR CC
294 -
295 - epatch "${FILESDIR}/explicit-libdir-r1.patch"
296 -
297 - #We want CONFIG_DEBUG to avoid stripping
298 - #but not for debugging info
299 - sed -i -e 's: -g::' config/Rules.mak || die
300 - sed -i -e 's: -g::' config/makefile.conf || die
301 -
302 - multilib_copy_sources
303 -}
304 -
305 -use_flag_config() {
306 - cp "${FILESDIR}"/config config/.config || die
307 -
308 - #Respect CFLAGS/LDFLAGS
309 - sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
310 - config/.config || die
311 - sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
312 - config/.config || die
313 -
314 - #The logic is that the default config file enables everything and we disable
315 - #here with sed unless a USE flags says to keep it
316 - if use httpd; then
317 - if ! use static; then
318 - sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
319 - config/.config || die
320 - fi
321 - if ! use cgi-php && ! use cgi-lua; then
322 - sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
323 - config/.config || die
324 - fi
325 - if ! use cgi-php; then
326 - sed -i -e 's:,.php::' config/.config || die
327 - fi
328 - if ! use cgi-lua; then
329 - sed -i -e 's:\.lua,::' \
330 - -e 's:lua:php:' \
331 - -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
332 - config/.config || die
333 - fi
334 - else
335 - sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
336 - config/.config || die
337 - fi
338 -
339 - yes "n" | emake -j1 oldconfig > /dev/null || die
340 -}
341 -
342 -multilib_src_configure() {
343 - #Per-ABI substitutions.
344 - sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
345 - Makefile || die
346 -
347 - #Use CC as the host compiler for mconf
348 - sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
349 - config/Rules.mak || die
350 -
351 - if use savedconfig; then
352 - restore_config config/.config
353 - if [[ -f config/.config ]]; then
354 - ewarn "Using saved config, all other USE flags ignored"
355 - else
356 - ewarn "No saved config, seeding with the default"
357 - cp "${FILESDIR}"/config config/.config || die
358 - fi
359 - yes "" | emake -j1 oldconfig > /dev/null || die
360 - else
361 - use_flag_config
362 - fi
363 -}
364 -
365 -multilib_src_install() {
366 - if multilib_is_native_abi && use savedconfig; then
367 - save_config config/.config
368 - fi
369 -
370 - emake PREFIX="${ED}/usr" install
371 -
372 - if ! use static-libs; then
373 - rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
374 - fi
375 -
376 - # The build system needs to install before it builds docs
377 - if multilib_is_native_abi && use doc; then
378 - emake docs
379 - dodoc -r docsrc/html
380 - fi
381 -}
382 -
383 -multilib_src_install_all() {
384 - if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
385 - mv "${ED}"/usr/bin/{,ax}htpasswd || die
386 - fi
387 -
388 - if use httpd; then
389 - newinitd "${FILESDIR}"/axhttpd.initd axhttpd
390 - newconfd "${FILESDIR}"/axhttpd.confd axhttpd
391 - fi
392 -
393 - docompress -x /usr/share/doc/${PF}/README
394 - dodoc README
395 -}
396
397 diff --git a/net-libs/axtls/axtls-1.5.2.ebuild b/net-libs/axtls/axtls-1.5.2.ebuild
398 deleted file mode 100644
399 index ea6a5d6..0000000
400 --- a/net-libs/axtls/axtls-1.5.2.ebuild
401 +++ /dev/null
402 @@ -1,177 +0,0 @@
403 -# Copyright 1999-2015 Gentoo Foundation
404 -# Distributed under the terms of the GNU General Public License v2
405 -# $Id$
406 -
407 -EAPI="5"
408 -
409 -inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user
410 -
411 -################################################################################
412 -# axtls CONFIG MINI-HOWTO
413 -#
414 -# Note: axtls is highly configurable and uses mconf, like the linux kernel.
415 -# You can configure it in a couple of ways:
416 -#
417 -# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
418 -# you want, and possibly a lot more.
419 -#
420 -# 2) You can create your own configuration file by doing
421 -#
422 -# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
423 -# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
424 -# make menuconfig
425 -#
426 -# Now configure axtls as you want. Finally save your config file:
427 -#
428 -# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
429 -#
430 -# where ${PV} is the current version. You can then run emerge again with
431 -# your configuration by doing
432 -#
433 -# USE="savedconfig" emerge axtls
434 -#
435 -################################################################################
436 -
437 -MY_PN=${PN/tls/TLS}
438 -
439 -DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
440 -HOMEPAGE="http://axtls.sourceforge.net/"
441 -SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
442 -S="${WORKDIR}/${PN}-code"
443 -
444 -LICENSE="BSD GPL-2"
445 -SLOT="0"
446 -KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
447 -
448 -IUSE="httpd cgi-lua cgi-php static static-libs doc"
449 -
450 -# TODO: add ipv6, and c#, java, lua, perl bindings
451 -# Currently these all have some issue
452 -DEPEND="doc? ( app-doc/doxygen )"
453 -RDEPEND="
454 - httpd? (
455 - cgi-lua? ( dev-lang/lua )
456 - cgi-php? ( dev-lang/php[cgi] )
457 - )"
458 -
459 -#Note1: static, cgi-* makes no sense if httpd is not given
460 -REQUIRED_USE="
461 - static? ( httpd )
462 - cgi-lua? ( httpd )
463 - cgi-php? ( httpd )"
464 -
465 -AXTLS_GROUP="axtls"
466 -AXTLS_USER="axtls"
467 -
468 -pkg_setup() {
469 - use httpd && {
470 - ebegin "Creating axtls user and group"
471 - enewgroup ${AXTLS_GROUP}
472 - enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
473 - }
474 -}
475 -
476 -src_prepare() {
477 - tc-export AR CC
478 -
479 - epatch "${FILESDIR}/explicit-libdir-r1.patch"
480 -
481 - #We want CONFIG_DEBUG to avoid stripping
482 - #but not for debugging info
483 - sed -i -e 's: -g::' config/Rules.mak || die
484 - sed -i -e 's: -g::' config/makefile.conf || die
485 -
486 - multilib_copy_sources
487 -}
488 -
489 -use_flag_config() {
490 - cp "${FILESDIR}"/config config/.config || die
491 -
492 - #Respect CFLAGS/LDFLAGS
493 - sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
494 - config/.config || die
495 - sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
496 - config/.config || die
497 -
498 - #The logic is that the default config file enables everything and we disable
499 - #here with sed unless a USE flags says to keep it
500 - if use httpd; then
501 - if ! use static; then
502 - sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
503 - config/.config || die
504 - fi
505 - if ! use cgi-php && ! use cgi-lua; then
506 - sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
507 - config/.config || die
508 - fi
509 - if ! use cgi-php; then
510 - sed -i -e 's:,.php::' config/.config || die
511 - fi
512 - if ! use cgi-lua; then
513 - sed -i -e 's:\.lua,::' \
514 - -e 's:lua:php:' \
515 - -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
516 - config/.config || die
517 - fi
518 - else
519 - sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
520 - config/.config || die
521 - fi
522 -
523 - yes "n" | emake -j1 oldconfig > /dev/null || die
524 -}
525 -
526 -multilib_src_configure() {
527 - #Per-ABI substitutions.
528 - sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
529 - Makefile || die
530 -
531 - #Use CC as the host compiler for mconf
532 - sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
533 - config/Rules.mak || die
534 -
535 - if use savedconfig; then
536 - restore_config config/.config
537 - if [[ -f config/.config ]]; then
538 - ewarn "Using saved config, all other USE flags ignored"
539 - else
540 - ewarn "No saved config, seeding with the default"
541 - cp "${FILESDIR}"/config config/.config || die
542 - fi
543 - yes "" | emake -j1 oldconfig > /dev/null || die
544 - else
545 - use_flag_config
546 - fi
547 -}
548 -
549 -multilib_src_install() {
550 - if multilib_is_native_abi && use savedconfig; then
551 - save_config config/.config
552 - fi
553 -
554 - emake PREFIX="${ED}/usr" install
555 -
556 - if ! use static-libs; then
557 - rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
558 - fi
559 -
560 - # The build system needs to install before it builds docs
561 - if multilib_is_native_abi && use doc; then
562 - emake docs
563 - dodoc -r docsrc/html
564 - fi
565 -}
566 -
567 -multilib_src_install_all() {
568 - if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
569 - mv "${ED}"/usr/bin/{,ax}htpasswd || die
570 - fi
571 -
572 - if use httpd; then
573 - newinitd "${FILESDIR}"/axhttpd.initd axhttpd
574 - newconfd "${FILESDIR}"/axhttpd.confd axhttpd
575 - fi
576 -
577 - docompress -x /usr/share/doc/${PF}/README
578 - dodoc README
579 -}