1 |
commit: ab4d42b4c700cfb08d601c7741959e6f0483705a |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 15 17:26:13 2019 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 15 18:37:29 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab4d42b4 |
7 |
|
8 |
sys-apps/kmod: rename 'ssl' USE flag to 'pkcs7' |
9 |
|
10 |
This better expresses the effect of the --with-openssl configure option. |
11 |
See NEWS for more details. |
12 |
|
13 |
This also has the nice side-effect of disabling the dependency on |
14 |
opensssl by default, which makes kmod work without /usr mounted in early |
15 |
boot. |
16 |
|
17 |
Closes: https://bugs.gentoo.org/700128 |
18 |
Package-Manager: Portage-2.3.79_p3, Repoman-2.3.18_p2 |
19 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
20 |
|
21 |
sys-apps/kmod/kmod-26-r2.ebuild | 6 +++--- |
22 |
sys-apps/kmod/kmod-9999.ebuild | 6 +++--- |
23 |
sys-apps/kmod/metadata.xml | 1 + |
24 |
3 files changed, 7 insertions(+), 6 deletions(-) |
25 |
|
26 |
diff --git a/sys-apps/kmod/kmod-26-r2.ebuild b/sys-apps/kmod/kmod-26-r2.ebuild |
27 |
index 08754b1f8b1..4c0380e44bd 100644 |
28 |
--- a/sys-apps/kmod/kmod-26-r2.ebuild |
29 |
+++ b/sys-apps/kmod/kmod-26-r2.ebuild |
30 |
@@ -21,7 +21,7 @@ HOMEPAGE="https://git.kernel.org/?p=utils/kernel/kmod/kmod.git" |
31 |
|
32 |
LICENSE="LGPL-2" |
33 |
SLOT="0" |
34 |
-IUSE="debug doc libressl lzma python ssl static-libs +tools zlib" |
35 |
+IUSE="debug doc libressl lzma pkcs7 python static-libs +tools zlib" |
36 |
|
37 |
# Upstream does not support running the test suite with custom configure flags. |
38 |
# I was also told that the test suite is intended for kmod developers. |
39 |
@@ -36,7 +36,7 @@ RDEPEND="!sys-apps/module-init-tools |
40 |
!<sys-apps/systemd-216-r3 |
41 |
lzma? ( >=app-arch/xz-utils-5.0.4-r1 ) |
42 |
python? ( ${PYTHON_DEPS} ) |
43 |
- ssl? ( |
44 |
+ pkcs7? ( |
45 |
!libressl? ( >=dev-libs/openssl-1.1.0:0= ) |
46 |
libressl? ( dev-libs/libressl:0= ) |
47 |
) |
48 |
@@ -93,7 +93,7 @@ src_configure() { |
49 |
$(use_enable static-libs static) |
50 |
$(use_enable tools) |
51 |
$(use_with lzma xz) |
52 |
- $(use_with ssl openssl) |
53 |
+ $(use_with pkcs7 openssl) |
54 |
$(use_with zlib) |
55 |
) |
56 |
|
57 |
|
58 |
diff --git a/sys-apps/kmod/kmod-9999.ebuild b/sys-apps/kmod/kmod-9999.ebuild |
59 |
index 40622a08336..8e2f199af67 100644 |
60 |
--- a/sys-apps/kmod/kmod-9999.ebuild |
61 |
+++ b/sys-apps/kmod/kmod-9999.ebuild |
62 |
@@ -21,7 +21,7 @@ HOMEPAGE="https://git.kernel.org/?p=utils/kernel/kmod/kmod.git" |
63 |
|
64 |
LICENSE="LGPL-2" |
65 |
SLOT="0" |
66 |
-IUSE="debug doc lzma python ssl static-libs +tools zlib" |
67 |
+IUSE="debug doc lzma pkcs7 python static-libs +tools zlib" |
68 |
|
69 |
# Upstream does not support running the test suite with custom configure flags. |
70 |
# I was also told that the test suite is intended for kmod developers. |
71 |
@@ -36,7 +36,7 @@ RDEPEND="!sys-apps/module-init-tools |
72 |
!<sys-apps/systemd-216-r3 |
73 |
lzma? ( >=app-arch/xz-utils-5.0.4-r1 ) |
74 |
python? ( ${PYTHON_DEPS} ) |
75 |
- ssl? ( >=dev-libs/openssl-1.1.0:0= ) |
76 |
+ pkcs7? ( >=dev-libs/openssl-1.1.0:0= ) |
77 |
zlib? ( >=sys-libs/zlib-1.2.6 )" #427130 |
78 |
DEPEND="${RDEPEND} |
79 |
doc? ( dev-util/gtk-doc ) |
80 |
@@ -86,7 +86,7 @@ src_configure() { |
81 |
$(use_enable static-libs static) |
82 |
$(use_enable tools) |
83 |
$(use_with lzma xz) |
84 |
- $(use_with ssl openssl) |
85 |
+ $(use_with pkcs7 openssl) |
86 |
$(use_with zlib) |
87 |
) |
88 |
|
89 |
|
90 |
diff --git a/sys-apps/kmod/metadata.xml b/sys-apps/kmod/metadata.xml |
91 |
index 188bf47702e..be2aa770174 100644 |
92 |
--- a/sys-apps/kmod/metadata.xml |
93 |
+++ b/sys-apps/kmod/metadata.xml |
94 |
@@ -10,6 +10,7 @@ |
95 |
</maintainer> |
96 |
<use> |
97 |
<flag name="lzma">Enable support for XZ compressed modules</flag> |
98 |
+ <flag name="pkcs7">Enable PKCS#7 signature parsing for modinfo.</flag> |
99 |
<flag name="tools">Install module loading/unloading tools.</flag> |
100 |
<flag name="zlib">Enable support for gzipped modules</flag> |
101 |
</use> |