From 85fcba9320cae9cbb6d6eb8fcc6798a3c8290dbf Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Fri, 5 Jul 2013 11:02:55 +0400 Subject: [PATCH] hardened-sources-3.9.8-r1.ebuild added --- sys-kernel/hardened-sources/Manifest | 2 + .../hardened-sources-3.9.8-r1.ebuild | 43 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 sys-kernel/hardened-sources/hardened-sources-3.9.8-r1.ebuild diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest index ee478279..2a1197c3 100644 --- a/sys-kernel/hardened-sources/Manifest +++ b/sys-kernel/hardened-sources/Manifest @@ -2,5 +2,7 @@ DIST deblob-3.9 116031 SHA256 0fb17070d5aaf226fca39f70df68b7d482e4f803e0ef974626 DIST deblob-check-3.9 557345 SHA256 60d05db20e7b50919ca44487d05e8faa9cca830318bd8d96625f0f75b252eeed SHA512 6b857380d495261c4d356639157f99f3ca3412388fd3b1c72b566c3bb6453c5a22ab7716e3b24e64a9b63dab912b07baccccfd0fca806ac0e0620efeef777b6a WHIRLPOOL 877c2c9b813466f9aa5cfecdc9ab93247bd2cdead457c9e0bd97da49d042d0a52262f9b4f8e9c83e397b57c5bb5a8fe2b61bb5f44d5a178a579cc9fff990941a DIST genpatches-3.9-13.base.tar.xz 269376 SHA256 686525b2a3f1d8bd6b0be37c881dd86639cc54dccd0e261c3dc37d6d1f0054a8 SHA512 92ae16aa2bb10429f6fdbd0cbb5c1055d35eab466714d8461b13fb9f42b01581312da0e54e1cf61c58ad2b64750f0765101b3c079e583fccacd0811a20b40bd9 WHIRLPOOL b559a5dfefa68a8bd5a84e74587621137bc2b738f188c583663a60ad76d200d2cf9da3be9bfacad5b4dd4d256f479a8fbb9765116240ad57936ed6b4ad7f6e06 DIST hardened-patches-3.9.8-1.extras.tar.bz2 714629 SHA256 3421b4583dba365a22de091a2314d8d1b3bead55d0e9c640e4be902857cc6690 SHA512 2138baa9046ef5edb35f016d3d2e65cbbc2ee3603de51b74c1785c92faf4e04ad7928b97a6e5f3f8cba58f3ce036ec520c155f206d69bc1c5a6ea0ab5da24a41 WHIRLPOOL a0a033a0098c59f5772a889df8c7fe4d4af1c49c917dc91b33641619858dd160442ff621df859c046a0acba9ef39190f3b5bd083f6e3104703fc528859d413de +DIST hardened-patches-3.9.8-2.extras.tar.bz2 715519 SHA256 3dbcb5d7e019d5864e2d48556e051a9c01a05c8b750cb86a2eb93d22f168c08d SHA512 2053f174ebdc329695cf499ebf6a1bde252a44eb543136378b416612f079d58e2d30c89a75aaaa520044a801843a3154bbf59dab81441c444818328ad5ec4724 WHIRLPOOL 1849283131a13bba041c682a601a6b9e5e8040472f563b33d81f8b68aa65be8f6e2b629815fc4daf5ac0ef693339392ec02484aaa473793904c32a75bd0d1a99 DIST linux-3.9.tar.xz 72104164 SHA256 60bc3e64ee5dc778de2cd7cd7640abf518a4c9d4f31b8ed624e16fad53f54541 SHA512 77fa521f42380409f8ab400c26f7b00e225cb075ef40834bb263325cfdcc3e65aef8511ec2fc2b50bbf4f50e226fb5ab07d7a479aaf09162adbbf318325d0790 WHIRLPOOL 668a8de30c7c3ccf6558cf0f29570f15e37ca7d599d1453afc3cab113d1b05fbd5b32646dd9ed798ceb61405a8754345da0740a53f467b825445028cda4bc698 +EBUILD hardened-sources-3.9.8-r1.ebuild 1435 SHA256 80d51f76874b66c835c873f4ea94213160f9670048ab28db997b3dbc562b318d SHA512 ad99d847eae6d5d17cc0bc907b2a4f9e19f12aba01932931d61b548cb8013d5b0ddd90a45e26480ac557e0965632bd91c25f57d3985945f816f39492cd65cf86 WHIRLPOOL 11e2bb3d29d41f4ef95893dbd553aaa582c583ddb179469fc9a2a412503cc876c28ca40bc3137d66def0f89e58befa207645caaae4d1d40a42914b96f72b142b EBUILD hardened-sources-3.9.8.ebuild 1432 SHA256 1dd845ef2b7969857998e7315f130a89f2b2ff0408d5a7dca9d52510d4343aa4 SHA512 433daff6e7462dfffff6c715e813094d5eb9e12c140bd87a713f9e2f6ee3c6230c8f06bac82e9ca1edc2af04873495c31ca517b46bb95de9c27fa895c5018084 WHIRLPOOL af738728730ab6a5966af90f17edb44060a99546f6977b016dd579abfb4eda34162741cdc72ca4f4f65dc2c2918a72741e9b60c8e9629a5a87f9346b41a01b4c diff --git a/sys-kernel/hardened-sources/hardened-sources-3.9.8-r1.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.9.8-r1.ebuild new file mode 100644 index 00000000..b08c638e --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.9.8-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 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.9.8-r1.ebuild,v 1.1 2013/07/04 11:36:45 blueness Exp $ + +EAPI="5" + +ETYPE="sources" +K_WANT_GENPATCHES="base" +K_GENPATCHES_VER="13" +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 1505_dmesg-restrict-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-2.9.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 +}