Gentoo Archives: gentoo-commits

From: "Kristian Fiskerstrand (k_f)" <k_f@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-crypt/pinentry: pinentry-0.9.5.ebuild ChangeLog pinentry-0.9.4-r1.ebuild
Date: Wed, 01 Jul 2015 15:50:03
Message-Id: 20150701155000.4AD17745@oystercatcher.gentoo.org
1 k_f 15/07/01 15:50:00
2
3 Modified: ChangeLog
4 Added: pinentry-0.9.5.ebuild
5 Removed: pinentry-0.9.4-r1.ebuild
6 Log:
7 Version bump to pinentry 0.9.5
8
9 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x250B7AFED6379D85!)
10
11 Revision Changes Path
12 1.178 app-crypt/pinentry/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/pinentry/ChangeLog?rev=1.178&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/pinentry/ChangeLog?rev=1.178&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/pinentry/ChangeLog?r1=1.177&r2=1.178
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v
21 retrieving revision 1.177
22 retrieving revision 1.178
23 diff -u -r1.177 -r1.178
24 --- ChangeLog 7 Jun 2015 15:31:46 -0000 1.177
25 +++ ChangeLog 1 Jul 2015 15:50:00 -0000 1.178
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-crypt/pinentry
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.177 2015/06/07 15:31:46 k_f Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.178 2015/07/01 15:50:00 k_f Exp $
31 +
32 +*pinentry-0.9.5 (01 Jul 2015)
33 +
34 + 01 Jul 2015; Kristian Fiskerstrand <k_f@g.o> +pinentry-0.9.5.ebuild,
35 + -pinentry-0.9.4-r1.ebuild:
36 + Version bump to pinentry 0.9.5
37
38 07 Jun 2015; Kristian Fiskerstrand <k_f@g.o>
39 -files/pinentry-0.9.1-memleak.patch:
40
41
42
43 1.1 app-crypt/pinentry/pinentry-0.9.5.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/pinentry/pinentry-0.9.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/pinentry/pinentry-0.9.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pinentry-0.9.5.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.9.5.ebuild,v 1.1 2015/07/01 15:50:00 k_f Exp $
53
54 EAPI=5
55
56 inherit qmake-utils multilib eutils flag-o-matic toolchain-funcs
57
58 DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
59 HOMEPAGE="http://gnupg.org/aegypten2/index.html"
60 SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
65 IUSE="clipboard gtk ncurses qt4 caps gnome-keyring static"
66
67 RDEPEND="
68 >=dev-libs/libgpg-error-1.17
69 >=dev-libs/libassuan-2
70 app-eselect/eselect-pinentry
71 caps? ( sys-libs/libcap )
72 gtk? ( x11-libs/gtk+:2 )
73 ncurses? ( sys-libs/ncurses )
74 qt4? ( >=dev-qt/qtgui-4.4.1:4 )
75 static? ( >=sys-libs/ncurses-5.7-r5[static-libs,-gpm] )
76 "
77 DEPEND="${RDEPEND}
78 sys-devel/gettext
79 gtk? ( virtual/pkgconfig )
80 qt4? ( virtual/pkgconfig )
81 gnome-keyring? ( app-crypt/libsecret )
82 "
83 REQUIRED_USE="
84 || ( ncurses gtk qt4 )
85 gtk? ( !static )
86 qt4? ( !static )
87 static? ( ncurses )
88 "
89
90 DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
91
92 src_prepare() {
93 epatch "${FILESDIR}/${PN}-0.8.2-ncurses.patch"
94 }
95
96 src_configure() {
97 use static && append-ldflags -static
98 [[ "$(gcc-major-version)" -ge 5 ]] && append-cxxflags -std=gnu++11
99
100 # Issues finding qt on multilib systems
101 export QTLIB="${QTDIR}/$(get_libdir)"
102
103 econf \
104 --enable-pinentry-tty \
105 $(use_enable gtk pinentry-gtk2) \
106 $(use_enable ncurses pinentry-curses) \
107 $(use_enable ncurses fallback-curses) \
108 $(use_enable qt4 pinentry-qt4) \
109 $(use qt4 && use_enable clipboard pinentry-qt4-clipboard) \
110 $(use_with caps libcap) \
111 $(use_enable gnome-keyring libsecret) \
112 $(use_enable gnome-keyring pinentry-gnome3) \
113 MOC="$(qt4_get_bindir)"/moc
114 }
115
116 src_install() {
117 default
118 rm -f "${ED}"/usr/bin/pinentry || die
119 }
120
121 pkg_postinst() {
122 if ! has_version 'app-crypt/pinentry' || has_version '<app-crypt/pinentry-0.7.3'; then
123 elog "We no longer install pinentry-curses and pinentry-qt SUID root by default."
124 elog "Linux kernels >=2.6.9 support memory locking for unprivileged processes."
125 elog "The soft resource limit for memory locking specifies the limit an"
126 elog "unprivileged process may lock into memory. You can also use POSIX"
127 elog "capabilities to allow pinentry to lock memory. To do so activate the caps"
128 elog "USE flag and add the CAP_IPC_LOCK capability to the permitted set of"
129 elog "your users."
130 fi
131 eselect pinentry update ifunset
132 }
133
134 pkg_postrm() {
135 eselect pinentry update ifunset
136 }