From d5b4cf576b1bc056df2c6d093544c219ec5d6ef7 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Sat, 5 Apr 2014 11:17:11 +0400 Subject: [PATCH] hardened-sources-3.13.8-r1 added --- sys-kernel/hardened-sources/Manifest | 1 + .../hardened-sources-3.13.8-r1.ebuild | 45 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 sys-kernel/hardened-sources/hardened-sources-3.13.8-r1.ebuild diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest index 15ca0006..a86bb7c9 100644 --- a/sys-kernel/hardened-sources/Manifest +++ b/sys-kernel/hardened-sources/Manifest @@ -53,6 +53,7 @@ DIST hardened-patches-3.13.6-3.extras.tar.bz2 800670 SHA256 c7726a212425b3cc23ae DIST hardened-patches-3.13.6-4.extras.tar.bz2 803157 SHA256 368acbee29c589a53cbc183176f4b1c5818549e9b4d87ebc1d00fd0d650794ed SHA512 584663ab0fd13bc778760c1204591f6b7f25ec19aa1b92fc16ac49da2ff73a1c93f2c6b4967214ac181ac0b2c2490262c1bafd5e5084e8416b9f92963020dbdb WHIRLPOOL 58890b049d258d63e86b0f4fd10c0454fd427f0abdd383540b434d75129e3a4982b407cf3eb1d6b1c0a2959755a64b78ee7f5a954c71a182fb90eb885324b193 DIST hardened-patches-3.13.7-1.extras.tar.bz2 804157 SHA256 b11f0b8dc1a4d746e65e832eaa922685bd12fe3a9cbdcfe66ff1a8f52e35476f SHA512 4fb82266548329f8be359c5d1ecdba2d2ddcb91cb78a3dfa9c742f9ed80bda324857814724753db81f8c23dddd403cfb400ef6fc768e535e3a865767942bbf3a WHIRLPOOL 12a8b4290d1d9886d02072f79a3f7a3a7c9a7f6bc21905cb6a35b36150029ba7ce829c091f29790a74312555313f9559efcdcf7f3d398b35910784d8e82ddec8 DIST hardened-patches-3.13.8-1.extras.tar.bz2 803901 SHA256 44059012dc7eb4d388e8def85d985fa5ec03a47dc37dd5c5b6b8a7213e87cda7 SHA512 e149b5d2328fed21ee4361c975cc3abc8038b6a9002357a128df065d177014a530798022c7885cba458adc3eb7fded1aa544f2a275ee3a615109e75bb1883d02 WHIRLPOOL e6aca97babb5898efae9f86cd3de53ffde07e88fd3e483db012b99aad7644758649b3101015ed3ccd2169d26ddd6dbe07824d68421b9618b0c72c99e02f50907 +DIST hardened-patches-3.13.8-2.extras.tar.bz2 804301 SHA256 7206a7adc36b83e469a6ddbc9176292b2e9689161de70ac34b58ff206c6c8c7f SHA512 2c1e5c86741c93e148f23bc087b48e6d88749a584b17e3f10a2db0c258ead9e73d190275d73c6348f7ce0957673ad74b743d987c0bf98a8dd5bc50cacf609f90 WHIRLPOOL 450ac2edb73419b5791e12e157cc41015b40a2e53628d5967b615142fb874f3cfb4f1aa3640c7062f24dbc95cb907de46958e75a8d4d4c43dc7f39ceda31799e DIST linux-3.10.tar.xz 73175088 SHA256 df27fa92d27a9c410bfe6c4a89f141638500d7eadcca5cce578954efc2ad3544 SHA512 5fb109fcbd59bf3dffc911b853894f0a84afa75151368f783a1252c5ff60c7a1504de216c0012be446df983e2dea400ad8eeed3ce04f24dc61d0ef76c174dc35 WHIRLPOOL e7c0ccc2231e430b831218fc66f1940d095d2d5447d391329c6a7373d4a1d16708f64778b32e4847802ee2dae4fcf7cb67a1238fd4eb204fd0c4bce2d8134053 DIST linux-3.11.tar.xz 75082460 SHA256 803ec8f0ad4b2ddedcb0332a590cd2b5e10dfc57c3b1c95bc9c46af81d51d7f9 SHA512 b3680d3a45a7308383cf8634a7f1908e94f6e1c6d1cb587332a9418a95fb93bd3c73ab70c6976c7330508d7c8c6b0f43c2a9a2efde5fe1f76e9bfffb1de5686c WHIRLPOOL 96c9c27ffe155fe2c1760b53d87ef981943d58ab2dcf1ed6bd2c1e762e18bceec81d85d49c523947ec6fe52e41f25c4a86310347705c8d4b80a1748cec5b90d3 DIST linux-3.12.tar.xz 76384600 SHA256 2e120ec7fde19fa51dc6b6cc11c81860a0775defcad5a5bf910ed9a50e845a02 SHA512 4ba5797e0772726d05c9f2eee66dc6dc2a5033c749ef44764c805a83da739ed5d0c6443b76785e38fe1ef74cc7ade787e48144faed0cfcb6f124f05248c700ff WHIRLPOOL a40195f6b53ba3440cf90a44495f6a59670f750851d1518e2bdfe3b949f0e898d1df5d37e271c31c555087026ddb6cc2c9109b22b9639e3222735e6f650a1417 diff --git a/sys-kernel/hardened-sources/hardened-sources-3.13.8-r1.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.13.8-r1.ebuild new file mode 100644 index 00000000..853e6512 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.13.8-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 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.13.8-r1.ebuild,v 1.1 2014/04/04 23:07:24 blueness Exp $ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base" +K_GENPATCHES_VER="11" +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.0*" + + 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 +}