aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <sven.vermeulen@siphos.be>2013-12-20 15:13:11 +0100
committerSven Vermeulen <sven.vermeulen@siphos.be>2013-12-20 15:13:11 +0100
commitac90f2453879ce0a62ac9675d73b6885913f198c (patch)
treed81062c61c7f62c80334ec8d8a97d0fe43a2d155
parentRun oscap in tmp dir as well (diff)
downloadhardened-docs-ac90f2453879ce0a62ac9675d73b6885913f198c.tar.gz
hardened-docs-ac90f2453879ce0a62ac9675d73b6885913f198c.tar.bz2
hardened-docs-ac90f2453879ce0a62ac9675d73b6885913f198c.zip
Make make.conf a variable
-rw-r--r--xml/SCAP/gentoo-oval.xml12
1 files changed, 8 insertions, 4 deletions
diff --git a/xml/SCAP/gentoo-oval.xml b/xml/SCAP/gentoo-oval.xml
index 73b5ec8..7e1a184 100644
--- a/xml/SCAP/gentoo-oval.xml
+++ b/xml/SCAP/gentoo-oval.xml
@@ -870,14 +870,14 @@
<ind-def:textfilecontent54_object id="oval:org.gentoo.dev.swift:obj:17"
version="2" comment="Portage make.conf global USE settings">
- <ind-def:filepath>/etc/portage/make.conf</ind-def:filepath>
+ <ind-def:filepath var_ref="oval:org.gentoo.dev.swift:var:1" />
<ind-def:pattern operation="pattern match">^USE=.*</ind-def:pattern>
<ind-def:instance operation="greater than or equal" datatype="int">1</ind-def:instance>
</ind-def:textfilecontent54_object>
<ind-def:textfilecontent54_object id="oval:org.gentoo.dev.swift:obj:18"
version="1" comment="Portage make.conf FEATURES settings">
- <ind-def:filepath>/etc/portage/make.conf</ind-def:filepath>
+ <ind-def:filepath var_ref="oval:org.gentoo.dev.swift:var:1" />
<ind-def:pattern operation="pattern match">^FEATURES=.*</ind-def:pattern>
<ind-def:instance operation="greater than or equal" datatype="int">1</ind-def:instance>
</ind-def:textfilecontent54_object>
@@ -943,8 +943,12 @@
</states>
-<!--
<variables>
+
+ <constant_variable id="oval:org.gentoo.dev.swift:var:1" version="1" datatype="string" comment="Path to Portage make.conf">
+ <value>/etc/portage/make.conf</value>
+ </constant_variable>
+
</variables>
--->
+
</oval_definitions>