diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2016-11-21 18:28:20 +0200 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2016-11-21 18:28:20 +0200 |
commit | 87aef4ede11d3c8cd6adcbf53c6c56468d6ceece (patch) | |
tree | 27bd49b6143c0e7e8ade2f95bba9cff94ddf2072 /dev-libs/botan | |
parent | app-crypt/gpgme: version bump (diff) | |
download | gentoo-87aef4ede11d3c8cd6adcbf53c6c56468d6ceece.tar.gz gentoo-87aef4ede11d3c8cd6adcbf53c6c56468d6ceece.tar.bz2 gentoo-87aef4ede11d3c8cd6adcbf53c6c56468d6ceece.zip |
dev-libs/botan: cleanup
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-libs/botan')
-rw-r--r-- | dev-libs/botan/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/botan/botan-1.11.29.ebuild | 136 |
2 files changed, 0 insertions, 137 deletions
diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index b12002e7ccca..de8009ae831e 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,4 +1,3 @@ DIST Botan-1.10.12.tgz 2707397 SHA256 affc3a79919577943f896e64d3e4a4dcc4970c5bf80cc98c7f3a3144745eac27 SHA512 074ed9c89d715ada53a3366139da3f0f2fd7ee01941d301b0a9c1a897927ed88c0ade32f66768091664e6b652b7921b3b4c513106ee6ce1942dece3a25216bf5 WHIRLPOOL bfe7029e5ebf660434b14cd49e0c9f4612e9ee88ad50803edfa589754bede01dc39d71542b62eaaa0f7e85dbf623b4b11a90528bcb903c2333103685ce91401f DIST Botan-1.10.13.tgz 2710181 SHA256 23ec973d4b4a4fe04f490d409e08ac5638afe3aa09acd7f520daaff38ba19b90 SHA512 a09d2cb5dda21bf384b81675025f249abdfe232c95dc3383f0baebc2bf1603b2ed1e2aec9a81aae95df592ec2eeae8906c63474a6da42ad3701669a5d8f14656 WHIRLPOOL 4161d689205f02ed8b97bb371be47829d11dee744a024e24bb834264cfa6143c8a9fb7df969410975e4bf2b708063e3c05b6106c4dbe7f5566e3331ee5e901a9 -DIST Botan-1.11.29.tgz 3137027 SHA256 e604eca7f0a733f6ef23ddd9209d82589728a4befd48dff3532740130ebaeb94 SHA512 c6ad6cf3d68c3524b9532e9f52e74d89cc2abfd093f1a46a44efa94a87b0fa50278f11dc5953225160d090cf8ae1c372f54c23b5dffd1f3dae79e210195cfd72 WHIRLPOOL f97f0a013c5ed3c7ec7403b8ae584b7396b91a8fcf9181d7e53f17cbd172301c1c228378e58d851fd591f2be9584b18e3eba05e5c5709750a3cf6cc6538f1bc7 DIST Botan-1.11.33.tgz 4329671 SHA256 d65f95399dc5710aea90d682d65e554fed4571115f1382416e9142370a47e949 SHA512 49bb4485663897dd07bb7982771befacc50bfabef5806dc802cbd4d39f5d641b08a264824b5b1b96421e810811353deea15e728c5d08ce2932cf0e4602ae099d WHIRLPOOL 86154158915e29eef7753797df037d560078bda4ecfaafffba1064a238618b1ec10e0712b85cd64537ca3dfbac5ce38bf1323456d30b2bd5a51c0dae7f81d339 diff --git a/dev-libs/botan/botan-1.11.29.ebuild b/dev-libs/botan/botan-1.11.29.ebuild deleted file mode 100644 index 14221ea283a1..000000000000 --- a/dev-libs/botan/botan-1.11.29.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="6" -PYTHON_COMPAT=( python{2_7,3_4} ) - -inherit eutils 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="0" -LICENSE="BSD" -IUSE="bindist doc boost python bzip2 libressl lzma sqlite ssl static-libs zlib" - -S="${WORKDIR}/${MY_P}" - -REQUIRED_USE="python? ( boost )" - -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.9.8g:0[bindist=] ) - libressl? ( dev-libs/libressl ) - )" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx )" - -pkg_pretend() { - # Botan 1.11 requires -std=c++11 - if [[ ${MERGE_TYPE} != binary ]]; then - [[ $(gcc-major-version) -lt 4 ]] || \ - ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 ]] ) \ - && die "Sorry, but gcc 4.7 or higher is required." - fi -} - -src_prepare() { - default - sed \ - -e "/^install:/s/ docs//" \ - -i src/build-data/makefile/gmake.in || die "sed failed" - 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" \ - --destdir="${D}/${EPREFIX}/usr" \ - --libdir=$(get_libdir) \ - --docdir=share/doc \ - --cc=gcc \ - --os=${myos} \ - --cpu=${CHOSTARCH} \ - --with-endian="$(tc-endian)" \ - --without-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" LIB_OPT="-c ${CXXFLAGS}" - if use doc; then - einfo "Generation of documentation" - sphinx-build doc doc_output - fi -} - -src_test() { - LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed" -} - -src_install() { - emake install - - if ! use static-libs; then - rm "${ED}usr/$(get_libdir)/libbotan"*.a || die 'remove of static libs failed' - fi - - # Add compatibility symlinks. - [[ -e "${ED}usr/bin/botan-config" ]] && die "Compatibility code no longer needed" - [[ -e "${ED}usr/$(get_libdir)/pkgconfig/botan.pc" ]] && die "Compatibility code no longer needed" - dosym botan-config-1.11 /usr/bin/botan-config - dosym botan-1.11.pc /usr/$(get_libdir)/pkgconfig/botan.pc - - use python && python_foreach_impl python_optimize - - if use doc; then - pushd doc_output > /dev/null - insinto /usr/share/doc/${PF}/html - doins -r [a-z]* _static - popd > /dev/null - fi -} |