summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2011-01-15 17:36:20 +0000
committerSven Wegener <swegener@gentoo.org>2011-01-15 17:36:20 +0000
commit8fc7ee5d836a1b1a8b65475f2e0a6ab52894135f (patch)
tree40b673e8609ce023dbfd711ab5ccb332b48a052a /app-crypt/pinentry
parentStable on amd64 wrt bug #351748 (diff)
downloadhistorical-8fc7ee5d836a1b1a8b65475f2e0a6ab52894135f.tar.gz
historical-8fc7ee5d836a1b1a8b65475f2e0a6ab52894135f.tar.bz2
historical-8fc7ee5d836a1b1a8b65475f2e0a6ab52894135f.zip
Version bump, bug #351115.
Package-Manager: portage-2.2.0_alpha15/cvs/Linux x86_64
Diffstat (limited to 'app-crypt/pinentry')
-rw-r--r--app-crypt/pinentry/ChangeLog9
-rw-r--r--app-crypt/pinentry/Manifest14
-rw-r--r--app-crypt/pinentry/pinentry-0.8.1.ebuild94
3 files changed, 114 insertions, 3 deletions
diff --git a/app-crypt/pinentry/ChangeLog b/app-crypt/pinentry/ChangeLog
index c482b798d626..73230924e9b9 100644
--- a/app-crypt/pinentry/ChangeLog
+++ b/app-crypt/pinentry/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-crypt/pinentry
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.113 2010/09/30 13:56:37 ssuominen Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.114 2011/01/15 17:36:20 swegener Exp $
+
+*pinentry-0.8.1 (15 Jan 2011)
+
+ 15 Jan 2011; Sven Wegener <swegener@gentoo.org> +pinentry-0.8.1.ebuild:
+ Version bump, bug #351115.
30 Sep 2010; Samuli Suominen <ssuominen@gentoo.org>
pinentry-0.8.0-r1.ebuild:
diff --git a/app-crypt/pinentry/Manifest b/app-crypt/pinentry/Manifest
index f3492722bd32..0c4f39b256d8 100644
--- a/app-crypt/pinentry/Manifest
+++ b/app-crypt/pinentry/Manifest
@@ -1,7 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX pinentry-0.7.5-grab.patch 536 RMD160 66f86ff0c8c208ec62de1dea2b2c3edeca41d0fb SHA1 cbb4a01242ce73ebb18c38d9541f03017691a265 SHA256 149fadfa505e55fa4f4e1fb5536066b87290566df4d890e6f4087d86f213188a
AUX pinentry-0.8.0-qt-fix.patch 1104 RMD160 6fdd963869c237a08447a85d219c51125d17262f SHA1 49741480980c0e16d47ea8fa91df4e8dfecc9db2 SHA256 1375d5675f9c1ba050a0bcf9853df01b73110fffa8580cb90a2095db522c7dbc
DIST pinentry-0.8.0.tar.gz 487629 RMD160 966e830fb86c1820057979f581ca71f82a4fc9e0 SHA1 381f9ee47b9f198e1be5d3ec4e043067a7e97912 SHA256 426c7ff9ca7d147d21243dffd72e844d84c1f593e323f1d207ee19bdded0f01a
+DIST pinentry-0.8.1.tar.gz 504101 RMD160 e36e34bfa2472094503c7809259f37abcc5fb2e8 SHA1 84a6940175b552a8562b4014f4661dec3ff10165 SHA256 3e17e1d410686d197f96b61b04e3fad28bd6bcb029077bdfd902780934de9132
EBUILD pinentry-0.8.0-r1.ebuild 3017 RMD160 8838693e2dfe69e6a64f8f5a541c8568d3ccea43 SHA1 b2190fdc9ea7ccf7d746ff4e8f2734f7acc0f6e8 SHA256 6de2f8a2ad16890a78a95ca07b29f9934692943c686d5ac1903c4434a53bb6fc
EBUILD pinentry-0.8.0.ebuild 2866 RMD160 45af9e25bedb77d518282887879cdd98c5519010 SHA1 e342e8541882799aece4c69622fd2993f3c197ef SHA256 371c44c1b12ee3e525652e27db2229bed3c1813b540659c80b6d09f294133bd1
-MISC ChangeLog 15186 RMD160 07d3deabe494d92398aa8c1ea795bedad107f19a SHA1 69845176bce5bb0b5438c89115d945f6988158a8 SHA256 85b8a33217bd3b3d733e9739552e70468fc395656403358536572ed2891134d8
+EBUILD pinentry-0.8.1.ebuild 2883 RMD160 b05b95c5a40766856bc3996faf40292b30714693 SHA1 7979f1a86f72ff28412f8c04f655e709e36cc6f2 SHA256 65590f0b073225290a6dee7f940e24b214dba573894512257c92f3a4130fd1fe
+MISC ChangeLog 15320 RMD160 1b4221b49248af2d9a99217372b80524e8c02050 SHA1 38570c7664054f856a65c867489b29f7660c1814 SHA256 43c719b926539dba622ae905fa502a094af71f76b85c40b41012bae83676abeb
MISC metadata.xml 275 RMD160 7aca4724ede81b0eaad9b4536f00a6a805727cef SHA1 b1a92ff0d6bfacd26122ac4dbd4725ef2b023f81 SHA256 1e9c7343efc06a4d4143421f4bf3740c30f71ed6ce5011231505e7e911f31548
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAk0x2xkACgkQI1lqEGTUzyQjjgCgo/4xw7hqljJ/8zqC2rosg4UB
+lAAAoNtxfMx3cIWzyQBOUG8WJmCu10Wh
+=Pf76
+-----END PGP SIGNATURE-----
diff --git a/app-crypt/pinentry/pinentry-0.8.1.ebuild b/app-crypt/pinentry/pinentry-0.8.1.ebuild
new file mode 100644
index 000000000000..5d86103d39d5
--- /dev/null
+++ b/app-crypt/pinentry/pinentry-0.8.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.1.ebuild,v 1.1 2011/01/15 17:36:20 swegener Exp $
+
+EAPI=3
+
+inherit multilib eutils flag-o-matic
+
+DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
+HOMEPAGE="http://gnupg.org/aegypten2/index.html"
+SRC_URI="mirror://gnupg/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="gtk ncurses qt4 caps static"
+
+RDEPEND="app-admin/eselect-pinentry
+ static? ( >=sys-libs/ncurses-5.7-r5[static-libs] )
+ !static? (
+ gtk? ( x11-libs/gtk+:2 )
+ ncurses? ( sys-libs/ncurses )
+ qt4? ( >=x11-libs/qt-gui-4.4.1 )
+ !gtk? ( !qt4? ( !ncurses? ( sys-libs/ncurses ) ) )
+ )
+ caps? ( sys-libs/libcap )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ use static && append-ldflags -static
+
+ if use static && { use gtk || use qt4; }; then
+ ewarn
+ ewarn "The static USE flag is only supported with the ncurses USE flags, disabling the gtk and qt4 USE flags."
+ ewarn
+ fi
+}
+
+src_prepare() {
+ if use qt4; then
+ local file
+ for file in qt4/*.moc; do
+ "${EPREFIX}"/usr/bin/moc ${file/.moc/.h} > ${file} || die
+ done
+ fi
+}
+
+src_configure() {
+ local myconf=""
+
+ if ! { use qt4 || use gtk || use ncurses; }
+ then
+ myconf="--enable-pinentry-curses --enable-fallback-curses"
+ elif use static
+ then
+ myconf="--enable-pinentry-curses --enable-fallback-curses --disable-pinentry-gtk2 --disable-pinentry-qt4"
+ fi
+
+ # Issues finding qt on multilib systems
+ export QTLIB="${QTDIR}/$(get_libdir)"
+
+ econf \
+ --disable-dependency-tracking \
+ --enable-maintainer-mode \
+ --disable-pinentry-gtk \
+ $(use_enable gtk pinentry-gtk2) \
+ --disable-pinentry-qt \
+ $(use_enable ncurses pinentry-curses) \
+ $(use_enable ncurses fallback-curses) \
+ $(use_enable qt4 pinentry-qt4) \
+ $(use_with caps libcap) \
+ ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+ rm -f "${D}"/usr/bin/pinentry || die
+}
+
+pkg_postinst() {
+ elog "We no longer install pinentry-curses and pinentry-qt SUID root by default."
+ elog "Linux kernels >=2.6.9 support memory locking for unprivileged processes."
+ elog "The soft resource limit for memory locking specifies the limit an"
+ elog "unprivileged process may lock into memory. You can also use POSIX"
+ elog "capabilities to allow pinentry to lock memory. To do so activate the caps"
+ elog "USE flag and add the CAP_IPC_LOCK capability to the permitted set of"
+ elog "your users."
+ eselect pinentry update ifunset
+}
+
+pkg_postrm() {
+ eselect pinentry update ifunset
+}