From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2D1DF1381F3 for ; Fri, 12 Apr 2013 01:51:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC0C3E0985; Fri, 12 Apr 2013 01:51:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 66CB8E0985 for ; Fri, 12 Apr 2013 01:51:24 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5318A33DE5B for ; Fri, 12 Apr 2013 01:51:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 968EBE4073 for ; Fri, 12 Apr 2013 01:51:20 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1365731463.a4118f1de3037d9f826f891b25470c13ad2e8c27.blueness@gentoo> Subject: [gentoo-commits] dev/blueness:master commit in: sys-kernel/hardened-sources/ X-VCS-Repository: dev/blueness X-VCS-Files: sys-kernel/hardened-sources/Manifest sys-kernel/hardened-sources/hardened-sources-2.6.32-r161.ebuild sys-kernel/hardened-sources/hardened-sources-3.2.43.ebuild sys-kernel/hardened-sources/hardened-sources-3.8.6-r1.ebuild X-VCS-Directories: sys-kernel/hardened-sources/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: a4118f1de3037d9f826f891b25470c13ad2e8c27 X-VCS-Branch: master Date: Fri, 12 Apr 2013 01:51:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 49051a79-1077-4b08-8b7e-1e8bffa8a9b2 X-Archives-Hash: 0353b955aa1387c447a7c5a3d154e232 commit: a4118f1de3037d9f826f891b25470c13ad2e8c27 Author: Anthony G. Basile gentoo org> AuthorDate: Fri Apr 12 01:51:03 2013 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Fri Apr 12 01:51:03 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=a4118f1d sys-kernel/hardened-sources: testing patchset 20130410 --- sys-kernel/hardened-sources/Manifest | 40 +++++++++--------- .../hardened-sources-2.6.32-r161.ebuild | 43 ++++++++++++++++++++ .../hardened-sources-3.2.43.ebuild | 43 ++++++++++++++++++++ .../hardened-sources-3.8.6-r1.ebuild | 43 ++++++++++++++++++++ 4 files changed, 149 insertions(+), 20 deletions(-) diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest index a5f7ede..55956f5 100644 --- a/sys-kernel/hardened-sources/Manifest +++ b/sys-kernel/hardened-sources/Manifest @@ -1,21 +1,21 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - +DIST deblob-2.6.32 84094 SHA256 de625f0bd221c9c38d4453f1b709622f222d86a0ae9350d2b7b0e17795e6de6d SHA512 81263cf9f0e8232f9d56966082514f58c147d12cce0bce384f6830a450006006274f3009dd11c38638cd083d0efc14dc2edd1b79ca22a18835eeee4e9ea15eab WHIRLPOOL c53c3f114e7536426c7f303c8d67ee5d26929ca59b25b5fdcf18b2748acc4699cda42f63908db6f78ab338301da8cad3b3ecbab45ee5c1f15679d4e44042dec4 +DIST deblob-3.2 107602 SHA256 5db88405af6d51a77d84354afc3b2bdf673b1a5dcff37bb8db4ccbd12d91db20 SHA512 f34b7128adf716c908cbbbfefe72149fcd88b727d27edab43be65d4e6a55112b6d937d5c2bed86454d58781f3766ba4cc6db668cb6174a6039d276499da37cb4 WHIRLPOOL 0922457f7ca413c9d8115182964a7c051560799c4724452f81cb4c0383cf62c45b0364d6e639bd9d2b9000411d8773cabd2e8af99e8b0dc7f7bdc886db432d6d +DIST deblob-3.8 113867 SHA256 883e8f003cabd9168659b4a6c2549bf22f64b8dc7ca9ff106335cfdff23b890c SHA512 acdaecb5a371489f8d0c2cea4776584eb4a76db0ea5dafc363881f2c5bbccd212d98429c2a559e697f0485329d51f1c01ba2f6c82ec703ad6bca9b8d9097a452 WHIRLPOOL 40c723ad41434aef0d30ee5e0ebcd5476778c70bf82043241522ea389a3d5a66a5cd0480722f019daf3eba97a0f30eade1741af0979be956644cfb3e24ee90bc +DIST deblob-check-2.6.32 247608 SHA256 da1aecdf3ab7f1207b90642d303e52262ccc2ed9e49739b729512b88950d17f3 SHA512 2ba5c7615164a96847afc40af9c9883dc39d8be633e8f07d0d4a6c16b1a22117faf68d5aa40c5aee843dc687a635e2195a4be3bfa40f87dc2b89554d869616b6 WHIRLPOOL ea5dcfd0ee58f1e9ff8dc16229401d37c0271fcae9d065ec648828088cd8d0b8eb8a80efc772d1ed0f075017485609ebf19c01156586728dd335af2dee2bbeff +DIST deblob-check-3.2 423268 SHA256 9e67dd0885aa8ef356dbc15d487c8dea5a54f74c5b03a5d7946b65ee43f12638 SHA512 3abb9968ef4750fda90e4e2283981fd4691b7f9854244413b31d17bb60382a6d809fec929d8d3f9b52397dd9f9fa26783f4c3a25f3f4115b76ed585ea68e9916 WHIRLPOOL 891c3f809af470d680ae896c843c09612fb5124f2805e03d67b28ec4353bff0bc346ae9f680d900f0f63e681be86a0195f9baab7dcf3b5accfda739b106766fa +DIST deblob-check-3.8 539625 SHA256 df1f7ebc09f93ec51c0d3755b5454adcdd271e428573014d13f58638760863a2 SHA512 1c27b2df8aedd93da153d8dade37384e59862dac2eab948802744fb1c5cdc7d141cb2d971bbc448e723f15c14f1646a1cc695f20e64150b26dc26746601d1d17 WHIRLPOOL a1354cfcad7d40e8e811882f2715a71f36bb18c99c6c5277b18aef7f738c41bbf5c7099735b6de4a37b22868dbf96a5405d0b21c16a5709d70a1d0b082a57594 +DIST genpatches-2.6.32-48.base.tar.xz 907780 SHA256 aafa99cbd0ff38c9fccd3ce6780b2f3c261e3e66415dc8b14870959b94498c73 SHA512 eebadf08d5a01165d7e57e0d5adc70de33854b5b57c69edba5c0e6672288479da33f57c89a0fe838067aa5ca3663c47b22c98c34929ef66c5740e945af5c0317 WHIRLPOOL 3906c3e0c9a7a66c4cc710d506ec56d97fc6ac878c2aa22b1a2ad3ce10d3aae8cfbd54d9f78fa78b3ce41fdf291b8ee955692e4759758f2edac5e24e9f342c41 +DIST genpatches-2.6.32-48.extras.tar.xz 24436 SHA256 87b9ba845a35f737088362921720403bc348554031f8956ae20b30ade53b7c64 SHA512 de7c110f5f86f865410cfc408eccd3052a5b7777065f06cbeb3c22c3642db9424235df19ea418e2354ff3aabcc915b0b85cf6e06537f6600d7b30e2f79220508 WHIRLPOOL 755f5e34fec49976f634c43ab459cb13703e6595ca84808d18919a01d7735bf97f16625102b384d67d4360bd3d9a07d21ab50e16b945edb9df8231a26cfa7169 +DIST genpatches-3.2-16.base.tar.xz 410332 SHA256 d3ad97b119c5b8cfd8e34f1cf118dc7d5bbe61fe908a5627f8ab6365517d7190 SHA512 6c917efbdd26dada3e68241c4d55833968e8ee7044ea7fa2edeffdd4d7eb0edac157057abb75da09ac6d2b5368d228ecd1c2ac6006a9d45b91dbb264eae33625 WHIRLPOOL 155a5b3297ec53a6bdb76e20c8c89d4f4c35ed2bb47e20281ce305bf9edd413e4d89168e250a699ace0561c151ef2f484c05e59013dbd971d43184c5f072a71a +DIST genpatches-3.2-16.extras.tar.xz 16764 SHA256 c3f5adba6f1700c716354b91bc624115c6f5cae6f8fbdc51d07a76d4546bacaa SHA512 e3245c05f3385bb27852c00a39a898c91b3c0006e19c5db561f3e41f9bef7e97012ed29ddf9b0e2bd1ba1fa16590e516fb00ce754a84dd5c653c046b9f4e63f9 WHIRLPOOL 3c1ee6db88607ed91366067217d4a556fb5516ce8bee2859e97be7e214a05609e2d36ec27ec413154baa432a984f53cf69cfb94ae65ec4b8d2e9a86641d77a0b +DIST genpatches-3.8-9.base.tar.xz 208468 SHA256 52295de742ba0371afd041e09ba280e2bcb2ed7b43bf5656de70a1509201e45d SHA512 a7bbb8e2e5140cf3012fd864d1ddea3c511ee6f226d8bea9be411c28be46873e3847d97719db78118eaf352e80cef8370d0b6d122426ec4a879abd862936ac1e WHIRLPOOL dd58bfc1dfbe7a1adecc18ac3f80997c1b37582870c7ad2f4f3f46af46542efce4e2f773010dd63e1b05dcd4be814a73283bcec64341aaa88f7a254a0f9a314b +DIST hardened-patches-2.6.32-166.extras.tar.bz2 920729 SHA256 900a2761f383bd7a44f402cfa4fdd7b30744346d99bed370282c0b49900bbb55 SHA512 12623082579dc3b83e6fcd6aef9eebc360e3f687f07a368e3e823b9b9a0a3c522f24116a1d04b561de9b37144e30fd59185e2f7d8c6d59595a2388130d57c455 WHIRLPOOL 79a7096e09ac7697cab6540ef0fb1c0e2badc79124cde8b7056b04cf0e823d7db811be1f0c3cdaf69cdc108f7c82796cfc49f5baf8423adc95f80381649218e9 +DIST hardened-patches-3.2.43-1.extras.tar.bz2 1320762 SHA256 ef031247492325f4bfc99fbc728be705cbb6e69aff997d24910040de67f89452 SHA512 0211e47657547f5dc3332cd573e6d0444cc7ae1da82bd7cb3a072dc5ccd333d5adb39053dfa7ede35c2c83843e3b114658f6d76414e68852c488a6959f1ea263 WHIRLPOOL cdc9000c835f529ff9a91cb8e6a56b26beb6a3e7744cf5a8c1d42a67caf924e70d4f048497eabdd979ab308526b895868afe608f5fd45e7e1eca45d3b4d2d9c5 +DIST hardened-patches-3.8.6-2.extras.tar.bz2 708775 SHA256 efad8d16db17b74d50f6b79173225cba136173a9f570732b0315606da0cec902 SHA512 32fd1673ecf5166f3782bcb3efa33c5aabc7fbd12e6924064316eb1c00882d7142480dedb269463ebcb8649e193b3d2c039ae105c8de8cccc7ebe338ce7054b6 WHIRLPOOL 5c64b4d4349fb9fd9b6e0ba6af079b166a5b8f0b4592edbd0e5fd255b5a48be4d3713c30cf6caadbd18ea941e949677a0d6b2a4de16588d70229cd7cecf32a82 +DIST linux-2.6.32.tar.xz 52620720 SHA256 723106c298c5ba8733bb51ecc106b05e332a18490edc5f61cc6e57dbb36dcc46 SHA512 f8570daf2806eb191fce54cc7358577b0571bb295a75bd86db630d6136b328ae48e4732554b2d1886c64b0a0018bf0b9105dcface978a5005d1b77789aa40312 WHIRLPOOL bfcb4b186f7c4b60e69674a85d20a8e92b5efd05941b550401ef446cc6b20c9ed197f920d1cd9250c0e518c05308b9225f7ababe41cdfc83570412117b2ee555 +DIST linux-3.2.tar.xz 65065516 SHA256 dd96ed02b53fb5d57762e4b1f573460909de472ca588f81ec6660e4a172e7ba7 SHA512 77e9a52d78d6c8e951df1e166023eebe5defc5ef3c45d3ac84b613137b3c2e55cee5693d828ebd06c5034bd89ea2a5f862f55824f2b7839c9ad7212c81e3ecb0 WHIRLPOOL 7cc68baac4441740e2171fbbc4195ee6c0351de099aadaee8cb3487f6d1f8b7e1d3144ee54ba38dbd24d6be431a1ea3b921ffce82ff84df21a98da7bc61c1d17 +DIST linux-3.8.tar.xz 70989468 SHA256 e070d1bdfbded5676a4f374721c63565f1c969466c5a3e214004a136b583184b SHA512 10a7983391af907d8aec72bdb096d1cabd4911985715e9ea13d35ff09095c035db15d4ab08b92eda7c10026cc27348cb9728c212335f7fcdcda7c610856ec30f WHIRLPOOL 0c633854ad9c06df1b1d832aea9bbef76144ba88c8fccf6a3f8729101dc36838bcda6ccd444451cab19177608e7f7866f4f79cff1a8ef2bd0c893933d7f1f44c +EBUILD hardened-sources-2.6.32-r161.ebuild 1381 SHA256 5a2410c2f06f0264e39bef6413b752cbc75ac00d21bf8a3de6fd7f1bdc16b0f7 SHA512 2417292666e66316af002346ce274a99ad0bdd6eca33d424e0d2f342af1e8b6349c86d8e83723769c3d0d86e2d6fd773b4e7dec7c7a8a819b6c0003c765701b6 WHIRLPOOL 24a29c72c7344bafd1e66f61e6e239494370ea4bae20ff39d78da4b9ff03fc9f3fac3eea7440c11f1b8ff62157a4bc23b1fca8c140b788b3f25dd4a494f60b9d +EBUILD hardened-sources-3.2.43.ebuild 1377 SHA256 4e0f055a1a47e8500554131dd6af44369ec52ae3ea62296b2dd09a9fd37ee250 SHA512 1e7e1647da756b28e82f96a38fac2bc7087619b652b3125ca707eca0cb33d657488217187725f8f1ee871b132c42fd4392e2462a1cb349fcfa3078089b6efd0a WHIRLPOOL b483624b9a0ca09ced83283551a64fd9d1b942919058cce052b4fa5ecab6613f594787ea14ad0f369a7758364db6e8d88581dfd13b0f8b3c5169570280589490 +EBUILD hardened-sources-3.8.6-r1.ebuild 1400 SHA256 06246619cd41806a6ddce3cc79a3e81d6c8cd230bcca15d08c481775efbc5686 SHA512 8d5e93a178008c453e9f039308e1d32277ae48f51f209273a64d46e7cb77acc062621d317d1526e46fc9d0fee625976f0faac3037b4e0c9104c0ec11d400bbe2 WHIRLPOOL 8878bde63cd3ce23adc9202ce6548c5e695c024da0501bc5188a5b8276d184875ee516125dbb379c9f2ac3d5fdb74faa09365a2551e0ec4ede450c6ab82ec06b MISC metadata.xml 576 SHA256 53e0d3bfb958bcbf62457a89abe76a7a6f5a2b1df5decb04bf8b840184cc5828 SHA512 aabb8324fc608a74fecda5e4fff0f29d47d34ff20bdea2af8a69726772268d7b3b9d2639cd9c2308b3c79b89d9e923d2a96b212e7cfe59a0bf0008e3fb1c7e6a WHIRLPOOL 11fc891bd478667fe4ca5d203b366fdcf1680dac31bf997ea7c707c6f00a1c03b6ca7a00045b75dc1604e9eb57c2cab03a12f46318320ed6abdb5d6feb06b71f ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iQIcBAEBCAAGBQJRYQ+BAAoJEJOE+m71LUu6KfoP/3cMzj6gUNfA8F+p89sthb13 -njsbt70BDUp1Owr//SbDiPogYHSSZEGih16sI+WDfRk1wsN6zDIxn1HYZ6gaOzkC -sz6GGVlG8/+VgUzlSkWuPp6FyEPvcklUpBz1Tzf99wQwK3ojt9Yw7erHS2LkBs/4 -5s8NVKzaaoMI4JiHyTmzKPY2lTMMA3YHR4bysZg9JDcoh4kV5Rv6z7Yzn5UckMC1 -UwttoefJPhEFqIibDhhXwJFRUwX4XARe9HIoPYw7y6pL9ms1Qx7eVMBB3UltY/pe -RSg+wEVo0Xba0k97CgP6F6yAuXhNQtSxVgovorafsJHigjIPXJmRKqArBAXRDkTy -tgQZHUhcsYNJa+Q6bRno7EbhId3YWXfxRJPA6EG8cbYkqUvDzrLqM5xgkyCnbUFe -xc0SjEfx5/Rr3nQQD9cZBknmR4YJVbYbcQvEsVxUlc7QVrbhBT+AewfDDNOp9Szz -sO/eJ6FPI/KjQMxVGEIFV51B7Esoi40ZF2kGNJ0ZZIUbs3lhVHAlaX1S4n8uJuxI -OwQMODkoPSLo7NtZ68X1OrHcgCu+poUHiZk73/csSw14tPNj94HhS8fhgFKKCJjf -cnhmH9X/IZHygwe3on06FZFaLLIGhLMeHg2c0BTFWClQbgGU2fbMWKrypZeNjshk -po2TFhzfFvQKOZJTK2li -=m4h3 ------END PGP SIGNATURE----- diff --git a/sys-kernel/hardened-sources/hardened-sources-2.6.32-r161.ebuild b/sys-kernel/hardened-sources/hardened-sources-2.6.32-r161.ebuild new file mode 100644 index 0000000..5b6a566 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-2.6.32-r161.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-2.6.32-r160.ebuild,v 1.1 2013/04/07 05:59:33 blueness Exp $ + +EAPI="4" + +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="48" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-166" +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="4200_fbcondecor-0.9.6.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 +} diff --git a/sys-kernel/hardened-sources/hardened-sources-3.2.43.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.2.43.ebuild new file mode 100644 index 0000000..332e2a5 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.2.43.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.2.42-r1.ebuild,v 1.1 2013/04/07 06:08:23 blueness Exp $ + +EAPI="4" + +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="16" +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="4200_fbcondecor-0.9.6.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 +} diff --git a/sys-kernel/hardened-sources/hardened-sources-3.8.6-r1.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.8.6-r1.ebuild new file mode 100644 index 0000000..546ac25 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.8.6-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.8.6.ebuild,v 1.1 2013/04/07 06:12:59 blueness Exp $ + +EAPI="4" + +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="2900_dev-root-proc-mount-fix.patch 4200_fbcondecor-0.9.6.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 +}