diff options
-rw-r--r-- | app-crypt/gpa/ChangeLog | 8 | ||||
-rw-r--r-- | app-crypt/gpa/files/digest-gpa-0.7.6 | 3 | ||||
-rw-r--r-- | app-crypt/gpa/files/gpa-0.7.6-qa.patch | 12 | ||||
-rw-r--r-- | app-crypt/gpa/gpa-0.7.6.ebuild | 49 |
4 files changed, 71 insertions, 1 deletions
diff --git a/app-crypt/gpa/ChangeLog b/app-crypt/gpa/ChangeLog index 694c9d7d5b69..340b1a895727 100644 --- a/app-crypt/gpa/ChangeLog +++ b/app-crypt/gpa/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-crypt/gpa # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpa/ChangeLog,v 1.46 2007/06/07 18:20:33 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpa/ChangeLog,v 1.47 2007/11/10 12:00:25 alonbl Exp $ + +*gpa-0.7.6 (10 Nov 2007) + + 10 Nov 2007; Alon Bar-Lev <alonbl@gentoo.org> +files/gpa-0.7.6-qa.patch, + +gpa-0.7.6.ebuild: + Version bump 07 Jun 2007; Alon Bar-Lev <alonbl@gentoo.org> -gpa-0.7.0-r2.ebuild: Cleanup diff --git a/app-crypt/gpa/files/digest-gpa-0.7.6 b/app-crypt/gpa/files/digest-gpa-0.7.6 new file mode 100644 index 000000000000..9e53be67831a --- /dev/null +++ b/app-crypt/gpa/files/digest-gpa-0.7.6 @@ -0,0 +1,3 @@ +MD5 8ee26d7fe829e81eb8bce2d974a7c500 gpa-0.7.6.tar.bz2 607469 +RMD160 cb1fae8d5f667968997cd8ad3bc5df025e7343e7 gpa-0.7.6.tar.bz2 607469 +SHA256 abba59525a2a216df89a5ac4f9d9d564bd137f4c07e772636dec0046a0344e1c gpa-0.7.6.tar.bz2 607469 diff --git a/app-crypt/gpa/files/gpa-0.7.6-qa.patch b/app-crypt/gpa/files/gpa-0.7.6-qa.patch new file mode 100644 index 000000000000..97d3eac4bff5 --- /dev/null +++ b/app-crypt/gpa/files/gpa-0.7.6-qa.patch @@ -0,0 +1,12 @@ +diff -urNp gpa-0.7.6.org/src/gpa.c gpa-0.7.6/src/gpa.c +--- gpa-0.7.6.org/src/gpa.c 2006-03-09 14:32:08.000000000 +0200 ++++ gpa-0.7.6/src/gpa.c 2007-11-10 13:57:14.000000000 +0200 +@@ -157,6 +157,8 @@ w32_shgetfolderpath (HWND a, int b, HAND + else + return -1; + } ++#else ++#include <sys/stat.h> + #endif + + diff --git a/app-crypt/gpa/gpa-0.7.6.ebuild b/app-crypt/gpa/gpa-0.7.6.ebuild new file mode 100644 index 000000000000..0778a9a61e0f --- /dev/null +++ b/app-crypt/gpa/gpa-0.7.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpa/gpa-0.7.6.ebuild,v 1.1 2007/11/10 12:00:25 alonbl Exp $ + +inherit eutils multilib + +DESCRIPTION="Standard GUI for GnuPG" +HOMEPAGE="http://gpa.wald.intevation.org" +STUPID_NUM="350" +SRC_URI="http://wald.intevation.org/frs/download.php/${STUPID_NUM}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="nls" + +DEPEND=">=x11-libs/gtk+-2.2 + >=app-crypt/gnupg-1.2 + >=app-crypt/gpgme-1.1.1 + >=dev-util/pkgconfig-0.7 + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-qa.patch" +} + +src_compile() { + local myconf= + + # By default gnupg puts gpgkeys_hkp in /usr/libexec/gnupg, so + # check if it is in uncommon /usr/lib/gnupg, and change libexecdir + # if so. If we do not do this, hkp server types is not usable, + # as gpa cannot find gpgkeys_hkp ... + [ -f /usr/lib/gnupg/gpgkeys_hkp ] && myconf="--libexecdir=/usr/$(get_libdir)" + + econf \ + --with-gpgme-prefix=/usr \ + $(use_enable nls) \ + ${myconf} \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog README NEWS TODO +} |