Gentoo Archives: gentoo-commits

From: Kristian Fiskerstrand <k_f@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/gnupg/
Date: Sun, 21 Oct 2018 12:04:06
Message-Id: 1540123431.d0f0401e5098b6f4e0a0f85ce24de3acda1bcb68.k_f@gentoo
1 commit: d0f0401e5098b6f4e0a0f85ce24de3acda1bcb68
2 Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 21 11:50:57 2018 +0000
4 Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 21 12:03:51 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0f0401e
7
8 app-crypt/gnupg: Add user-socket USE flag
9
10 The user-socket USE flag enables --enable-run-gnupg-user-socket.
11
12 Closes: https://bugs.gentoo.org/663142
13 Signed-off-by: Kristian Fiskerstrand <k_f <AT> gentoo.org>
14 Package-Manager: Portage-2.3.49, Repoman-2.3.11
15
16 .../gnupg/{gnupg-2.2.10-r1.ebuild => gnupg-2.2.10-r2.ebuild} | 9 +++++++--
17 app-crypt/gnupg/metadata.xml | 3 +++
18 2 files changed, 10 insertions(+), 2 deletions(-)
19
20 diff --git a/app-crypt/gnupg/gnupg-2.2.10-r1.ebuild b/app-crypt/gnupg/gnupg-2.2.10-r2.ebuild
21 similarity index 95%
22 rename from app-crypt/gnupg/gnupg-2.2.10-r1.ebuild
23 rename to app-crypt/gnupg/gnupg-2.2.10-r2.ebuild
24 index 7d51332a544..2bf51b3eec8 100644
25 --- a/app-crypt/gnupg/gnupg-2.2.10-r1.ebuild
26 +++ b/app-crypt/gnupg/gnupg-2.2.10-r2.ebuild
27 @@ -1,4 +1,4 @@
28 -# Copyright 1999-2018 Gentoo Foundation
29 +# Copyright 1999-2018 Gentoo Authors
30 # Distributed under the terms of the GNU General Public License v2
31
32 EAPI=7
33 @@ -14,7 +14,7 @@ SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
34 LICENSE="GPL-3"
35 SLOT="0"
36 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
37 -IUSE="bzip2 doc ldap nls readline selinux +smartcard ssl tofu tools usb wks-server"
38 +IUSE="bzip2 doc ldap nls readline selinux +smartcard ssl tofu tools usb user-socket wks-server"
39
40 # Existence of executables is checked during configuration.
41 DEPEND="!app-crypt/dirmngr
42 @@ -67,6 +67,11 @@ src_configure() {
43 myconf+=( --enable-symcryptrun )
44 fi
45
46 + #bug 663142
47 + if use user-socket; then
48 + myconf+=( --enable-run-gnupg-user-socket )
49 + fi
50 +
51 # glib fails and picks up clang's internal stdint.h causing weird errors
52 [[ ${CC} == *clang ]] && \
53 export gl_cv_absolute_stdint_h=/usr/include/stdint.h
54
55 diff --git a/app-crypt/gnupg/metadata.xml b/app-crypt/gnupg/metadata.xml
56 index d9ae4079527..710e79addfa 100644
57 --- a/app-crypt/gnupg/metadata.xml
58 +++ b/app-crypt/gnupg/metadata.xml
59 @@ -22,6 +22,9 @@
60 <flag name="usb">
61 Build direct CCID access for scdaemon; requires <pkg>dev-libs/libusb</pkg>.
62 </flag>
63 + <flag name="user-socket">
64 + try a socket directory which is not removed by init manager at session end
65 + </flag>
66 <flag name="mta">
67 Build mta support using <pkg>virtual/mta</pkg>.
68 </flag>