# ChangeLog for dev-libs/libgcrypt
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.81 2006/12/28 11:32:04 grobian Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.82 2007/01/04 19:36:43 alonbl Exp $
+
+*libgcrypt-1.2.3-r1 (04 Jan 2007)
+
+ 04 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org> +libgcrypt-1.2.3-r1.ebuild:
+ Add idea algirithm patch, modified version of
+ http://www.kfwebs.net/articles/article/42/GnuPG-2.0---IDEA-support,
+ bug#159870
28 Dec 2006; Fabian Groffen <grobian@gentoo.org> libgcrypt-1.2.0.ebuild,
libgcrypt-1.2.1.ebuild, libgcrypt-1.2.1-r1.ebuild, libgcrypt-1.2.2.ebuild,
DIST libgcrypt-1.2.1-patches.tar.gz 2631 RMD160 314b601285d48bd57b89dca1e20779256c7ed3e4 SHA1 ff62eb54490e41d40d3d4683359954ce1cb8b5d6 SHA256 f1900ed55883dc8619fd4e5eabe16cb463873884683bbeb9c9a6d9dc53a18ed6
DIST libgcrypt-1.2.1.tar.gz 960872 RMD160 c99e5d36a8af2e78d49b61681635997960e50360 SHA1 8627d483e26e73b4cfabb4807ae8423875c37cda SHA256 bc7df42e61aadd212e82853795e22d5518e93af79ec8a9ddee4bf44c4e7e0b5f
DIST libgcrypt-1.2.2.tar.gz 959875 RMD160 381bc5f9be84f353d82b665e69d4d202f4552aae SHA1 fdf3638c0de619343c5f2291a3e8b9fe610425ce SHA256 d4423a582510a1e3f47af9995337b590b9c480248821116b5397bc0652aeb52e
+DIST libgcrypt-1.2.3-idea.diff.bz2 2917 RMD160 33ebc7c13cecb58e6260f08fe227e88bd9d65eb7 SHA1 caf633a95a2c109b24bcce5fff98f13b25358523 SHA256 7010751217c4c42e0fd58ea6bb386b28a979287108068b17ca383d41eb70d498
DIST libgcrypt-1.2.3.tar.gz 985735 RMD160 6e6290ec4bb89e19ac312e76d0f0a12856bfe3bc SHA1 9680c8b3ffa20a82c32aa0d8947202c74c82f6eb SHA256 2b384172b54074aef4ec23b3fcc8292c86c7c4fb0efb943e7dea9d886a1d4846
EBUILD libgcrypt-1.1.12.ebuild 1123 RMD160 158389dbe0d4ba6cacee0a380e35ebd8d3974420 SHA1 8dd76fdc09f4d64f53fade99e9974233719bb361 SHA256 287c7f31433e188227d679dbcf9981d43565644fd4e277bf1bdd5c0f05281147
MD5 e04ce4b3ccafdf1cdc3e2069a75ac11c libgcrypt-1.1.12.ebuild 1123
MD5 8aec8a75710c7648847d3ad432dbcab1 libgcrypt-1.2.2.ebuild 1199
RMD160 b762d64849a29046da8b40536affd2f589f785e5 libgcrypt-1.2.2.ebuild 1199
SHA256 da730dd74a519c248f1bc9d67a8447fe7396a8dac4b0316bc6f3174baa6e92f6 libgcrypt-1.2.2.ebuild 1199
+EBUILD libgcrypt-1.2.3-r1.ebuild 2584 RMD160 fddd01560ac150635c1110119afc2c7dc34cd76e SHA1 043a96c1c4429e23f1ddaf6b6d0164fb36008823 SHA256 dc05ede9a3d07462aa9476f49ca836bd5217b0e242332168ff3265e2c4fef9f9
+MD5 91bf96b725239d9ed1b4c5511f571618 libgcrypt-1.2.3-r1.ebuild 2584
+RMD160 fddd01560ac150635c1110119afc2c7dc34cd76e libgcrypt-1.2.3-r1.ebuild 2584
+SHA256 dc05ede9a3d07462aa9476f49ca836bd5217b0e242332168ff3265e2c4fef9f9 libgcrypt-1.2.3-r1.ebuild 2584
EBUILD libgcrypt-1.2.3.ebuild 1326 RMD160 33c2a487a2b18d12c8b8c94be138de1305b2d269 SHA1 84871df6178df63ec245ed9d6c40d854fa641648 SHA256 1ba1fde24ab8b62cbff98488c95485db49ab430957cbcb110a3e1e968c9a9fe1
MD5 90f0cc623dc93094d88f73683f5ac19a libgcrypt-1.2.3.ebuild 1326
RMD160 33c2a487a2b18d12c8b8c94be138de1305b2d269 libgcrypt-1.2.3.ebuild 1326
SHA256 1ba1fde24ab8b62cbff98488c95485db49ab430957cbcb110a3e1e968c9a9fe1 libgcrypt-1.2.3.ebuild 1326
-MISC ChangeLog 12054 RMD160 699a9decde8581e2771021e8f7625fb58e453197 SHA1 aa04e63812b69a6866b74cd031d5a067a5a520b7 SHA256 24cf5e04402d46d502f15c663dfff7764ee3a2c8fffd866c2373f8dba23c28aa
-MD5 ed10f6572ab88f255014e6d6e7308585 ChangeLog 12054
-RMD160 699a9decde8581e2771021e8f7625fb58e453197 ChangeLog 12054
-SHA256 24cf5e04402d46d502f15c663dfff7764ee3a2c8fffd866c2373f8dba23c28aa ChangeLog 12054
+MISC ChangeLog 12296 RMD160 605fd65fc839cc6287fec593fe623dddc89c591b SHA1 5ff1c25cd3bd79dfd35e5c3b79fd2733f8860062 SHA256 38300c53fdc831f72b7c1db1ea716f424362df7f5630eab28bb92445a6c294ea
+MD5 b367feb595f8157a9e1d45e551522b81 ChangeLog 12296
+RMD160 605fd65fc839cc6287fec593fe623dddc89c591b ChangeLog 12296
+SHA256 38300c53fdc831f72b7c1db1ea716f424362df7f5630eab28bb92445a6c294ea ChangeLog 12296
MISC metadata.xml 276 RMD160 99eb13264f3656e33d5cbc95ed9319ba50a1e58c SHA1 1f70a3ead5de1eb0d62a59c084b3a06147256e2f SHA256 abd952a77edadf769a821e7210a01f38850cada9a7677a1561f6aa0ce954f480
MD5 918a1b851dd53568897b4fc7c503912e metadata.xml 276
RMD160 99eb13264f3656e33d5cbc95ed9319ba50a1e58c metadata.xml 276
MD5 f2fe75e39398b519f39644db69a297c3 files/digest-libgcrypt-1.2.3 512
RMD160 5753bc8bf7a0fb18951b88f7d078c6fd1858ad80 files/digest-libgcrypt-1.2.3 512
SHA256 2ffaf4f6a87453e19ea7be2fbcc1dce1203142e0dbd6e4a63430884fd4a71ac3 files/digest-libgcrypt-1.2.3 512
+MD5 24c88cac7df1bafc1e7dd59248dd240d files/digest-libgcrypt-1.2.3-r1 774
+RMD160 e09ca3aa0684d5dbc68da0f10a94b1bc9b16cc7c files/digest-libgcrypt-1.2.3-r1 774
+SHA256 63d16142dabeb19145a5c83601df63068e963b6ed28e65e8aade4d2f232daf4d files/digest-libgcrypt-1.2.3-r1 774
--- /dev/null
+MD5 5cf59068f593221bf94dc962630bd84d libgcrypt-1.2.1-patches.tar.gz 2631
+RMD160 314b601285d48bd57b89dca1e20779256c7ed3e4 libgcrypt-1.2.1-patches.tar.gz 2631
+SHA256 f1900ed55883dc8619fd4e5eabe16cb463873884683bbeb9c9a6d9dc53a18ed6 libgcrypt-1.2.1-patches.tar.gz 2631
+MD5 06635a645f187ed233f28b5bc4c5a442 libgcrypt-1.2.3-idea.diff.bz2 2917
+RMD160 33ebc7c13cecb58e6260f08fe227e88bd9d65eb7 libgcrypt-1.2.3-idea.diff.bz2 2917
+SHA256 7010751217c4c42e0fd58ea6bb386b28a979287108068b17ca383d41eb70d498 libgcrypt-1.2.3-idea.diff.bz2 2917
+MD5 64304da2d9e21239246c66f1d449b2c6 libgcrypt-1.2.3.tar.gz 985735
+RMD160 6e6290ec4bb89e19ac312e76d0f0a12856bfe3bc libgcrypt-1.2.3.tar.gz 985735
+SHA256 2b384172b54074aef4ec23b3fcc8292c86c7c4fb0efb943e7dea9d886a1d4846 libgcrypt-1.2.3.tar.gz 985735
--- /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/libgcrypt/libgcrypt-1.2.3-r1.ebuild,v 1.1 2007/01/04 19:36:43 alonbl Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="general purpose crypto library based on the code used in GnuPG"
+HOMEPAGE="http://www.gnupg.org/"
+SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.gz
+ mirror://gentoo/${PN}-1.2.1-patches.tar.gz
+ !bindist? ( idea? mirror://gentoo/${P}-idea.diff.bz2 )"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="nls bindist idea"
+
+RDEPEND="nls? ( virtual/libintl )
+ dev-libs/libgpg-error"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ epunt_cxx
+
+ # fix for miss detection of 32 bit ppc
+ cd "${S}"
+ epatch "${WORKDIR}"/${PN}-1.2.1-ppc64-fix.patch
+
+ if use idea; then
+ if use bindist; then
+ einfo "Skipping IDEA support to comply with binary distribution (bug #148907)."
+ else
+ ewarn "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html"
+ epatch "${WORKDIR}/${P}-idea.diff"
+ fi
+ fi
+
+ eautoreconf
+}
+
+src_compile() {
+ local myconf
+
+ use ppc64 && myconf="${myconf} --disable-asm"
+
+ econf $(use_enable nls) --disable-dependency-tracking --with-pic \
+ --enable-noexecstack ${myconf} || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc AUTHORS BUGS ChangeLog NEWS README* THANKS TODO VERSION
+
+ # backwards compat symlinks
+ dosym libgcrypt.so.11 /usr/lib/libgcrypt.so.7
+}
+
+pkg_postinst() {
+ if use !bindist && use idea; then
+ einfo "-----------------------------------------------------------------------------------"
+ einfo "IDEA"
+ ewarn "you have compiled ${PN} with support for the IDEA algorithm, this code"
+ ewarn "is distributed under the GPL in countries where it is permitted to do so"
+ ewarn "by law."
+ einfo
+ einfo "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html for more information."
+ einfo
+ ewarn "If you are in a country where the IDEA algorithm is patented, you are permitted"
+ ewarn "to use it at no cost for 'non revenue generating data transfer between private"
+ ewarn "individuals'."
+ einfo
+ einfo "Countries where the patent applies are listed here"
+ einfo "http://www.mediacrypt.com/_contents/10_idea/101030_ea_pi.asp"
+ einfo
+ einfo "Further information and other licenses are availble from http://www.mediacrypt.com/"
+ einfo "-----------------------------------------------------------------------------------"
+ fi
+}