summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-12-13 21:10:44 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-12-13 21:10:44 +0000
commit522a64c315bf3a3665430b68b9f49e474759b8c8 (patch)
tree1bf1d8a4463ed4baffe8a5f0f917ec03f681f23b /app-crypt
parentFix to enable bogus ssl (diff)
downloadgentoo-2-522a64c315bf3a3665430b68b9f49e474759b8c8.tar.gz
gentoo-2-522a64c315bf3a3665430b68b9f49e474759b8c8.tar.bz2
gentoo-2-522a64c315bf3a3665430b68b9f49e474759b8c8.zip
resurrect gpgme-0.3.14-r1.ebuild which is still used
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/gpgme/ChangeLog6
-rw-r--r--app-crypt/gpgme/files/digest-gpgme-0.3.14-r13
-rw-r--r--app-crypt/gpgme/files/gpgme3.m4.patch11
-rw-r--r--app-crypt/gpgme/gpgme-0.3.14-r1.ebuild97
4 files changed, 116 insertions, 1 deletions
diff --git a/app-crypt/gpgme/ChangeLog b/app-crypt/gpgme/ChangeLog
index 2f96f11592b4..b78d6f137a8b 100644
--- a/app-crypt/gpgme/ChangeLog
+++ b/app-crypt/gpgme/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-crypt/gpgme
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpgme/ChangeLog,v 1.125 2007/12/13 17:38:54 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpgme/ChangeLog,v 1.126 2007/12/13 21:10:44 mr_bones_ Exp $
+
+ 13 Dec 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/gpgme3.m4.patch, +gpgme-0.3.14-r1.ebuild:
+ resurrect gpgme-0.3.14-r1.ebuild which is still used
13 Dec 2007; Alon Bar-Lev <alonbl@gentoo.org>
-files/gpgme-1.1.0-pth-test.patch, -files/gpgme3.m4.patch,
diff --git a/app-crypt/gpgme/files/digest-gpgme-0.3.14-r1 b/app-crypt/gpgme/files/digest-gpgme-0.3.14-r1
new file mode 100644
index 000000000000..a217af2d9d97
--- /dev/null
+++ b/app-crypt/gpgme/files/digest-gpgme-0.3.14-r1
@@ -0,0 +1,3 @@
+MD5 b5351e212aa10336e5d88ebf4babccf7 gpgme-0.3.14.tar.gz 655474
+RMD160 96d1db35441611d0ddc3e2e8824e2b1d673b9837 gpgme-0.3.14.tar.gz 655474
+SHA256 4e822b5bb4f8d3269ab9d205e714ed9463b951c77e8ac0ffc0cf8ba7667bdc88 gpgme-0.3.14.tar.gz 655474
diff --git a/app-crypt/gpgme/files/gpgme3.m4.patch b/app-crypt/gpgme/files/gpgme3.m4.patch
new file mode 100644
index 000000000000..029142433d9a
--- /dev/null
+++ b/app-crypt/gpgme/files/gpgme3.m4.patch
@@ -0,0 +1,11 @@
+--- /usr/share/aclocal/gpgme3.m4 2005-01-18 21:11:24.000000000 -0600
++++ gpgme/gpgme.m4 2005-05-10 13:35:51.000000000 -0500
+@@ -6,7 +6,7 @@
+ dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
+ dnl Test for libgpgme and define GPGME_CFLAGS and GPGME_LIBS
+ dnl
+-AC_DEFUN(AM_PATH_GPGME,
++AC_DEFUN([AM_PATH_GPGME],
+ [ AC_ARG_WITH(gpgme-prefix,
+ AC_HELP_STRING([--with-gpgme-prefix=PFX],
+ [prefix where GPGME is installed (optional)]),
diff --git a/app-crypt/gpgme/gpgme-0.3.14-r1.ebuild b/app-crypt/gpgme/gpgme-0.3.14-r1.ebuild
new file mode 100644
index 000000000000..ea84d8955dec
--- /dev/null
+++ b/app-crypt/gpgme/gpgme-0.3.14-r1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpgme/gpgme-0.3.14-r1.ebuild,v 1.24 2007/12/13 21:10:44 mr_bones_ Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications."
+HOMEPAGE="http://www.gnupg.org/gpgme.html"
+SRC_URI="mirror://gnupg/gpgme/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0.3"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
+IUSE="doc"
+# smime once post gnupg-1.9+ gets unmasked
+
+DEPEND=">=sys-libs/zlib-1.1.3
+ sys-apps/gawk
+ sys-devel/libtool
+ sys-devel/gcc
+ sys-devel/autoconf
+ =sys-devel/automake-1.6*
+ >=sys-apps/sed-4
+ >=app-crypt/gnupg-1.2.0"
+
+#For gnupg-1.9+ gets unmasked
+# !smime? ( >=app-crypt/gnupg-1.2.5 )
+# smime? ( >=app-crypt/gnupg-1.9.10 )
+
+RDEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/gpgme3.m4.patch
+ find . -name Makefile -o -name Makefile.in -exec rm {} \;
+ rm doc/gpgme.info-?
+
+ sed -i -e 's:libgpgme:libgpgme3:g' \
+ `find . -name Makefile.am` doc/gpgme.info
+
+ sed -i -e 's:gpgme-config:gpgme3-config:g' \
+ configure.ac gpgme/Makefile.am doc/gpgme.texi \
+ gpgme/gpgme-config.in
+
+ sed -i -e 's:gpgme\.info:gpgme3.info:g' \
+ -e 's:gpgme\.texi:gpgme3\.texi:g' \
+ doc/Makefile.am doc/gpgme.info
+
+ sed -i -e 's:-lgpgme:-lgpgme3:g' \
+ gpgme/gpgme-config.in \
+ doc/gpgme.texi configure.ac
+
+ sed -i -e 's:gpgme\.m4:gpgme3.m4:g' \
+ gpgme/Makefile.am configure.ac doc/gpgme.texi \
+ gpgme/mkerrors \
+ `find . -name \*.c -o -name \*.h`
+
+ sed -i -e 's:gpgme\.info:gpgme3.info:' doc/gpgme.texi
+
+ mv doc/gpgme{,3}.texi
+ mv gpgme/gpgme{,3}-config.in
+ mv gpgme/gpgme{,3}.m4
+ # mv gpgme/gpgme{,3}.h
+ export WANT_AUTOMAKE="1.6"
+ eautoreconf
+}
+
+src_compile() {
+ local myconf
+
+ use doc \
+ && myconf="${myconf} --enable-maintainer-mode"
+
+ if [ -x ""/usr/bin/gpg2 ]; then
+ myconf="${myconf} --with-gpg=/usr/bin/gpg2"
+ else
+ myconf="${myconf} --with-gpg=/usr/bin/gpg"
+ fi
+
+ # For gnugpg-1.9+
+ # $(use_with smime gpgsm /usr/bin/gpgsm)
+ #
+
+ econf \
+ --enable-gpgmeplug \
+ --includedir=/usr/include/gpgme3 \
+ ${myconf} \
+ || die "econf failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog INSTALL NEWS README README-alpha THANKS TODO VERSION
+}