diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-06-18 00:55:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-06-18 00:55:17 +0000 |
commit | 79476f1ee65b782997d5061d2fcbc94ea4f1a637 (patch) | |
tree | a1a677b9ae8b02dd9636c855e47cad63875e0dbb /app-crypt/gpg-agent | |
parent | arm/s390 love (diff) | |
download | gentoo-2-79476f1ee65b782997d5061d2fcbc94ea4f1a637.tar.gz gentoo-2-79476f1ee65b782997d5061d2fcbc94ea4f1a637.tar.bz2 gentoo-2-79476f1ee65b782997d5061d2fcbc94ea4f1a637.zip |
Version bump.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-crypt/gpg-agent')
-rw-r--r-- | app-crypt/gpg-agent/ChangeLog | 7 | ||||
-rw-r--r-- | app-crypt/gpg-agent/files/digest-gpg-agent-1.9.16 | 1 | ||||
-rw-r--r-- | app-crypt/gpg-agent/gpg-agent-1.9.16.ebuild | 83 |
3 files changed, 90 insertions, 1 deletions
diff --git a/app-crypt/gpg-agent/ChangeLog b/app-crypt/gpg-agent/ChangeLog index ef38ad9f3f3e..5488ae07d57b 100644 --- a/app-crypt/gpg-agent/ChangeLog +++ b/app-crypt/gpg-agent/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-crypt/gpg-agent # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpg-agent/ChangeLog,v 1.7 2005/03/14 18:29:29 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpg-agent/ChangeLog,v 1.8 2005/06/18 00:55:17 vapier Exp $ + +*gpg-agent-1.9.16 (18 Jun 2005) + + 18 Jun 2005; Mike Frysinger <vapier@gentoo.org> +gpg-agent-1.9.16.ebuild: + Version bump. 14 Mar 2005; Aron Griffis <agriffis@gentoo.org> gpg-agent-1.9.15.ebuild: Add ~alpha, ~ia64 diff --git a/app-crypt/gpg-agent/files/digest-gpg-agent-1.9.16 b/app-crypt/gpg-agent/files/digest-gpg-agent-1.9.16 new file mode 100644 index 000000000000..f4bdad3e3554 --- /dev/null +++ b/app-crypt/gpg-agent/files/digest-gpg-agent-1.9.16 @@ -0,0 +1 @@ +MD5 1282755dce9cf4a84e904ca0191017a3 gnupg-1.9.16.tar.bz2 1707356 diff --git a/app-crypt/gpg-agent/gpg-agent-1.9.16.ebuild b/app-crypt/gpg-agent/gpg-agent-1.9.16.ebuild new file mode 100644 index 000000000000..b05b14a56584 --- /dev/null +++ b/app-crypt/gpg-agent/gpg-agent-1.9.16.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpg-agent/gpg-agent-1.9.16.ebuild,v 1.1 2005/06/18 00:55:17 vapier Exp $ + +inherit eutils flag-o-matic + +# gpg-agent is took from gnupg package. +GPG_P=gnupg-${PV} +S=${WORKDIR}/${GPG_P} + +DESCRIPTION="The GNU Privacy Guard Agent" +HOMEPAGE="http://www.gnupg.org/" +SRC_URI="ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/${GPG_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +# KEYWORDS missing due to below packages +# ~mips ~s390 ~arm - libksba libpth bug #79171 +# ~mips missing until libassuan gets the keywords bug #76381 + +IUSE="nls caps threads" + +RDEPEND="app-crypt/gnupg + nls? ( sys-devel/gettext ) + >=dev-libs/libassuan-0.6.9 + caps? ( sys-libs/libcap ) + >=dev-libs/libgpg-error-1.0 + >=dev-libs/libgcrypt-1.1.94 + >=dev-libs/libksba-0.9.7 + smartcard? ( >=dev-libs/opensc-0.8.0 ) + threads? ( >=dev-libs/pth-1.3.7 )" +DEPEND="${RDEPEND} + dev-lang/perl" + +src_unpack() { + unpack ${A} + cd "${S}" + # We install +s only if USE=-caps + use caps && return 0 + sed -i \ + -e '/^gpg_agent_LDADD/s:=:=-Wl,-z,now:' \ + agent/Makefile.in || die "sed -z now" +} + +src_compile() { + econf \ + --enable-agent-only \ + $(use_with caps capabilities) \ + $(use_enable threads) \ + || die + emake || die +} + +src_test() { + ewarn "self test is broken" +} + +src_install() { + make DESTDIR="${D}" install || die + + # keep the documentation in /usr/share/doc/... + rm -f "${D}"/usr/share/gnupg/FAQ "${D}"/usr/share/gnupg/faq.html + dodoc README + + if ! use caps ; then + fperms u+s,go-r /usr/bin/gpg-agent + fi +} + +pkg_postinst() { + ewarn "** WARNING ** WARNING ** WARNING ** WARNING ** WARNING ** WARNING **" + ewarn " THIS IS _ALPHA_ CODE, IT MAY NOT WORK CORRECTLY OR AT ALL. THERE" + ewarn " MAY BE UNDISCOVERED SECURITY OR DATA-LOSS ISSUES, DO NOT USE " + ewarn " IN A PRODUCTION ENVIRONMENT." + + if ! use caps; then + einfo "gpg is installed suid root to make use of protected memory space" + einfo "This is needed in order to have a secure place to store your" + einfo "passphrases, etc. at runtime but may make some sysadmins nervous." + fi + echo +} |