Diff gnupg-pkcs11-scd-0.9.2 with a gnupg-pkcs11-scd-0.9.2-r1

/usr/portage/app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.9.2-r1.ebuild 2021-05-02 20:39:00.000000000 +0300
3 3

  
4 4
EAPI=7
5 5

  
6
inherit user
7

  
8 6
DESCRIPTION="PKCS#11 support for GnuPG"
9 7
HOMEPAGE="http://gnupg-pkcs11.sourceforge.net"
10 8
SRC_URI="https://github.com/alonbl/${PN}/releases/download/${P}/${P}.tar.bz2"
......
14 12
KEYWORDS="~amd64 ~x86"
15 13
IUSE="proxy"
16 14

  
17
RDEPEND="
15
DEPEND="
18 16
	dev-libs/openssl:0=
19 17
	dev-libs/libassuan:=
20
	>=dev-libs/libgcrypt-1.2.2:=
21
	>=dev-libs/libgpg-error-1.3:=
22
	>=dev-libs/pkcs11-helper-1.02:="
23
DEPEND="${RDEPEND}"
18
	dev-libs/libgcrypt:=
19
	dev-libs/libgpg-error:=
20
	dev-libs/pkcs11-helper:=
21
"
22
RDEPEND="
23
	${DEPEND}
24
	proxy? (
25
		acct-group/gnupg-pkcs11
26
		acct-group/gnupg-pkcs11-scd-proxy
27
		acct-user/gnupg-pkcs11-scd-proxy
28
	)
29
"
24 30
BDEPEND="virtual/pkgconfig"
25 31

  
26
pkg_setup() {
27
	if use proxy; then
28
		enewgroup gnupg-pkcs11
29
		enewgroup gnupg-pkcs11-scd-proxy
30
		enewuser gnupg-pkcs11-scd-proxy -1 -1 / gnupg-pkcs11-scd-proxy,gnupg-pkcs11
31
	fi
32
}
33

  
34 32
src_configure() {
35
	econf \
36
		$(use_enable proxy) \
33
	local myeconfargs=(
34
		$(use_enable proxy)
37 35
		--with-proxy-socket=/run/gnupg-pkcs11-scd-proxy/cmd
36
	)
37

  
38
	econf "${myeconfargs[@]}"
38 39
}
39 40

  
40 41
src_install() {
41 42
	default
43

  
42 44
	if use proxy; then
43 45
		newinitd "${FILESDIR}/gnupg-pkcs11-scd-proxy.initd" gnupg-pkcs11-scd-proxy
44 46
		newconfd "${FILESDIR}/gnupg-pkcs11-scd-proxy.confd" gnupg-pkcs11-scd-proxy
Thank you!