From ec485a68935c6823ffd8fb7c49b14a6f01ab0127 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Mon, 27 Jun 2016 06:27:07 -0400 Subject: [PATCH] sys-kernel/hardened-sources: version bump to 4.5.7-r4 vanilla-4.5.7 + genpatches-4.5-9 + grsecurity-3.1-4.5.7-201606262019 Package-Manager: portage-2.2.28 --- sys-kernel/hardened-sources/Manifest | 1 + .../hardened-sources-4.5.7-r4.ebuild | 45 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 sys-kernel/hardened-sources/hardened-sources-4.5.7-r4.ebuild diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest index c2bcbb8c3b335..a4a733fb461dc 100644 --- a/sys-kernel/hardened-sources/Manifest +++ b/sys-kernel/hardened-sources/Manifest @@ -12,6 +12,7 @@ DIST hardened-patches-4.3.3-5.extras.tar.bz2 1649484 SHA256 2a62a5eb4b98f4fbeb43 DIST hardened-patches-4.4.2-1.extras.tar.bz2 1721230 SHA256 81f1417d210e0a6d9f5e180b9f828beb87ddc27571a16c40552d0fa1979982ec SHA512 599dedbef6fa26efc2a62c19e0536accedff6c60968294e9a7246c9844b26491b4414b1b40106eee9bb7540f8cd4ae74ab3720029b0730ce5541e005ba60cb9b WHIRLPOOL 84e22467a6dcc738043e47274ab2476b69f1796f1f23e3ca4ed8e244dd73a7e4998de683c1d93baccdd41eb232327d4ef1eb07d01b8a790510b8690334032f02 DIST hardened-patches-4.4.8-2.extras.tar.bz2 1743408 SHA256 5cde9a96f6a47ebe3c8abeb5d5add60480490fd365d4c31da2d7ac1973a4c258 SHA512 cfb52ee6aee76b125a5a833cd9facc92ea1dff17129a488b66e976e94699cea8109e6f5df90835e818af1ea6e59e12cecc95159601d544f5b008560a1190b530 WHIRLPOOL 56facf79d5556aaac3bf08fa3b4be21b7fef561c8d3fd41943ce51c4d15b71e114be2e33914f5bf7e3d981abcebeffb95fb99aedde8d72231edcef72123ea9fa DIST hardened-patches-4.5.7-4.extras.tar.bz2 1868492 SHA256 e373f0389262ba9544eb2a9ed118dfdf38a468770f3155ef8440e9fc093f5ddb SHA512 ef06ecfd7dbed21340d6e45f03eda1cab3f349746b13fd114ec356891bc00c90552e4f78b89ff7f8508d491dd91bfb669105562aec07d7b3f2e05b6f671924aa WHIRLPOOL ce1bd1755bcb974dfddeb8d6f2e985ff052ded6b1fc20fd8b813a97b07fdd5e2324efb3cfd4106a966f9295d5f8dc1bcda13f1f22f916eb8d835f80fd146bbed +DIST hardened-patches-4.5.7-5.extras.tar.bz2 1871121 SHA256 81c8669bd479cf753209b8d14a45d8975d335a1d9f26328b5d09ec235bd2cca8 SHA512 0a3a78b3e30b7449c41bcb7871409269b4818093fcbb08c224d536ac3f917f277df3609383e3c02bbc8dc07b4c65990b5a7150b26937f0ae6433e1ca112f4cfa WHIRLPOOL 6a68a21f860dd0b18fdba0f19ac9948203380e4aeba98befa1173a496e4339567d074a97d7d8382f3c554e3a056fbf52bd38d01a885265dbbb63f300c78d2848 DIST linux-4.3.tar.xz 86920812 SHA256 4a622cc84b8a3c38d39bc17195b0c064d2b46945dfde0dae18f77b120bc9f3ae SHA512 d25812043850530fdcfdb48523523ee980747f3c2c1266149330844dae2cba0d056d4ddd9c0f129f570f5d1f6df5c20385aec5f6a2e0755edc1e2f5f93e2c6bc WHIRLPOOL e3f131443acc14d4f67bbd3f4e1c57af3d822c41c85a112564d54667a591c8619dce42327fd8166d30a2d7adfaf433c2e2134d4995c91c08f65ac0cc2190f935 DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc DIST linux-4.5.tar.xz 88375040 SHA256 a40defb401e01b37d6b8c8ad5c1bbab665be6ac6310cdeed59950c96b31a519c SHA512 cb0d5f30baff37dfea40fbc1119a1482182f95858c883e019ee3f81055c8efbdb9dba7dfc02ebcc4216db38f03ece58688e69efc0fce1dade359af30bd5426de WHIRLPOOL 8faa0b02c5733fc45dbe61f82a7022e9246b9b1665f27541d4afa5d14c310b9dce7a8532dfac8273898edf8c6923654ee2fbcf2cec1ec2a220f4c9f926f2b333 diff --git a/sys-kernel/hardened-sources/hardened-sources-4.5.7-r4.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.5.7-r4.ebuild new file mode 100644 index 0000000000000..aa4063b05a6b5 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-4.5.7-r4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base" +K_GENPATCHES_VER="9" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-5" +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2" +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" +UNIPATCH_EXCLUDE=" + 1500_XATTR_USER_PREFIX.patch + 2900_dev-root-proc-mount-fix.patch" + +DESCRIPTION="Hardened kernel sources (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 +}