summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/pinentry')
-rw-r--r--app-crypt/pinentry/ChangeLog9
-rw-r--r--app-crypt/pinentry/Manifest9
-rw-r--r--app-crypt/pinentry/files/digest-pinentry-0.7.1-r11
-rw-r--r--app-crypt/pinentry/files/qt-compile-fix.diff11
-rw-r--r--app-crypt/pinentry/pinentry-0.7.1-r1.ebuild55
5 files changed, 81 insertions, 4 deletions
diff --git a/app-crypt/pinentry/ChangeLog b/app-crypt/pinentry/ChangeLog
index b2e9d4617304..def5eb0dcd37 100644
--- a/app-crypt/pinentry/ChangeLog
+++ b/app-crypt/pinentry/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-crypt/pinentry
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.11 2004/06/06 23:42:31 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.12 2004/06/21 00:01:38 kloeri Exp $
+
+*pinentry-0.7.1-r1 (21 Jun 2004)
+
+ 21 Jun 2004; Bryan Østergaard <kloeri@gentoo.org>
+ +files/qt-compile-fix.diff, +pinentry-0.7.1-r1.ebuild:
+ Add qt compile fix submitted by Sebastian Trueg
+ <trueg@informatik.uni-freiburg.de> in bug #54225. Also use emake and einstall.
07 Jun 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
pinentry-0.7.0.ebuild, pinentry-0.7.1.ebuild:
diff --git a/app-crypt/pinentry/Manifest b/app-crypt/pinentry/Manifest
index 9e8ba72eff60..86d5c36e65d4 100644
--- a/app-crypt/pinentry/Manifest
+++ b/app-crypt/pinentry/Manifest
@@ -1,8 +1,11 @@
-MD5 53274d152c5850181b9b725a1e848c4d ChangeLog 1835
+MD5 9e0190429c7df4a0c6f677aa7e42b2ef pinentry-0.7.1.ebuild 1558
+MD5 207109a67ebe6387e94ca8190871a4b3 pinentry-0.7.1-r1.ebuild 1628
MD5 469b38a0f212b6052ecc1841888c6dce pinentry-0.6.9.ebuild 1509
MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310
-MD5 ca857f9cf28a9df9e9acf01f78b308b3 pinentry-0.7.0.ebuild 1550
-MD5 f2b2af39564b5c25560153cca9ba7790 pinentry-0.7.1.ebuild 1557
+MD5 b807cea6720dadb92711bbaa6193e7ca pinentry-0.7.0.ebuild 1551
+MD5 3e189a2889961c5fc35a1af14eeaec47 ChangeLog 1836
MD5 e04ffe05e9f30669f590346558387f72 files/digest-pinentry-0.6.9 66
+MD5 85ba6415300c935a1234df2cb3199fce files/digest-pinentry-0.7.1-r1 66
MD5 7b470fdc8e2b8af70c2ca683de02b9d2 files/digest-pinentry-0.7.0 66
MD5 85ba6415300c935a1234df2cb3199fce files/digest-pinentry-0.7.1 66
+MD5 60e4ac83d966e30e888666d8ac56095b files/qt-compile-fix.diff 694
diff --git a/app-crypt/pinentry/files/digest-pinentry-0.7.1-r1 b/app-crypt/pinentry/files/digest-pinentry-0.7.1-r1
new file mode 100644
index 000000000000..f04ba84923c4
--- /dev/null
+++ b/app-crypt/pinentry/files/digest-pinentry-0.7.1-r1
@@ -0,0 +1 @@
+MD5 7861d63dea6434a5a05da84e83f209e6 pinentry-0.7.1.tar.gz 347047
diff --git a/app-crypt/pinentry/files/qt-compile-fix.diff b/app-crypt/pinentry/files/qt-compile-fix.diff
new file mode 100644
index 000000000000..977bfcc96dce
--- /dev/null
+++ b/app-crypt/pinentry/files/qt-compile-fix.diff
@@ -0,0 +1,11 @@
+--- pinentry-0.7.1-orig/work/pinentry-0.7.1/qt/Makefile.in 2004-06-17 22:54:09.951836096 +0200
++++ pinentry-0.7.1/work/pinentry-0.7.1/qt/Makefile.in 2004-06-17 22:54:35.495445940 +0200
+@@ -195,7 +195,7 @@
+ @FALLBACK_CURSES_FALSE@libcurses =
+ @FALLBACK_CURSES_TRUE@libcurses = ../pinentry/libpinentry-curses.a $(LIBCURSES) $(LIBICONV)
+
+-AM_CPPFLAGS = -I$(top_srcdir)/assuan -I$(top_srcdir)/secmem $(QT_INCLUDES) $(ncurses_include)
++AM_CPPFLAGS = -I$(top_srcdir)/pinentry -I$(top_srcdir)/assuan -I$(top_srcdir)/secmem $(QT_INCLUDES) $(ncurses_include)
+ AM_CXXFLAGS = $(QT_CXXFLAGS)
+ pinentry_qt_LDADD = $(QT_LIBS) $(libcurses) ../pinentry/libpinentry.a \
+ $(top_builddir)/assuan/libassuan.a \
diff --git a/app-crypt/pinentry/pinentry-0.7.1-r1.ebuild b/app-crypt/pinentry/pinentry-0.7.1-r1.ebuild
new file mode 100644
index 000000000000..87e14646cc9d
--- /dev/null
+++ b/app-crypt/pinentry/pinentry-0.7.1-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.7.1-r1.ebuild,v 1.1 2004/06/21 00:01:38 kloeri Exp $
+
+inherit eutils
+
+DESCRIPTION="collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
+HOMEPAGE="http://www.gnupg.org/aegypten/"
+SRC_URI="ftp://ftp.gnupg.org/gcrypt/pinentry/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="qt gtk ncurses"
+
+DEPEND="gtk? ( x11-libs/gtk+ )
+ ncurses? ( sys-libs/ncurses )
+ qt? ( x11-libs/qt )
+ !gtk? ( !qt? ( !ncurses? ( sys-libs/ncurses ) ) )"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/qt-compile-fix.diff
+}
+
+src_compile() {
+ local myconf=""
+ if ! use qt && ! use gtk && ! use ncurses ; then
+ myconf="--enable-pinentry-curses --enable-fallback-curses"
+ fi
+ econf \
+ `use_enable qt pinentry-qt` \
+ `use_enable gtk pinentry-gtk` \
+ `use_enable ncurses pinentry-curses` \
+ `use_enable ncurses fallback-curses` \
+ --disable-dependency-tracking \
+ ${myconf} \
+ || die
+ emake || die
+}
+
+src_install() {
+ einstall || die
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+
+ # The other two pinentries don't spit out an insecure memory warning when
+ # not suid root, and gtk refuses to start if pinentry-gtk is suid root.
+ fperms +s /usr/bin/pinentry-qt
+}
+
+pkg_postinst() {
+ einfo "pinentry-qt 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 passphrases,"
+ einfo "etc. at runtime but may make some sysadmins nervous"
+}