diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2018-04-08 14:10:37 +0300 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2018-04-08 22:21:08 +0300 |
commit | 4b2fee6ac6d3e5d35cb0baa7d2c31c32029eaa4c (patch) | |
tree | 12bbdb8dccc123ee13beb0356f1e8c27e39da4bd /dev-libs/botan | |
parent | app-emacs/slime: Roll back stabilization on amd64 due to dependency on bug #6... (diff) | |
download | gentoo-4b2fee6ac6d3e5d35cb0baa7d2c31c32029eaa4c.tar.gz gentoo-4b2fee6ac6d3e5d35cb0baa7d2c31c32029eaa4c.tar.bz2 gentoo-4b2fee6ac6d3e5d35cb0baa7d2c31c32029eaa4c.zip |
dev-libs/botan: cleanup
Bug: https://bugs.gentoo.org/show_bug.cgi?id=652254
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-libs/botan')
-rw-r--r-- | dev-libs/botan/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/botan/botan-2.3.0.ebuild | 113 | ||||
-rw-r--r-- | dev-libs/botan/files/botan-2.3.0-build.patch | 48 |
3 files changed, 0 insertions, 162 deletions
diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 05d44f20dad6..e76f2a76d472 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,3 +1,2 @@ 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 diff --git a/dev-libs/botan/botan-2.3.0.ebuild b/dev-libs/botan/botan-2.3.0.ebuild deleted file mode 100644 index d715da51c97e..000000000000 --- a/dev-libs/botan/botan-2.3.0.ebuild +++ /dev/null @@ -1,113 +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 - -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/3" # soname version -LICENSE="BSD" -IUSE="bindist doc boost python bzip2 libressl lzma sqlite ssl static-libs zlib" -REQUIRED_USE="python? ( boost ) boost? ( ${PYTHON_REQUIRED_USE} )" - -S="${WORKDIR}/${MY_P}" - -RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 ) - zlib? ( >=sys-libs/zlib-1.2.3 ) - boost? ( ${PYTHON_DEPS} >=dev-libs/boost-1.48[python?,${PYTHON_USEDEP}] ) - 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 )" - -PATCHES=( - "${FILESDIR}/${P}-build.patch" -) - -src_prepare() { - default - use doc || sed \ - -e "/^install:/s/ docs//" \ - -i src/build-data/makefile/gmake.in - use python && python_copy_sources -} - -src_configure() { - local disable_modules=( proc_walk unix_procs ) - use boost || disable_modules+=( "boost" ) - use bindist && disable_modules+=( "ecdsa" ) - use python || disable_modules+=( "ffi" ) - 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 - - ./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 doc sphinx) \ - $(use_with bzip2) \ - $(use_with lzma) \ - $(use_with sqlite sqlite3) \ - $(use_with ssl openssl) \ - $(use_with zlib) \ - $(use_with boost) \ - --with-python-version=$(IFS=","; echo "${pythonvers[*]}" ) \ - --disable-modules=$(IFS=","; echo "${disable_modules[*]}" ) \ - || die "configure.py failed" -} - -src_compile() { - emake CXX="$(tc-getCXX) -pthread" AR="$(tc-getAR) crs" CXXFLAGS="-std=c++11 -D_REENTRANT ${CXXFLAGS}" -} - -src_test() { - LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed" -} - -src_install() { - default - - if ! use static-libs; then - rm "${ED}usr/$(get_libdir)/libbotan"*.a || die 'remove of static libs failed' - fi - - use python && python_foreach_impl python_optimize -} diff --git a/dev-libs/botan/files/botan-2.3.0-build.patch b/dev-libs/botan/files/botan-2.3.0-build.patch deleted file mode 100644 index 06d44cd0c491..000000000000 --- a/dev-libs/botan/files/botan-2.3.0-build.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 9e28eac720176ecb9b784510d352aa0ac38d0b56 Mon Sep 17 00:00:00 2001 -From: Jack Lloyd <jack@randombit.net> -Date: Wed, 4 Oct 2017 13:59:21 -0400 -Subject: [PATCH] Add limits.h header for INT_MAX - -Gentoo bug https://bugs.gentoo.org/633468 ---- - src/lib/prov/openssl/openssl_mode.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/lib/prov/openssl/openssl_mode.cpp b/src/lib/prov/openssl/openssl_mode.cpp -index 9580bc9c5..fabaccb18 100644 ---- a/src/lib/prov/openssl/openssl_mode.cpp -+++ b/src/lib/prov/openssl/openssl_mode.cpp -@@ -10,6 +10,7 @@ - #include <botan/internal/rounding.h> - #include <botan/internal/openssl.h> - #include <openssl/evp.h> -+#include <limits.h> - - namespace Botan { - -From 8526077c273c752661786e0ef5d9f7b945c83931 Mon Sep 17 00:00:00 2001 -From: Alon Bar-Lev <alon.barlev@gmail.com> -Date: Fri, 13 Oct 2017 19:34:25 +0300 -Subject: [PATCH] Add limits.h header for INT_MAX - -Gentoo-Bug: https://bugs.gentoo.org/633468 -Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> ---- - src/lib/prov/openssl/openssl_rsa.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/lib/prov/openssl/openssl_rsa.cpp b/src/lib/prov/openssl/openssl_rsa.cpp -index fae869b..ab5ac64 100644 ---- a/src/lib/prov/openssl/openssl_rsa.cpp -+++ b/src/lib/prov/openssl/openssl_rsa.cpp -@@ -22,6 +22,7 @@ - #include <openssl/x509.h> - #include <openssl/err.h> - #include <openssl/rand.h> -+#include <limits.h> - - namespace Botan { - --- -2.13.6 - |