diff options
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/hardened-sources/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/hardened-sources/hardened-sources-4.7.10-r2.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest index 0462b95fb6b4..f2c4408a0dee 100644 --- a/sys-kernel/hardened-sources/Manifest +++ b/sys-kernel/hardened-sources/Manifest @@ -10,6 +10,7 @@ DIST hardened-patches-4.4.2-1.extras.tar.bz2 1721230 SHA256 81f1417d210e0a6d9f5e 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.10-2.extras.tar.bz2 1932362 SHA256 a76a2bb9f408c8449e10a6e52914c2411d1342ea92d5fa5d2cc98391bacc81d7 SHA512 5618b7434d6ba1e7a1582152b624e1b66032ce4155ab68f703242ef5213983363b2e1572fd2879508d770a86f7e396c5a2008932555b159a96015edf5fe131fa WHIRLPOOL 4d161a01cc7bf30af9b2f5ca662729d27f6e89cee2c79c9531e43fc9317918a82e94c58f902e5969cdc11908c304d6de8b7586b80db761283122556cb35d3af5 +DIST hardened-patches-4.7.10-3.extras.tar.bz2 1932311 SHA256 3b0c397b48c17ec180829567b3442bf2f09761a460f974c1794302d9177cfcc1 SHA512 0e997ecee0ed04a6e13d0bb101aeff20c45fc8c55824803e944d7798b6079f44160f17acb240754f7509a8512417341392f87eb9efed9a58e92023b40699b704 WHIRLPOOL 21c7917b6cd72b24f7d2d8b0942d3bdc90d34a7a53714eb4882863354a0f48c636c66aa3b18c3e542c5bb663c379f1a8be7654684f3c0d13e532d3d956c56c75 DIST hardened-patches-4.7.6-1.extras.tar.bz2 1913657 SHA256 f32b7891fa0a821a60270f42dc817135d887ea55bda676e1141f0681ff360374 SHA512 943b25c12071abab62a169a2daf6e2255c76e595678a2553eaac4b87f2f227f0bfc47daad246db9b002119c6be3ec56e8746a7cb598a29c8772b3de4f7601519 WHIRLPOOL b1f5ddadf8d0387ade037a4b3f0e7e001971b01584f03ec40e61dda2db1e5762ac66266f00f5d95226337347dd9ed43c1d019a65eb66780403c81348bfc4682d DIST hardened-patches-4.7.9-1.extras.tar.bz2 1932180 SHA256 18ffc04474a183c2bac5cd44aaff51f657c25a5be4bc61ccb3e005cde6df303c SHA512 f822f9b2cfe4f80e91dd1a2709879bf3272f206faabaf803fdfc8ff60de9d52adaa4522cb7a50d3d2dff3cc391e7280d77e000949d680b41a4aba2689f3c2f38 WHIRLPOOL da83947805442fd1cf7fad8fd8dc703d98079b9b804042aed7b3d1737df6d63f6cfe5b264d84df8b392ea29008936dc12de7001e365713a06148b57cff86a76a DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc diff --git a/sys-kernel/hardened-sources/hardened-sources-4.7.10-r2.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.7.10-r2.ebuild new file mode 100644 index 000000000000..006ed46f4881 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-4.7.10-r2.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="8" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-3" +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 +} |