diff --git a/sys-kernel/kconfig-hardened-check/Manifest b/sys-kernel/kconfig-hardened-check/Manifest new file mode 100644 index 000000000..4be2a7133 --- /dev/null +++ b/sys-kernel/kconfig-hardened-check/Manifest @@ -0,0 +1 @@ +DIST kconfig-hardened-check-0.5.3.tar.gz 1008709 BLAKE2B 943dd5d853c51cfc8342ee779343f76cc1cd254720ac4b17f4a0c9c6e10005dd05762260537eb992e5d4142935f5335ef674701772f631f0c520d71cf8607d19 SHA512 59d8b3af9556673f5ec188b8748b4c0506e96c4b0887fe7f915c9b9d8ce62c3036b73aa41dc96eac1bc926c5457d3fc71bc776f61fe3e06ca344c9ced0438ca9 diff --git a/sys-kernel/kconfig-hardened-check/kconfig-hardened-check-0.5.3.ebuild b/sys-kernel/kconfig-hardened-check/kconfig-hardened-check-0.5.3.ebuild new file mode 100644 index 000000000..f861912c5 --- /dev/null +++ b/sys-kernel/kconfig-hardened-check/kconfig-hardened-check-0.5.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit python-r1 + +DESCRIPTION="A script for checking the hardening options in the Linux kernel config" +HOMEPAGE="https://github.com/a13xp0p0v/kconfig-hardened-check" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/a13xp0p0v/kconfig-hardened-check" +else + SRC_URI="https://github.com/a13xp0p0v/kconfig-hardened-check/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" + +RDEPEND="${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +src_install() { + dodoc -r config_files/ README.md + python_foreach_impl python_newscript \ + kconfig-hardened-check.py kconfig-hardened-check +} diff --git a/sys-kernel/kconfig-hardened-check/kconfig-hardened-check-9999.ebuild b/sys-kernel/kconfig-hardened-check/kconfig-hardened-check-9999.ebuild new file mode 100644 index 000000000..f861912c5 --- /dev/null +++ b/sys-kernel/kconfig-hardened-check/kconfig-hardened-check-9999.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit python-r1 + +DESCRIPTION="A script for checking the hardening options in the Linux kernel config" +HOMEPAGE="https://github.com/a13xp0p0v/kconfig-hardened-check" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/a13xp0p0v/kconfig-hardened-check" +else + SRC_URI="https://github.com/a13xp0p0v/kconfig-hardened-check/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" + +RDEPEND="${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +src_install() { + dodoc -r config_files/ README.md + python_foreach_impl python_newscript \ + kconfig-hardened-check.py kconfig-hardened-check +} diff --git a/sys-kernel/kconfig-hardened-check/metadata.xml b/sys-kernel/kconfig-hardened-check/metadata.xml new file mode 100644 index 000000000..aa584e61a --- /dev/null +++ b/sys-kernel/kconfig-hardened-check/metadata.xml @@ -0,0 +1,12 @@ + + + + + email@linxon.ru + Yury Martynov + + + proxy-maint@gentoo.org + Proxy Maintainers + +