Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-base/gnome-keyring: gnome-keyring-3.12.2.ebuild gnome-keyring-3.10.1.ebuild gnome-keyring-3.12.0.ebuild gnome-keyring-3.12.2-r1.ebuild ChangeLog
Date: Mon, 23 Jun 2014 04:07:00
Message-Id: 20140623040657.026182004E@flycatcher.gentoo.org
1 tetromino 14/06/23 04:06:56
2
3 Modified: gnome-keyring-3.12.2.ebuild
4 gnome-keyring-3.10.1.ebuild
5 gnome-keyring-3.12.0.ebuild ChangeLog
6 Added: gnome-keyring-3.12.2-r1.ebuild
7 Log:
8 Apply cap_ipc_lock only if USE=caps, and never install gnome-keyring-daemon as suid root since that breaks dbus activation (bug #513870, thanks to Francesco Turco). Remove ancient libgnome-keyring pdepend, shouldn't be needed now (bug #502434, thanks to Yaroslav Isakov).
9
10 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)
11
12 Revision Changes Path
13 1.3 gnome-base/gnome-keyring/gnome-keyring-3.12.2.ebuild
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.12.2.ebuild?rev=1.3&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.12.2.ebuild?rev=1.3&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.12.2.ebuild?r1=1.2&r2=1.3
18
19 Index: gnome-keyring-3.12.2.ebuild
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.12.2.ebuild,v
22 retrieving revision 1.2
23 retrieving revision 1.3
24 diff -u -r1.2 -r1.3
25 --- gnome-keyring-3.12.2.ebuild 7 Jun 2014 19:06:58 -0000 1.2
26 +++ gnome-keyring-3.12.2.ebuild 23 Jun 2014 04:06:56 -0000 1.3
27 @@ -1,6 +1,6 @@
28 # Copyright 1999-2014 Gentoo Foundation
29 # Distributed under the terms of the GNU General Public License v2
30 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.12.2.ebuild,v 1.2 2014/06/07 19:06:58 tetromino Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.12.2.ebuild,v 1.3 2014/06/23 04:06:56 tetromino Exp $
32
33 EAPI="5"
34 GCONF_DEBUG="yes" # Not gnome macro but similar
35 @@ -34,7 +34,6 @@
36 sys-devel/gettext
37 virtual/pkgconfig
38 "
39 -PDEPEND=">=gnome-base/libgnome-keyring-3.1.92"
40
41 pkg_setup() {
42 python-any-r1_pkg_setup
43
44
45
46 1.13 gnome-base/gnome-keyring/gnome-keyring-3.10.1.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.10.1.ebuild?rev=1.13&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.10.1.ebuild?rev=1.13&content-type=text/plain
50 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.10.1.ebuild?r1=1.12&r2=1.13
51
52 Index: gnome-keyring-3.10.1.ebuild
53 ===================================================================
54 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.10.1.ebuild,v
55 retrieving revision 1.12
56 retrieving revision 1.13
57 diff -u -r1.12 -r1.13
58 --- gnome-keyring-3.10.1.ebuild 21 Apr 2014 10:29:14 -0000 1.12
59 +++ gnome-keyring-3.10.1.ebuild 23 Jun 2014 04:06:56 -0000 1.13
60 @@ -1,6 +1,6 @@
61 # Copyright 1999-2014 Gentoo Foundation
62 # Distributed under the terms of the GNU General Public License v2
63 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.10.1.ebuild,v 1.12 2014/04/21 10:29:14 ago Exp $
64 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.10.1.ebuild,v 1.13 2014/06/23 04:06:56 tetromino Exp $
65
66 EAPI="5"
67 GCONF_DEBUG="yes" # Not gnome macro but similar
68 @@ -32,7 +32,6 @@
69 sys-devel/gettext
70 virtual/pkgconfig
71 "
72 -PDEPEND=">=gnome-base/libgnome-keyring-3.1.92"
73
74 src_prepare() {
75 # Disable stupid CFLAGS
76
77
78
79 1.2 gnome-base/gnome-keyring/gnome-keyring-3.12.0.ebuild
80
81 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.12.0.ebuild?rev=1.2&view=markup
82 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.12.0.ebuild?rev=1.2&content-type=text/plain
83 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.12.0.ebuild?r1=1.1&r2=1.2
84
85 Index: gnome-keyring-3.12.0.ebuild
86 ===================================================================
87 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.12.0.ebuild,v
88 retrieving revision 1.1
89 retrieving revision 1.2
90 diff -u -r1.1 -r1.2
91 --- gnome-keyring-3.12.0.ebuild 27 Apr 2014 16:53:02 -0000 1.1
92 +++ gnome-keyring-3.12.0.ebuild 23 Jun 2014 04:06:56 -0000 1.2
93 @@ -1,6 +1,6 @@
94 # Copyright 1999-2014 Gentoo Foundation
95 # Distributed under the terms of the GNU General Public License v2
96 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.12.0.ebuild,v 1.1 2014/04/27 16:53:02 eva Exp $
97 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.12.0.ebuild,v 1.2 2014/06/23 04:06:56 tetromino Exp $
98
99 EAPI="5"
100 GCONF_DEBUG="yes" # Not gnome macro but similar
101 @@ -34,7 +34,6 @@
102 sys-devel/gettext
103 virtual/pkgconfig
104 "
105 -PDEPEND=">=gnome-base/libgnome-keyring-3.1.92"
106
107 pkg_setup() {
108 python-any-r1_pkg_setup
109
110
111
112 1.254 gnome-base/gnome-keyring/ChangeLog
113
114 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-keyring/ChangeLog?rev=1.254&view=markup
115 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-keyring/ChangeLog?rev=1.254&content-type=text/plain
116 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-keyring/ChangeLog?r1=1.253&r2=1.254
117
118 Index: ChangeLog
119 ===================================================================
120 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/ChangeLog,v
121 retrieving revision 1.253
122 retrieving revision 1.254
123 diff -u -r1.253 -r1.254
124 --- ChangeLog 7 Jun 2014 19:06:58 -0000 1.253
125 +++ ChangeLog 23 Jun 2014 04:06:56 -0000 1.254
126 @@ -1,6 +1,16 @@
127 # ChangeLog for gnome-base/gnome-keyring
128 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
129 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/ChangeLog,v 1.253 2014/06/07 19:06:58 tetromino Exp $
130 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/ChangeLog,v 1.254 2014/06/23 04:06:56 tetromino Exp $
131 +
132 +*gnome-keyring-3.12.2-r1 (23 Jun 2014)
133 +
134 + 23 Jun 2014; Alexandre Rostovtsev <tetromino@g.o>
135 + gnome-keyring-3.10.1.ebuild, gnome-keyring-3.12.0.ebuild,
136 + gnome-keyring-3.12.2.ebuild, +gnome-keyring-3.12.2-r1.ebuild:
137 + Apply cap_ipc_lock only if USE=caps, and never install gnome-keyring-daemon
138 + as suid root since that breaks dbus activation (bug #513870, thanks to
139 + Francesco Turco). Remove ancient libgnome-keyring pdepend, shouldn't be
140 + needed now (bug #502434, thanks to Yaroslav Isakov).
141
142 07 Jun 2014; Alexandre Rostovtsev <tetromino@g.o>
143 gnome-keyring-3.12.2.ebuild, metadata.xml:
144
145
146
147 1.1 gnome-base/gnome-keyring/gnome-keyring-3.12.2-r1.ebuild
148
149 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.12.2-r1.ebuild?rev=1.1&view=markup
150 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.12.2-r1.ebuild?rev=1.1&content-type=text/plain
151
152 Index: gnome-keyring-3.12.2-r1.ebuild
153 ===================================================================
154 # Copyright 1999-2014 Gentoo Foundation
155 # Distributed under the terms of the GNU General Public License v2
156 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.12.2-r1.ebuild,v 1.1 2014/06/23 04:06:56 tetromino Exp $
157
158 EAPI="5"
159 GCONF_DEBUG="yes" # Not gnome macro but similar
160 GNOME2_LA_PUNT="yes"
161 PYTHON_COMPAT=( python2_7 )
162
163 inherit fcaps gnome2 pam python-any-r1 versionator virtualx
164
165 DESCRIPTION="Password and keyring managing daemon"
166 HOMEPAGE="https://wiki.gnome.org/Projects/GnomeKeyring"
167
168 LICENSE="GPL-2+ LGPL-2+"
169 SLOT="0"
170 IUSE="+caps debug pam selinux +ssh-agent"
171 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x86-solaris"
172
173 RDEPEND="
174 >=app-crypt/gcr-3.5.3:=[gtk]
175 >=dev-libs/glib-2.38:2
176 app-misc/ca-certificates
177 >=dev-libs/libgcrypt-1.2.2:0=
178 >=sys-apps/dbus-1.1.1
179 caps? ( sys-libs/libcap-ng )
180 pam? ( virtual/pam )
181 "
182 DEPEND="${RDEPEND}
183 ${PYTHON_DEPS}
184 app-text/docbook-xml-dtd:4.3
185 dev-libs/libxslt
186 >=dev-util/intltool-0.35
187 sys-devel/gettext
188 virtual/pkgconfig
189 "
190
191 pkg_setup() {
192 python-any-r1_pkg_setup
193 }
194
195 src_prepare() {
196 # Disable stupid CFLAGS
197 sed -e 's/CFLAGS="$CFLAGS -g"//' \
198 -e 's/CFLAGS="$CFLAGS -O0"//' \
199 -i configure.ac configure || die
200
201 # FIXME: some tests write to /tmp (instead of TMPDIR)
202 # Disable failing tests
203 sed -e 's|\(g_test_add.*/gkm/data-asn1/integers.*;\)|/*\1*/|' \
204 -i "${S}"/pkcs11/gkm/test-data-asn1.c || die
205 sed -e 's|\(g_test_add.*/gkm/timer/cancel.*;\)|/*\1*/|' \
206 -i "${S}"/pkcs11/gkm/test-timer.c || die
207 # For some reason all pam tests make the testsuite retun 77
208 # which is considered an error but the test framework,
209 # but all tests are successful, upstream bug #731030
210 sed -e '558,595 d' -i "${S}"/pam/test-pam.c || die
211
212 gnome2_src_prepare
213 }
214
215 src_configure() {
216 gnome2_src_configure \
217 $(use_with caps libcap-ng) \
218 $(use_enable pam) \
219 $(use_with pam pam-dir $(getpam_mod_dir)) \
220 $(use_enable selinux) \
221 $(use_enable ssh-agent) \
222 --enable-doc \
223 --enable-gpg-agent
224 }
225
226 src_test() {
227 # FIXME: this should be handled at eclass level
228 "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/schema" || die
229
230 unset DBUS_SESSION_BUS_ADDRESS
231 GSETTINGS_SCHEMA_DIR="${S}/schema" Xemake check
232 }
233
234 pkg_postinst() {
235 # cap_ipc_lock only needed if building --with-libcap-ng
236 # Never install as suid root, this breaks dbus activation, see bug #513870
237 use caps && fcaps -m 755 cap_ipc_lock usr/bin/gnome-keyring-daemon
238 gnome2_pkg_postinst
239 }