summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2005-09-28 07:26:50 +0000
committerDaniel Black <dragonheart@gentoo.org>2005-09-28 07:26:50 +0000
commit8faea3fd1306b3bb2629afc3184ace0ef9b5c6d3 (patch)
tree9a08c99ff7cd50437ad12f3c46906cedd0b1bba4 /dev-libs
parentremoved dead patch, and fixed minor spelling typo bug #98556 (diff)
downloadhistorical-8faea3fd1306b3bb2629afc3184ace0ef9b5c6d3.tar.gz
historical-8faea3fd1306b3bb2629afc3184ace0ef9b5c6d3.tar.bz2
historical-8faea3fd1306b3bb2629afc3184ace0ef9b5c6d3.zip
version bump
Package-Manager: portage-2.0.52-r1
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/botan/ChangeLog7
-rw-r--r--dev-libs/botan/Manifest12
-rw-r--r--dev-libs/botan/botan-1.4.7.ebuild79
-rw-r--r--dev-libs/botan/files/digest-botan-1.4.71
4 files changed, 93 insertions, 6 deletions
diff --git a/dev-libs/botan/ChangeLog b/dev-libs/botan/ChangeLog
index b69fa44d8aa4..20be8026dc8e 100644
--- a/dev-libs/botan/ChangeLog
+++ b/dev-libs/botan/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/botan
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/ChangeLog,v 1.7 2005/07/29 23:26:25 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/ChangeLog,v 1.8 2005/09/28 07:26:50 dragonheart Exp $
+
+*botan-1.4.7 (28 Sep 2005)
+
+ 28 Sep 2005; Daniel Black <dragonheart@gentoo.org> +botan-1.4.7.ebuild:
+ version bump
29 Jul 2005; Daniel Black <dragonheart@gentoo.org> botan-1.4.4.ebuild:
removed die from epatch || die.
diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest
index 99b5f94f60f3..0aef252e563c 100644
--- a/dev-libs/botan/Manifest
+++ b/dev-libs/botan/Manifest
@@ -1,17 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+MD5 efd83cbf39ec97d23f820218adc29730 botan-1.4.7.ebuild 2468
MD5 d769a7ef93cd04ed5de9f468af0979cd metadata.xml 463
-MD5 d8104017a716de7feeeb8596e8320fb6 ChangeLog 1588
+MD5 ba48fef356fed667191773c3f3de287c ChangeLog 1706
MD5 043543f19cd858215284f52640cd15ce botan-1.4.4.ebuild 2392
MD5 9084ddfdf04eb085ef50f6834f3cc744 botan-1.4.6.ebuild 2299
+MD5 d834de2da4a478c4f9d25bff3f10b19b files/digest-botan-1.4.7 61
MD5 010820c4ff5b87a3b62ea84bee465eed files/digest-botan-1.4.4 61
MD5 2214700974b810ad0c871ae2110ff054 files/botan-1.4.4-gcc34.patch 479
MD5 cdec8ad496751d2c376b3ccca0d8045d files/digest-botan-1.4.6 61
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux)
-iD8DBQFC6rsvmdTrptrqvGERAv6IAJ44c7opjaznYlS9W3VKl/kbI3gYtACgkaDm
-X8yrA+2ASGVUWAxzyl829hg=
-=A98Q
+iD8DBQFDOkXcmdTrptrqvGERAvJrAJ9BozKEqY6rS4OBnbUGFU8m4yYtxwCfUipW
+iE31lqmxKFu3FlrTzDwVrLU=
+=Tfe4
-----END PGP SIGNATURE-----
diff --git a/dev-libs/botan/botan-1.4.7.ebuild b/dev-libs/botan/botan-1.4.7.ebuild
new file mode 100644
index 000000000000..6c4bee439e60
--- /dev/null
+++ b/dev-libs/botan/botan-1.4.7.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/botan-1.4.7.ebuild,v 1.1 2005/09/28 07:26:50 dragonheart Exp $
+
+# Comments/fixes to lloyd@randombit.net (author)
+
+DESCRIPTION="A C++ crypto library"
+HOMEPAGE="http://botan.randombit.net/"
+SRC_URI="http://botan.randombit.net/files/Botan-${PV}.tgz"
+
+KEYWORDS="~ppc ~sparc ~x86"
+SLOT="0"
+LICENSE="BSD"
+IUSE="bzip2 gmp ssl zlib qt"
+
+S="${WORKDIR}/Botan-${PV}"
+
+# FIXME: libstdc++ here?
+RDEPEND="virtual/libc
+ bzip2? ( >=app-arch/bzip2-1.0.1 )
+ zlib? ( >=sys-libs/zlib-1.1.4 )
+ gmp? ( >=dev-libs/gmp-4.1.2 )
+ ssl? ( >=dev-libs/openssl-0.9.7d )"
+
+# configure.pl requires DirHandle, Getopt::Long, File::Spec, and File::Copy;
+# all seem included in dev-lang/perl ATM.
+DEPEND="${RDEPEND}
+ dev-lang/perl"
+
+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,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
+ if useq qt; then modules="$modules,mux_qt"; 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
+
+ # should be enabled on mips64
+ if [ "${ARCH}" = 'alpha' -o "${ARCH}" = 'amd64' -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 --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"
+}
diff --git a/dev-libs/botan/files/digest-botan-1.4.7 b/dev-libs/botan/files/digest-botan-1.4.7
new file mode 100644
index 000000000000..06a4e703cf79
--- /dev/null
+++ b/dev-libs/botan/files/digest-botan-1.4.7
@@ -0,0 +1 @@
+MD5 353008e4568f3d181e15eb0d555d5480 Botan-1.4.7.tgz 1429539