Deprecate gtk2 USE flag, bug #106560.
authorSven Wegener <swegener@gentoo.org>
Thu, 22 Sep 2005 10:23:26 +0000 (10:23 +0000)
committerSven Wegener <swegener@gentoo.org>
Thu, 22 Sep 2005 10:23:26 +0000 (10:23 +0000)
Package-Manager: portage-2.0.52-r1

app-crypt/pinentry/ChangeLog
app-crypt/pinentry/Manifest
app-crypt/pinentry/files/digest-pinentry-0.7.2-r1 [new file with mode: 0644]
app-crypt/pinentry/pinentry-0.7.2-r1.ebuild [new file with mode: 0644]

index 5645e399b6de8380600d09b45b84d5f9d594d537..1f942a9813fbb0032302a4cab62509b85d742c49 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for app-crypt/pinentry
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.29 2005/09/19 13:58:45 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.30 2005/09/22 10:23:26 swegener Exp $
+
+*pinentry-0.7.2-r1 (22 Sep 2005)
+
+  22 Sep 2005; Sven Wegener <swegener@gentoo.org> +pinentry-0.7.2-r1.ebuild:
+  Deprecate gtk2 USE flag, bug #106560.
 
   19 Sep 2005; Gustavo Zacarias <gustavoz@gentoo.org> pinentry-0.7.2.ebuild:
   Stable on sparc
index 3fb7c24a34998e27e7e371c4dd9fb3253ebd1b98..bef25d1c100906d21e27d604a6cdf9ff2282f50e 100644 (file)
@@ -1,14 +1,16 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 c1f8c7066844725d14e491ef3497d5fb pinentry-0.7.2.ebuild 2021
-MD5 738c6c74f05259803e5edca6cd380625 ChangeLog 4190
-MD5 f5775272cd7e22ae38566107c416c1e4 metadata.xml 275
+MD5 a3ac324a777ba2b6c2622cb576f66e32 ChangeLog 4342
 MD5 02dafe3ffd79fb8be8ffce90a4ccf86f files/digest-pinentry-0.7.2 66
+MD5 02dafe3ffd79fb8be8ffce90a4ccf86f files/digest-pinentry-0.7.2-r1 66
+MD5 f5775272cd7e22ae38566107c416c1e4 metadata.xml 275
+MD5 e0e77c1c9c19deb5ccf4e9c2ec130610 pinentry-0.7.2-r1.ebuild 1772
+MD5 c1f8c7066844725d14e491ef3497d5fb pinentry-0.7.2.ebuild 2021
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFDLsQwKRy60XGEcJIRAibAAJ9kHKegZ1IXPpXNEr4XCXO52FuAIACff+9f
-RMbG+n3ov9Ybi3hJZTUvwX4=
-=DDcn
+iD8DBQFDMoYwI1lqEGTUzyQRAtTbAKDWW4NUxrwUbAFzlVQLBa3L3RS54QCdHMan
+LJF6L0GrKRqP2Rx6ldGoIlo=
+=u3un
 -----END PGP SIGNATURE-----
diff --git a/app-crypt/pinentry/files/digest-pinentry-0.7.2-r1 b/app-crypt/pinentry/files/digest-pinentry-0.7.2-r1
new file mode 100644 (file)
index 0000000..a609eac
--- /dev/null
@@ -0,0 +1 @@
+MD5 55626ce13ed76d82ec5330d19bdf3ab4 pinentry-0.7.2.tar.gz 398775
diff --git a/app-crypt/pinentry/pinentry-0.7.2-r1.ebuild b/app-crypt/pinentry/pinentry-0.7.2-r1.ebuild
new file mode 100644 (file)
index 0000000..c174df1
--- /dev/null
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.7.2-r1.ebuild,v 1.1 2005/09/22 10:23:26 swegener Exp $
+
+inherit flag-o-matic qt3
+
+DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
+HOMEPAGE="http://www.gnupg.org/aegypten/"
+SRC_URI="mirror://gnupg/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86"
+IUSE="gtk ncurses qt"
+
+DEPEND="gtk? ( =x11-libs/gtk+-2* )
+       ncurses? ( sys-libs/ncurses )
+       qt? ( $(qt_min_version 3.3) )
+       !gtk? ( !qt? ( !ncurses? ( sys-libs/ncurses ) ) )"
+
+src_compile() {
+       local myconf=""
+
+       if ! ( use qt || use gtk || use ncurses )
+       then
+               myconf="--enable-pinentry-curses --enable-fallback-curses"
+       fi
+
+       append-ldflags -Wl,-z,now
+
+       econf \
+               --disable-dependency-tracking \
+               --enable-maintainer-mode \
+               --disable-pinentry-gtk \
+               $(use_enable gtk gtk2) \
+               $(use_enable qt pinentry-qt) \
+               $(use_enable ncurses pinentry-curses) \
+               $(use_enable ncurses fallback-curses) \
+               ${myconf} \
+               || die "econf failed"
+       emake || die "emake failed"
+}
+
+src_install() {
+       make DESTDIR="${D}" install || die "make install failed"
+       dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die "dodoc failed"
+
+       # gtk versions of pinentry refuse to start when suid root
+       for x in curses qt
+       do
+               [ -f "${D}"/usr/bin/pinentry-${x} ] && fperms +s /usr/bin/pinentry-${x}
+       done
+}
+
+pkg_postinst() {
+       einfo "pinentry-curses and pinentry-qt are installed SUID root to make use of"
+       einfo "protected memory space. This is needed in order to have a secure place"
+       einfo "to store your passphrases, etc. at runtime but may make some sysadmins"
+       einfo "nervous."
+}