diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-05-03 15:54:01 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-05-03 15:54:01 +0000 |
commit | 0f9d3a99220fa30b52e7ac8bd20eb756a823357f (patch) | |
tree | e8544581d854a62630096b3b723665e72edb554b /net-libs | |
parent | Version bump, bug#548456 (diff) | |
download | historical-0f9d3a99220fa30b52e7ac8bd20eb756a823357f.tar.gz historical-0f9d3a99220fa30b52e7ac8bd20eb756a823357f.tar.bz2 historical-0f9d3a99220fa30b52e7ac8bd20eb756a823357f.zip |
Version bump.
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'net-libs')
-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.3.ebuild | 177 |
3 files changed, 199 insertions, 15 deletions
diff --git a/net-libs/axtls/ChangeLog b/net-libs/axtls/ChangeLog index a82c3278407c..30b3a145e15d 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.48 2015/04/19 09:40:17 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/axtls/ChangeLog,v 1.49 2015/05/03 15:53:48 blueness Exp $ + +*axtls-1.5.3 (03 May 2015) + + 03 May 2015; Anthony G. Basile <blueness@gentoo.org> +axtls-1.5.3.ebuild: + Version bump. 19 Apr 2015; Agostino Sarubbo <ago@gentoo.org> axtls-1.5.1.ebuild: Stable for x86, wrt bug #546560 diff --git a/net-libs/axtls/Manifest b/net-libs/axtls/Manifest index 41ba5d983569..cc377a1a3a6f 100644 --- a/net-libs/axtls/Manifest +++ b/net-libs/axtls/Manifest @@ -11,28 +11,30 @@ DIST axTLS-1.4.9.tar.gz 1300593 SHA256 9bc08f4c7a6bda3079af8e3f5ceee6b2ee92af34e 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 DIST axTLS-1.5.2.tar.gz 1309632 SHA256 c4568cdf3e326c6fee2d7d16b4e13e05a29cecf49c1774c7858fe83cde01f8bb SHA512 138c1134c949fb85335454907c8fa74f18860d16371aba7d4d46faa4fb0e9cbf41d259cf72389f439d8d6436dc200951001a53e996793ba59254f5ddefe99999 WHIRLPOOL 36b889c4aa5e3c2c0da20a189ec7342db86b757acbb5c9c8a12262d95ceabb490ac97fa608efd66757e74e6347e0f5ff5bd5c76ac453d9dbdc115c45b8e35ad4 +DIST axTLS-1.5.3.tar.gz 1309853 SHA256 367ce7918b9e7738d853d5eaaa9d4fbdb362c5b323d4c0622a72d891f6b8d8e6 SHA512 d37fb1341259b079ed234512a96656d67e005c50d9f8e0c856fb140c9da35267624e065134e0cc8310f70e5cf5d196c7dd34f01e2a7a5cc29e77e7ca46c25281 WHIRLPOOL 92de1a06da740adf0238550d36a75216bace6c7fb867e82d38f2ca2362dcf0e41810191933aa788ffda080367b6beb312f1a9a240ab687a6c4f324988d36a81c 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 EBUILD axtls-1.5.1.ebuild 4764 SHA256 3b0c19549c03f7b775907745978dec8d8572d4574c963811e3f77edd3038860a SHA512 630eabe1b52c2d0abb24c80240c9547f25a02c82cde15e0055a3e6c56146a435b40e4a2a92e8daeb36a64def7c3ee896ac4bc2b7ea56793d867b7811c205f8ae WHIRLPOOL f51824cc661a8a72f2744c0d4cf3c8a17a56d15cf08a56619ad5869a10a94a7eb1e82e3055ee6f32cce42ff5510578a8014c850c32bff2c7936bd1fbea0b0dea EBUILD axtls-1.5.2.ebuild 4774 SHA256 ad1c7adceb7b52ca1558a897730427214a9ccfb00f4fd39a3c0411f8039a7093 SHA512 5ee170d66c8878c06325240757a3818dc4723a1550e4c81364dfeeb01e5ec5280c6c503e620317792938c93305a14e50aae99fd84f860e13778bb6c36af92bbd WHIRLPOOL fc6d89b7cac7217c7fa2f20598fb31af9494ad3cb97d367bb4ccfc6537fd49cbbf66653ce0ba4fc9730b427bb6f80aefbe53e028ab91b90917ec1943c0a76f1b -MISC ChangeLog 6795 SHA256 51e3cc7deb45c77656733a171116e61a92a6bb1d40cca86ba77fb84692357ac5 SHA512 114cadf6be8e72def08ad98fff4e1b88ee6385edc65caa17cdfec3b862cfe0ae120afd91416b3364817c966ef0ea2cb73501cfae4bc486a190027b52dd88abb4 WHIRLPOOL 31ed3369cd052a51480fb6532c62d563bd285de538a03fd02af181a0dbe6c486a8e3fed1398a71fdd0b0a63c51e9c211de1ae335f5595452e950844151241534 +EBUILD axtls-1.5.3.ebuild 4774 SHA256 e203d7d412cc8d81f82bfb89e0b9ad3a388b96ac06a6b4f2f9e4f2e3b2b4e699 SHA512 50227c5aaf5ecb89e8cf57d096648809aebd9392edff085434cc428db64e91d5f48a926d043b1164d9eae2753143ab207ae67aa48e9c8cf69fa2060c0a131ac5 WHIRLPOOL bb75e8d5c08ab3d278e675d8ea90d909fda758f35fa768a5a72cbe41ab82e32fafb76515f7abbe2be3e5e0f28eab5a9422bcfbc11cc8a844ed49eb2815bff64a +MISC ChangeLog 6921 SHA256 543f3356a3524c166f0321a7fb1420f4c5f0a00c37abb75fa2c474aaeec0924c SHA512 279ae9e1d1b94947087b83be44cccc21f5eaaa4adf4fd7a1bcf68a5b6121d1e86065e45228c92632a4b28b73dc699a6e3ad568f19776761e91f49897e16dc831 WHIRLPOOL 2e513b9b0f160658a6372264f6fb9ddda3a816996b158063d3650df2d8d85683d46dae4267bbdf9a7b03dd8e09bc1097f21ed23ff5ae35ad44329d20fc12f2c9 MISC metadata.xml 539 SHA256 678ce846bdfbf9df350ed0ba25520abe1588a12c229cbc54642269cf2fbe0966 SHA512 66019369788d013f2b9f541affea0e528ff544606ed19b5faaa1ca8c9681c05321ca0505ad98f120490a500cf9fb9bd5d659958d3666b766c74edb242c3913cf WHIRLPOOL a5a2f029e4b06b6f3dd7313182da640ae698ad5de07a4a4a4175b07966b67150cca8f98591b000c51b97596f99a4761f7969322a97c127305b73423726461a4b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJVM3gBAAoJELp701BxlEWfX/IP/A/VKjdu2OEDc+ojzM0ZMftz -fD80IUI4/5XVWSWiuP8yhJSF5ZBeRo0fhH6FkOJ/bnkkrNxGb4fToY2VSskQ/v0c -oyNCpRNSpuyYt1Gs7ZYJx46Ke/1g5s/3Q0Fzhgk//m4H/YCuBxVLzSryyzy7F/+X -lfd17RcXxlmEa1+XOnNa7AFRcJyKIPhwdLMR3I2FU/Kb3tfK/uVY9DaXy8/Q3pFH -rDhG5/dujAFmMxJBU1krIK03fb1Wy/W5Ph9ova4V/LKCrHYp80M1/ePGNx5u52ok -SZG8m2HWIHOT8/o5D5UQ/0gic+Ye7ZtL6D7HUrKevbveCORRZ+zHyJa8i9klNS1D -bNDaMfwfwLU4GcciMM7p4hGevsSYxufO5UMULk0lqIqsvp1h3ZMP+H4hAJo6Opju -/+wuNz2tsxvQWr80TZaRD++u5myt3sc6DUfgFwkxQoF/Fg1LSNWuo710OrEYk9cq -s3wy1pctg9jVhUfbpCzP463a+ewJ7JeL4GOYps+NOPafbzlZIjNAeXQQFw6Jh6vW -LyaPXD8+rNOG41yyBId+2RcjmU/c/WbcixPexS6KeRpdjRerfjRVjzXm33sNjxDs -33LzPTB1I5Dzu4Uawidx0F3bhsrxIjQF4/pXEr5N85cVRnm/1+C/DhD9bQFM6sA9 -JKRXjm/CWT7g6COH3hMe -=YhhB +iQIcBAEBCAAGBQJVRkTqAAoJEJOE+m71LUu6hhYP/jCckHoapI31VdfNUX6+xRG4 +Xnv2QvQqGv82UlLCE2c2CHJtaXbbAcaJTk1lRcgKhlja1/FNG0o1m19c5AQ3M5GE +Cud7/ZVbTJcrwMwBJuZ3HB66B2mz8434071PjGhNJrmmSNY3MaqLfBekNjskBJM1 +Ik9RAPgt2QqLApkKuktPTEXdHo1TF1eDF66q5tfJbDRM+kdONI1A6t35nzz52ysp +YN2MAl1VVC8KHSDGg2MePuR1c712TXu1h36UwZfxCfNAqk+dMIt32fEcq7aJ59V1 +6W6Eye+9RvzyvU+IaLyY6/w+Kn+i0Y6rZvjhG81c9iGzw60usNqrL4PewaZRFQVH +YA4VIx6uKBUADNPC+IuEZxs149JRaP4TdRfJlW8MjZwqEQ1BnO6GIsnS4fmK0wE7 +ozjSbUC9ucyjNKqQ5zG8drtEBuXzMWuLZ79ODqW7lnBIvGaDPuRxcfwm0532OzqR +qZLrtc2ba41tJA3F313zBFH0vcfLYmS+QGpOUz3HGDjfsT8vr7gb/B5ZFjr9QSLW +JfHrsHzfp7i37aO3ZWKCw1DNmuflgZkLIUbdW4nFhr2QIml37tN40TbrepS2F4Lx +pS7oF6HwsfpIEKh3guHR30lRTDWK6OmS9TYIZvxRYENrVTamQlIoixtHJEK8Osjp +7mXuraQmx5znUtTJnDUa +=q0Ab -----END PGP SIGNATURE----- diff --git a/net-libs/axtls/axtls-1.5.3.ebuild b/net-libs/axtls/axtls-1.5.3.ebuild new file mode 100644 index 000000000000..d7ea0380aa1f --- /dev/null +++ b/net-libs/axtls/axtls-1.5.3.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.3.ebuild,v 1.1 2015/05/03 15:53:48 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 +} |