mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
sys-kernel/kconfig-hardened-check: new tool
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Yury Martynov <email@linxon.ru>
This commit is contained in:
parent
d12f4c0853
commit
511146a786
4 changed files with 75 additions and 0 deletions
1
sys-kernel/kconfig-hardened-check/Manifest
Normal file
1
sys-kernel/kconfig-hardened-check/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST kconfig-hardened-check-0.5.3.tar.gz 1008709 BLAKE2B 943dd5d853c51cfc8342ee779343f76cc1cd254720ac4b17f4a0c9c6e10005dd05762260537eb992e5d4142935f5335ef674701772f631f0c520d71cf8607d19 SHA512 59d8b3af9556673f5ec188b8748b4c0506e96c4b0887fe7f915c9b9d8ce62c3036b73aa41dc96eac1bc926c5457d3fc71bc776f61fe3e06ca344c9ced0438ca9
|
||||
|
|
@ -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
|
||||
}
|
||||
|
|
@ -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
|
||||
}
|
||||
12
sys-kernel/kconfig-hardened-check/metadata.xml
Normal file
12
sys-kernel/kconfig-hardened-check/metadata.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue