1 |
k_f 15/03/01 22:30:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pinentry-0.9.0-r2.ebuild |
5 |
Log: |
6 |
Fix for bug #541400 |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xFED5002857C1ABFA!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.165 app-crypt/pinentry/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/pinentry/ChangeLog?rev=1.165&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/pinentry/ChangeLog?rev=1.165&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/pinentry/ChangeLog?r1=1.164&r2=1.165 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v |
20 |
retrieving revision 1.164 |
21 |
retrieving revision 1.165 |
22 |
diff -u -r1.164 -r1.165 |
23 |
--- ChangeLog 28 Feb 2015 19:40:33 -0000 1.164 |
24 |
+++ ChangeLog 1 Mar 2015 22:30:54 -0000 1.165 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-crypt/pinentry |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.164 2015/02/28 19:40:33 alonbl Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.165 2015/03/01 22:30:54 k_f Exp $ |
30 |
+ |
31 |
+*pinentry-0.9.0-r2 (01 Mar 2015) |
32 |
+ |
33 |
+ 01 Mar 2015; Kristian Fiskerstrand <k_f@g.o> |
34 |
+ +files/pinentry-0.9.0-accessibility.patch, +pinentry-0.9.0-r2.ebuild: |
35 |
+ Fix for bug #541400 |
36 |
|
37 |
28 Feb 2015; Alon Bar-Lev <alonbl@g.o> -pinentry-0.8.2.ebuild, |
38 |
-pinentry-0.8.3.ebuild, -pinentry-0.8.4.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-crypt/pinentry/pinentry-0.9.0-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/pinentry/pinentry-0.9.0-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/pinentry/pinentry-0.9.0-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: pinentry-0.9.0-r2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2015 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.9.0-r2.ebuild,v 1.1 2015/03/01 22:30:54 k_f Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit autotools multilib eutils flag-o-matic |
56 |
|
57 |
DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol" |
58 |
HOMEPAGE="http://gnupg.org/aegypten2/index.html" |
59 |
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
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" |
64 |
IUSE="clipboard gtk ncurses qt4 caps static" |
65 |
|
66 |
RDEPEND=" |
67 |
app-admin/eselect-pinentry |
68 |
caps? ( sys-libs/libcap ) |
69 |
gtk? ( x11-libs/gtk+:2 ) |
70 |
ncurses? ( sys-libs/ncurses ) |
71 |
qt4? ( >=dev-qt/qtgui-4.4.1:4 ) |
72 |
static? ( >=sys-libs/ncurses-5.7-r5[static-libs,-gpm] ) |
73 |
" |
74 |
DEPEND="${RDEPEND} |
75 |
sys-devel/gettext |
76 |
gtk? ( virtual/pkgconfig ) |
77 |
qt4? ( virtual/pkgconfig ) |
78 |
ppc-aix? ( dev-libs/gnulib ) |
79 |
" |
80 |
REQUIRED_USE=" |
81 |
|| ( ncurses gtk qt4 ) |
82 |
gtk? ( !static ) |
83 |
qt4? ( !static ) |
84 |
static? ( ncurses ) |
85 |
" |
86 |
|
87 |
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) |
88 |
|
89 |
src_prepare() { |
90 |
if use qt4; then |
91 |
local f |
92 |
for f in qt4/*.moc; do |
93 |
"${EPREFIX}"/usr/bin/moc ${f/.moc/.h} > ${f} || die |
94 |
done |
95 |
fi |
96 |
epatch "${FILESDIR}/${PN}-0.8.2-ncurses.patch" |
97 |
epatch "${FILESDIR}/${PN}-0.8.2-texi.patch" |
98 |
epatch "${FILESDIR}/${PN}-0.9.0-accessibility.patch" |
99 |
eautoreconf |
100 |
} |
101 |
|
102 |
src_configure() { |
103 |
use static && append-ldflags -static |
104 |
|
105 |
if [[ ${CHOST} == *-aix* ]] ; then |
106 |
append-flags -I"${EPREFIX}/usr/$(get_libdir)/gnulib/include" |
107 |
append-ldflags -L"${EPREFIX}/usr/$(get_libdir)/gnulib/$(get_libdir)" |
108 |
append-libs -lgnu |
109 |
fi |
110 |
|
111 |
# Issues finding qt on multilib systems |
112 |
export QTLIB="${QTDIR}/$(get_libdir)" |
113 |
|
114 |
econf \ |
115 |
--enable-pinentry-tty \ |
116 |
$(use_enable gtk pinentry-gtk2) \ |
117 |
$(use_enable ncurses pinentry-curses) \ |
118 |
$(use_enable ncurses fallback-curses) \ |
119 |
$(use_enable qt4 pinentry-qt4) \ |
120 |
$(use qt4 && use_enable clipboard pinentry-qt4-clipboard) \ |
121 |
$(use_with caps libcap) |
122 |
} |
123 |
|
124 |
src_compile() { |
125 |
emake AR="$(tc-getAR)" |
126 |
} |
127 |
|
128 |
src_install() { |
129 |
default |
130 |
rm -f "${ED}"/usr/bin/pinentry || die |
131 |
} |
132 |
|
133 |
pkg_postinst() { |
134 |
if ! has_version 'app-crypt/pinentry' || has_version '<app-crypt/pinentry-0.7.3'; then |
135 |
elog "We no longer install pinentry-curses and pinentry-qt SUID root by default." |
136 |
elog "Linux kernels >=2.6.9 support memory locking for unprivileged processes." |
137 |
elog "The soft resource limit for memory locking specifies the limit an" |
138 |
elog "unprivileged process may lock into memory. You can also use POSIX" |
139 |
elog "capabilities to allow pinentry to lock memory. To do so activate the caps" |
140 |
elog "USE flag and add the CAP_IPC_LOCK capability to the permitted set of" |
141 |
elog "your users." |
142 |
fi |
143 |
eselect pinentry update ifunset |
144 |
} |
145 |
|
146 |
pkg_postrm() { |
147 |
eselect pinentry update ifunset |
148 |
} |