From 17e27de6e2c11c414a377c8784705b60856458b7 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Sun, 23 Oct 2011 11:19:01 +0000 Subject: [PATCH] Based on 3.0.7 + genpatches-3.0-8 + grsecurity-2.2.2-3.0.7-201110200052 Package-Manager: portage-2.1.10.11/cvs/Linux x86_64 --- sys-kernel/hardened-sources/ChangeLog | 8 +++- sys-kernel/hardened-sources/Manifest | 12 +++-- .../hardened-sources-3.0.7.ebuild | 48 +++++++++++++++++++ 3 files changed, 63 insertions(+), 5 deletions(-) create mode 100644 sys-kernel/hardened-sources/hardened-sources-3.0.7.ebuild diff --git a/sys-kernel/hardened-sources/ChangeLog b/sys-kernel/hardened-sources/ChangeLog index c402776c4851..bdd8add863a4 100644 --- a/sys-kernel/hardened-sources/ChangeLog +++ b/sys-kernel/hardened-sources/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-kernel/hardened-sources # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/ChangeLog,v 1.487 2011/10/23 11:16:16 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/ChangeLog,v 1.488 2011/10/23 11:19:01 blueness Exp $ + +*hardened-sources-3.0.7 (23 Oct 2011) + + 23 Oct 2011; Anthony G. Basile + +hardened-sources-3.0.7.ebuild: + Based on 3.0.7 + genpatches-3.0-8 + grsecurity-2.2.2-3.0.7-201110200052 *hardened-sources-2.6.32-r71 (23 Oct 2011) diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest index 85b50478a9e9..dd5907da2fd2 100644 --- a/sys-kernel/hardened-sources/Manifest +++ b/sys-kernel/hardened-sources/Manifest @@ -49,6 +49,8 @@ DIST genpatches-3.0-5.base.tar.bz2 112593 RMD160 0f0731dd5565622817c43cc15c133e0 DIST genpatches-3.0-5.extras.tar.bz2 17207 RMD160 0f04fef1fe76c9b9cbe7c497faae19b015caff72 SHA1 89935647c22c0a8b98dd568e97312ca64378a263 SHA256 ec88ca4408c668a2c4d2d25c3d4a8c67fad4bb08133db91bbb929c0053305fda DIST genpatches-3.0-7.base.tar.bz2 127115 RMD160 9d4a1a2a6e4f9bff5a4a8b6f1e58987f22869506 SHA1 cbe9679466e09ccc5f7b28a51fdccbb3a06a5389 SHA256 08fb2362a96b8c88028167226aaaf1855363426e2f90d60daa81649b7c5ffd6f DIST genpatches-3.0-7.extras.tar.bz2 17200 RMD160 74dd8384f2e1e9741b547a59eb15dd8fd87f935a SHA1 94f26f6a8876e340965c65ad1204c1b911d42498 SHA256 259f669c55dfe9b9420b0e2875af0c404f333961b19e5cdd40d8df5f07fc698b +DIST genpatches-3.0-8.base.tar.bz2 216509 RMD160 4ca8618b482a013adea3b5a66222975288c3f589 SHA1 68caec5b7080ab7140ad09ec7caa3414f185e5f8 SHA256 857d6ccd8bf965ec82c944c229218fb71a37c0c13f26228dc69c4e556dbfa17d +DIST genpatches-3.0-8.extras.tar.bz2 17207 RMD160 0f04fef1fe76c9b9cbe7c497faae19b015caff72 SHA1 89935647c22c0a8b98dd568e97312ca64378a263 SHA256 ec88ca4408c668a2c4d2d25c3d4a8c67fad4bb08133db91bbb929c0053305fda DIST hardened-patches-2.6.32-12.extras.tar.bz2 338946 RMD160 ce283b495ee2f009d36b94aca840f6519fbe9bb6 SHA1 56da715d64c6e2c50e292b19d27006d82118a337 SHA256 bfa5e7d9653b793b2bd88c40b8b52464fe39e1e098f1c5bc95d8476247fd288f DIST hardened-patches-2.6.32-25.extras.tar.bz2 353143 RMD160 d16ce4880936ee2f38043d2f7035e266a4b32121 SHA1 ba369d782934837064137aca2163b6eadc5290d1 SHA256 ba68fccf49a34be472bc71d624f8d2f9b285f9bcb5583e81d3b33032b268b04e DIST hardened-patches-2.6.32-26.extras.tar.bz2 354210 RMD160 eaab82b1d4940f13ab68b60791326f7436c56eda SHA1 baed0b07dee67c641127a779db43f640aa639e07 SHA256 544d274410a4a802abff0278ff7655059b234f57be30144641ae871b92014ca7 @@ -71,6 +73,7 @@ DIST hardened-patches-2.6.39-7.extras.tar.bz2 554731 RMD160 6d0214550484fcfcebf8 DIST hardened-patches-2.6.39-9.extras.tar.bz2 520242 RMD160 36f4ff9410447c73799d3265aba88693d418b2f5 SHA1 f4e609542977e83b6fa0af06c0b812745bc476fc SHA256 352e0bb2d4f4a20e86d8e6d518dbae0f0d8ee072176a9b8181f8f09fcfaac77e DIST hardened-patches-3.0.4-5.extras.tar.bz2 458822 RMD160 e2a609e70a0897a1378da230ee3eda7caae10ab9 SHA1 0e542aeb1d83fc525aeab1588c004d88f0312fbc SHA256 981d2ba33c8282146df3920f8ee133515c3badeec43072c3e8f6f7765eff0de3 DIST hardened-patches-3.0.4-6.extras.tar.bz2 475630 RMD160 d1810c18572ab742e93cbcb8c53c0eac5ab40ee7 SHA1 e5e10063325c2dd425b463f628baabc457d99e28 SHA256 8d37f296d0f578a5148caa9f967a3628021196533792f5184157d4420971ec91 +DIST hardened-patches-3.0.7-1.extras.tar.bz2 496177 RMD160 fc4070ce446f73f7585d1229bbf2afe5a474606a SHA1 2b5426459772ec886a135a3556d37e5e3f7fc474 SHA256 a65ffa5f4a66399c82b3be2eac9fa0607f37356378fe02229a093167fbe57c98 DIST linux-2.6.32.tar.bz2 64424138 RMD160 b93742cbaf8174f2200d2dbef0d47a26c618039c SHA1 410b4fc818023bfef60064e973ff0ab46d3bfb19 SHA256 5099786d80b8407d98a619df00209c2353517f22d804fdd9533b362adcb4504e DIST linux-2.6.34.tar.bz2 67633622 RMD160 dafd721b00c13e3652405b517b379eed10020bf4 SHA1 4188857ba71f301991dc56285f593e9c311e5824 SHA256 fa395fec7de633df1cb85b6248b8f35af98380ed128a8bc465fb48bc4d252633 DIST linux-2.6.35.tar.bz2 69305709 RMD160 f5d91abb4fa72fac812578d830b22180d85a0e6f SHA1 4cb1fbfbeedcd658ca37739679c65dfaa136bf4e SHA256 18b2e2c336032e366c942622b77302cb05fc034fb19018f086a4ebc9ed41bfcf @@ -101,12 +104,13 @@ EBUILD hardened-sources-2.6.39-r6.ebuild 1755 RMD160 b4c90571b6b8b2414af5b029c05 EBUILD hardened-sources-2.6.39-r8.ebuild 1753 RMD160 b1edeaa488dd2045f76434505fe61c9bf1477f80 SHA1 d41d58f8e80feb420bc03cd440e907154b1a11d1 SHA256 5213ab9ed449d941cbf53ff81d9e4d0bdc7a384db9390fa348db72062ccb7b86 EBUILD hardened-sources-3.0.4-r4.ebuild 1752 RMD160 2b87a6fc1b1d49795efc65d2e705df9fbf1f5fb1 SHA1 edce06fc82b3927e78baf4dc0cfa14d9984d9878 SHA256 6bc4f7c0d728ddbf9cec541a443a6c2baa5b8d74802bd1ab82eca5eb49131c26 EBUILD hardened-sources-3.0.4-r5.ebuild 1754 RMD160 47153609feef3dace87ff0f36e7802ade544e0e5 SHA1 4878b6e82506fbad8ef69fd636d9dd2657375cc1 SHA256 d57210700d5a250bd3adb73a98d10b72b868eb0b84dd7d61d2eed405c7d4c662 -MISC ChangeLog 105685 RMD160 4a6c4bc2b42cd2d852228543035be2b5d01fcf1c SHA1 e0b93de6c1fd4656d3948d97c26a10cec9a2a8ff SHA256 475c85ec1872083bd362ab13cfdff9ff20fd7f76801aa7319f30b255b997a325 +EBUILD hardened-sources-3.0.7.ebuild 1751 RMD160 2092bbb51416cd83a98ec095306fd4123a2827f7 SHA1 f1457fbee6a61a8f11e2285222e016348602497d SHA256 b19329f959b065ba9440fcf6a2106b4347973e57a5dd3966ce38e38d8ea1cd70 +MISC ChangeLog 105888 RMD160 a89a43caa38ad77ea0eb374aaa7959a0373d4760 SHA1 1bfbbacb71e2b9bbfa22fb270b4c210d462f3393 SHA256 e68e3a7b4fce1a1d895b5277c9b827195cb3a6fabe6c45724ec015a09981c713 MISC metadata.xml 578 RMD160 7ea189a37d0f863ae9c52170bb85df27d21686fb SHA1 4765c25d7770a69f7b9dda2b1accc8ff27b74ad0 SHA256 64140e091b51002a5355d8fcfd351f2f39ed63da68af3a5751fc2058d0d03813 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEAREIAAYFAk6j94kACgkQl5yvQNBFVTX3VgCeMteUTxy7SlZKbutLObKwD91K -9zMAn2Pyr334uDbT51m9qDHpPYvxrClw -=YUly +iEYEAREIAAYFAk6j+C8ACgkQl5yvQNBFVTV9agCeKV9bE8mSazYT2140aGZPPpAS +T18An0EYoLgHuQqxcU86qsYV0jFPMZud +=XJEC -----END PGP SIGNATURE----- diff --git a/sys-kernel/hardened-sources/hardened-sources-3.0.7.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.0.7.ebuild new file mode 100644 index 000000000000..18be809e07e1 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.0.7.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2011 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.0.7.ebuild,v 1.1 2011/10/23 11:19:01 blueness Exp $ + +EAPI="4" + +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="8" + +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="" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +pkg_postinst() { + kernel-2_pkg_postinst + + local GRADM_COMPAT="sys-apps/gradm-2.2.2*" + + 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 +} -- 2.26.2