summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2014-03-16 01:55:41 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2014-03-16 01:55:41 +0000
commit90a1b1c3cc267589b0ef757df1fce6eaabad15a8 (patch)
tree236085a37f924dbf4b09457dfd7f58697f6a9542
parentRemove ruby18 target. (diff)
downloadhistorical-90a1b1c3cc267589b0ef757df1fce6eaabad15a8.tar.gz
historical-90a1b1c3cc267589b0ef757df1fce6eaabad15a8.tar.bz2
historical-90a1b1c3cc267589b0ef757df1fce6eaabad15a8.zip
Version bump, bug#504436, thanks to Alexander Dubov
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xBF20DC51
-rw-r--r--dev-libs/botan/ChangeLog9
-rw-r--r--dev-libs/botan/Manifest12
-rw-r--r--dev-libs/botan/botan-1.11.8.ebuild161
3 files changed, 175 insertions, 7 deletions
diff --git a/dev-libs/botan/ChangeLog b/dev-libs/botan/ChangeLog
index d9999d02dd91..bce6ea911995 100644
--- a/dev-libs/botan/ChangeLog
+++ b/dev-libs/botan/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/botan
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/ChangeLog,v 1.85 2013/09/21 19:26:53 alonbl Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/ChangeLog,v 1.86 2014/03/16 01:55:33 alonbl Exp $
+
+*botan-1.11.8 (16 Mar 2014)
+
+ 16 Mar 2014; Alon Bar-Lev <alonbl@gentoo.org> +botan-1.11.8.ebuild:
+ Version bump, bug#504436, thanks to Alexander Dubov
21 Sep 2013; Alon Bar-Lev <alonbl@gentoo.org> +files/botan-1.10-python3.patch,
botan-1.10.5.ebuild:
diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest
index bb23bce6b579..4b8da226f604 100644
--- a/dev-libs/botan/Manifest
+++ b/dev-libs/botan/Manifest
@@ -6,19 +6,21 @@ DIST Botan-1.10.1.tbz 2195784 SHA256 205a3c011391d01ca3e4f127a2ffbf993a4f59788ff
DIST Botan-1.10.3.tbz 2215991 SHA256 e1db6af2deb230699b076cde893ad949f0580d4fd7b030fcd791ae982d184734 SHA512 e14a961dca2ece04b20a574ad1eb4467f1d94ac1c1fb3b66db704d750aa9953dd78e5700065b896eea63effeffdeb6c529cc8de6eea30c3acef851cd7ddb872b WHIRLPOOL 2b400ec5f6bbaf235a88a057a5dbde05987894a6f8cbf3a8fc0447192d42ce13d4fe9a06060ef09d5eaafe5357ee726345b1e753654136f1612a7c7912688fd5
DIST Botan-1.10.5.tbz 2214817 SHA256 2934c00533847dc93c485081d3ce6aae4a110151a69b587b895241159da77cf3 SHA512 7456eaf2bbdabac9438cdd28dbc0735924480034d848c40039b5b58d52924b4cb065316989d6902201bc62fb5c19cba109b550b6865ca4d11748e3a3a1ececa6 WHIRLPOOL 7fd3de981d55a03925e78a4afcee55c0f3cf7e2dc88bd503f9c5705e5cc73293cf3bdcf3c3fdf54b6d1b77ba7dc32cf6fa46720635b922e368aaf12a39339fcd
DIST Botan-1.11.4.tbz 2346343 SHA256 ebbcc493ef2f13f536597b72e317462e1503c83f7e18e1fe10887f16b5f4da0f SHA512 c5c521a78b50de6c6e2bba912f0697e507a8432bd7f348e3e41856cc2ed60fea5877df4957d74887419208f8df63224a4c6726c94eef58fc1b255133b1f0ee22 WHIRLPOOL 41a024e3698fa2ede2a5124b6c5d2400e969f2cddfec6e7e9e43e549097dd606d105d6e02d6268e322d98e83300c76eb4f7783ee54699a7fa85addcf9adc3aa2
+DIST Botan-1.11.8.tbz 2193897 SHA256 5c3a5485dd8f2b5e690bdc73d5848b1f436a090e7fc521c66920f34d6af68efd SHA512 2d3f5d77687ed56be39c88fe7ffdb27ebda573650f164b8681864cff0ca8b0a0bd56f9749f3695e4240a68bfa1483565c854ff4f9d8a7460de0883255a917e26 WHIRLPOOL c9eaeb2d2da10bc61eb704beb9025fada4f16ec4e82a7845cdc465295d05ad070e73d289abdc30fc96f5b43778c87f31ea4cb66c6706cb822ceb2adba0354d41
DIST Botan-1.8.11.tbz 2808114 SHA256 c3b60a2c3dfcbe7b21626e8459e5134d3cbabe45b6d94f454860b99798739ba4 SHA512 03577a01e464841e7c985ce6323c4eeaf8d5fc968786d058139e8f965d81900ceb17c7e3f54c948b9dbb602717fec0eff153e1f140c4016aef97c7adb317e5d1 WHIRLPOOL a7f1283ca50d52ccff025a74c10cd7b973a196f873b8386e0efc73af84d0e765a127448f999be9e76e90e772dc20950bf0ae9972fad99840b0045caea41ee811
EBUILD botan-1.10.1.ebuild 2464 SHA256 f349b245dd1646a1d5bb16746a038fb2a95ea1cad33dc8eba9dbf217fbd3050b SHA512 89c65fca3de7ef3e3588e1aa99a3e489b58e3656aed6a99469216e42b8df6066c439ad36fad26949fbb31442661f60f4c821c698a91bdda1da66f266702661a7 WHIRLPOOL 6a4d01719b85b9cb6e97873ce2bbb224764febf25515e86f58f68b0c8f7523ba305fa985788f3705c7343ac37ca2a7fdf597bae722f738cca8c4bb897c740dfa
EBUILD botan-1.10.3-r1.ebuild 4004 SHA256 36e50715eb45b6cd0fab9999787a3e9248c307b926faca297afff6630aa746ab SHA512 670f8de9a367830aac6560b3bfd97da5eb190b55613009619fb092987cff4ace0e7a031a950e8cdc65e89f760d497f4db7f5057244575d99618be17e83f93f9a WHIRLPOOL 8bff6c316481d11b305662856d5f0c3e8762a948afcd683d5778e4005b190e816ef146e8679b6d69aa7f745eb4dd5eff47cfc2452ab787c418d2b5b9746f388f
EBUILD botan-1.10.3.ebuild 2545 SHA256 5626f45435a68ddb95b0e1fcb529913d94379eefedf1120337f18b113e4e1efe SHA512 e0157172391f16d01ca9188876de4e3c67017da390649e75196297d5ce83d5817cdbe08911419f325b3221215babe9711322f5843510c8744b7c0542c0aaee05 WHIRLPOOL b084d3d3c5873a447fc5961b660f0612ae55c793802905e0c72e7c36dc5a9a85ed9146960689c8f986d10811fb99631960f0ebb318d04c76982d2f699c32d2cd
EBUILD botan-1.10.5.ebuild 4160 SHA256 f9088f585d2158dedd984f9f8a32b92a5bb3f491dd67d25e08ba9208d30eb393 SHA512 fe0789a50ea45e351452cfee7c162d60247123bb7b9d9ec793c61ad26b2fd682a5b381de0a6eec9261d35dd8bc6bcdd8c05770fcdb0d4e324dd070f6b1f2e40d WHIRLPOOL 684e5e9466cd115c07a06b871708b990a090b788705480a35edc3b2b20c13bd2cdb09da4a71022ada432726df51387a2b70f3ac1d3fe59c84a75b1022a0432c2
EBUILD botan-1.11.4.ebuild 4475 SHA256 fcd8993e6018d68d5c92db7845e9c94dfdb6a948a874069731910a2987ad9135 SHA512 ac920d73ede683714e49d43ce0c2eca33daf806725f03fb8a663eb412544ed17671882bff7da6aa70e25d53a3f581bbaec014b0fd5dcec928b4f2eb489a5979a WHIRLPOOL 176250748a8af4d99dd919e4c9c3725b84f7c6180f2565a608035223daf9308a538edebe31b171c1e410bfc280f99ad129fed1ab10e8e8e1e657c2e79bc1b5cf
+EBUILD botan-1.11.8.ebuild 4445 SHA256 07592e21701789051a55fc0bb54427ffcec393d3feccd9f1ee64d241feba1baa SHA512 1e9a4018b39f1861b15a1061cd05509d2a01e6991f0b05655b945bab29ea5c378154b04725529e757eefaba2c203dedba10f4f8b9209d55d722109c3c13c9aa8 WHIRLPOOL 807a20fdc0bd9fe3fa66ce41c2d577bde6bdef38047c30c4c146f518437a689884a22a2e323f9f7d722992ce3adf51a4d3206a4f4144233d6cb8b5d8d5ca0eaf
EBUILD botan-1.8.11.ebuild 2461 SHA256 a1e4111c47aa003a7688116652ec43d6a66e863c346b6bd0f744a3f8fd514188 SHA512 7d3dc940f2d0602da995849a7a82d81dead91c7967b089df03ba76092e5f0422af41ff84d48c77da81c57f1b289b8c6c7a9670f7037ecdb4dcfeab504e132549 WHIRLPOOL 440c7e4a9f74cbf5f60a9e1704398feab0423e0f4afa6d23bbcdfe3b0888638ca17331607e8b6e61bce6d94a6c25d8f995a39301c73c36f7948cfe76043c8c62
-MISC ChangeLog 12514 SHA256 b7ef2229937ebb7bb278c842ca660079783858125b03dbf98384ea1db37dcf85 SHA512 07cff581e5ad2603757dd39bca50ae85c114f13c113488794a7d6d2b12e7f06714c43aed7689d859d58d49d9c051ae386c88d38dd4c475a2f654bd786b85842b WHIRLPOOL f1579d427c95a83465bbcc6c80746eab12ee8b1611d2c3ca78afc3ee3ac25c49eb337452baf383b590652285e3be43ad72610d251e8de3058007b865f5e637c2
+MISC ChangeLog 12669 SHA256 ab7c0684ff2786192b46f51546a64ac4f6c2bdb44fddb7ed6c926868953ffe05 SHA512 32fc5bf782f3477c4f3c2a93d4f9d2b8593209e886ce0fcba33b3abfe8c7b5b0a22714d6a74489942b7f2d90bab6950c67a1761d615402c62bb86a298ba24493 WHIRLPOOL 10a40c6c176bd9f8364abe33b69f945360cb88eb71077cf09aeae975af81f042ad9fad195d16e9995ffdb36e481e3983dff1d26ba7e142034af0b04497cf0705
MISC metadata.xml 350 SHA256 196dbc029754376fe620edb47310990091e958d480e08c0a409a9f3bdd80f548 SHA512 23c3616a31686d4ce0146ae7d9bbd7da8d339576d4157f64addcbb827db5c1061d4aa000a783ddcbd8e17f58b5bb169c72e76f67db7d4f1c850edd9830af2c03 WHIRLPOOL 77c2ee746679d19c594031c4076f6c76aaa78c95897398b733768058f2005b9b86d1af6b0009f98faf235babf152c1c920429c7b311e775b5770024c29a6e148
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iF4EAREIAAYFAlI98wEACgkQXYk9GL8g3FHHMQEAqx1BbToxPID7WPw/k4YWU6l5
-Mb3MFy30hbNUYRgNupIA/2AYrfvett4a+uoukNNjQg4coYIUbQfFs9tWb16zweke
-=vAk1
+iF4EAREIAAYFAlMlBLIACgkQXYk9GL8g3FHlMgD5ASePWgZJgjszpn50GE4W5y8J
+5pyCHRQ+jqRsfSvK39gA/0iRm2SNdgq9y0ZdcJ/gbXVDFfF8pdCqjzSZEgo6cI6j
+=Nu0k
-----END PGP SIGNATURE-----
diff --git a/dev-libs/botan/botan-1.11.8.ebuild b/dev-libs/botan/botan-1.11.8.ebuild
new file mode 100644
index 000000000000..842676644941
--- /dev/null
+++ b/dev-libs/botan/botan-1.11.8.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/botan-1.11.8.ebuild,v 1.1 2014/03/16 01:55:33 alonbl Exp $
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+
+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://files.randombit.net/botan/${MY_P}.tbz"
+
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 ~ppc-macos"
+SLOT="0"
+LICENSE="BSD"
+IUSE="bindist doc python bzip2 gmp lzma sqlite ssl static-libs threads zlib"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 )
+ zlib? ( >=sys-libs/zlib-1.2.3 )
+ python? ( ${PYTHON_DEPS} >=dev-libs/boost-1.48[python,${PYTHON_USEDEP}] )
+ gmp? ( >=dev-libs/gmp-4.2.2 )
+ lzma? ( app-arch/xz-utils )
+ sqlite? ( dev-db/sqlite:3 )
+ ssl? ( >=dev-libs/openssl-0.9.8g[bindist=] )"
+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() {
+ sed -e "s/-Wl,-soname,\$@ //" -i src/build-data/makefile/python.in || die "sed failed"
+ sed \
+ -e "/DOCDIR/d" \
+ -e "/^install:/s/ docs//" \
+ -i src/build-data/makefile/gmake.in || die "sed failed"
+
+ # Fix ImportError with Python 3.
+ sed -e "s/_botan/.&/" -i src/python/__init__.py || die "sed failed"
+
+ use python && python_copy_sources
+}
+
+src_configure() {
+ local disable_modules="proc_walk,unix_procs"
+ use threads || disable_modules+=",pthreads"
+ 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
+
+ # foobared buildsystem, --prefix translates into DESTDIR, see also make
+ # install in src_install, we need the correct live-system prefix here on
+ # Darwin for a shared lib with correct install_name
+ ./configure.py \
+ --prefix="${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 gmp gnump) \
+ $(use_with lzma) \
+ $(use_with python boost-python) \
+ $(use_with sqlite sqlite3) \
+ $(use_with ssl openssl) \
+ $(use_with zlib) \
+ --disable-modules=${disable_modules} \
+ || die "configure.py failed"
+}
+
+src_compile() {
+ emake CXX="$(tc-getCXX)" AR="$(tc-getAR) crs" LIB_OPT="${CXXFLAGS}" MACH_OPT=""
+
+ if use python; then
+ building() {
+ rm -fr build/python
+ ln -s "${BUILD_DIR}" build/python
+ cp Makefile build/python
+ rm -f build/python/configure.py
+ sed -i \
+ -e "s/-lboost_python-[^[:space:]]*/-lboost_python-$(echo ${EPYTHON} | sed 's/python//')/" \
+ build/python/Makefile
+ emake -f build/python/Makefile \
+ CXX="$(tc-getCXX)" \
+ CFLAGS="${CXXFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ PYTHON_ROOT="/usr/$(get_libdir)" \
+ PYTHON_INC="-I$(python_get_includedir)" \
+ python
+ }
+ python_foreach_impl building
+ fi
+
+ if use doc; then
+ einfo "Generation of documentation"
+ sphinx-build doc doc_output
+ fi
+}
+
+src_test() {
+ #chmod -R ugo+rX "${S}"
+ LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed"
+}
+
+src_install() {
+ emake DESTDIR="${ED}usr" 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
+
+ if use python; then
+ installation() {
+ rm -fr build/python
+ ln -s "${BUILD_DIR}" build/python
+ emake -f Makefile \
+ PYTHON_SITE_PACKAGE_DIR="${ED}$(python_get_sitedir)" \
+ install_python
+ }
+ python_foreach_impl installation
+ fi
+
+ if use doc; then
+ pushd doc_output > /dev/null
+ insinto /usr/share/doc/${PF}/html
+ doins -r [a-z]* _static
+ popd > /dev/null
+ fi
+}