From 2d446203bcf1a0db08e99abca43513d246dfa73d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 5 Apr 2018 21:52:00 +0100 Subject: gentoo resync : 05.04.2018 --- dev-libs/botan/Manifest | 3 +- dev-libs/botan/botan-2.5.0.ebuild | 92 ++++++++++++++++++++++++++++++++++++++ dev-libs/botan/botan-9999.ebuild | 94 --------------------------------------- 3 files changed, 94 insertions(+), 95 deletions(-) create mode 100644 dev-libs/botan/botan-2.5.0.ebuild delete mode 100644 dev-libs/botan/botan-9999.ebuild (limited to 'dev-libs/botan') diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 98b9bcecd1b5..d998705a9779 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -3,7 +3,8 @@ AUX botan-1.10.17-libressl.patch 1344 BLAKE2B e465b852e17ce920022663a8ea25684b23 AUX botan-2.3.0-build.patch 1433 BLAKE2B 125c79ede4b803ff444f3e5f3b381e75140174b21aa694b4746c548b787ca4f83fd12e4fc5307bb700e48aa82d6b9ca2e7d17b9082b3f85f60a14b8c26d7fdc3 SHA512 b62758505ec7f6b8cd62a6891c3c721fc5499e529c44f55600f1bb7572d58d2f1707b3d88bde4c8b6eb715b80fb60fdd09ae233c6586df3aeb2146934cfa07a2 DIST Botan-1.10.17.tgz 2706678 BLAKE2B bce65493c702381aaa747c2b935c545f85704b93bb6be4bf225048cc14812999291bbbe86786c2b00865489ec47d63128b12ef1020be8651be57fa1c84006a7c SHA512 a47cab3af113652247c8efc8b0f043eb62175eaa8554833d5fc3016ea94dbdd8aa722ab9b5226cc5f133afbcc088d54362111630eaa4594812c39925cc3c8649 DIST Botan-2.3.0.tgz 5947072 BLAKE2B b8eaf4228c01200f839031b423901f93c1b6863d10424ad52afeac85131e95bc1bad024478c8e4c8e4c12210e85aa62d30fb83b3ece8facdb57763f95c45687c SHA512 a8575bdb2eaa01fb45d8565bea0b54ddf47a21d2fb761fc0a286373b09d51e5a00e84d5cefc51040c5720db66f5625c6bc73ab09cffa9cd42472545610f9892a +DIST Botan-2.5.0.tgz 6596225 BLAKE2B ffb5647e5734a8bef14b6c52ad12a211844e9c73f843427cb2972813523091cef99a21cea3d6a8bf69367f0d937ea0a422d2ed8aaf839ee1c7a2d95a1bd702a8 SHA512 51d91bcf6ba41247fbb649697e33e3a0c8ba9f35ba7865be9120c0f0efb7fa8c51fb3d922f0d5576ae1ef637188821ff4352ed45de52e0798910ee354787cdda EBUILD botan-1.10.17.ebuild 4215 BLAKE2B c65f9f66f62f1eab3f0ce2d07c40cae16d5d521c9b42c659ba53e8a818a352f1f63c646af695c9e488e6356936e51d87f453c98fe25163136b82787417d9f588 SHA512 b17de38168bcc6fe153b267d6c5a62e54ae90cac3b58ee15876adc903bbf66575f908a5987b5d9b8fc168b6283b458dd5b0eb431ae744f8bca48c41bde980bf8 EBUILD botan-2.3.0.ebuild 2783 BLAKE2B c65f5c4b2c84305bb10bf38439e34b25545d6ff7c06be17fcf276c87b4513b353d713075de183c92c701f9b161c949be081e5b874ac31b9b87917b04050d1092 SHA512 49471ee62fdc03e9a058ba90b7e2260b8bee4cad677d804a35ccf4e22d2179220497e0cc47733d80974f7af686ae10a68164babc27586e0ebd155d7b32526a45 -EBUILD botan-9999.ebuild 2251 BLAKE2B d3bfb15560fca7cbaed2614ec87503e9021e4d5f76a63d4c55a868966a71316425146e81c485ac7e7eec6db5b0b03a77fa56f7c98185da3c427fb25314d95911 SHA512 b335208dc9bbaaba49c5e71cc8a5e49b210113a16f5362874ccf9dd035e86c0a10445fbc37ee9dcb6da1c681caaacb770b5149149c71b106091011cf596fdfce +EBUILD botan-2.5.0.ebuild 2296 BLAKE2B 62f67b544ba3e7640f3965c6f3e0eac2303933616581c5ac4ab8d14f417daf6164ceffe2a1614d80e99ca03c0f627b9090c7e0ec41973df4e3238056474a23e8 SHA512 52bcb8843557422b7e8307505a6bf3a44fde75b046966c7307b3f49a3740dc44804a98d2cdb2b158c435e1be024b15bdfb3d03501a240f401756ba913c0c9420 MISC metadata.xml 610 BLAKE2B a74ed3478dcf62ad762a113e594c660656d52352e569d4eaa54c47009505a869c4e553a8f8330b0b2ad9dae88b7b2bc6d44ede1f2dd330da9ff01240f56eed29 SHA512 9d14b7f0222b9b169f8ae60798d1a9ac551004bcbd0344451409cdb1cbefaaf70760a2f443f0c793265492387ca28f7dccd293bd30585a014a72f2a21eee1561 diff --git a/dev-libs/botan/botan-2.5.0.ebuild b/dev-libs/botan/botan-2.5.0.ebuild new file mode 100644 index 000000000000..8729bcd361d1 --- /dev/null +++ b/dev-libs/botan/botan-2.5.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit multilib python-r1 toolchain-funcs + +MY_PN="Botan" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="A C++ crypto library" +HOMEPAGE="http://botan.randombit.net/" +SRC_URI="http://botan.randombit.net/releases/${MY_P}.tgz" + +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~ppc-macos" +SLOT="2/5" # soname version +LICENSE="BSD" +IUSE="bindist doc boost python bzip2 libressl lzma sqlite ssl static-libs zlib" + +S="${WORKDIR}/${MY_P}" + +RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 ) + zlib? ( >=sys-libs/zlib-1.2.3 ) + boost? ( >=dev-libs/boost-1.48 ) + lzma? ( app-arch/xz-utils ) + sqlite? ( dev-db/sqlite:3 ) + ssl? ( + !libressl? ( dev-libs/openssl:0=[bindist=] ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND="${RDEPEND} + dev-lang/python:* + doc? ( dev-python/sphinx )" + +src_configure() { + local disable_modules=() + use boost || disable_modules+=( "boost" ) + use bindist && disable_modules+=( "ecdsa" ) + elog "Disabling modules: ${disable_modules[@]}" + + # Enable v9 instructions for sparc64 + if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then + CHOSTARCH="sparc32-v9" + else + CHOSTARCH="${CHOST%%-*}" + fi + + local myos= + case ${CHOST} in + *-darwin*) myos=darwin ;; + *) myos=linux ;; + esac + + local pythonvers=() + if use python; then + append() { + pythonvers+=( ${EPYTHON/python/} ) + } + python_foreach_impl append + fi + + CXX="$(tc-getCXX)" AR="$(tc-getAR)" ./configure.py \ + --prefix="${EPREFIX}/usr" \ + --libdir=$(get_libdir) \ + --docdir=share/doc \ + --cc=gcc \ + --os=${myos} \ + --cpu=${CHOSTARCH} \ + --with-endian="$(tc-endian)" \ + --without-doxygen \ + $(use_with bzip2) \ + $(use_with lzma) \ + $(use_with sqlite sqlite3) \ + $(use_with ssl openssl) \ + $(use_with zlib) \ + $(use_with boost) \ + $(use_with doc sphinx) \ + $(use_with doc documentation) \ + $(use_enable static-libs static-library) \ + --with-python-version=$(IFS=","; echo "${pythonvers[*]}" ) \ + --disable-modules=$(IFS=","; echo "${disable_modules[*]}" ) \ + || die "configure.py failed" +} + +src_test() { + LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed" +} + +src_install() { + default + use python && python_foreach_impl python_optimize +} diff --git a/dev-libs/botan/botan-9999.ebuild b/dev-libs/botan/botan-9999.ebuild deleted file mode 100644 index 64cfdba155d9..000000000000 --- a/dev-libs/botan/botan-9999.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) - -inherit multilib python-r1 toolchain-funcs -inherit git-r3 - -DESCRIPTION="A C++ crypto library" -HOMEPAGE="http://botan.randombit.net/" -EGIT_REPO_URI="https://github.com/randombit/botan" - -KEYWORDS="" -SLOT="2/3" # soname version -LICENSE="BSD" -IUSE="bindist doc boost python bzip2 libressl lzma sqlite ssl static-libs zlib" - -RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 ) - zlib? ( >=sys-libs/zlib-1.2.3 ) - boost? ( >=dev-libs/boost-1.48 ) - lzma? ( app-arch/xz-utils ) - sqlite? ( dev-db/sqlite:3 ) - ssl? ( - !libressl? ( dev-libs/openssl:0=[bindist=] ) - libressl? ( dev-libs/libressl:0= ) - )" -DEPEND="${RDEPEND} - dev-lang/python:* - doc? ( dev-python/sphinx )" - -src_prepare() { - default - use python && python_copy_sources -} - -src_configure() { - local disable_modules=() - use boost || disable_modules+=( "boost" ) - use bindist && disable_modules+=( "ecdsa" ) - elog "Disabling modules: ${disable_modules[@]}" - - # Enable v9 instructions for sparc64 - if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then - CHOSTARCH="sparc32-v9" - else - CHOSTARCH="${CHOST%%-*}" - fi - - local myos= - case ${CHOST} in - *-darwin*) myos=darwin ;; - *) myos=linux ;; - esac - - local pythonvers=() - if use python; then - append() { - pythonvers+=( ${EPYTHON/python/} ) - } - python_foreach_impl append - fi - - CXX="$(tc-getCXX)" AR="$(tc-getAR)" ./configure.py \ - --prefix="${EPREFIX}/usr" \ - --libdir=$(get_libdir) \ - --docdir=share/doc \ - --cc=gcc \ - --os=${myos} \ - --cpu=${CHOSTARCH} \ - --with-endian="$(tc-endian)" \ - --without-doxygen \ - $(use_with bzip2) \ - $(use_with lzma) \ - $(use_with sqlite sqlite3) \ - $(use_with ssl openssl) \ - $(use_with zlib) \ - $(use_with boost) \ - $(use_with doc sphinx) \ - $(use_with doc documentation) \ - $(use_enable static-libs static-library) \ - --with-python-version=$(IFS=","; echo "${pythonvers[*]}" ) \ - --disable-modules=$(IFS=","; echo "${disable_modules[*]}" ) \ - || die "configure.py failed" -} - -src_test() { - LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed" -} - -src_install() { - default - use python && python_foreach_impl python_optimize -} -- cgit v1.2.3