parent
6f14547bc9
commit
da07b0beb4
@ -1,2 +1,3 @@
|
||||
DIST pinentry-0.8.0.tar.gz 487629 SHA256 426c7ff9ca7d147d21243dffd72e844d84c1f593e323f1d207ee19bdded0f01a SHA512 2c850f060e7d65a7d4cc19d1fb3b0eed97e1e1f091098a1278a66d9338494f15d07c1ef851fbbfa66ec26e0886675af3941b991c926bb23bc7672e440075d568 WHIRLPOOL bf4085c03f0000b2511a52f5468df41d283785b2b6f18db374b3319760dd9a0003ab7a365ae6261dd3539c4065c5d0a2cef001babc9ca77e9207a72b1ec23af3
|
||||
DIST pinentry-0.8.1.tar.gz 504101 SHA256 3e17e1d410686d197f96b61b04e3fad28bd6bcb029077bdfd902780934de9132 SHA512 a7f9a582b1d9c347c65f4a842dc4f3270199dc23eab2487e5150e37b71d666628a8a60d44f85d64bba5b1a7018379dd181e810bc373994c9a94fafe706adf76a WHIRLPOOL ee6ea273cf1307c9d6946f9dabaca076ea563f57e64a044d169200a95944173ae8ac60d9fe167bf5e9e1a21216ac41ff680f8097d5a6431e9e80a0a4ec77d024
|
||||
DIST pinentry-0.8.2.tar.bz2 428514 SHA256 5084b7b6aac5725303f3b0185f126daa8b33ee78ade538edf1e20034594a39b1 SHA512 f012ed163b8905e10714e8667a4434eb192e9519e0fa91a686b097224252bf2e73c3b35d682b6fd4a9df80eefcb3afbf2ec763aef58a3ab5a1e71268fd83e158 WHIRLPOOL 0a17bf30390895dddbaad14bcf07b3064fb7e3c1ed97ba22231e13201f24cfc194a8ef110da7316f137ed3942c094c1990aa51a80b352c5572748b42f40a77d7
|
||||
|
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.2.ebuild,v 1.1 2012/08/14 12:09:49 scarabeus 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.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~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}
|
||||
!static? (
|
||||
gtk? ( virtual/pkgconfig )
|
||||
qt4? ( virtual/pkgconfig )
|
||||
)"
|
||||
|
||||
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) \
|
||||
--without-x \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
|
||||
rm -f "${ED}"/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
|
||||
}
|
@ -1 +1 @@
|
||||
Tue, 14 Aug 2012 11:37:47 +0000
|
||||
Tue, 14 Aug 2012 12:37:55 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue, 14 Aug 2012 11:37:47 +0000
|
||||
Tue, 14 Aug 2012 12:37:55 +0000
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure install postinst postrm prepare setup
|
||||
DEPEND=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 ) !static? ( gtk? ( virtual/pkgconfig ) qt4? ( virtual/pkgconfig ) )
|
||||
DESCRIPTION=Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol
|
||||
EAPI=3
|
||||
HOMEPAGE=http://gnupg.org/aegypten2/index.html
|
||||
IUSE=gtk ncurses qt4 caps static
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~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
|
||||
LICENSE=GPL-2
|
||||
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 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gnupg/pinentry/pinentry-0.8.2.tar.bz2
|
||||
_eclasses_=eutils 327b713e2d6949c42cd96bc4898fd280 flag-o-matic 2c938a1fe61ea9899a2b97ea1e065f5f multilib 5782800349f728f725f9378105c6a2ab toolchain-funcs d3b5812eeab360bc41aa48b6cdbbc142 user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=69539f05a01509c726fbbb40305eebc1
|
@ -1 +1 @@
|
||||
Tue, 14 Aug 2012 11:37:49 +0000
|
||||
Tue, 14 Aug 2012 12:37:57 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue Aug 14 11:37:47 UTC 2012
|
||||
Tue Aug 14 12:37:55 UTC 2012
|
||||
|
@ -1 +1 @@
|
||||
Tue, 14 Aug 2012 12:00:01 +0000
|
||||
Tue, 14 Aug 2012 13:00:02 +0000
|
||||
|
@ -1 +1 @@
|
||||
1344944101 Tue Aug 14 11:35:01 2012 UTC
|
||||
1344947701 Tue Aug 14 12:35:01 2012 UTC
|
||||
|
Loading…
Reference in new issue