Diff kmod-27-r2 with a kmod-27-r3

/var/lib/layman/calculate/sys-apps/kmod/kmod-27-r3.ebuild 2020-09-25 11:56:15.000000000 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2020 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
5 5

  
6
PYTHON_COMPAT=( python3_{7,8,9} )
6
PYTHON_COMPAT=( python3_{6,7,8} )
7 7

  
8 8
inherit autotools bash-completion-r1 multilib python-r1
9 9

  
......
12 12
	inherit git-r3
13 13
else
14 14
	SRC_URI="https://www.kernel.org/pub/linux/utils/kernel/kmod/${P}.tar.xz"
15
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
15
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
16 16
	#inherit libtool
17 17
fi
18 18

  
......
21 21

  
22 22
LICENSE="LGPL-2"
23 23
SLOT="0"
24
IUSE="debug doc +lzma pkcs7 python static-libs +tools +zlib"
24
IUSE="debug doc libressl +lzma pkcs7 python static-libs +tools +zlib +zstd"
25 25

  
26 26
# Upstream does not support running the test suite with custom configure flags.
27 27
# I was also told that the test suite is intended for kmod developers.
......
35 35
	!<sys-apps/openrc-0.13.8
36 36
	!<sys-apps/systemd-216-r3
37 37
	lzma? ( >=app-arch/xz-utils-5.0.4-r1 )
38
	zstd? ( >=app-arch/zstd-1.4.0 )
38 39
	python? ( ${PYTHON_DEPS} )
39
	pkcs7? ( >=dev-libs/openssl-1.1.0:0= )
40
	pkcs7? (
41
		!libressl? ( >=dev-libs/openssl-1.1.0:0= )
42
		libressl? ( dev-libs/libressl:0= )
43
	)
40 44
	zlib? ( >=sys-libs/zlib-1.2.6 )" #427130
41 45
DEPEND="${RDEPEND}"
42 46
BDEPEND="
......
60 64

  
61 65
DOCS="NEWS README TODO"
62 66

  
63
PATCHES=( "${FILESDIR}"/${P}-depmod-do-not-output-.bin-to-stdout.patch )
67
PATCHES=( "${FILESDIR}"/${P}-depmod-do-not-output-.bin-to-stdout.patch
68
	"${FILESDIR}"/zstd-support-27.patch
69
)
64 70

  
65 71
src_prepare() {
66 72
	default
67 73

  
68 74
	if [[ ! -e configure ]] || use doc ; then
69 75
		if use doc; then
70
			cp "${BROOT}"/usr/share/aclocal/gtk-doc.m4 m4 || die
76
			cp "${EROOT}"/usr/share/aclocal/gtk-doc.m4 m4 || die
71 77
			gtkdocize --copy --docdir libkmod/docs || die
72 78
		else
73 79
			touch libkmod/docs/gtk-doc.make
......
96 102
		$(use_with lzma xz)
97 103
		$(use_with pkcs7 openssl)
98 104
		$(use_with zlib)
105
		$(use_with zstd)
99 106
	)
100 107

  
101 108
	local ECONF_SOURCE="${S}"
Thank you!