scap-security-guide/yamllint: drop, unmaintained

This commit is contained in:
Rick Farina (Zero_Chaos) 2024-11-12 13:06:34 -05:00
parent 1e931d19a3
commit 6c73330c4c
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
7 changed files with 0 additions and 200 deletions

View file

@ -1 +0,0 @@
DIST scap-security-guide-0.1.51.tar.gz 9170386 BLAKE2B 8efdfb856af8f1ed0481a30dce659de2cac9f8c1d63b1e1e52725b2862fb1d4f5a8cdfd8d9823e4cb0e5571b3f0a87b71fdb5178619bc122eb65a4e8b99f0dee SHA512 b1bfad54c9b26d3b5e6e15436c76a5adb9108fe52717487a21e22341327f090f4f2a511069b7f52ece66a3af586242b71034564a8707721af509401cf1c3bf6f

View file

@ -1,41 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>email@linxon.ru</email>
<name>Yury Martynov</name>
</maintainer>
<use>
<flag name="chromium">If enabled, the Chromium SCAP content will be built</flag>
<flag name="debian8">If enabled, the Debian 8 SCAP content will be built</flag>
<flag name="eap6">If enabled, the JBoss EAP6 SCAP content will be built</flag>
<flag name="example">If enabled, the Example SCAP content will be built</flag>
<flag name="fedora">If enabled, the Fedora SCAP content will be built</flag>
<flag name="firefox">If enabled, the Firefox SCAP content will be built</flag>
<flag name="fuse6">If enabled, the JBoss Fuse6 SCAP content will be built</flag>
<flag name="jre">If enabled, the JRE SCAP content will be built</flag>
<flag name="ocp3">If enabled, the OCP3 SCAP content will be built</flag>
<flag name="ol7">If enabled, the Oracle Linux 7 SCAP content will be built</flag>
<flag name="ol8">If enabled, the Oracle Linux 8 SCAP content will be built</flag>
<flag name="opensuse">If enabled, the openSUSE SCAP content will be built</flag>
<flag name="rhel6">If enabled, the RHEL6 SCAP content will be built</flag>
<flag name="rhel7">If enabled, the RHEL7 SCAP content will be built</flag>
<flag name="rhel8">If enabled, the RHEL8 SCAP content will be built</flag>
<flag name="rhosp13">If enabled, the RHOSP13 SCAP content will be built</flag>
<flag name="rhv4">If enabled, the RHV4 SCAP content will be built</flag>
<flag name="sle11">If enabled, the SLE11 SCAP content will be built</flag>
<flag name="sle12">If enabled, the SLE12 SCAP content will be built</flag>
<flag name="ubuntu1404">If enabled, the Ubuntu 14.04 SCAP content will be built</flag>
<flag name="ubuntu1604">If enabled, the Ubuntu 16.04 SCAP content will be built</flag>
<flag name="ubuntu1804">If enabled, the Ubuntu 18.04 SCAP content will be built</flag>
<flag name="wrlinux8">If enabled, the WRLinux8 SCAP content will be built</flag>
<flag name="wrlinux1019">If enabled, the WRLinux1019 SCAP content will be built</flag>
<flag name="centos">If enabled, CentOS derivative content will be built from the RHEL content</flag>
<flag name="scientific-linux">If enabled, Scientific Linux derivative content will be built from the RHEL content</flag>
<flag name="jinja2">If enabled, the jinja2 templating files will be cached into bytecode</flag>
<flag name="shellcheck">If enabled, shellcheck validation of bash fixes will be performed as part of the ctest tests</flag>
</use>
<upstream>
<remote-id type="github">ComplianceAsCode/content</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1,94 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
SSG_PRODUCTS=(
+chromium +debian8 eap6 example +fedora +firefox fuse6
jre ocp3 ol7 ol8 +opensuse rhel6 rhel7 rhel8 rhosp13
rhv4 sle11 sle12 ubuntu1404 +ubuntu1604 +ubuntu1804
wrlinux8 wrlinux1019
)
inherit cmake python-single-r1
DESCRIPTION="Security compliance content in SCAP, Bash, Ansible, and other formats"
HOMEPAGE="https://www.open-scap.org/security-policies/scap-security-guide"
SRC_URI="https://github.com/ComplianceAsCode/content/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/content-${PV}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="${SSG_PRODUCTS[*]} centos +jinja2 shellcheck scientific-linux test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
shellcheck? ( test )"
RDEPEND="${PYTHON_DEPS}"
DEPEND="${RDEPEND}
app-forensics/openscap
dev-libs/expat
dev-libs/libxslt
dev-libs/libxml2:2
$(python_gen_cond_dep '
app-admin/ansible[${PYTHON_USEDEP}]
app-admin/ansible-lint[${PYTHON_USEDEP}]
dev-python/json2html[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/yamllint[${PYTHON_USEDEP}]
')
jinja2? ( $(python_gen_cond_dep 'dev-python/jinja2[${PYTHON_USEDEP}]') )
test? (
$(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
shellcheck? (
|| ( dev-util/shellcheck-bin dev-util/shellcheck )
)
)"
RESTRICT="!test? ( test )"
pkg_setup() {
python-single-r1_pkg_setup
}
src_prepare() {
find "${S}" -name "*.py" | while read x; do
sed -i -e "/^#!/s/python\(.*\)/python/" "$x" || die
done
python_fix_shebang -q "${S}"
cmake_src_prepare
}
src_configure() {
local product
local mycmakeargs=(
-DPYTHON_EXECUTABLE="${PYTHON}"
-DCMAKE_INSTALL_DOCDIR="/usr/share/doc/${PF}"
-DSSG_SVG_IN_XCCDF_ENABLED="yes"
-DSSG_SEPARATE_SCAP_FILES_ENABLED="yes"
-DSSG_JINJA2_CACHE_ENABLED="$(usex jinja2)"
-DSSG_JINJA2_CACHE_DIR="${T}/jinja2_cache"
-DSSG_CENTOS_DERIVATIVES_ENABLED="$(usex centos)"
-DSSG_SCIENTIFIC_LINUX_DERIVATIVES_ENABLED="$(usex scientific-linux)"
-DENABLE_PYTHON_COVERAGE="$(usex test)"
-DSSG_SHELLCHECK_BASH_FIXES_VALIDATION_ENABLED="$(usex shellcheck)"
-DSSG_LINKCHECKER_VALIDATION_ENABLED="no" # network is required
)
for x in ${SSG_PRODUCTS[@]}; do
product="${x//[[:punct:]]/}"
mycmakeargs+=( "-DSSG_PRODUCT_${product^^}=$(usex ${product})" )
done
# support building only in ./build directory
# do not remove it without testing
BUILD_DIR="${S}/build"
cmake_src_configure
}

View file

@ -1,2 +0,0 @@
DIST yamllint-1.21.0.tar.gz 118360 BLAKE2B 5b153034e46fb0dc3b05de5b2a2426a9fec131e60e659211c3e2debe695a9df472bf24844a28a4b3ed9397657966af37c7830dbd5d16c7d8a5cf71a240555cd1 SHA512 6578501aea6c17021047081d5d4f7879fc82a549912f53cb9821a4d61225a4fb8acf31c39414c2535512e3fed14ffca80929cdd3e3b88acb9bd4af6177fbbbf7
DIST yamllint-1.26.1.tar.gz 126801 BLAKE2B b53d7878c903b67e57361989bb7b4e9e96269997abb6e2aec4a15dcc13ea71133779656e51197986a89f0c32490e83bde2f42842714986c5c9ec0189bb7cb015 SHA512 0e8ed03c98808397228885cf372dfb4f7093502d47804756182ca3477b8cf6b1db4124f9efbf7a9e6987f834aa4c274ab5bbc06c01604fb91e94bd698816f338

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>email@linxon.ru</email>
<name>Yury Martynov</name>
</maintainer>
</pkgmetadata>

View file

@ -1,27 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="A linter for YAML files"
HOMEPAGE="https://github.com/adrienverge/yamllint"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
LICENSE="GPL-3"
SLOT="0"
IUSE="test"
RDEPEND="${PYTHON_DEPS}
dev-python/pathspec[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? ( dev-python/pytest )"
src_test() {
python3 -m pytest tests/ || die
}

View file

@ -1,27 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="A linter for YAML files"
HOMEPAGE="https://github.com/adrienverge/yamllint"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="amd64 ~arm64 x86"
LICENSE="GPL-3"
SLOT="0"
IUSE="test"
RDEPEND="${PYTHON_DEPS}
dev-python/pathspec[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? ( dev-python/pytest )"
src_test() {
python3 -m pytest tests/ || die
}