diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-01-21 18:51:26 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-01-21 18:51:26 +0000 |
commit | 8e11eaa1fbcc12cb668aeafcca16621ddc38134b (patch) | |
tree | d89e4f8e58a1ec22e7e20b494a62e3f4c4b6b3d7 /net-libs/axtls | |
parent | Apply epatch_user wrt #537272 by Alex Shaindlin <me@ashaindlin.com> (diff) | |
download | historical-8e11eaa1fbcc12cb668aeafcca16621ddc38134b.tar.gz historical-8e11eaa1fbcc12cb668aeafcca16621ddc38134b.tar.bz2 historical-8e11eaa1fbcc12cb668aeafcca16621ddc38134b.zip |
Version bump
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'net-libs/axtls')
-rw-r--r-- | net-libs/axtls/ChangeLog | 7 | ||||
-rw-r--r-- | net-libs/axtls/Manifest | 30 | ||||
-rw-r--r-- | net-libs/axtls/axtls-1.5.1.ebuild | 177 |
3 files changed, 199 insertions, 15 deletions
diff --git a/net-libs/axtls/ChangeLog b/net-libs/axtls/ChangeLog index 607b585f0eda..1032f7e63cc8 100644 --- a/net-libs/axtls/ChangeLog +++ b/net-libs/axtls/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/axtls # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/axtls/ChangeLog,v 1.42 2015/01/01 11:34:57 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/axtls/ChangeLog,v 1.43 2015/01/21 18:50:20 blueness Exp $ + +*axtls-1.5.1 (21 Jan 2015) + + 21 Jan 2015; Anthony G. Basile <blueness@gentoo.org> +axtls-1.5.1.ebuild: + Version bump 01 Jan 2015; Agostino Sarubbo <ago@gentoo.org> axtls-1.5.0.ebuild: Stable for ppc64, wrt bug #533396 diff --git a/net-libs/axtls/Manifest b/net-libs/axtls/Manifest index a8caf56e5a40..67bca7d71d92 100644 --- a/net-libs/axtls/Manifest +++ b/net-libs/axtls/Manifest @@ -9,26 +9,28 @@ AUX explicit-libdir.patch 1141 SHA256 a12f357937f2d2c791df3d5adce2a2713ee7914b86 DIST axTLS-1.4.8.tar.gz 1298539 SHA256 e2679c8b42a840a9df8fef03a306b65fe06b43f72b2f6ef9acc181488e145cdf SHA512 7294b03d546263dd904df7cc9c080e496562838165ffef23f336eb77e1b5f45b65fada418a59f07d2171177deafa844d70a9a92970443e607d565493678a242c WHIRLPOOL 49eece3ce09207df9fd7c3baa40f7a983a2e7aedef9967dfffee2aba5e585236e669c12cfb2a16310d8e679567e36261b42f594d97a6f65b7b23bba732d27a86 DIST axTLS-1.4.9.tar.gz 1300593 SHA256 9bc08f4c7a6bda3079af8e3f5ceee6b2ee92af34e8efbc9acfeee6c27b1f7cc3 SHA512 006a8c08c29f22e3992df9ccd94e19d5e98a6a350cf23c53710d72d3aba9f7375bad74124e5f09864c1cf193c592013dfccff3ba86ece496e5c0b85a771acef4 WHIRLPOOL a3c3d3ffa89a72f49ba7c8c3b11b471668253f9e3e07865558634c3b4dc7cb15f4bb4e7bbee34a4b3e9602dda13b31482082c367ff4cea97b3edec2a7cb973e1 DIST axTLS-1.5.0.tar.gz 1302393 SHA256 7ff27d1eb1ad1630e1a3431278d72857c1124edd9a15a07a79709bc77d8bb710 SHA512 526e3c408c960e7e48dd791c6cf94a3dbc62a36c0453e4705529490160cacd5ca1c663fab153a899618e78516714e3afb7a93dae075d2717eb9a91e63f3e9c04 WHIRLPOOL 5fc0e9f4d3f8994dc2909f85261aac538b9563b3dee787d8d6a0942f087041893217a0b9237d5c0824c3a64bb8272bb30d2c4fcdbd11a879107f20892c8f180f +DIST axTLS-1.5.1.tar.gz 1305575 SHA256 860a2754c497109854889e78eb2efdf00661f3b5dbb5e130bd5d8441a2f6ea50 SHA512 4b35e151d222496f5e4ab9c849ca9b14a245590a07f07132eab2fa633dac4cf7abfe29344f643fa182c9c443a139d3230d4b3554d3ff0932410ab36ae3666d92 WHIRLPOOL c1072aa94a7916db38d26902bac175d17e4f8fe1a431956d0b366f9cd913c89c145d119c823d9c1bfa51d54aa191ca43386b4312bea3a16f61d9df4ff2eb6b68 EBUILD axtls-1.4.8.ebuild 4590 SHA256 ba848742b31983b2a689aab8509476f381f13c5596f835ee81d75784a95facc6 SHA512 614e14911e33b5f5f5555d8b1f720907cefe1b4c0b6f1f244b76bf556e919d85b500d3038cfd46715a60a033e0034dd307684b5011a811f6f9e6f6cb3e07b8c4 WHIRLPOOL 5da12ccd5222cd7716eba4243e2885d99d5b84b0f771d347acd571c12b4c68d51d72d500cb64f50351e289358926cd22d4e66a2d059090ea96d99973ace8cc2b EBUILD axtls-1.4.9-r1.ebuild 4769 SHA256 e6a616450f007e383da265d5aa714c54fabd81252bd388aad2ee0365bb78d53d SHA512 f0f29c3a027a32a972ecc0c08093836ccebee946628a1cdd0470535eee0e06b0a99874d8b659b7a8ed48f58d56385f85fba11d8c1f914ec411f018dab3c9618a WHIRLPOOL 94d3b93d4684b5d15075a4a7af992e57ed60c289a00e3562127f0cde2f7a40b70b0681323fc1b1f2e77603a5dc8a12bfa7831619fd436019e7df02f50d31147a EBUILD axtls-1.4.9.ebuild 4577 SHA256 cc732f0e41595acf59ad9720547ef2e831d23c14e119c040f6336d5450aceb62 SHA512 ff61973076417daeff6836b3ebaa7330c2a23a0815d9ba8254486729f473429254f0c76a34ae4efde7eb86150d11822018715ad05393f7827b6289041ed987a8 WHIRLPOOL 3d66c02aaad3eb93b41a6f8009f4e6ae0214bbef4832afc9371531e12b13839390d696b907af861ed125f9c612d3a4f325ea7e6730c2e1ff1c53ef26c9f41e47 EBUILD axtls-1.5.0.ebuild 4763 SHA256 607587dfabb530771e1b0f1c7d857296014dafa15705545280d673e5bfb34e49 SHA512 613b3f6c3b0b099102e3f64cdb9d38e79fda26788b70716be0b30cb1f9b047f2c7679e2eb5e1363b706ab93b9d414b28b880ef25c569648a886471b991620e0a WHIRLPOOL 30b42182e8071b56bbe59664ea15812c4b007233041bcef94df1602eacdf52d315801c3d8a74020124303c4015a8bd2667ff224915cf8072b5763d69c0fc8c4d -MISC ChangeLog 6126 SHA256 487c29843a01496de3728834ae0d4412a23a529cdb7b2f2e84fa1d2a212dfc11 SHA512 6f59b3678345885cf97364564ec9a4c995606dc94aa667592986d1086f6fd49156ffb21387475d32866e5c64461bf80abf0c88058cf43db7fb85fc74cb69c274 WHIRLPOOL 55f029850e85f2db1b774721b1f6cb69d4296ed40e4638dd81fdbc49529ec6dd58cd40347a67b59b6744223a04d9fa39551f6f994a21737c5de3e8ef791b2b73 +EBUILD axtls-1.5.1.ebuild 4774 SHA256 26920d7939dff71c01b686318eb9d84eb57c6e612c0d6c4dcc5e16f17adb50c3 SHA512 1eb2747e1eaade9bea2ea9e1be1615a9d2567827055f44680a65904b67ee83620cad1eff80bab65b5291b5678eeb5f4d70344521d911c16d3a4f0ba312c56f8e WHIRLPOOL e38babda218d8bd17d4cec7d856384e638537404e770c9f815cf35bc09f05ad6b735cfc8adffedb64f63c66b247787cce64710fb60009cdd473f7b89388a22c8 +MISC ChangeLog 6251 SHA256 6d2d8f01975bd6f5f88b5f6cf008e56d64b9e395b315b7cd723100f082ec03e4 SHA512 eafaa9fa8723a3ab9e365cd8418477d09a2fe260ec1974abb51fc7b7fda05f84b13552312bb8222f6b9ed3b9b9d59c33115e2d2eb6d00c638fcdf103fbf4c424 WHIRLPOOL 9c5bbff493514e265b0d95a65cb400c965fa961c6b92ae281f27135b5a8ff3348755cf9de48fa97770ec7c101f7d1d8866cecb4f0d9ab80ff68acd439ee9a30b MISC metadata.xml 539 SHA256 678ce846bdfbf9df350ed0ba25520abe1588a12c229cbc54642269cf2fbe0966 SHA512 66019369788d013f2b9f541affea0e528ff544606ed19b5faaa1ca8c9681c05321ca0505ad98f120490a500cf9fb9bd5d659958d3666b766c74edb242c3913cf WHIRLPOOL a5a2f029e4b06b6f3dd7313182da640ae698ad5de07a4a4a4175b07966b67150cca8f98591b000c51b97596f99a4761f7969322a97c127305b73423726461a4b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJUpTDiAAoJELp701BxlEWfwuAP/i5s2fNUh9SZRo00dKAdP5TT -kUkhPqLNEaRSTpbOoQ2Em5kJqltYPAWTt9lWep2UqWh5cGMizpGH/jocunGgq275 -Rp67K+mdF9t6rAhm9FJ9HHgWAwh6cmoohQ+Twl5edINtTDvvHALDBywquknn3sdO -HCD49VlO/njeMLDz2GhU5rQvCr65BxHARX+Jn325D60EFpBU7e+wFQyBVdDsWIJ3 -5nL96qcUa7K/Z5hrHlAlAW+6JOnFnVJVRBZUp8yy25/W/zbkVNDeoHzVhrvqYTST -2phnaQ8yGu2aEfVrwbb0BobUiS2K7f0lPd/kwTqprMyWD464eaUctMsHHammLJL3 -lkfK72GM6VgMrf7vVtLUClkDR3hNnptVVbW0FzdH30qeo9d7yJGEGmjMGod7wvJs -8FuwikDnhGRBHyZm3HVJxxGLiG6/VkKJaZiDc0G9tGwEnMT5BBHoYhd/oYdbL9eB -QIYXgUr9/3I5MlTpXW5zxKYF1qSA2unA2+QkzQhwvDq0l1SO6V26n5yD790RCfUd -KKxDZMIo/1QNWEA0bTr/F/qv0yBtHURPwnX91uhJEQPMy3q/VnXacP22dvdPZmO/ -H3nC8OoU50WAq1Q8plAPpUdWJL5OZIkvCSQTZsA0irNPc7/q4ghDfS3Tp4fEnkJv -al/c+/2PhoBoZrNfNp6o -=pf34 +iQIcBAEBCAAGBQJUv/WWAAoJEJOE+m71LUu6MDMP/0+/GEAem0POSTN0NDpyAtGO +RKrmLx3Pjx0+DonGIu29ztblliqIa+Qzg2s7UeWFlgdon9EVfWQWdFlF6jKgmtVn +XMIMzTkY/C8JlpSKJauYaHNQJ8RGLkfYyhF4IR1LStqH2FZZa5jnhMBJ0A7MOzid +xF1b5LYR4fXtm7HQl+eddNBH8uFmMxmGyz0DDugOVLD95CVU7KPKQP730wAss4rL +wYr3ZR4lvDk7JOdPqrdTvrc+e8twaVy7qh70ZsmIB/6H9+SeTJWW2v0oyMtgeUJw +/sySmtI8nG7Xs9LA+MljKLLwMqmS7GTfKEQRacjEMK49S515Jg6Hc+1HyblcSMeL +iT592Vq35jk+nZrz9QfdzXQHdKH8fxIecWSyZqh3/KyzyAdL8e07yM/jGQc8nu+b +Zdm5JsDC5JYG6rAUrrwM4ejPy75z/wqLaS/XFkvNz/9YsGEbOH4Ya+VfX18hw4t/ +FkXYJjT+Qr4uMxGLY2vqWdp8mpwbuzyppChvdkgDC38YzPyy7RM3pcHlIBWhyYe5 +T34nWHRF9Wst+kDvXd4pr8EMXerWTOqEF3aW1AJayE00P8safzlDwFd0c8K4eoix +t73ic7f8sf+iP9W70DEhHRg1C8Y7EzpSCgB+QL/ozOUj21s8RLN7Db7Cs/udo4qB +7CJQShwU5z+It1T6JSrW +=r5tu -----END PGP SIGNATURE----- diff --git a/net-libs/axtls/axtls-1.5.1.ebuild b/net-libs/axtls/axtls-1.5.1.ebuild new file mode 100644 index 000000000000..91e1a5ea24a4 --- /dev/null +++ b/net-libs/axtls/axtls-1.5.1.ebuild @@ -0,0 +1,177 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/axtls/axtls-1.5.1.ebuild,v 1.1 2015/01/21 18:50:20 blueness Exp $ + +EAPI="5" + +inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user + +################################################################################ +# axtls CONFIG MINI-HOWTO +# +# Note: axtls is highly configurable and uses mconf, like the linux kernel. +# You can configure it in a couple of ways: +# +# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features +# you want, and possibly a lot more. +# +# 2) You can create your own configuration file by doing +# +# FEATURES="keepwork" USE="savedconfig -*" emerge axtls +# cd /var/tmp/portage/net-libs/axtls*/work/axTLS +# make menuconfig +# +# Now configure axtls as you want. Finally save your config file: +# +# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV} +# +# where ${PV} is the current version. You can then run emerge again with +# your configuration by doing +# +# USE="savedconfig" emerge axtls +# +################################################################################ + +MY_PN=${PN/tls/TLS} + +DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server" +HOMEPAGE="http://axtls.sourceforge.net/" +SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz" +S="${WORKDIR}/${PN}-code" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86" + +IUSE="httpd cgi-lua cgi-php static static-libs doc" + +# TODO: add ipv6, and c#, java, lua, perl bindings +# Currently these all have some issue +DEPEND="doc? ( app-doc/doxygen )" +RDEPEND=" + httpd? ( + cgi-lua? ( dev-lang/lua ) + cgi-php? ( dev-lang/php[cgi] ) + )" + +#Note1: static, cgi-* makes no sense if httpd is not given +REQUIRED_USE=" + static? ( httpd ) + cgi-lua? ( httpd ) + cgi-php? ( httpd )" + +AXTLS_GROUP="axtls" +AXTLS_USER="axtls" + +pkg_setup() { + use httpd && { + ebegin "Creating axtls user and group" + enewgroup ${AXTLS_GROUP} + enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP} + } +} + +src_prepare() { + tc-export AR CC + + epatch "${FILESDIR}/explicit-libdir-r1.patch" + + #We want CONFIG_DEBUG to avoid stripping + #but not for debugging info + sed -i -e 's: -g::' config/Rules.mak || die + sed -i -e 's: -g::' config/makefile.conf || die + + multilib_copy_sources +} + +use_flag_config() { + cp "${FILESDIR}"/config config/.config || die + + #Respect CFLAGS/LDFLAGS + sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \ + config/.config || die + sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \ + config/.config || die + + #The logic is that the default config file enables everything and we disable + #here with sed unless a USE flags says to keep it + if use httpd; then + if ! use static; then + sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \ + config/.config || die + fi + if ! use cgi-php && ! use cgi-lua; then + sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \ + config/.config || die + fi + if ! use cgi-php; then + sed -i -e 's:,.php::' config/.config || die + fi + if ! use cgi-lua; then + sed -i -e 's:\.lua,::' \ + -e 's:lua:php:' \ + -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \ + config/.config || die + fi + else + sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \ + config/.config || die + fi + + yes "n" | emake -j1 oldconfig > /dev/null || die +} + +multilib_src_configure() { + #Per-ABI substitutions. + sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \ + Makefile || die + + #Use CC as the host compiler for mconf + sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \ + config/Rules.mak || die + + if use savedconfig; then + restore_config config/.config + if [[ -f config/.config ]]; then + ewarn "Using saved config, all other USE flags ignored" + else + ewarn "No saved config, seeding with the default" + cp "${FILESDIR}"/config config/.config || die + fi + yes "" | emake -j1 oldconfig > /dev/null || die + else + use_flag_config + fi +} + +multilib_src_install() { + if multilib_is_native_abi && use savedconfig; then + save_config config/.config + fi + + emake PREFIX="${ED}/usr" install + + if ! use static-libs; then + rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die + fi + + # The build system needs to install before it builds docs + if multilib_is_native_abi && use doc; then + emake docs + dodoc -r docsrc/html + fi +} + +multilib_src_install_all() { + if [[ -f "${ED}"/usr/bin/htpasswd ]]; then + mv "${ED}"/usr/bin/{,ax}htpasswd || die + fi + + if use httpd; then + newinitd "${FILESDIR}"/axhttpd.initd axhttpd + newconfd "${FILESDIR}"/axhttpd.confd axhttpd + fi + + docompress -x /usr/share/doc/${PF}/README + dodoc README +} |