# ChangeLog for app-crypt/gnupg
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.261 2006/12/09 16:57:59 alonbl Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.262 2007/01/03 06:44:00 alonbl Exp $
+
+*gnupg-2.0.1-r2 (03 Jan 2007)
+
+ 03 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org> +gnupg-2.0.1-r2.ebuild:
+ Remove caps as requested by robbat2
*gnupg-2.0.1-r1 (09 Dec 2006)
MD5 909344ea1c8f804865fde67d5f16e116 gnupg-2.0.1-r1.ebuild 2192
RMD160 f8dbe4b96e31e6b4f58563b1c501694852d94637 gnupg-2.0.1-r1.ebuild 2192
SHA256 a5332e970ac7a77daa158745eab75da14896d8f14568783cfd6374d1c7b37ccc gnupg-2.0.1-r1.ebuild 2192
+EBUILD gnupg-2.0.1-r2.ebuild 2180 RMD160 80f37761ad90f44efa36f9d65dcf0a8c6b6e2d69 SHA1 9d868d13e6546ab348b537e78603b590a2a24245 SHA256 d2b6e00ca3247f1834c2edaa9df871492094a59dd08015f1231e6a123d565dc0
+MD5 38dd645f834f6eb05e3d846aebfcef19 gnupg-2.0.1-r2.ebuild 2180
+RMD160 80f37761ad90f44efa36f9d65dcf0a8c6b6e2d69 gnupg-2.0.1-r2.ebuild 2180
+SHA256 d2b6e00ca3247f1834c2edaa9df871492094a59dd08015f1231e6a123d565dc0 gnupg-2.0.1-r2.ebuild 2180
EBUILD gnupg-2.0.1.ebuild 2375 RMD160 2f009d186055c4cb251e38bf6e6ba951d0cec430 SHA1 3d70b6b82aaaccc88761a013cf7b07165cfec90b SHA256 5fec10fd56e0bb8e4266ab91e2482f0983f51e4e96afcae7214463ca8002ab4d
MD5 dffdf508c7bae61f4f4beaa72223a8d4 gnupg-2.0.1.ebuild 2375
RMD160 2f009d186055c4cb251e38bf6e6ba951d0cec430 gnupg-2.0.1.ebuild 2375
SHA256 5fec10fd56e0bb8e4266ab91e2482f0983f51e4e96afcae7214463ca8002ab4d gnupg-2.0.1.ebuild 2375
-MISC ChangeLog 40638 RMD160 ccc5b26fe43e91985ed6e2c7ee7a15773a40ce4e SHA1 1e17fb4f11a01887551ed4e4fc975c5ef7ef5253 SHA256 f5e810eec409aef6f773991786a725c0ee2b3c45a61afb9e58189606126b8b55
-MD5 bbdbc2054abe62f3f8c5a8b639ddf6c4 ChangeLog 40638
-RMD160 ccc5b26fe43e91985ed6e2c7ee7a15773a40ce4e ChangeLog 40638
-SHA256 f5e810eec409aef6f773991786a725c0ee2b3c45a61afb9e58189606126b8b55 ChangeLog 40638
+MISC ChangeLog 40780 RMD160 eb36d25686492c50f866c65a3a0ceb3f79d5d442 SHA1 ece63c189018497742baab4674a15240fbdfc40e SHA256 6a8c7992325dcb753293b65041bdb6b1994de3a98b41d84a4ebb816e4ff11059
+MD5 7203ab35c10f0ef0403d43e657b15137 ChangeLog 40780
+RMD160 eb36d25686492c50f866c65a3a0ceb3f79d5d442 ChangeLog 40780
+SHA256 6a8c7992325dcb753293b65041bdb6b1994de3a98b41d84a4ebb816e4ff11059 ChangeLog 40780
MISC metadata.xml 481 RMD160 d5c4e2fc7b94966795cc4c039d850302d8552448 SHA1 13cb529b83ba9feaad91f1d033d6c33d1eafbd25 SHA256 d88eadc2c75a18f57dcd38f20aa72ee7c79504f62bcab3f7dea60651ccd4b672
MD5 b507ee36c7487372de42cc9dab034370 metadata.xml 481
RMD160 d5c4e2fc7b94966795cc4c039d850302d8552448 metadata.xml 481
MD5 973de8c9666fa149d0e9ea04d8490f2d files/digest-gnupg-2.0.1-r1 241
RMD160 24b2ba2a4d33e0f2b910169e8b093caca64d1256 files/digest-gnupg-2.0.1-r1 241
SHA256 bd68ceadd1c0dcb85124b859d63408bcf8f9676d4b95ba345e5f41550614ec53 files/digest-gnupg-2.0.1-r1 241
+MD5 973de8c9666fa149d0e9ea04d8490f2d files/digest-gnupg-2.0.1-r2 241
+RMD160 24b2ba2a4d33e0f2b910169e8b093caca64d1256 files/digest-gnupg-2.0.1-r2 241
+SHA256 bd68ceadd1c0dcb85124b859d63408bcf8f9676d4b95ba345e5f41550614ec53 files/digest-gnupg-2.0.1-r2 241
--- /dev/null
+MD5 eb24e258db73f4cb53a3ce18375efa21 gnupg-2.0.1.tar.bz2 3923924
+RMD160 3b9252b9b8b1ff5c242a3e541adc0a9700e55df1 gnupg-2.0.1.tar.bz2 3923924
+SHA256 49949762a4e080379dcca23948442d50488f0d74e04bcba87fc49e19a899b01d gnupg-2.0.1.tar.bz2 3923924
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-2.0.1-r2.ebuild,v 1.1 2007/01/03 06:44:00 alonbl Exp $
+
+WANT_AUTOMAKE='latest'
+
+inherit eutils flag-o-matic autotools
+
+DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
+HOMEPAGE="http://www.gnupg.org/"
+SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="bzip2 X doc ldap nls openct pcsc-lite smartcard selinux"
+
+COMMON_DEPEND="
+ virtual/libc
+ >=dev-libs/pth-1.3.7
+ >=dev-libs/libgcrypt-1.2.0
+ >=dev-libs/libksba-1.0.0
+ >=dev-libs/libgpg-error-1.4
+ >=dev-libs/libassuan-1.0.1
+ bzip2? ( app-arch/bzip2 )
+ pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )
+ openct? ( >=dev-libs/openct-0.5.0 )
+ ldap? ( net-nds/openldap )"
+# Needs sh and arm to be keyworded on pinentry
+# X? ( app-crypt/pinentry )
+
+DEPEND="${COMMON_DEPEND}
+ nls? ( sys-devel/gettext )
+ doc? ( sys-apps/texinfo )"
+
+RDEPEND="${COMMON_DEPEND}
+ !app-crypt/gpg-agent
+ !<=app-crypt/gnupg-2.0.1
+ X? ( || ( media-gfx/xloadimage media-gfx/xli ) )
+ virtual/mta
+ selinux? ( sec-policy/selinux-gnupg )
+ nls? ( virtual/libintl )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ AT_M4DIR="m4 gl/m4" eautoreconf
+}
+
+src_compile() {
+ local myconf=""
+
+ if use X; then
+ local viewer
+ if has_version 'media-gfx/xloadimage'; then
+ viewer=/usr/bin/xloadimage
+ else
+ viewer=/usr/bin/xli
+ fi
+ myconf="${myconf} --with-photo-viewer=${viewer}"
+ else
+ myconf="${myconf} --disable-photo-viewers"
+ fi
+
+ append-ldflags $(bindnow-flags)
+
+ econf \
+ --enable-symcryptrun \
+ --enable-gpg \
+ --enable-gpgsm \
+ --enable-agent \
+ $(use_enable bzip2) \
+ $(use_enable smartcard scdaemon) \
+ $(use_enable nls) \
+ $(use_enable ldap) \
+ --disable-capabilities \
+ ${myconf} \
+ || die
+ emake || die
+ if use doc; then
+ cd doc
+ emake html || die
+ fi
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc ChangeLog NEWS README THANKS TODO VERSION
+
+ dosym gpg2 /usr/bin/gpg
+ dosym gpgv2 /usr/bin/gpgv
+
+ use doc && dohtml doc/gnupg.html/* doc/*jpg doc/*png
+}
+