Gentoo Archives: gentoo-commits

From: "Alon Bar-Lev (alonbl)" <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-crypt/pinentry: ChangeLog pinentry-0.7.4-r1.ebuild pinentry-0.7.4.ebuild
Date: Sat, 22 Dec 2007 05:17:17
Message-Id: E1J5wjX-0006si-JT@stork.gentoo.org
1 alonbl 07/12/22 05:17:11
2
3 Modified: ChangeLog
4 Added: pinentry-0.7.4-r1.ebuild
5 Removed: pinentry-0.7.4.ebuild
6 Log:
7 Fix grab (again), this time, remove the map-event completely, bug#201951
8 (Portage version: 2.1.4_rc10)
9
10 Revision Changes Path
11 1.75 app-crypt/pinentry/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/pinentry/ChangeLog?rev=1.75&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/pinentry/ChangeLog?rev=1.75&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/pinentry/ChangeLog?r1=1.74&r2=1.75
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v
20 retrieving revision 1.74
21 retrieving revision 1.75
22 diff -u -r1.74 -r1.75
23 --- ChangeLog 21 Dec 2007 07:27:15 -0000 1.74
24 +++ ChangeLog 22 Dec 2007 05:17:11 -0000 1.75
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-crypt/pinentry
27 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.74 2007/12/21 07:27:15 alonbl Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.75 2007/12/22 05:17:11 alonbl Exp $
30 +
31 +*pinentry-0.7.4-r1 (22 Dec 2007)
32 +
33 + 22 Dec 2007; Alon Bar-Lev <alonbl@g.o>
34 + files/pinentry-0.7.4-grab.patch, -pinentry-0.7.4.ebuild,
35 + +pinentry-0.7.4-r1.ebuild:
36 + Fix grab (again), this time, remove the map-event completely, bug#201951
37
38 21 Dec 2007; Alon Bar-Lev <alonbl@g.o> pinentry-0.7.4.ebuild:
39 Readd flag-o-matic
40
41
42
43 1.1 app-crypt/pinentry/pinentry-0.7.4-r1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/pinentry/pinentry-0.7.4-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/pinentry/pinentry-0.7.4-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pinentry-0.7.4-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2007 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.7.4-r1.ebuild,v 1.1 2007/12/22 05:17:11 alonbl Exp $
53
54 inherit qt3 multilib eutils flag-o-matic
55
56 DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
57 HOMEPAGE="http://www.gnupg.org/aegypten/"
58 SRC_URI="mirror://gnupg/${PN}/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
63 IUSE="gtk ncurses qt3 caps"
64
65 DEPEND="gtk? ( =x11-libs/gtk+-2* )
66 ncurses? ( sys-libs/ncurses )
67 qt3? ( $(qt_min_version 3.3) )
68 !gtk? ( !qt3? ( !ncurses? ( sys-libs/ncurses ) ) )
69 caps? ( sys-libs/libcap )"
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74 epatch "${FILESDIR}/${P}-grab.patch"
75 }
76
77 src_compile() {
78 local myconf=""
79
80 if ! ( use qt3 || use gtk || use ncurses )
81 then
82 myconf="--enable-pinentry-curses --enable-fallback-curses"
83 fi
84
85 append-ldflags $(bindnow-flags)
86
87 # Issues finding qt on multilib systems
88 export QTLIB="${QTDIR}/$(get_libdir)"
89
90 econf \
91 --disable-dependency-tracking \
92 --enable-maintainer-mode \
93 --disable-pinentry-gtk \
94 $(use_enable gtk pinentry-gtk2) \
95 $(use_enable qt3 pinentry-qt) \
96 $(use_enable ncurses pinentry-curses) \
97 $(use_enable ncurses fallback-curses) \
98 $(use_with caps libcap) \
99 ${myconf} \
100 || die "econf failed"
101 emake || die "emake failed"
102 }
103
104 src_install() {
105 emake DESTDIR="${D}" install || die "make install failed"
106 dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die "dodoc failed"
107 }
108
109 pkg_postinst() {
110 elog "We no longer install pinentry-curses and pinentry-qt SUID root by default."
111 elog "Linux kernels >=2.6.9 support memory locking for unprivileged processes."
112 elog "The soft resource limit for memory locking specifies the limit an"
113 elog "unprivileged process may lock into memory. You can also use POSIX"
114 elog "capabilities to allow pinentry to lock memory. To do so activate the caps"
115 elog "USE flag and add the CAP_IPC_LOCK capability to the permitted set of"
116 elog "your users."
117 }
118
119
120
121 --
122 gentoo-commits@g.o mailing list