diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-09-30 13:56:37 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-09-30 13:56:37 +0000 |
commit | d595e36d5bc9a6c0d88e66c90b8e3a0efad53e2f (patch) | |
tree | 40e68da80b429505942ad4855f92b7b8d995335e /app-crypt/pinentry | |
parent | Use eselect-pinentry. (diff) | |
download | gentoo-2-d595e36d5bc9a6c0d88e66c90b8e3a0efad53e2f.tar.gz gentoo-2-d595e36d5bc9a6c0d88e66c90b8e3a0efad53e2f.tar.bz2 gentoo-2-d595e36d5bc9a6c0d88e66c90b8e3a0efad53e2f.zip |
Use eselect-pinentry.
(Portage version: 2.2_rc88/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt/pinentry')
-rw-r--r-- | app-crypt/pinentry/ChangeLog | 6 | ||||
-rw-r--r-- | app-crypt/pinentry/pinentry-0.8.0-r1.ebuild | 13 |
2 files changed, 15 insertions, 4 deletions
diff --git a/app-crypt/pinentry/ChangeLog b/app-crypt/pinentry/ChangeLog index 388c91dabd92..c482b798d626 100644 --- a/app-crypt/pinentry/ChangeLog +++ b/app-crypt/pinentry/ChangeLog @@ -1,6 +1,10 @@ # 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.112 2010/09/25 09:20:32 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.113 2010/09/30 13:56:37 ssuominen Exp $ + + 30 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> + pinentry-0.8.0-r1.ebuild: + Use eselect-pinentry. *pinentry-0.8.0-r1 (25 Sep 2010) diff --git a/app-crypt/pinentry/pinentry-0.8.0-r1.ebuild b/app-crypt/pinentry/pinentry-0.8.0-r1.ebuild index 2ad0a4a01c27..9c7b397c3e0c 100644 --- a/app-crypt/pinentry/pinentry-0.8.0-r1.ebuild +++ b/app-crypt/pinentry/pinentry-0.8.0-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.0-r1.ebuild,v 1.1 2010/09/25 09:20:32 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.0-r1.ebuild,v 1.2 2010/09/30 13:56:37 ssuominen Exp $ EAPI=3 inherit multilib eutils flag-o-matic @@ -14,7 +14,8 @@ 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" -DEPEND="static? ( >=sys-libs/ncurses-5.7-r5[static-libs] ) +RDEPEND="app-admin/eselect-pinentry + static? ( >=sys-libs/ncurses-5.7-r5[static-libs] ) !static? ( gtk? ( x11-libs/gtk+:2 ) ncurses? ( sys-libs/ncurses ) @@ -22,7 +23,7 @@ DEPEND="static? ( >=sys-libs/ncurses-5.7-r5[static-libs] ) !gtk? ( !qt4? ( !ncurses? ( sys-libs/ncurses ) ) ) ) caps? ( sys-libs/libcap )" -RDEPEND="${DEPEND}" +DEPEND="${RDEPEND}" pkg_setup() { use static && append-ldflags -static @@ -78,6 +79,7 @@ src_configure() { src_install() { emake DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog NEWS README THANKS TODO + rm -f "${D}"/usr/bin/pinentry || die } pkg_postinst() { @@ -88,4 +90,9 @@ pkg_postinst() { 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 } |