summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/hardened-sources')
-rw-r--r--sys-kernel/hardened-sources/Manifest2
-rw-r--r--sys-kernel/hardened-sources/hardened-sources-4.9.16.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest
index d6be8005d23b..986658ca18b3 100644
--- a/sys-kernel/hardened-sources/Manifest
+++ b/sys-kernel/hardened-sources/Manifest
@@ -12,6 +12,7 @@ DIST genpatches-4.7-8.base.tar.xz 233032 SHA256 481e35ef24b98241adfd8277b2a9d682
DIST genpatches-4.8-18.base.tar.xz 304664 SHA256 89b161b2e98ac81afd9c865c4fa87cf203164b3c977c48cfc7fc5337b00b2061 SHA512 5cfc10e59a5adc7a14dce3ae6dc2ab8006d8d2bba7201a8c531c05c5f77e9fa3debbb796f7cdf2047028db43316e2e25f4817e9358524b925488b563514f127e WHIRLPOOL b0786badbade32dd777d929fc64791c672eb56a4ae5a81fb862c3308c294cb806d25f92f1e0228be6a5e29e5e049b25b6b1c470b3b1617de1d57567a9f5b14de
DIST genpatches-4.9-14.base.tar.xz 299156 SHA256 a19e22f33b62858d28b2c78a3325f9334bd089bce9d077d6a759aa59a0b1a472 SHA512 4891b932bf0967e42dc047ca5213c2ece7a4e8347cdb0c176b0dba2063ccab0245d1f3f89ad9e184226a02870526a246cd1f291f20e2e0d4aa79d06b40edaf16 WHIRLPOOL 0490f84c21e80a0b80d2c851096e07a31cdd24bc9fc8b29682d84876155ee8c074d7f736d1b5c6f7512e4810d57fca649602e519feb96e325a732b7cb32623db
DIST genpatches-4.9-15.base.tar.xz 306680 SHA256 0d21f36e5dada40a98ff345ebc01678d2aee060becc7c5c1df84edec9279af2a SHA512 2962f30bd055a5afcefe8aca654419da52c61fc8e5ee8a16770020f517467ad13e4d7ba47c0b1b531b0e4be630b4ca2cf78170544d5ac0115db7071cc504278b WHIRLPOOL 77f667264615abd7a7324abf60bcc2177421595130103d1af79a438da907fb2d274048f51e2f5ae66d80b27a8b1ba732c0653fa48d58bfff338c815cef3b68eb
+DIST genpatches-4.9-17.base.tar.xz 375092 SHA256 aa60be6abf48139e2f4646aa66a3f146bde37d06abbf2e5682986e480f11f3ac SHA512 1944972a8bb3677ea5cf8314757bc0eb970abea41b0ea923f83eb88fd99aaccb98112f24147542bae39c0da913f7c3be607980fa5fcacbb3a0c3e65ee2c178e1 WHIRLPOOL c876ee565d2171c7877e1a80f0500a5e3b8dc51c079133b32c82c33d1799c4600a25a96fa84f5636ff3391d18ac0f989c3784a2f885d0f66aec4d45d21e06a63
DIST hardened-patches-4.4.8-2.extras.tar.bz2 1743408 SHA256 5cde9a96f6a47ebe3c8abeb5d5add60480490fd365d4c31da2d7ac1973a4c258 SHA512 cfb52ee6aee76b125a5a833cd9facc92ea1dff17129a488b66e976e94699cea8109e6f5df90835e818af1ea6e59e12cecc95159601d544f5b008560a1190b530 WHIRLPOOL 56facf79d5556aaac3bf08fa3b4be21b7fef561c8d3fd41943ce51c4d15b71e114be2e33914f5bf7e3d981abcebeffb95fb99aedde8d72231edcef72123ea9fa
DIST hardened-patches-4.7.10-1.extras.tar.bz2 1941100 SHA256 8a7787da2d440308b28d16738ba843138c01d14e3f09cef33f8c32d46886411b SHA512 851d8875452fceaa696a7bb6847bda82c42ca40c61f2d1da16545190eeba65eb26c15f9fd428d1de83e9ea7c019133808ab3622e770147e06ab598629b8dfb6b WHIRLPOOL fa4a7bdb8bf8bf232d32d466b0ce8492a82cda7908edc96d6f7937686e3a766dabbc75c7fd33de82be080e3a277aaf4e63e9c754c97b9164301630aa13810755
DIST hardened-patches-4.7.6-1.extras.tar.bz2 1913657 SHA256 f32b7891fa0a821a60270f42dc817135d887ea55bda676e1141f0681ff360374 SHA512 943b25c12071abab62a169a2daf6e2255c76e595678a2553eaac4b87f2f227f0bfc47daad246db9b002119c6be3ec56e8746a7cb598a29c8772b3de4f7601519 WHIRLPOOL b1f5ddadf8d0387ade037a4b3f0e7e001971b01584f03ec40e61dda2db1e5762ac66266f00f5d95226337347dd9ed43c1d019a65eb66780403c81348bfc4682d
@@ -19,6 +20,7 @@ DIST hardened-patches-4.8.17-3.extras.tar.bz2 1932803 SHA256 7ff535912635b5ae83d
DIST hardened-patches-4.9.13-2.extras.tar.bz2 1934070 SHA256 b51d648c2931986592d26ba06704d01a25ba39897f1d0346ce88fcc079418e49 SHA512 1675e1303df8d9b15c3a904d926931faf43ef40adc68c1f7fbc6bff9f597bc65c2111344cfb341373fece0696d5b8ffb56a33c2601f5aaf3cf2246bdf827a263 WHIRLPOOL a0d79c3319fc199d4c0b4affb8c019e612509749848d5165b0ecc59095bd2d7bd989cc2307958d7bab3e47fca13b76c7cecf654eda78d49f7f53b641ba825e0a
DIST hardened-patches-4.9.14-1.extras.tar.bz2 1977361 SHA256 3d7d75c0320075d14db8fbbc41bb1f7d91f0f2033ebcbc81ab3b2116cc43aae8 SHA512 6371d60a1eeea6c415894562065bc00d2c4b835976dbe98273d3d2848fc5fdcbce0045aa48eaa4073b5216762757fc9cf28389a141aab257261545c638348bcc WHIRLPOOL 9b0f68fa9215afc8f74b55c84845b585a9909853141dd5ab619525211364d7c403ab3ef326f5c757d5cac49cd108c0666b4292028f4c5d68fb0dce5cbd5b1d49
DIST hardened-patches-4.9.15-1.extras.tar.bz2 1996486 SHA256 06aaeb0a06a39475b3b234df2d3fd8fe7eedc23deb7dd710eed11c108cabe0b5 SHA512 93763fbbb36709fa69883ea229bd8e0af88fb8214594c549a97afe4701bbebdafba9dac2fdf46792a9110e563a5798fe03d23f9a8ee07a12bcceb53f852ccb69 WHIRLPOOL 09aa7ccd3dd7b58db7f3959f44c7b2cb79b4d28290c5728235e0d5509de221e87359bb43e122cc4907716f20e3a4b4c2f5360c1a4b567b813b0f11618b02cd52
+DIST hardened-patches-4.9.16-1.extras.tar.bz2 1932414 SHA256 fbefbd34b007d4705d06a8e5f0223fd1777dab2a0ec754ae0f2e046fc9757a0d SHA512 734c9f2790b0ef6a202e2d35538874905a3eebdf41e144831207153991f844b255adc48dd611dfb2d3ecceececb9016057464d6c7ea53bf7e5b22aa7e216ff74 WHIRLPOOL 6e2ad6fbe64cef7c6eeb47f2ffdd89a1818ba58d407ca140f21503e3b41dbe150d6d596e2ce14501622af03da73205b429f0a0b70000a813c37961fd04fe558b
DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc
DIST linux-4.7.tar.xz 90412100 SHA256 5190c3d1209aeda04168145bf50569dc0984f80467159b1dc50ad731e3285f10 SHA512 e8c02583e17e4fc4214fef694825fcb78c898266f1624deb1cdf56ab5c5fdfa669c5221122a7cf0d502ed6f921ff3797634acd9d294d29e98e3faa8a21920185 WHIRLPOOL e968c89ce714c8d918db6074dabac4b0200c57ff111260313cf5798eeefb8b5b10c1509b64e2ee611a78e81075c588a473b67f9802609b2fef9ebb87ae514d98
DIST linux-4.8.tar.xz 91966856 SHA256 3e9150065f193d3d94bcf46a1fe9f033c7ef7122ab71d75a7fb5a2f0c9a7e11a SHA512 a48a065f21e1c7c4de4cf8ca47b8b8d9a70f86b64e7cfa6e01be490f78895745b9c8790734b1d22182cf1f930fb87eaaa84e62ec8cc1f64ac4be9b949e7c0358 WHIRLPOOL 3888c8c07db0c069f827245d4d7306087f78f7d03e8240eb1fcd13622cd5dbe1c17cd8ed7dc11513f77f3efd5dbd84e2b48e82bdb9b9bfd2242fd62ae32812d5
diff --git a/sys-kernel/hardened-sources/hardened-sources-4.9.16.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.9.16.ebuild
new file mode 100644
index 000000000000..73918f6d8ea2
--- /dev/null
+++ b/sys-kernel/hardened-sources/hardened-sources-4.9.16.ebuild
@@ -0,0 +1,45 @@
+# 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="17"
+K_DEBLOB_AVAILABLE="1"
+
+inherit kernel-2
+detect_version
+
+HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1"
+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
+ 1520_CVE-2017-6074-dccp-skb-freeing-fix.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
+}