summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2010-09-27 18:56:54 +0000
committerThomas Sachau <tommy@gentoo.org>2010-09-27 18:56:54 +0000
commit09cb0f81001f1104ddf3d29eb095a50e3f08e15b (patch)
tree6ee7d356c4dec9860748f254601e5121e09621c1 /dev-libs/libtomcrypt
parentAdded dev-php5/pecl-cairo-0.2.0 (diff)
downloadhistorical-09cb0f81001f1104ddf3d29eb095a50e3f08e15b.tar.gz
historical-09cb0f81001f1104ddf3d29eb095a50e3f08e15b.tar.bz2
historical-09cb0f81001f1104ddf3d29eb095a50e3f08e15b.zip
Revision bump for libtomcrypt, fixes a compile- and runtime-failure with net-p2p/fms
Package-Manager: portage-2.2_rc87-r1/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libtomcrypt')
-rw-r--r--dev-libs/libtomcrypt/ChangeLog9
-rw-r--r--dev-libs/libtomcrypt/Manifest15
-rw-r--r--dev-libs/libtomcrypt/libtomcrypt-1.17-r5.ebuild53
3 files changed, 75 insertions, 2 deletions
diff --git a/dev-libs/libtomcrypt/ChangeLog b/dev-libs/libtomcrypt/ChangeLog
index 7d39a151d928..3af0b0028894 100644
--- a/dev-libs/libtomcrypt/ChangeLog
+++ b/dev-libs/libtomcrypt/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/libtomcrypt
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtomcrypt/ChangeLog,v 1.41 2010/09/19 04:37:17 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtomcrypt/ChangeLog,v 1.42 2010/09/27 18:56:54 tommy Exp $
+
+*libtomcrypt-1.17-r5 (27 Sep 2010)
+
+ 27 Sep 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ +libtomcrypt-1.17-r5.ebuild:
+ Revision bump for libtomcrypt, fixes a compile- and runtime-failure with
+ net-p2p/fms
19 Sep 2010; Jeroen Roovers <jer@gentoo.org>
files/libtomcrypt-1.06-makefile.diff,
diff --git a/dev-libs/libtomcrypt/Manifest b/dev-libs/libtomcrypt/Manifest
index e6bb874230ea..bee10a22bf21 100644
--- a/dev-libs/libtomcrypt/Manifest
+++ b/dev-libs/libtomcrypt/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX libtomcrypt-1.06-makefile.diff 1159 RMD160 1f07f82e11ef9c1e5b8742350405db28989701d7 SHA1 7a2d168f495d531a58334ce03c80975a45160a5a SHA256 3a7049a4234713bfa7bac090ba454f8fe17dd8167053ff60e3facadab15a32ff
AUX libtomcrypt-1.06-makefile.shared.diff 855 RMD160 1c9531c30c5fb517c403edc3b2c4194275f676d8 SHA1 bad0353fb847bfae5abe84f5886cf0ddb799e5bd SHA256 d4d7996352313d6d12060777680f6ede0c94cb44cb7cda07a58d496c298a3d1f
AUX libtomcrypt-1.17-r2-libtool-tag-and-make-fix.patch 1693 RMD160 a030fc19f83a1619d0eaf24238cd5110a99c2e77 SHA1 b7d301c2c771da98ebce22df8471e515cfae2f45 SHA256 afc4a271888a83eb36dd9bb1ddbe4f14429c61457e2ab05d396b7af76aeca933
@@ -6,5 +9,15 @@ DIST crypt-1.17.tar.bz2 1599215 RMD160 742d72d82fea2e6a9865d8c682c10cbaba69ea2f
EBUILD libtomcrypt-1.06.ebuild 1275 RMD160 5e05000578590dee4551387570bbf2faf086efff SHA1 c7981bf0ccddcfdeeb94c6d5565f8c72b68df360 SHA256 ebb18cc33d38129b73148fad4b74acdb288a4fb2510254a80f44b965fde1bf7b
EBUILD libtomcrypt-1.17-r3.ebuild 1651 RMD160 e83eff5712998bc185f804485982dae76ab98a32 SHA1 3a212220373ceaa57b0234f52cffd1a464fe88da SHA256 8cdc4ff68d68111c237be60c857a641e87381762a181f0255beae8747b1a38ed
EBUILD libtomcrypt-1.17-r4.ebuild 1787 RMD160 672d953c8a22b2eb2428c7dd319402fcae979717 SHA1 5f4bae1c146565f2e5e90b3e78c4a86c1ab23e77 SHA256 3dc3e3b3d4909bedebccca9e7d628c75698303f9e5070c1be320ba317c3301d8
-MISC ChangeLog 5976 RMD160 542b43bc7455dfb0e5f1c46e03b2c36d9b5c2e83 SHA1 3f10de5e3e76b38f2e60fc309d4ba762c21adccc SHA256 3aaeac9bfaeba7fe1e9426854faabfbc2a628ddf5be2c56235ef825cea546bd2
+EBUILD libtomcrypt-1.17-r5.ebuild 1695 RMD160 9672e37f32210020d3a27dd3e2369c617cf7d821 SHA1 8afe9a746015a39b8349a9370d89510b103ef867 SHA256 f1455a5a06bbb1d94feccdd721d20b9fa10125f63aeae7150781b3ebe26325a0
+MISC ChangeLog 6194 RMD160 b4ce1d1486ebfd8542d42fa324532cf3fc54e3d2 SHA1 64cf396f5bd0efe2ea803854470febc2d5ee6e8c SHA256 a3d4816e1f6ef187e7acee86c61401f660d8c1a9a8f490fb8e882c441e7637a7
MISC metadata.xml 2659 RMD160 f68fa867efa32fd3888e5989d62bd2ac3e6d7b25 SHA1 cdb5da8685cdaa27d1164e5e030d23a458edb133 SHA256 db2b941ba2acbd6daaac6d8317696d5a50c26c807dc570b6aa2192041598ecdb
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iJwEAQECAAYFAkyg6QAACgkQG7kqcTWJkGd3FQP+KYJ6zaHCdtOQ6fyIPXE4QXCn
+GogZVkp8Owsk/R8lfzuG/j3SuYwahxOGrnobhKBfi4mqHgRQfG3USyMtFTrdwktf
+TghMoJB0RXklDWP+6RI2kmyb9d5JIDHntnqN+2MLh4nq1VEsmiaKD9lvbbrvQIyv
+B7iAF/MrCuo+njogbeM=
+=qXHk
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/libtomcrypt/libtomcrypt-1.17-r5.ebuild b/dev-libs/libtomcrypt/libtomcrypt-1.17-r5.ebuild
new file mode 100644
index 000000000000..5bf761371dbf
--- /dev/null
+++ b/dev-libs/libtomcrypt/libtomcrypt-1.17-r5.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtomcrypt/libtomcrypt-1.17-r5.ebuild,v 1.1 2010/09/27 18:56:54 tommy Exp $
+
+EAPI="2"
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="modular and portable cryptographic toolkit"
+HOMEPAGE="http://libtom.org/?page=features&whatfile=crypt"
+SRC_URI="http://libtom.org/files/crypt-${PV}.tar.bz2"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc libtommath tomsfastmath"
+
+RDEPEND="libtommath? ( dev-libs/libtommath )
+ tomsfastmath? ( >=dev-libs/tomsfastmath-0.12 )
+ !libtommath? ( !tomsfastmath? ( dev-libs/libtommath ) )"
+DEPEND="${RDEPEND}
+ doc? ( virtual/latex-base app-text/ghostscript-gpl )"
+
+src_prepare() {
+ use doc || sed -i '/^install:/s:docs::' makefile
+ epatch "${FILESDIR}"/libtomcrypt-1.17-r2-libtool-tag-and-make-fix.patch
+ sed -i \
+ -e "s:--mode=link gcc:--mode=link $(tc-getCC) ${LDFLAGS} --tag CC $(tc-getCC):g" \
+ -e "s: gcc: $(tc-getCC):g" \
+ {,testprof/}makefile.shared || die
+}
+
+src_compile() {
+ local extraflags=""
+ use libtommath && append-flags -DLTM_DESC && extraflags="-ltommath"
+ use tomsfastmath && append-flags -DTFM_DESC && extraflags="${extraflags} -ltfm"
+ EXTRALIBS="${extraflags}" \
+ CC=$(tc-getCC) \
+ IGNORE_SPEED=1 \
+ emake -f makefile.shared \
+ || die "emake failed"
+}
+
+src_install() {
+ emake -f makefile.shared DESTDIR="${D}" install ||\
+ die "emake install failed"
+ dodoc TODO changes || die "dodoc failed"
+ if use doc ; then
+ dodoc doc/* || die "dodoc failed"
+ docinto notes ; dodoc notes/* || die "dodoc failed"
+ docinto demos ; dodoc demos/* || die "dodoc failed"
+ fi
+}