From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 828661382DF for ; Wed, 29 Jun 2016 22:40:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB64FE0912; Wed, 29 Jun 2016 22:40:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D623E0912 for ; Wed, 29 Jun 2016 22:40:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC96E340D0A for ; Wed, 29 Jun 2016 22:40:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3CC8F856 for ; Wed, 29 Jun 2016 22:40:39 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1467240215.8675fc4c4bccf7d378b3860113b0a98f7e839299.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/mbedtls/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/mbedtls/Manifest net-libs/mbedtls/mbedtls-2.1.3.ebuild net-libs/mbedtls/mbedtls-2.2.0.ebuild X-VCS-Directories: net-libs/mbedtls/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 8675fc4c4bccf7d378b3860113b0a98f7e839299 X-VCS-Branch: master Date: Wed, 29 Jun 2016 22:40:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bdf9b678-0708-4c2b-92d2-157199ce366b X-Archives-Hash: e5f28c11ff16376584ad7926b00961e2 commit: 8675fc4c4bccf7d378b3860113b0a98f7e839299 Author: Anthony G. Basile gentoo org> AuthorDate: Wed Jun 29 22:29:30 2016 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Wed Jun 29 22:43:35 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8675fc4c net-libs/mbedtls: remove older versions Package-Manager: portage-2.2.28 net-libs/mbedtls/Manifest | 2 - net-libs/mbedtls/mbedtls-2.1.3.ebuild | 94 ----------------------------------- net-libs/mbedtls/mbedtls-2.2.0.ebuild | 94 ----------------------------------- 3 files changed, 190 deletions(-) diff --git a/net-libs/mbedtls/Manifest b/net-libs/mbedtls/Manifest index c8ddd5c..81f9043 100644 --- a/net-libs/mbedtls/Manifest +++ b/net-libs/mbedtls/Manifest @@ -1,3 +1 @@ -DIST mbedtls-2.1.3.tar.gz 1789846 SHA256 94da4618d5a518b99f7914a5e348be436e3571113d9a9978d130725a1fc7bfac SHA512 c9ab514779c20b632d3a4027dd7c0027a916ff8d55f1f8ba80b0ef0d47a1d09f4bab7cb8bbd910d4e130e1f19d043d681572ba86ace9c3a4db60b2b051141a93 WHIRLPOOL 0547690b76f44c36da0eecf36bc8ce3ae6cd840ad8029f5711b6dc275b371abb6e2a87346ccb0bc9ce14b2b777b665a88364eecd7ab16a0d321dc8bc91c0c000 -DIST mbedtls-2.2.0.tar.gz 1803014 SHA256 75494361e412444b38ebb9c908b7e17a5fb582eb9c3fadb2fe9b21e96f1bf8cb SHA512 cf9ea03792ef6c54e77cd4c2410517b6e124f8ee7132c78c0463fc1cf3a6eff656d8436abfb0c6238bd5484fcefc1ec42598ee6d8128ec88df1d04b053739fd1 WHIRLPOOL 7bdfdabf043f0eee8edd0af286640a3ae6bee928ede3f74a32d6bafc921a874a9d2af78aa7f6d637394abe1ea92ef0caca9c42e6808d530007fc6b99ab3ee18a DIST mbedtls-2.2.1.tar.gz 1807209 SHA256 32819c62c20e8740a11b49daa5d09ac6f179edf120a87ac559cd63120b66b699 SHA512 bc97e7ddf2fcbd1c22927f5c01cfd0706a6f1051f5a62f42e97db49dcd98afbee8878b1dd815da830e3fe1b66b04ada8a0a88baf32833b2c13070c2bd29b62d5 WHIRLPOOL 2ae84564a0e35de60539030fac913396acf385e948095c2e9ee2cfe9d814c90a448d596a75cdffbb054a63ffe0a1a87b9161d5d512ec4bc7935e97803c39d139 diff --git a/net-libs/mbedtls/mbedtls-2.1.3.ebuild b/net-libs/mbedtls/mbedtls-2.1.3.ebuild deleted file mode 100644 index ec6bd00..0000000 --- a/net-libs/mbedtls/mbedtls-2.1.3.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils multilib cmake-utils multilib-minimal - -DESCRIPTION="Cryptographic library for embedded systems" -HOMEPAGE="https://tls.mbed.org/" -SRC_URI="https://github.com/ARMmbed/mbedtls/archive/mbedtls-${PV}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0/10" # slot for libmbedtls.so -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="cpu_flags_x86_sse2 doc havege libressl programs test threads zlib" - -RDEPEND=" - programs? ( - !libressl? ( dev-libs/openssl:0 ) - libressl? ( dev-libs/libressl ) - ) - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen media-gfx/graphviz ) - test? ( dev-lang/perl )" - -S=${WORKDIR}/${PN}-${P} - -enable_mbedtls_option() { - local myopt="$@" - # check that config.h syntax is the same at version bump - sed -i \ - -e "s://#define ${myopt}:#define ${myopt}:" \ - include/mbedtls/config.h || die -} - -src_prepare() { - use cpu_flags_x86_sse2 && enable_mbedtls_option MBEDTLS_HAVE_SSE2 - use zlib && enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT - use havege && enable_mbedtls_option MBEDTLS_HAVEGE_C - use threads && enable_mbedtls_option MBEDTLS_THREADING_C - use threads && enable_mbedtls_option MBEDTLS_THREADING_PTHREAD -} - -multilib_src_configure() { - local mycmakeargs=( - $(multilib_is_native_abi && cmake-utils_use_enable programs PROGRAMS \ - || echo -DENABLE_PROGRAMS=OFF) - $(cmake-utils_use_enable zlib ZLIB_SUPPORT) - -DUSE_STATIC_MBEDTLS_LIBRARY=OFF - $(cmake-utils_use_enable test TESTING) - -DUSE_SHARED_MBEDTLS_LIBRARY=ON - -DINSTALL_MBEDTLS_HEADERS=ON - -DLIB_INSTALL_DIR="/usr/$(get_libdir)" - ) - - cmake-utils_src_configure -} - -multilib_src_compile() { - cmake-utils_src_compile - use doc && multilib_is_native_abi && emake apidoc -} - -multilib_src_test() { - LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \ - cmake-utils_src_test -} - -multilib_src_install() { - cmake-utils_src_install -} - -multilib_src_install_all() { - einstalldocs - - use doc && dohtml -r apidoc - - if use programs ; then - # avoid file collisions with sys-apps/coreutils - local p e - for p in "${ED%/}"/usr/bin/* ; do - if [[ -x "${p}" && ! -d "${p}" ]] ; then - mv "${p}" "${ED%/}"/usr/bin/mbedtls_${p##*/} || die - fi - done - for e in aes hash pkey ssl test ; do - docinto "${e}" - dodoc programs/"${e}"/*.c - dodoc programs/"${e}"/*.txt - done - fi -} diff --git a/net-libs/mbedtls/mbedtls-2.2.0.ebuild b/net-libs/mbedtls/mbedtls-2.2.0.ebuild deleted file mode 100644 index 0b22ba3..0000000 --- a/net-libs/mbedtls/mbedtls-2.2.0.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils multilib cmake-utils multilib-minimal - -DESCRIPTION="Cryptographic library for embedded systems" -HOMEPAGE="https://tls.mbed.org/" -SRC_URI="https://github.com/ARMmbed/mbedtls/archive/mbedtls-${PV}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0/10" # slot for libmbedtls.so -KEYWORDS="~alpha ~amd64 arm hppa ~mips ~ppc ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="cpu_flags_x86_sse2 doc havege libressl programs test threads zlib" - -RDEPEND=" - programs? ( - !libressl? ( dev-libs/openssl:0 ) - libressl? ( dev-libs/libressl ) - ) - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen media-gfx/graphviz ) - test? ( dev-lang/perl )" - -S=${WORKDIR}/${PN}-${P} - -enable_mbedtls_option() { - local myopt="$@" - # check that config.h syntax is the same at version bump - sed -i \ - -e "s://#define ${myopt}:#define ${myopt}:" \ - include/mbedtls/config.h || die -} - -src_prepare() { - use cpu_flags_x86_sse2 && enable_mbedtls_option MBEDTLS_HAVE_SSE2 - use zlib && enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT - use havege && enable_mbedtls_option MBEDTLS_HAVEGE_C - use threads && enable_mbedtls_option MBEDTLS_THREADING_C - use threads && enable_mbedtls_option MBEDTLS_THREADING_PTHREAD -} - -multilib_src_configure() { - local mycmakeargs=( - $(multilib_is_native_abi && cmake-utils_use_enable programs PROGRAMS \ - || echo -DENABLE_PROGRAMS=OFF) - $(cmake-utils_use_enable zlib ZLIB_SUPPORT) - -DUSE_STATIC_MBEDTLS_LIBRARY=OFF - $(cmake-utils_use_enable test TESTING) - -DUSE_SHARED_MBEDTLS_LIBRARY=ON - -DINSTALL_MBEDTLS_HEADERS=ON - -DLIB_INSTALL_DIR="/usr/$(get_libdir)" - ) - - cmake-utils_src_configure -} - -multilib_src_compile() { - cmake-utils_src_compile - use doc && multilib_is_native_abi && emake apidoc -} - -multilib_src_test() { - LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \ - cmake-utils_src_test -} - -multilib_src_install() { - cmake-utils_src_install -} - -multilib_src_install_all() { - einstalldocs - - use doc && dohtml -r apidoc - - if use programs ; then - # avoid file collisions with sys-apps/coreutils - local p e - for p in "${ED%/}"/usr/bin/* ; do - if [[ -x "${p}" && ! -d "${p}" ]] ; then - mv "${p}" "${ED%/}"/usr/bin/mbedtls_${p##*/} || die - fi - done - for e in aes hash pkey ssl test ; do - docinto "${e}" - dodoc programs/"${e}"/*.c - dodoc programs/"${e}"/*.txt - done - fi -}