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 588DC1381F4 for ; Wed, 15 Aug 2012 15:28:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7318221C00B; Wed, 15 Aug 2012 15:28:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 332F821C00B for ; Wed, 15 Aug 2012 15:28:37 +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 1B61C1B4025 for ; Wed, 15 Aug 2012 15:28:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id D1D5EE543A for ; Wed, 15 Aug 2012 15:28:34 +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: <1345044490.4e7de490fe7205633158d137d1b8d950d03a19d9.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/ChangeLog sys-kernel/hardened-sources/Manifest sys-kernel/hardened-sources/hardened-sources-2.6.32-r122.ebuild sys-kernel/hardened-sources/hardened-sources-3.2.27-r1.ebuild sys-kernel/hardened-sources/hardened-sources-3.5.1-r2.ebuild X-VCS-Directories: sys-kernel/hardened-sources/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 4e7de490fe7205633158d137d1b8d950d03a19d9 X-VCS-Branch: master Date: Wed, 15 Aug 2012 15:28:34 +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: 0b210bbf-e0ec-4e36-a1c9-7ac8440a0f18 X-Archives-Hash: 75602bf24bf240300e7909936bd9c878 commit: 4e7de490fe7205633158d137d1b8d950d03a19d9 Author: Anthony G. Basile gentoo org> AuthorDate: Wed Aug 15 15:28:10 2012 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Wed Aug 15 15:28:10 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=4e7de490 sys-kernel/hardened-sources: testing patchset 20120813 --- sys-kernel/hardened-sources/ChangeLog | 9 ++++ sys-kernel/hardened-sources/Manifest | 33 ++++++++---- .../hardened-sources-2.6.32-r122.ebuild | 51 ++++++++++++++++++++ .../hardened-sources-3.2.27-r1.ebuild | 50 +++++++++++++++++++ .../hardened-sources-3.5.1-r2.ebuild | 50 +++++++++++++++++++ 5 files changed, 182 insertions(+), 11 deletions(-) diff --git a/sys-kernel/hardened-sources/ChangeLog b/sys-kernel/hardened-sources/ChangeLog index 0e2994d..3c38ce7 100644 --- a/sys-kernel/hardened-sources/ChangeLog +++ b/sys-kernel/hardened-sources/ChangeLog @@ -1,5 +1,14 @@ +*hardened-sources-3.5.1-r2 (15 Aug 2012) +*hardened-sources-3.2.27-r1 (15 Aug 2012) +*hardened-sources-2.6.32-r122 (15 Aug 2012) + + 15 Aug 2012; Anthony G. Basile + +hardened-sources-2.6.32-r122.ebuild, +hardened-sources-3.2.27-r1.ebuild, + +hardened-sources-3.5.1-r2.ebuild: + testing patchset 20120813 + 13 Aug 2012; Anthony G. Basile -hardened-sources-2.6.32-r121.ebuild, -hardened-sources-3.2.27.ebuild, -hardened-sources-3.5.1-r1.ebuild: diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest index 5d9222c..9a07446 100644 --- a/sys-kernel/hardened-sources/Manifest +++ b/sys-kernel/hardened-sources/Manifest @@ -1,12 +1,23 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -MISC ChangeLog 32994 SHA256 031bf1147f177b05d51ca1199fdbc14ee4277862094fad98e96957fa913639c6 SHA512 263171678cb215497905d127781f189a4d9c76c9fbb5b9fe4f540df6a7fcb7e00d1769f6000981220ef9802704e39626b9500bb58da2492e0a8b9cf41591bb18 WHIRLPOOL c5d6a57c4260c15914d1cd8d5cd48e367865343ed0b2220b2aa58c1692a703626dd65e6bf3e19ef3409ed4a684659f872e44dc9eea14bcb1537f531672088068 +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.5 109252 SHA256 c3273c85e04b7f69acc271da7d2ffba41cf74b364b60f174a4459eec4fae8da9 SHA512 839126a3d2655195c9ff223b98c2c89c403d89e40c37ddaaf0dcef72b28e396906842997cad136e8ed2eebfbe94d3479a77ab3071bad46008d9faeffca48372c WHIRLPOOL 93a993475c7c4342e31d59141dd8c68197243b5a96a34c2df529edadf3733be01d145f8679d01dc4ccaaa4bd8e1c887f75611256210820d27367de651e1d9b4b +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.5 464105 SHA256 e7f57e2e47651ea1eb757ca3c8c989edac0f38080d923adccdcdca215eb2bdd9 SHA512 aeebd62fb3ad9550587d4a39c6b4a11a4bdea9ff096ca13df6f3d9b0137f3d05e704d105b19417282b4b70645ba96597b79e9e70d8540f6b15a7e2e9824251b4 WHIRLPOOL 0865a17865e8eabd350924b9e3cbce6994e70a54719d212227e2c22338ef43c7c52931437106cc68fa3e62d600f3ef2bee895441cca8af30b359e988a368e072 +DIST genpatches-2.6.32-48.base.tar.bz2 1033142 SHA256 7438e7b7c0ef32e0c639cf89c4f53a3bc7917ca466b1fcf3931adb65ad05b583 SHA512 1e06aef3bdb82e199165730b3b1542dee98a5970c611cc51eb3c0781bec49c3ab555908ad0109d0d1748f1d5d1bfeb6a5e79c1d45ceee9ec9f952290c426f0ab WHIRLPOOL edc94a7404b422dc9eaa5a2d5085938e2992a5ed09c80265c1c85daa933e892819b480b3086fdbe944943b6206748f0965159415b7764cd419f78719742c253b +DIST genpatches-2.6.32-48.extras.tar.bz2 24939 SHA256 ee714d14310fd5242ce2e28a8f8e5fda63ba18957960814876506f8754b9d2a0 SHA512 0c0ddac8d9c3c91f3cdb4b6eb572cf4e7f0417c5f522ba4dea0b18957a3b89f3b6addd449d2b6fc0ffbbe36b225fb1d21b1537ab6a4bc2ae2375735e83a960a2 WHIRLPOOL 4b8f5c3aa5edf2718c013e0d5791a964ab983bb2cead319ce9a9d18cdd891eadb9d7ec5c1bfce50ce74d906c5b28f75cd30bf09e72bd500be082488c40870e98 +DIST genpatches-3.2-16.base.tar.bz2 445530 SHA256 3a3d16b7ffa401598bd131a7e8b2996f729b51dd6e88cae79157fd6bca972842 SHA512 6ab56b5dbf8ecf02a1ff8dd0dbf503f8c615050dd7f02b156bd1a0fdbf3655aee48176e88d30b40697d11126d06fc159c1332ddbc22c6e3f31314e1455f2467a WHIRLPOOL 69d9e11dfeb622fe615f48cd146819d264cd60577c0f77567e4b8c372901f63791567a4a210da752ae9a718d79a929519fb7997044a170327099d8a086a7eb83 +DIST genpatches-3.2-16.extras.tar.bz2 17208 SHA256 7f60ab18e2965d024b7a36327577bcc771061f2cfac221ed475a6fd6b2ab89c7 SHA512 bea678f7eb56eb992c99d9c49b8d1602228dec00e7fd255432ca30847aae9d4d223bb9ab27f5e72ad422e0d0f2ac319fa590d5fe0e53824b415d6d8bba686add WHIRLPOOL 875f72ab9b81e1cc7a7a06d42783c04204987cfd49042f3cf19b1ed80b0d91f8fdaaf13152b7a22a0d0c1eb9a22719d83eaa9c4fcf9d2024e62420332f081019 +DIST genpatches-3.5-2.base.tar.bz2 52007 SHA256 49293432afa6d7a58a47b93a2e3b5aa698c72c304a035f4afc9add44751819ff SHA512 02144148dea1fca3048a97cf751f7c32c079fbc2dfd0ddc16c778c1361f711f3b2b817b48c63c95563d2be701594594b638f1c05341c4927131d97dfbb0045ac WHIRLPOOL 8ac3a520db620a6fcd2a0907e0cc9281115ab9b1129e778c9c6297d9f0a9f43236cf9d9a028d97961c314c4403834301b02e2f0068ed6aafe00db3f5d82d2358 +DIST genpatches-3.5-2.extras.tar.bz2 17507 SHA256 1b2294687e842e6450184ce2800ba3df8006ca47d75f95437a1e1d2976162727 SHA512 2eefd45f853e9bab3f89701e470309471b5b2c9ed651dba03776a47d11e26c00170d32aaac547889ae7cee435278bb5ffa4ddc1dc769e6440d454008f62ce23d WHIRLPOOL 43dfd1c6a046e3dc07db72e8d7f062689366112ccf080a17b84bc7adda3e5257d7be551e0a34b6c79c9016b5b04bad5bdf8c52589dcc362dc675f72ca7681135 +DIST hardened-patches-2.6.32-124.extras.tar.bz2 768443 SHA256 c1a3d81f4d422269521cd7e64f7bf752a7f48e6a85abfeb14841f43b4896ad51 SHA512 771951d113bf93253fd289762f82fe0309b2561e63a63e76662c3dfc1649a2a754dc0eead0c1e434a03f2b83225b492483ade139a6aab60879c47b69cf7ed9e0 WHIRLPOOL ad9f99ce1a598114ba32c76c8853a4433e95030de5ceb0c8b1f0ca42e337bc84e0ade0333097f95fb7fbe1f387e51adde2268a12e14c21acdb00d76ac315a694 +DIST hardened-patches-3.2.27-2.extras.tar.bz2 702935 SHA256 e5eb7f97afdd945b72352062f3d6a69773564d6a77c148325f5c6f19f54864f8 SHA512 22202d9c7edd65138c50c896aeb61ab264472e36c8c20f306985cf3752123dd2ae0a00960add6933df5f5507e82c28c8bde00daa76b9d3a18944322814a75f6f WHIRLPOOL bea8b989d4688f4bcf492a23c3034456ce501bcf0c709a3af119163fc6748574cfa224d0d76ad9cb11d89cd68150c757acd145a97c452bdab742bdd60307e89b +DIST hardened-patches-3.5.1-3.extras.tar.bz2 568481 SHA256 e9f0303e0fd3179d18922247643871672034c94cc12ee83df85a64f154a4456b SHA512 4c50b81325b07e791ac52e1404aab26f788f599008884e981ae78c14751cfcf9f92617b474b886c876c7dd361838a235e589c1501ab309d6056dd07865006902 WHIRLPOOL c989e81a949a176ea1630b4993f31fc662ffeb18923c15153947bab39ebf948eeccc16e98e6f07fa9fc97dc8d68dc612103050adfb135c5c22a7fb7d13c71519 +DIST linux-2.6.32.tar.bz2 64424138 SHA256 5099786d80b8407d98a619df00209c2353517f22d804fdd9533b362adcb4504e SHA512 739c67875dcb1a80412a034e7d3dddfb6aea4d7a77f12b572fb5afbb827e6ab5a682df7501c0982966e85948ddf7251b8dc5eeb064b2d264025160d8a903bc82 WHIRLPOOL 762dfd7f4c062fdcda00b7fc45ead0f8cb4e321027769a12d92640012f5768c2033da95f24491adfcd6eb453c2658978d4f170e73e4f8a5ccd263efcbe00429d +DIST linux-3.2.tar.bz2 78147838 SHA256 c881fc2b53cf0da7ca4538aa44623a7de043a41f76fd5d0f51a31f6ed699d463 SHA512 1f57b98e8da34b10f37ce94e0f13a994c111d483b104c27a8f58a4a55013a73a9f1ffcebb597be63ce0dfadb92201e93b0e072ba49bac0033026aceb0840c812 WHIRLPOOL 3dc893bde09f064e4614183964a4b9feaab938ca7a739f46f825818a577884eae815f195b52a4c55c571345de59d7ba09631fb68dac481a0837b24868ce60e3d +DIST linux-3.5.tar.bz2 80978443 SHA256 6ab82beb8cbb895b7523daed7ec3ec5850cf460b96788056f1ef5135c852fd23 SHA512 f6de5aaff351097dbe4b7186baea63004ef9efb73a85ccfd718c5856b282c22fb1431dce8588cb823eb75d1f09cd89f20e4936501e2c536f53ea4aa705e09ecc WHIRLPOOL 227c73e187370f2f5be34041c99ff2ff1bc99de4685d29801558a96d7d128c6f09c4a2ce81ce33cd87148c301e43319b42a8a77443e5db37f604fd97d101b7e7 +EBUILD hardened-sources-2.6.32-r122.ebuild 1820 SHA256 685b0218e4ff8d9f8f72f04e164bd778b6a94bfb3bf5e046e53dde80432dbff8 SHA512 e151d973875b1395b37784578aef3cab2ab211dc9262e8829e67d917a904663988f15c24d916507cb807d8805ed74249dff07d9d88188b9c5b01608deccce0ff WHIRLPOOL 10d813901c8cd35f6f177549b413708c1a6dbf98c8c627e43642294bc89133e3e8d53f866c84aba0926c6cf3dbd68a2951d6407e7bc14b1959691d0bfd4946f4 +EBUILD hardened-sources-3.2.27-r1.ebuild 1813 SHA256 b147fbc6466945514c0e3a02cf36782d6398fb2c16976ea0e2c363c63ec22609 SHA512 946336a40265f7bb83b775a731a6af2db2f68dab6ec3f8a9840f3b103d6c8dd141ce03b61b5d52bdf7e60327a4787e7e90bec348d2956d1b87b3d6ccca2fcf8a WHIRLPOOL 5204e359efcd3ad604489e39c6f303a1468e8d2bdc1f51f6cd3a138d22dcbf37199136426dda289e6c63d484f188134200371406607900e4d1996cd56a6e4ec8 +EBUILD hardened-sources-3.5.1-r2.ebuild 1814 SHA256 31912f820cd87419a7d420839c8db67de8bbd2400e6ca96e3e2d943263ef5a25 SHA512 661b66e810bac6110b751acc81108777e5e9a8b9437fc628be4497f20ad6533beff3b5328cf788b172f738b1ff5da815d2b9c54ecff0562f177f95db5e64a1ae WHIRLPOOL 25351d6f601e5ae8fac7cc1da69e38f03543c669590fe6ea6e775df4aabb0e1a4b610c0cd1834dbfd545d4c6b39372b5dea3e6689709332fe4a2a1e455ec36ff +MISC ChangeLog 33319 SHA256 25252ed2d134c81e5ef77580c45edec4ca2c37c421ebb93e224fdb5a88bf6e70 SHA512 52d5291ea736545b51276b40091054f367da1303249ae4d767629d103877f28ecc89754513d37e1a557646b742fee78856ecd50c53e7a7434dc8661dbfb647cf WHIRLPOOL d1e498c9eff4dc5646bca18ec6fe7c83a9fa7c059d6813fd5ac7a3ed5a29603fda0e99a49d2557f1ecefdb07c1fc79f498958a2d530a566520c454b2490562b5 MISC metadata.xml 576 SHA256 53e0d3bfb958bcbf62457a89abe76a7a6f5a2b1df5decb04bf8b840184cc5828 SHA512 aabb8324fc608a74fecda5e4fff0f29d47d34ff20bdea2af8a69726772268d7b3b9d2639cd9c2308b3c79b89d9e923d2a96b212e7cfe59a0bf0008e3fb1c7e6a WHIRLPOOL 11fc891bd478667fe4ca5d203b366fdcf1680dac31bf997ea7c707c6f00a1c03b6ca7a00045b75dc1604e9eb57c2cab03a12f46318320ed6abdb5d6feb06b71f ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iEYEAREIAAYFAlApHXkACgkQl5yvQNBFVTXBSgCgisORiAk1d2uFfdHDyVCOQU8a -bA0An2YAnnk+mRIAzPX+Zibq4b50Bvkp -=zeCs ------END PGP SIGNATURE----- diff --git a/sys-kernel/hardened-sources/hardened-sources-2.6.32-r122.ebuild b/sys-kernel/hardened-sources/hardened-sources-2.6.32-r122.ebuild new file mode 100644 index 0000000..f34c721 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-2.6.32-r122.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 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-r121.ebuild,v 1.1 2012/08/13 15:24:03 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}-124" +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 "Hardened Gentoo provides three different predefined grsecurity level:" + ewarn "[server], [workstation], and [virtualization]." + ewarn + ewarn "Those who intend to use one of these predefined grsecurity levels" + ewarn "should read the help associated with the level. Users importing a" + ewarn "kernel configuration from a kernel prior to ${PN}-2.6.32," + ewarn "should review their selected grsecurity/PaX options carefully." + 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.27-r1.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.2.27-r1.ebuild new file mode 100644 index 0000000..adc8158 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.2.27-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 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.27.ebuild,v 1.1 2012/08/13 15:26:27 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}-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="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 "Hardened Gentoo provides three different predefined grsecurity level:" + ewarn "[server], [workstation], and [virtualization]. Those who intend to" + ewarn "use one of these predefined grsecurity levels should read the help" + ewarn "associated with the level. Because some options require >=gcc-4.5," + ewarn "users with more, than one version of gcc installed should use gcc-config" + ewarn "to select a compatible version." + 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.5.1-r2.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.5.1-r2.ebuild new file mode 100644 index 0000000..be2df4e --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.5.1-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 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.5.1-r1.ebuild,v 1.1 2012/08/13 15:28:54 blueness Exp $ + +EAPI="4" + +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="2" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version + +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-3" +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 "Hardened Gentoo provides three different predefined grsecurity level:" + ewarn "[server], [workstation], and [virtualization]. Those who intend to" + ewarn "use one of these predefined grsecurity levels should read the help" + ewarn "associated with the level. Because some options require >=gcc-4.5," + ewarn "users with more, than one version of gcc installed should use gcc-config" + ewarn "to select a compatible version." + 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 +}