# ChangeLog for dev-libs/botan
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/ChangeLog,v 1.20 2006/12/27 17:05:22 peper Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/ChangeLog,v 1.21 2007/01/20 16:42:21 alonbl Exp $
+
+*botan-1.6.1 (20 Jan 2007)
+
+ 20 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org>
+ +files/botan-1.6.1-asm.patch, +botan-1.6.1.ebuild:
+ Version bump, bug#162916, thanks to Jack Lloyd
27 Dec 2006; Piotr JaroszyĆski <peper@gentoo.org> botan-1.5.11.ebuild:
Add ~amd64 wrt bug #152692.
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX botan-1.4.4-gcc34.patch 479 RMD160 6ed6b8890650ccd391df188419c56a0ec27bfb3b SHA1 87b1444bf852fa45ec358f3e737e149f086ad3fb SHA256 4df4e37ecca2dfbd841106f1207a95a3658ebc17419e4a58fe6ff93b9d410ba4
MD5 2214700974b810ad0c871ae2110ff054 files/botan-1.4.4-gcc34.patch 479
RMD160 6ed6b8890650ccd391df188419c56a0ec27bfb3b files/botan-1.4.4-gcc34.patch 479
MD5 6debf97edcd6ceee0eb103aaa62d88ff files/botan-1.5.11-asm.patch 571
RMD160 4c901e3302e42e45e26fc0c7117d143aa75244a1 files/botan-1.5.11-asm.patch 571
SHA256 94977172090d058a4972ab71b8b2996fc9cc483837a3cd49acdc6bead7c0c30c files/botan-1.5.11-asm.patch 571
-DIST Botan-1.4.11.tgz 1802089
-DIST Botan-1.4.12.tgz 1801371
-DIST Botan-1.4.4.tgz 1436270
-DIST Botan-1.4.9.tgz 1812447
+AUX botan-1.6.1-asm.patch 1383 RMD160 61187729bb9a05fbdd0423265257e0f53c621035 SHA1 70d9b565d58e2e34e7242bd5479e8a0e06e5566c SHA256 59c952e65b30e8761d327ac5bebd9202cb5e385a4cb61e2f0eedb31110913a3c
+MD5 13e5601b49075d3c90f526054386b0c1 files/botan-1.6.1-asm.patch 1383
+RMD160 61187729bb9a05fbdd0423265257e0f53c621035 files/botan-1.6.1-asm.patch 1383
+SHA256 59c952e65b30e8761d327ac5bebd9202cb5e385a4cb61e2f0eedb31110913a3c files/botan-1.6.1-asm.patch 1383
+DIST Botan-1.4.11.tgz 1802089 RMD160 c8aa827cf10151266b88e17c172999a6ccaab816 SHA1 49b896fd90e7e80004f7596872238fb40e9748d9 SHA256 02d0482a0f06114e2d7848e4cf393e095c8857501177a5a2d2c03cecd199f1ed
+DIST Botan-1.4.12.tgz 1801371 RMD160 c7b78863eaa10668dc8ceaef70245a1a52938c2e SHA1 013d96de43276596289c6799a57ae092e9b37008 SHA256 b894065634c0822eda943d35169f1444348644269a4d1e53d6a0bd14cb3cc94f
+DIST Botan-1.4.4.tgz 1436270 RMD160 836b7e9407636c5ec76b0a1c11d461967fa2f8b1 SHA1 879c51ef3b28ef0f3baed1cd64effe873da1e6ad SHA256 1ab6ab9e62f199d9f16cdc28653784aee94e6f526f7e4083a45069666fa5009e
+DIST Botan-1.4.9.tgz 1812447 RMD160 cf4ffbf4aebc08de6e3720a13c9557bae0dd493e SHA1 df358509347af5da3c24e1a0e5017ff9547a127e SHA256 234c399adc5694440cc4bc57170c74c3abc6157bad037d4a6d01435e5b330a0d
DIST Botan-1.5.11.tgz 1373484 RMD160 6a080d69eb53d8a7c0c3c70848401e397e0ce8b3 SHA1 c6dd8496d4bbec75b5331966de0c4d497543d22c SHA256 efff1ad12e22bdbf69f007a58b49a273a548c4bf0b83cac0a92f6d332c8f43e5
-DIST Botan-1.5.5.tgz 1240713 RMD160 660651795018b2071b815137ce6925524b32bf7e SHA256 f8989356a1d40fcff7a867db9168ad6ecb9abca22b64bc0c0b9db653bb814907
+DIST Botan-1.5.5.tgz 1240713 RMD160 660651795018b2071b815137ce6925524b32bf7e SHA1 e388009fcbf9a124e23de624a5322716294d6268 SHA256 f8989356a1d40fcff7a867db9168ad6ecb9abca22b64bc0c0b9db653bb814907
+DIST Botan-1.6.1.tgz 1845323 RMD160 e729d03ac8aba3a8c157cd956f4ddf08d99fe33b SHA1 c0c980539e13ba1332301bdd1dcb7dce6905624e SHA256 4ff3ec8c0c5c21fcb5b56e2c54a4eeddf7101a883e13a816630ccff288c0a9c4
EBUILD botan-1.4.11.ebuild 2466 RMD160 553c07d469e4f91d5d70d8e9fc895878fa6d80a8 SHA1 e6e4caed80c8c5571cf3e6b783849fd063b4b5a1 SHA256 d08badd0ace9d7367934d51b204c2aea5c3442c9ce59741df5460729109ceab9
MD5 c7ad182eb1036a405d6fdf92cfc0d4d1 botan-1.4.11.ebuild 2466
RMD160 553c07d469e4f91d5d70d8e9fc895878fa6d80a8 botan-1.4.11.ebuild 2466
MD5 7c02ae041daddf9f9f0115053a78e8a2 botan-1.5.5.ebuild 2525
RMD160 e99614a67cc9efe531ba6fdb1fc69cc4590e899d botan-1.5.5.ebuild 2525
SHA256 19766b483faaffde71d0b289523b619ebc719d5b0e084d168714b0ee7aefaf53 botan-1.5.5.ebuild 2525
-MISC ChangeLog 3464 RMD160 7bf9fa1f68aec14292eaf0841d40cfe1f79053a0 SHA1 bb482765910cf62d85b19634bf95b00086126309 SHA256 e703489055b6a3e6da1c8995feeb48615804af5c565ed2efd14222b78021608e
-MD5 618ffa09ff9932663e27f16f9b864db4 ChangeLog 3464
-RMD160 7bf9fa1f68aec14292eaf0841d40cfe1f79053a0 ChangeLog 3464
-SHA256 e703489055b6a3e6da1c8995feeb48615804af5c565ed2efd14222b78021608e ChangeLog 3464
-MISC metadata.xml 463 RMD160 a50421a9df0c4f6f8ded9568525613993bd03f46 SHA1 05f66f0d6e803177100d8fc252fa313e325c3641 SHA256 a5cb191344e60da7f987220e591ee31c12b6c4ca898a03dc83745e51f56c2715
-MD5 d769a7ef93cd04ed5de9f468af0979cd metadata.xml 463
-RMD160 a50421a9df0c4f6f8ded9568525613993bd03f46 metadata.xml 463
-SHA256 a5cb191344e60da7f987220e591ee31c12b6c4ca898a03dc83745e51f56c2715 metadata.xml 463
-MD5 9105f271f3d69095584cafe41c3131ef files/digest-botan-1.4.11 62
-RMD160 a16d49d47e2838d62948d6325c97c07fe5f3e32d files/digest-botan-1.4.11 62
-SHA256 1163b2545feefc5a3205a36e62f8f36385b6a46cae8772a210940b711ae68a9f files/digest-botan-1.4.11 62
-MD5 dd4fc27631c5ec1ca4f874f32409860f files/digest-botan-1.4.12 62
-RMD160 1f207eb25923c3afc1ecebd20daea3fb1aa9929d files/digest-botan-1.4.12 62
-SHA256 ec51a78d0e04c4d0b23b21d497f3f1f7ddef13307038ed9894484975922ba33a files/digest-botan-1.4.12 62
-MD5 010820c4ff5b87a3b62ea84bee465eed files/digest-botan-1.4.4 61
-RMD160 972dcec5d1a384a0705734caf2cdb7fb979bf289 files/digest-botan-1.4.4 61
-SHA256 4cb1c4f9c4617e89b86628b173c38d7d68a5901068a07e106d96c52041bd5553 files/digest-botan-1.4.4 61
-MD5 f35ec7d42986b3a8a270b4aaa7483817 files/digest-botan-1.4.9 61
-RMD160 ed450fd36eaf23c61ec6a9d2bdb2e3375a2bdd29 files/digest-botan-1.4.9 61
-SHA256 8a443401e2e8c08e6a640c882645c95a35060b921dd3d5f04963bbe4d4625e60 files/digest-botan-1.4.9 61
+EBUILD botan-1.6.1.ebuild 2671 RMD160 06e075f43e89ae6e5bb88595d79218216aa94c20 SHA1 e89f9286ce3afe2862317f504867edb81d5aa4ea SHA256 8401fb0dee0b2734c5d8934fce47d97967ba0c22270c4342c6556f12d8fbd229
+MD5 3d7bfd316780d0434f40d5235ca9077e botan-1.6.1.ebuild 2671
+RMD160 06e075f43e89ae6e5bb88595d79218216aa94c20 botan-1.6.1.ebuild 2671
+SHA256 8401fb0dee0b2734c5d8934fce47d97967ba0c22270c4342c6556f12d8fbd229 botan-1.6.1.ebuild 2671
+MISC ChangeLog 3644 RMD160 048d6fa12d798c94ab5f40703bf6801996935b23 SHA1 7f8676fbbbafd310947ae371eb24cd79ee648c25 SHA256 7b5b248e2ef1f1dc12074e446207ce62c57a625297cc024579c2dca29f6bbc26
+MD5 b6c357c5826c3fe884a8629b3c01da32 ChangeLog 3644
+RMD160 048d6fa12d798c94ab5f40703bf6801996935b23 ChangeLog 3644
+SHA256 7b5b248e2ef1f1dc12074e446207ce62c57a625297cc024579c2dca29f6bbc26 ChangeLog 3644
+MISC metadata.xml 319 RMD160 084032a656409b8d666fa6e9c0b0f89e3ef955e7 SHA1 77d4f800c80c56a3191d488ef2d6444ab165cee3 SHA256 c0597f70f00af70ca6f77bf906babe3059717b8c1e91a74c61904008e0c14054
+MD5 48f81ae7c58c8ff0a21b3ae9475ea62c metadata.xml 319
+RMD160 084032a656409b8d666fa6e9c0b0f89e3ef955e7 metadata.xml 319
+SHA256 c0597f70f00af70ca6f77bf906babe3059717b8c1e91a74c61904008e0c14054 metadata.xml 319
+MD5 217886b9f39d75b7e80adfdd361ca3d9 files/digest-botan-1.4.11 232
+RMD160 49e79cab17d77351926cebc60797e962bcdc7aef files/digest-botan-1.4.11 232
+SHA256 526a23b61e3c42c0a0537e53850e57135b6c90c223c2dbd61f3ca81636617833 files/digest-botan-1.4.11 232
+MD5 0d117659280180c53f509c938d725836 files/digest-botan-1.4.12 232
+RMD160 ba0fcc86827fa63f6fa30b7acd5742d5a96f5b39 files/digest-botan-1.4.12 232
+SHA256 4d54cefbf3dc44b67b76e9625ec9d1eaca96440baa8cfbdeb4c708d2a903718c files/digest-botan-1.4.12 232
+MD5 51e8505475d8e20d3ddfa45076f47d84 files/digest-botan-1.4.4 229
+RMD160 5149014c4328b746b1858bc722116381fef5826e files/digest-botan-1.4.4 229
+SHA256 4142ccda17f6d90ee308c3909f53340789790da3d800f1eb1eb1afd7bebe5d6d files/digest-botan-1.4.4 229
+MD5 1807763511599d5c93790b38a00f5444 files/digest-botan-1.4.9 229
+RMD160 5e714a775e3d05df69b3d5e8bb99270b458d4abd files/digest-botan-1.4.9 229
+SHA256 6688288d06074e328b2b99aca3f7558e309ffde70ac2e256075a93a598532efc files/digest-botan-1.4.9 229
MD5 6d9539708136788c00c0a25aefbeb12a files/digest-botan-1.5.11 232
RMD160 62888493de05fbfeff908dc4fcb6c7a5becdb080 files/digest-botan-1.5.11 232
SHA256 4dbe56c34e4f16b2dc408717f32d5a05286fd23e25284d0db71b983a90fb7851 files/digest-botan-1.5.11 232
MD5 4f5cb43c8d7f6af23aba1f3c59d7ad44 files/digest-botan-1.5.5 229
RMD160 67412a0c7f3a39efcc8cf963fb26268602c08125 files/digest-botan-1.5.5 229
SHA256 a2547ee3e3acd62beacc49c37eba7e3d503af2fd5a38d48efa646daa0369bd3a files/digest-botan-1.5.5 229
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
-
-iD8DBQFFkqfappoStNGKGywRAmeWAKDRkfKnV43W+tUzmgNpMhxzDFTkGACfZ5zS
-I1nuGCyzEd9n4FUEx4eK2vc=
-=K+8M
------END PGP SIGNATURE-----
+MD5 2cb2863d6f2c8a60e36dcf11d2e2e84d files/digest-botan-1.6.1 229
+RMD160 f130d09064ffd424fb2226e0a9c7a6f4b97e01dd files/digest-botan-1.6.1 229
+SHA256 c3e4c5435cd123591cb66f4c443869ad098deaa28a5deec783b0c63283d63ff6 files/digest-botan-1.6.1 229
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/botan-1.6.1.ebuild,v 1.1 2007/01/20 16:42:21 alonbl Exp $
+
+inherit eutils multilib
+
+MY_PN="Botan"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="A C++ crypto library"
+HOMEPAGE="http://botan.randombit.net/"
+SRC_URI="http://botan.randombit.net/files/${MY_P}.tgz"
+
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+SLOT="0"
+LICENSE="BSD"
+IUSE="bzip2 gmp ssl zlib"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.3 )
+ zlib? ( >=sys-libs/zlib-1.2.3 )
+ gmp? ( >=dev-libs/gmp-4.2.1 )
+ ssl? ( >=dev-libs/openssl-0.9.8c )"
+
+# configure.pl requires Getopt::Long, File::Spec, and File::Copy;
+# all seem included in dev-lang/perl ATM.
+DEPEND="${RDEPEND}
+ dev-lang/perl"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-asm.patch"
+}
+
+src_compile() {
+ # Modules that should work under any semi-recent Unix
+ local modules="alloc_mmap,es_egd,es_ftw,es_unix,fd_unix,ml_unix,tm_unix,tm_posix,mux_pthr"
+
+ if useq bzip2; then modules="$modules,comp_bzip2"; fi
+ if useq zlib; then modules="$modules,comp_zlib"; fi
+ if useq gmp; then modules="$modules,eng_gmp"; fi
+ if useq ssl; then modules="$modules,eng_ossl"; fi
+
+ # This is also supported on i586+ - hope this is correct.
+ # documention says sparc though not enables because of
+ # http://bugs.gentoo.org/show_bug.cgi?id=71760#c11
+
+ if [ "${ARCH}" = "alpha" -o "${ARCH}" = "amd64" ] || \
+ [ "${ARCH}" = "x86" -a "${CHOST:0:4}" != "i386" -a "${CHOST:0:4}" != "i486" ]; then
+ modules="$modules,tm_hard"
+ fi
+
+ # If we have assembly code for this machine, use it
+ if [ "${ARCH}" = "x86" ]; then
+ modules="$modules,mp_ia32,alg_ia32"
+ elif [ "${ARCH}" = "amd64" ]; then
+ modules="$modules,mp_amd64,alg_amd64"
+ elif [ "${ARCH}" = "alpha" -o "${ARCH}" = "ia64" -o \
+ "${ARCH}" = "ppc64" -o "${PROFILE_ARCH}" = "mips64" ]; then
+ modules="$modules,mp_asm64"
+ fi
+
+ # Enable v9 instructions for sparc64
+ if [ "${PROFILE_ARCH}" = "sparc64" ]; then
+ CHOSTARCH="sparc32-v9"
+ else
+ CHOSTARCH="$(echo ${CHOST} | cut -d - -f 1)"
+ fi
+
+ cd "${S}"
+ einfo "Enabling modules: " ${modules}
+
+ # FIXME: We might actually be on *BSD or OS X...
+ ./configure.pl \
+ --noauto gcc-linux-${CHOSTARCH} \
+ --libdir=/usr/$(get_libdir) \
+ --modules=$modules ||
+ die "configure.pl failed"
+ emake "LIB_OPT=${CXXFLAGS}" "MACH_OPT=" || die "emake failed"
+}
+
+src_test() {
+ chmod -R ugo+rX "${S}"
+ emake check || die "emake check failed"
+ env LD_LIBRARY_PATH="${S}" ./check --validate || die "validation tests failed"
+}
+
+src_install() {
+ make INSTALLROOT="${D}/usr" install || die "make install failed"
+}
--- /dev/null
+#
+# old_revision [0f5f960e749e55bc7b457b944ec168184353c300]
+#
+# patch "modules/alg_amd64/asm_macr.h"
+# from [c8fe2875602bdeeb27250cf791110e664b82cf0e]
+# to [35d79aea75780161d6d8c707a78f17f03955e6f6]
+#
+# patch "modules/alg_ia32/asm_macr.h"
+# from [540af413c630f50e7f0859b972be4d6618c788eb]
+# to [6454d46724e0b61ef2e110644f61b8fe165a2323]
+#
+============================================================
+--- modules/alg_amd64/asm_macr.h c8fe2875602bdeeb27250cf791110e664b82cf0e
++++ modules/alg_amd64/asm_macr.h 35d79aea75780161d6d8c707a78f17f03955e6f6
+@@ -6,6 +6,10 @@
+ #ifndef BOTAN_EXT_ASM_MACROS_H__
+ #define BOTAN_EXT_ASM_MACROS_H__
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
++
+ /*************************************************
+ * General/Global Macros *
+ *************************************************/
+============================================================
+--- modules/alg_ia32/asm_macr.h 540af413c630f50e7f0859b972be4d6618c788eb
++++ modules/alg_ia32/asm_macr.h 6454d46724e0b61ef2e110644f61b8fe165a2323
+@@ -6,6 +6,10 @@
+ #ifndef BOTAN_EXT_ASM_MACROS_H__
+ #define BOTAN_EXT_ASM_MACROS_H__
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
++
+ /*************************************************
+ * General/Global Macros *
+ *************************************************/
MD5 987ad49322cc41496fc2eae38ddd93c1 Botan-1.4.11.tgz 1802089
+RMD160 c8aa827cf10151266b88e17c172999a6ccaab816 Botan-1.4.11.tgz 1802089
+SHA256 02d0482a0f06114e2d7848e4cf393e095c8857501177a5a2d2c03cecd199f1ed Botan-1.4.11.tgz 1802089
MD5 0bb60ed7c9f454fab6df9a06916fbec6 Botan-1.4.12.tgz 1801371
+RMD160 c7b78863eaa10668dc8ceaef70245a1a52938c2e Botan-1.4.12.tgz 1801371
+SHA256 b894065634c0822eda943d35169f1444348644269a4d1e53d6a0bd14cb3cc94f Botan-1.4.12.tgz 1801371
MD5 9c71f4ce74fc02484e4499d923961815 Botan-1.4.4.tgz 1436270
+RMD160 836b7e9407636c5ec76b0a1c11d461967fa2f8b1 Botan-1.4.4.tgz 1436270
+SHA256 1ab6ab9e62f199d9f16cdc28653784aee94e6f526f7e4083a45069666fa5009e Botan-1.4.4.tgz 1436270
MD5 42acef0f6a0d70d4fb3871f15b49f32f Botan-1.4.9.tgz 1812447
+RMD160 cf4ffbf4aebc08de6e3720a13c9557bae0dd493e Botan-1.4.9.tgz 1812447
+SHA256 234c399adc5694440cc4bc57170c74c3abc6157bad037d4a6d01435e5b330a0d Botan-1.4.9.tgz 1812447
--- /dev/null
+MD5 c7330b4db6408d47db34af7887b8bfca Botan-1.6.1.tgz 1845323
+RMD160 e729d03ac8aba3a8c157cd956f4ddf08d99fe33b Botan-1.6.1.tgz 1845323
+SHA256 4ff3ec8c0c5c21fcb5b56e2c54a4eeddf7101a883e13a816630ccff288c0a9c4 Botan-1.6.1.tgz 1845323
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>crypto</herd>
-<maintainer>
- <email>dragonheart@gentoo.org</email>
- <name>Daniel Black</name>
- <description>Gentoo Commiter</description>
-</maintainer>
<maintainer>
<email>lloyd@randombit.net</email>
<name>Jack Lloyd </name>