From 7b4181d9601719996bd5c85b817bf87d839aeb0d Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Wed, 12 Aug 2015 07:23:41 -0400 Subject: [PATCH] sys-kernel/hardened-sources: add 4.1.5 vanill-4.1.5 + genpatches-4.1-8 + grsecurity-3.1-4.1.5-201508102129 Package-Manager: portage-2.2.20 --- sys-kernel/hardened-sources/Manifest | 2 + .../hardened-sources-4.1.5.ebuild | 45 +++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 sys-kernel/hardened-sources/hardened-sources-4.1.5.ebuild diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest index b9ff42e6112b..b5c86e56e41e 100644 --- a/sys-kernel/hardened-sources/Manifest +++ b/sys-kernel/hardened-sources/Manifest @@ -13,6 +13,7 @@ DIST genpatches-3.2-16.base.tar.xz 410332 SHA256 d3ad97b119c5b8cfd8e34f1cf118dc7 DIST genpatches-3.2-16.extras.tar.xz 16764 SHA256 c3f5adba6f1700c716354b91bc624115c6f5cae6f8fbdc51d07a76d4546bacaa SHA512 e3245c05f3385bb27852c00a39a898c91b3c0006e19c5db561f3e41f9bef7e97012ed29ddf9b0e2bd1ba1fa16590e516fb00ce754a84dd5c653c046b9f4e63f9 WHIRLPOOL 3c1ee6db88607ed91366067217d4a556fb5516ce8bee2859e97be7e214a05609e2d36ec27ec413154baa432a984f53cf69cfb94ae65ec4b8d2e9a86641d77a0b DIST genpatches-4.0-9.base.tar.xz 193344 SHA256 9d7c65367c1d2f24c6e4c8f8b4b9170a7ddeaa24d6563c5ba5dc41201a7b6e17 SHA512 646814e63b3b1d78adc172c6f8c0c2605cc9f368bb368be72e169049938617c5c6e738ddcfcbe1e10b58ccd3f9fa09984b03f70076ce0b15137f376594b9066a WHIRLPOOL 0eecbfe1b2b02f00edcab0c975b06bd69a5ff1032fe0c4249d79de555f92f2375d337b2417bddb566e9a1fc66859918b6cbfff6c2c73aea02818434213b0cda1 DIST genpatches-4.1-7.base.tar.xz 59032 SHA256 9106e15001e0c286ef929d5e4505507ccdefb0aecdd094b73d57d587070d3288 SHA512 da1e3ef03874ab0fd3af811d6b72e791117dd7490ecbd8698e24e98424175c0ad7228182976fdadbc62a3ef69bf721f82d99cc1760417c4ba3401844fe3c8db4 WHIRLPOOL d3d3623112f118f98db870f48bc3181d6f510fdb4d916a88a832065a2e0df99c1bc5e04db6f7dd09c505f0253b76037965bbaa27103263dd95a713d0428db5ba +DIST genpatches-4.1-8.base.tar.xz 136372 SHA256 9be08b05eb8a10387d791d496ec5a4e7eb22c07dabb93bbba21f2aa11fb5be61 SHA512 67110c4191d8a40a435bd767a8024edac7bb00de507703a3faf5798d484f2d373aa1257bb23209f0151c394b08fb2577af5b8bd621a6654bfdbc247e4a083c58 WHIRLPOOL 26e727302e2c790805748e85610c5673e7b0c2869be9bf2938df07c18ed15c44ed278c285d073d71c69d83614bdee2c3058b82cb3720188ad91994fdde442820 DIST hardened-patches-3.14.48-1.extras.tar.bz2 997773 SHA256 e8be8af4006dde34d9174fa659c8cdccc836da340d17d6ccf0aced1f3ae4f1c8 SHA512 5c7f33594e5063f09d5d5cba75e0ca7d1d08d8cee8f104630ff376364fc340647a9a3d83107abc7d0775273a802b6f22b195df7df21fa0caa21ca070d1af075f WHIRLPOOL 3f050ba87cc7a44ec0c9e79f41f22ebc717e6fe4f822426371473dfbdac6327e600a855987b8af870f343cb41f9e437fc4427e1402e4677a46d7235b22507c09 DIST hardened-patches-3.14.49-1.extras.tar.bz2 1092342 SHA256 e1509dac4ca2ec00cf2c7c3ccd67b6240c6e9324f1d2dcf948a4238c6d856c2d SHA512 5471118ee9742af0d00d0f5437ee183ccc413e2770a8137c3c9b49cde14c9f8746e641367543c9ce9259504fc25e9fe5f462332ab45232598b92cad7573daa15 WHIRLPOOL 1633fc9b9300d6dd8acbd0d5f5227477db63ac6138f92162f47eabc32c48a7b7c8352110c05efce47da19e51ad6e82d3c7f1d8c0157c1fa3eb4898c922ed640d DIST hardened-patches-3.14.50-1.extras.tar.bz2 1056269 SHA256 728ddf0ee59779b7022add8b5ef80d6b858657f628afc0e0e42daaa083bd14a5 SHA512 a21b4abfecdfd80510e2dae74d62c88c5a1913d5e0109763e9935579acd73dccab89dac51cde1d4e7a7a9daa4d37c98b273f5938147699c9c1d45eb0ba912876 WHIRLPOOL 47480686ea11fd2b5f5163c2ffd440f0bca892f0856021a2079e4e0d1f042c15184b652443644b4f182e27628bf9d324cff8a8568e18571452b949e36e862921 @@ -21,6 +22,7 @@ DIST hardened-patches-3.2.69-14.extras.tar.bz2 2314416 SHA256 224d23d37d00fc0532 DIST hardened-patches-3.2.70-1.extras.tar.bz2 2370023 SHA256 90568422f60aef7a1aa5ac4a8a784e2c3e9f0c0abc853ceac3bb301cb6007c7b SHA512 51f75e18423daa4cb4c46cb8b093edcf08f04d771e1017c2e660e1cd6339c9cdd7ebb1e868266f1036f4ef4072f66f34532b89968bee635066f81cbfbb62e8ad WHIRLPOOL 9539167bc4072ad0b2999daa06126b3d7e63b0bc20081121be8f2f4e53bec8ac7cab71940d6ec3000bd6becb90e87f818dd6e0e52a19b2592633b622ded8c5ce DIST hardened-patches-4.0.8-1.extras.tar.bz2 1366743 SHA256 765a06197afb4b7f268778b5ba2a6ca438b20bf900ca97cbc17b47570cf1dd0e SHA512 782a7883e055173a1cf6be76e8d99a56757f5576c09fb80c295e6bc926d7dd8e6fbfc4fd09c38e0e95d4f0317808b68a9fbb0e9b59a9a3f27b89f906f375e619 WHIRLPOOL ea95c5d29801759d2ed247885095c914ee07c4b800cb9a2f5f1c4b7b79347d2853ae56f64ad732c6aa8972a43e8993fdcfabf5e244d5994fa7998a382faebfe7 DIST hardened-patches-4.1.4-1.extras.tar.bz2 1525808 SHA256 63d924d73232f86d764201ea250bbde2a81d814ecc678a4bfa02ab7ccb379b7e SHA512 d444d481eeec50a05228b344149243c0ee1a463bbc429b74ef1ecc6109d9f88fece13005574a4eb9973bc80be5b59286fdb07d7f80f9cba3587563f44cd80938 WHIRLPOOL 0eebdca0d592da1c4454191a033582c7dcbdad56b2f3ff79234d470aa0912717cea3c0ef58ecac6f3120f458f4053a2146de10ab2eb34194b1bbcd61ba0ee1fe +DIST hardened-patches-4.1.5-1.extras.tar.bz2 1476637 SHA256 0e8b66a2ee825adfbd1242d5c50411850b604d9f5ee508ad942afbfe6ba9d540 SHA512 807cdba43aa8b26abaa1d5c1dfcab59f4517c20225e765beb85776754e3189acd428d25d60713f9a57496277e0113797dd5198018465ce46d3255b4c891e2a5c WHIRLPOOL 5b2afaa1342d6c4a2015b02d72b65eb2b965349215db551fa97f0293c7c245ed5010e52ff77c14976948483afe1b5f66121d0ea6d50db0b78441fa5e662235b5 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.5.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.1.5.ebuild new file mode 100644 index 000000000000..7da8490fa6da --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-4.1.5.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/hardened-sources-3.14.12.ebuild,v 1.1 2014/07/11 21:06:13 blueness Exp $ + +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}-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 + 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 +} -- 2.26.2