mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 22:01:11 +02:00
minipli-sources: new ebuild for unofficial grsecurity forward ports
This commit is contained in:
parent
c0d5b7791c
commit
212d18b043
3 changed files with 51 additions and 0 deletions
|
|
@ -9,3 +9,5 @@ sys-kernel/spl
|
|||
sys-kernel/ax88179_178a
|
||||
|
||||
~sys-kernel/pf_ring-kmod-5.6.1
|
||||
|
||||
sys-kernel/minipli-sources
|
||||
|
|
|
|||
3
sys-kernel/minipli-sources/Manifest
Normal file
3
sys-kernel/minipli-sources/Manifest
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
DIST genpatches-4.9-45.base.tar.xz 959052 SHA256 279bec7f62cdc68d7fbc28a86c937346553050f32bb781fc31b8d8d6f5d6948b SHA512 604bca804acc93ff69f44daf070ff753fc2a0fc6a3c181346b42188b0ca1a3db219acb961a56a02a2187dfaa53bea0dee6e3cb5b524bcb0e21f9d52d700de8d4 WHIRLPOOL e3e753a436e3447d18e965299d4b63ca59ca31ec0aec7351ac2f2e60f7a21318e90ef099793ffa1ea33f79d53f39ccf0d1d82376b4871498d5a8193d668e4ac9
|
||||
DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a
|
||||
DIST v4.9.44-unofficial_grsec-20170817112724.diff 9366519 SHA256 a1a80c0df7a4f39af63400228098ae4155399f4888a850b9f54eb3461ae3b5b5 SHA512 186309ceed995ce9af9666017bf08c71418123fd09f53ea1fa395587484c2b0fadb4a2e440235fcba5257bb1286f67326028f04cd8ee522abc42ac021bcd691b WHIRLPOOL 0ae217013fab80704f5e6120046746a13fa833dbc7cde208db6534fd50bdf42ccc44ab18128f7fce0f600e87fd2fd6d232e05813199ea2ed0417b9937f58c14f
|
||||
46
sys-kernel/minipli-sources/minipli-sources-4.9.44.ebuild
Normal file
46
sys-kernel/minipli-sources/minipli-sources-4.9.44.ebuild
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
ETYPE="sources"
|
||||
K_WANT_GENPATCHES="base"
|
||||
K_GENPATCHES_VER="45"
|
||||
#K_DEBLOB_AVAILABLE="1"
|
||||
|
||||
inherit kernel-2
|
||||
detect_version
|
||||
|
||||
HGPV="20170817112724"
|
||||
HGPV_URI="https://github.com/minipli/linux-unofficial_grsec/releases/download/v${PV}-unofficial_grsec/v${PV}-unofficial_grsec-${HGPV}.diff"
|
||||
|
||||
SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}"
|
||||
|
||||
UNIPATCH_LIST="${DISTDIR}/v4.9.44-unofficial_grsec-20170817112724.diff"
|
||||
UNIPATCH_EXCLUDE="
|
||||
1500_XATTR_USER_PREFIX.patch
|
||||
1520_CVE-2017-6074-dccp-skb-freeing-fix.patch
|
||||
2900_dev-root-proc-mount-fix.patch"
|
||||
|
||||
DESCRIPTION="Unofficial forward ports of the last publicly available grsecurity patch (kernel series ${KV_MAJOR}.${KV_MINOR})"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/hardened/"
|
||||
IUSE="deblob"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
RDEPEND=">=sys-devel/gcc-4.5"
|
||||
|
||||
pkg_postinst() {
|
||||
kernel-2_pkg_postinst
|
||||
|
||||
local GRADM_COMPAT="sys-apps/gradm-3.1*"
|
||||
|
||||
ewarn
|
||||
ewarn "Users of grsecurity's RBAC system must ensure they are using"
|
||||
ewarn "${GRADM_COMPAT}, which is compatible with ${PF}."
|
||||
ewarn "It is strongly recommended that the following command is issued"
|
||||
ewarn "prior to booting a ${PF} kernel for the first time:"
|
||||
ewarn
|
||||
ewarn "emerge -na =${GRADM_COMPAT}"
|
||||
ewarn
|
||||
}
|
||||
Loading…
Reference in a new issue