diff options
-rw-r--r-- | sys-kernel/hardened-sources/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/hardened-sources/hardened-sources-4.1.6-r1.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest index 5780c00f23a9..f27a25af2fa0 100644 --- a/sys-kernel/hardened-sources/Manifest +++ b/sys-kernel/hardened-sources/Manifest @@ -25,6 +25,7 @@ DIST hardened-patches-3.2.70-1.extras.tar.bz2 2370023 SHA256 90568422f60aef7a1aa DIST hardened-patches-3.2.71-1.extras.tar.bz2 2369201 SHA256 3155d9f47b14a1970f3770d3978adfac67fc54bd178e8c02f101c0700a45baab SHA512 350e402b25297d53f25a5db4aafada3415a726d36df4eb11d700152c049f491e95cab48d88da23465628d9beee923edcbec7c1a12eb11103722aef98d8bd72f3 WHIRLPOOL 9fc84a2844471c23341f573f8cf1fef886bcfe2d11f9279e3a8f0bd529304a6865b7ce68d7b1869d7e0c68dccfaa85802088ec280acdbf37d68366a1057657ea DIST hardened-patches-4.0.8-1.extras.tar.bz2 1366743 SHA256 765a06197afb4b7f268778b5ba2a6ca438b20bf900ca97cbc17b47570cf1dd0e SHA512 782a7883e055173a1cf6be76e8d99a56757f5576c09fb80c295e6bc926d7dd8e6fbfc4fd09c38e0e95d4f0317808b68a9fbb0e9b59a9a3f27b89f906f375e619 WHIRLPOOL ea95c5d29801759d2ed247885095c914ee07c4b800cb9a2f5f1c4b7b79347d2853ae56f64ad732c6aa8972a43e8993fdcfabf5e244d5994fa7998a382faebfe7 DIST hardened-patches-4.1.6-1.extras.tar.bz2 1459744 SHA256 2dd45dabeff383ca257922442b0ab6724d3e02e0f771bafc5656fff4a6f77782 SHA512 8d45a0a728880bc056d85fcd28baab5cbcb257514e6b8c6f3099267821fd8d1084599746afbc3f8460e16f1b17e6da3f3b899dc767de7b3f5946d41476ee5e0d WHIRLPOOL 38736710cb65b20d24297fb54a51d17ed264d57a35fc9136e1579dca7a06016879b37c9829f248f7b9e22600e34db49dc8a4ca1c094ab80316e23b63ccfc1ec6 +DIST hardened-patches-4.1.6-2.extras.tar.bz2 1457264 SHA256 16d0ded5de82a1b35ae8b33ea6d6177a0242b05abd9d05058987af11f59af126 SHA512 6822224760cc51adba54eb763a877ba9739b0b4d9a534dd308570a8ab8770649f30c8a81d05460a7855fc984f0a65a256bb94689e7f4e648dff0a0870e52327c WHIRLPOOL a1743f91eb0603056aeffa46feb85e5b108782ede77b6162c5046fbdc419a93aace7d17ee33e5d43388f3c48745a4f32c10186cc8b098c03744180ff79ba8bb3 DIST linux-3.14.tar.xz 78399152 SHA256 61558aa490855f42b6340d1a1596be47454909629327c49a5e4e10268065dffa SHA512 5730d83a7a81134c1e77c0bf89e42dee4f8251ad56c1ac2be20c59e26fdfaa7bea55f277e7af156b637f22e1584914a46089af85039177cb43485089c74ac26e WHIRLPOOL 5ad07b78c362ba0b21c50b4abb99407cae06bd08576f3fd8f36047b01409eba096263208020da3dcad4977eefc61d66502276754097bc127635df1d7a5817d41 DIST linux-3.2.tar.xz 65065516 SHA256 dd96ed02b53fb5d57762e4b1f573460909de472ca588f81ec6660e4a172e7ba7 SHA512 77e9a52d78d6c8e951df1e166023eebe5defc5ef3c45d3ac84b613137b3c2e55cee5693d828ebd06c5034bd89ea2a5f862f55824f2b7839c9ad7212c81e3ecb0 WHIRLPOOL 7cc68baac4441740e2171fbbc4195ee6c0351de099aadaee8cb3487f6d1f8b7e1d3144ee54ba38dbd24d6be431a1ea3b921ffce82ff84df21a98da7bc61c1d17 DIST linux-4.0.tar.xz 82313052 SHA256 0f2f7d44979bc8f71c4fc5d3308c03499c26a824dd311fdf6eef4dee0d7d5991 SHA512 ce13d2c1c17908fd9a4aa42bb6348a0cb13dd22e560bd54c61b8bfdf62726d6095f130c59177a2fe4793b7dc399481bf10d3556d1d571616000f180304e5a995 WHIRLPOOL c481256e23dc82209942d4f2fc9a94aa7fc4c3c69b05eaa041a58ca4bdc5781274ec4c49d597ccf94b634d61418ec578d20a6569c6c7052b4d3cf33611c99001 diff --git a/sys-kernel/hardened-sources/hardened-sources-4.1.6-r1.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.1.6-r1.ebuild new file mode 100644 index 000000000000..7ff4c744e504 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-4.1.6-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 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}-2" +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 +} |