1 |
commit: bc34f32e7a99c24cf0737e438ce4e794fb7fd3d7 |
2 |
Author: Florian Schmaus <flow <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 2 15:56:24 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 2 16:03:36 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc34f32e |
7 |
|
8 |
net-analyzer/openvas-scanner: USE 'extras' → 'doc' |
9 |
|
10 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
11 |
|
12 |
...-scanner-21.4.4.ebuild => openvas-scanner-21.4.4-r1.ebuild} | 10 +++++----- |
13 |
1 file changed, 5 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-21.4.4.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild |
16 |
similarity index 96% |
17 |
rename from net-analyzer/openvas-scanner/openvas-scanner-21.4.4.ebuild |
18 |
rename to net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild |
19 |
index b6a8ac41cbbf..a8f5ef4aa4d3 100644 |
20 |
--- a/net-analyzer/openvas-scanner/openvas-scanner-21.4.4.ebuild |
21 |
+++ b/net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild |
22 |
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> $ |
23 |
SLOT="0" |
24 |
LICENSE="GPL-2 GPL-2+" |
25 |
KEYWORDS="~amd64 ~x86" |
26 |
-IUSE="cron extras snmp test" |
27 |
+IUSE="cron doc snmp test" |
28 |
RESTRICT="!test? ( test )" |
29 |
|
30 |
DEPEND=" |
31 |
@@ -41,7 +41,7 @@ BDEPEND=" |
32 |
sys-devel/bison |
33 |
sys-devel/flex |
34 |
virtual/pkgconfig |
35 |
- extras? ( |
36 |
+ doc? ( |
37 |
app-doc/doxygen[dot] |
38 |
app-doc/xmltoman |
39 |
app-text/htmldoc |
40 |
@@ -62,7 +62,7 @@ src_prepare() { |
41 |
# QA-Fix | Correct FHS/Gentoo policy paths for 7.0.0 |
42 |
sed -i -e "s*/doc/openvas-scanner/*/doc/openvas-scanner-${PV}/*g" "${S}"/src/CMakeLists.txt || die |
43 |
# QA-Fix | Remove !CLANG doxygen warnings for 7.0.0 |
44 |
- if use extras; then |
45 |
+ if use doc; then |
46 |
if ! tc-is-clang; then |
47 |
local f |
48 |
for f in doc/*.in |
49 |
@@ -93,7 +93,7 @@ src_configure() { |
50 |
|
51 |
src_compile() { |
52 |
cmake_src_compile |
53 |
- if use extras; then |
54 |
+ if use doc; then |
55 |
cmake_build -C "${BUILD_DIR}" doc |
56 |
cmake_build doc-full -C "${BUILD_DIR}" doc |
57 |
fi |
58 |
@@ -104,7 +104,7 @@ src_compile() { |
59 |
} |
60 |
|
61 |
src_install() { |
62 |
- if use extras; then |
63 |
+ if use doc; then |
64 |
local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. ) |
65 |
fi |
66 |
cmake_src_install |