Skip to content

Commit 785b082

Browse files
committed
app-forensics: bump openscap and scap-security-guide to latest
* where latest is ssg: 0.1.79 and openscap: 1.3.13 Signed-off-by: Stephen L Arnold <[email protected]>
1 parent fe5b227 commit 785b082

File tree

5 files changed

+135
-1
lines changed

5 files changed

+135
-1
lines changed

app-forensics/openscap/Manifest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
DIST openscap-1.3.10.tar.gz 14073197 BLAKE2B 733b5e8318ae5f1f3ddfc693a9f418faf2eaa1d0c732482dccbeb16906ab6603d967fd544114107c6f1ba8bc4e5528a68948c81878b4c3aea0cfea0f4e13508f SHA512 007556b8f020636f6613c2b1192a8b96dfb21b62994a3e257619d48021ad962f95b724c3ac9709a60dbbf7dba8f2499ff8b9b56a7f2d293ca3a8d6ec8107f595
2+
DIST openscap-1.3.13.tar.gz 14075693 BLAKE2B c8b756207973ead8a1dd0d22f0618b62b8074568afe288296f06c96965e00987ff16206229cce5f0d1bb3c79d8401a879e38fa515739410b7efa7f87f23c1293 SHA512 51c89c978437cda27a206bb83cc04f513556cf4adc7335e2f93e32e369e1a1d6a987f4fce8e9af6fc92e0c515402732a24f6c8922ea456f8fcb69dbab6d3ef01

app-forensics/openscap/openscap-1.3.10.ebuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
EAPI=8
55

6-
PYTHON_COMPAT=( python3_{10..13} )
6+
PYTHON_COMPAT=( python3_{10..12} )
77

88
inherit cmake bash-completion-r1 python-single-r1
99

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Copyright 1999-2025 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
PYTHON_COMPAT=( python3_{10..14} )
7+
8+
inherit cmake bash-completion-r1 python-single-r1
9+
10+
HOMEPAGE="https://www.open-scap.org/tools/openscap-base"
11+
DESCRIPTION="NIST Certified SCAP 1.2 toolkit"
12+
13+
if [[ ${PV} != *9999* ]]; then
14+
SRC_URI="https://github.com/OpenSCAP/openscap/releases/download/${PV}/${P}.tar.gz"
15+
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
16+
else
17+
inherit git-r3
18+
EGIT_REPO_URI="https://github.com/OpenSCAP/openscap.git"
19+
fi
20+
21+
LICENSE="LGPL-2.1"
22+
SLOT="0/1"
23+
IUSE="+acl +caps debug doc ldap nss +perl +python rpm selinux sce sql test +xattr"
24+
25+
RDEPEND="!nss? ( dev-libs/libgcrypt:0 )
26+
nss? ( dev-libs/nss )
27+
acl? ( virtual/acl )
28+
caps? ( sys-libs/libcap )
29+
ldap? ( net-nds/openldap )
30+
rpm? ( >=app-arch/rpm-4.9 )
31+
sql? ( dev-db/opendbx )
32+
xattr? ( sys-apps/attr )
33+
dev-libs/libpcre
34+
dev-libs/libxml2
35+
dev-libs/libxslt
36+
dev-libs/xmlsec
37+
dev-libs/dbus-glib
38+
dev-libs/glib
39+
dev-libs/popt
40+
net-misc/curl
41+
sys-apps/dbus
42+
${PYTHON_DEPS}"
43+
44+
DEPEND="${RDEPEND}
45+
doc? ( app-text/doxygen )
46+
perl? ( dev-lang/swig )
47+
python? ( dev-lang/swig )
48+
test? (
49+
app-arch/unzip
50+
dev-perl/XML-XPath
51+
net-misc/ipcalc
52+
sys-apps/grep )"
53+
54+
RESTRICT="!test? ( test )"
55+
56+
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
57+
PATCHES=(
58+
#"${FILESDIR}/run-a-minor-testsuite.patch"
59+
)
60+
61+
DOCS=( README.md )
62+
63+
src_configure() {
64+
local mycmakeargs=(
65+
-DENABLE_OSCAP_REMEDIATE_SERVICE=OFF
66+
-DENABLE_PERL="$(usex perl)"
67+
-DENABLE_PYTHON3="$(usex python)"
68+
-DOPENSCAP_PROBE_UNIX_GCONF=OFF
69+
-DGCONF_LIBRARY=
70+
-DENABLE_DOCS="$(usex doc)"
71+
)
72+
73+
cmake_src_configure
74+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
DIST scap-security-guide-0.1.76.tar.bz2 8417418 BLAKE2B 83cb294e46c0bda2995cc60d237fed5ad626227810406024320db645d8d7737c95458e6d712ace2b2ddfba09064dd91a98c2a28c6477be6efee0330a8eb9f88e SHA512 27cb260eb0b2fbfd11afe2affb91624e4e2ff332e7ffe43a0c0ec2e08b5e2aa707f00e77c97fa1cbdace5549ef25cf42b34756777a568809da7d1222bd05950c
2+
DIST scap-security-guide-0.1.79.tar.bz2 8635467 BLAKE2B 33e17a43ca50ed14410687f6134999a525529a75972fb6c97c6c2b7ee6a78248d7afa88c26c55d1e37548d982e5210ef71345d054c5fe7beb6b8821caac5de4a SHA512 57963e896aef6089523bb7165ece32dafeedc2caf0baac594c4d0d083ff00bd37c4fdc1c98357db1c70523bb67543c07b6a41b7d989ba1a8e97907218d954311
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Copyright 1999-2025 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
PYTHON_COMPAT=( python3_{10..14} )
7+
MY_PN="content"
8+
9+
inherit cmake python-single-r1
10+
11+
HOMEPAGE="https://www.open-scap.org/security-policies/scap-security-guide"
12+
DESCRIPTION="Security automation content in SCAP, Bash, Ansible, and other formats"
13+
14+
if [[ ${PV} != *9999* ]]; then
15+
SRC_URI="https://github.com/ComplianceAsCode/${MY_PN}/releases/download/v${PV}/${P}.tar.bz2"
16+
KEYWORDS="~amd64 ~arm ~arm64 ~riscv"
17+
else
18+
inherit git-r3
19+
EGIT_REPO_URI="https://github.com/ComplianceAsCode/${MY_PN}.git"
20+
KEYWORDS=""
21+
fi
22+
23+
LICENSE="BSD"
24+
SLOT="0/3"
25+
IUSE="ansible bash"
26+
27+
DEPEND="
28+
dev-libs/expat
29+
dev-libs/libxml2
30+
dev-libs/libxslt
31+
dev-python/jinja2
32+
dev-python/pyyaml
33+
${PYTHON_DEPS}
34+
"
35+
RDEPEND="${DEPEND}
36+
app-forensics/openscap
37+
ansible? ( app-admin/ansible )
38+
bash? ( app-shells/bash )
39+
"
40+
BDEPEND="virtual/pkgconfig
41+
dev-python/setuptools
42+
${PYTHON_DEPS}
43+
"
44+
45+
DOCS=( README.md )
46+
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
47+
48+
src_configure() {
49+
ln -snf "${BUILD_DIR}" "${S}"/build
50+
51+
local mycmakeargs=(
52+
-DSSG_ANSIBLE_PLAYBOOKS_ENABLED="$(usex ansible)"
53+
-DSSG_BASH_SCRIPTS_ENABLED="$(usex bash)"
54+
-DSSG_OVAL_SCHEMATRON_VALIDATION_ENABLED=OFF
55+
)
56+
57+
cmake_src_configure
58+
}

0 commit comments

Comments
 (0)