From 6f0594b1cad087e08dd6dc08a6eb8761935525f7 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Fri, 6 Jan 2012 13:30:24 +0000 Subject: [PATCH] Based on 3.1.7 + genpatches-3.1-10 + grsecurity-2.2.2-3.1.7-201201032037 Package-Manager: portage-2.1.10.41/cvs/Linux x86_64 --- sys-kernel/hardened-sources/ChangeLog | 8 ++- sys-kernel/hardened-sources/Manifest | 12 +++-- .../hardened-sources-3.1.7.ebuild | 50 +++++++++++++++++++ 3 files changed, 65 insertions(+), 5 deletions(-) create mode 100644 sys-kernel/hardened-sources/hardened-sources-3.1.7.ebuild diff --git a/sys-kernel/hardened-sources/ChangeLog b/sys-kernel/hardened-sources/ChangeLog index b81cd48338bc..b34c5b8438a5 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-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/ChangeLog,v 1.522 2012/01/06 13:27:35 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/ChangeLog,v 1.523 2012/01/06 13:30:24 blueness Exp $ + +*hardened-sources-3.1.7 (06 Jan 2012) + + 06 Jan 2012; Anthony G. Basile + +hardened-sources-3.1.7.ebuild: + Based on 3.1.7 + genpatches-3.1-10 + grsecurity-2.2.2-3.1.7-201201032037 *hardened-sources-2.6.32-r84 (06 Jan 2012) diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest index 3571653bf558..cbfb55a3e397 100644 --- a/sys-kernel/hardened-sources/Manifest +++ b/sys-kernel/hardened-sources/Manifest @@ -41,6 +41,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.1-10.base.tar.bz2 180217 RMD160 2817a9d111441d2584e4e1b1b8e7d669e96acc63 SHA1 b77f380a2d0007876d83389cbabef213bbbf09fc SHA256 d5d0b9e2689a5326028e27ef75f93253762c20e157de73d3ad856d44b6295c76 +DIST genpatches-3.1-10.extras.tar.bz2 17200 RMD160 fa8aa6ba8bc1e554758017d371769536d025bdc1 SHA1 47240cdc21d69d2af05d0b2bd7dcbb1615508f86 SHA256 b108dbf3b5ddad1701cacd2f1c936a63b60d1a4cd86fd7f9311230e3bacac56b DIST genpatches-3.1-6.base.tar.bz2 130496 RMD160 8ca2a91c65e42dc1c3a4c200d521decb8c659c96 SHA1 c9c585c23132271d68a51d3709df7cab4abffcdb SHA256 5ab97ae5dff50355dcde83d5334a98ee952d936321b9f90f330c509150e1f5ca DIST genpatches-3.1-6.extras.tar.bz2 17200 RMD160 fa8aa6ba8bc1e554758017d371769536d025bdc1 SHA1 47240cdc21d69d2af05d0b2bd7dcbb1615508f86 SHA256 b108dbf3b5ddad1701cacd2f1c936a63b60d1a4cd86fd7f9311230e3bacac56b DIST genpatches-3.1-8.base.tar.bz2 164116 RMD160 619061ed81cee8ca391937f4b15c2805948e168e SHA1 abc55d0cad5b98461441c3790a7356d869ec90cf SHA256 c35165f1931f93ccfe477f11d5e842c2510097f017293a55aaa34dce903a2da9 @@ -67,6 +69,7 @@ DIST hardened-patches-3.1.4-1.extras.tar.bz2 491020 RMD160 58b83175266b2e7c01494 DIST hardened-patches-3.1.4-2.extras.tar.bz2 515752 RMD160 c5dfeddc7eb68ae6ce82a1b61f1c03aa1b7919c0 SHA1 21afa6345dba4dc3df884b1b5b709ef63e46478b SHA256 7e22f38028a128e4730a1367ecb38a2a4a880e0f68576ec63187988cae8c8e61 DIST hardened-patches-3.1.5-1.extras.tar.bz2 514517 RMD160 f4e68b456311300765c07217a1dd0ae79f7b505a SHA1 918bca15180498c10f026f6878502ce3a32067f8 SHA256 96232a098ee8797349fbb5c79b0d3f437424fd2f10ef53ab6a87add9f9055b33 DIST hardened-patches-3.1.6-1.extras.tar.bz2 534678 RMD160 e20b860675e61aeafe170fe9e6da550d70080983 SHA1 ee7f5e30cc6da26d70bc0ed71c4ebf6c14cd6757 SHA256 1e3320952b1cc79b0e00634d7071696e036e3ce071f60d12dfc92ca0f0cf072c +DIST hardened-patches-3.1.7-1.extras.tar.bz2 517062 RMD160 96b34aec560e0688b9051417bab2abf2cf86d512 SHA1 1103d546128d56162baa9779dd698fbbf3cd176a SHA256 e0ec05750e015880cc2d6e39d6eed5f3a069e2e80ecc952ade3f3f237faa4c6e DIST linux-2.6.32.tar.bz2 64424138 RMD160 b93742cbaf8174f2200d2dbef0d47a26c618039c SHA1 410b4fc818023bfef60064e973ff0ab46d3bfb19 SHA256 5099786d80b8407d98a619df00209c2353517f22d804fdd9533b362adcb4504e DIST linux-2.6.36.tar.bz2 70277083 RMD160 d739da505a79e71a1370d36e1373b36be055c123 SHA1 b546ab66458d7d614151d80adbc03b4d28977ae2 SHA256 15a076d1a435a6bf8e92834eba4b390b4ec094ce06d47f89d071ca9e5788ce04 DIST linux-2.6.37.tar.bz2 73577826 RMD160 fced3801f3c94aa545c90e10981de616376a3b41 SHA1 eba83c89e71a86060ef6ff76aefff660aef819e2 SHA256 edbf091805414739cf57a3bbfeba9e87f5e74f97e38f04d12060e9e0c71e383a @@ -96,13 +99,14 @@ EBUILD hardened-sources-3.1.4-r1.ebuild 1783 RMD160 19bf68fafc4a4b1d6b5b2f23afb5 EBUILD hardened-sources-3.1.4.ebuild 1780 RMD160 dffc5fe33f7bcf5446d2657f9e8e30783792846b SHA1 4ed4f4738ba6c835a07abb45c6e001f623748fad SHA256 6cc2fbd455308172a42e140692c6a221c6a1ee6a75fe9df76e3eef8d7e13ef32 EBUILD hardened-sources-3.1.5.ebuild 1778 RMD160 d88fbfe0e690d636702e9ef0d62474183c1126a6 SHA1 ec60b035af52060aa44c083128103ea8329740f6 SHA256 3a593e10d765146294968699c903464bf8d30be8c6358435f1ff7146247dac71 EBUILD hardened-sources-3.1.6.ebuild 1811 RMD160 e6a8b412bc2b4e86802805984705b80adfbea848 SHA1 c509574eb11afdb318f5eef3abe86e020997ea02 SHA256 0bf12466c267a1989e137541c825b0d90a739cf3adf183bcb0cf097da22a247b -MISC ChangeLog 1123 RMD160 2d843efe00984f5c3f6c7f99d4c4c31d1c3cfc92 SHA1 368bfd8d7efbeb6a521408b08b96b0666384e7c1 SHA256 8c7c5736fa438f85b72946b9a2fb67d71e0a3818301f19db14d6d0bb22ff2230 +EBUILD hardened-sources-3.1.7.ebuild 1812 RMD160 dac5b49ced2c5f046d0b7a19dd6ec625fb835527 SHA1 20806c2af2a0a2e09f1d2e7372215a3926e0139e SHA256 f37e217e9a9629ac4c38f60880558f15fac0620de7b60f5b995f962569b1587c +MISC ChangeLog 1327 RMD160 1842924d8c68d36dba4b6e0aa97be378ef5329ab SHA1 8465611d3c94f336d2de469b713bedbaf423948a SHA256 7dc5ae54cdb62e018bf03216963bc028067aa4f83d44b26736b94168fe5bb7d3 MISC ChangeLog-2011 112069 RMD160 2a385edf0499f6dc30581100b66f641fb64f77ef SHA1 af33094b92426b6abd963227d817db249ccbe877 SHA256 39bac69a08709be5b79c6e711fd94aac7e53191b76fef64f9b3d09f7b5ac0f82 MISC metadata.xml 578 RMD160 7ea189a37d0f863ae9c52170bb85df27d21686fb SHA1 4765c25d7770a69f7b9dda2b1accc8ff27b74ad0 SHA256 64140e091b51002a5355d8fcfd351f2f39ed63da68af3a5751fc2058d0d03813 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEAREIAAYFAk8G9tEACgkQl5yvQNBFVTW5IACfTMV5D2eymHv+ZoeP6D8buZax -5fkAni0gIQ3Rr+drm6UmhIfe8hzCE9fK -=HxCu +iEYEAREIAAYFAk8G93oACgkQl5yvQNBFVTWlhwCfWezsNLRL/PA2cD/BFe5Ifd2P +/FMAoJfYI6Jqvp2eyFuw2mTN6+p/q2A2 +=jm+j -----END PGP SIGNATURE----- diff --git a/sys-kernel/hardened-sources/hardened-sources-3.1.7.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.1.7.ebuild new file mode 100644 index 000000000000..041f9356daa8 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.1.7.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.1.7.ebuild,v 1.1 2012/01/06 13:30:24 blueness Exp $ + +EAPI="4" + +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="10" +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.2.2*" + + 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 +} -- 2.26.2