Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-kernel/hardened-sources: ChangeLog hardened-sources-3.0.4-r1.ebuild
Date: Sun, 04 Sep 2011 20:42:10
Message-Id: 20110904204201.0D8732004C@flycatcher.gentoo.org
1 blueness 11/09/04 20:42:01
2
3 Modified: ChangeLog
4 Added: hardened-sources-3.0.4-r1.ebuild
5 Log:
6 Based on 3.0.4 + genpatches-3.0-5 + grsecurity-2.2.2-3.0.4-201109011725
7
8 (Portage version: 2.1.10.11/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.469 sys-kernel/hardened-sources/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/hardened-sources/ChangeLog?rev=1.469&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/hardened-sources/ChangeLog?rev=1.469&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/hardened-sources/ChangeLog?r1=1.468&r2=1.469
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/ChangeLog,v
20 retrieving revision 1.468
21 retrieving revision 1.469
22 diff -u -r1.468 -r1.469
23 --- ChangeLog 4 Sep 2011 20:38:41 -0000 1.468
24 +++ ChangeLog 4 Sep 2011 20:42:00 -0000 1.469
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-kernel/hardened-sources
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/ChangeLog,v 1.468 2011/09/04 20:38:41 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/ChangeLog,v 1.469 2011/09/04 20:42:00 blueness Exp $
30 +
31 +*hardened-sources-3.0.4-r1 (04 Sep 2011)
32 +
33 + 04 Sep 2011; Anthony G. Basile <blueness@g.o>
34 + +hardened-sources-3.0.4-r1.ebuild:
35 + Based on 3.0.4 + genpatches-3.0-5 + grsecurity-2.2.2-3.0.4-201109011725
36
37 *hardened-sources-2.6.32-r67 (04 Sep 2011)
38
39
40
41
42 1.1 sys-kernel/hardened-sources/hardened-sources-3.0.4-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/hardened-sources/hardened-sources-3.0.4-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/hardened-sources/hardened-sources-3.0.4-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: hardened-sources-3.0.4-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/hardened-sources-3.0.4-r1.ebuild,v 1.1 2011/09/04 20:42:00 blueness Exp $
52
53 EAPI="4"
54
55 ETYPE="sources"
56 K_WANT_GENPATCHES="base extras"
57 K_GENPATCHES_VER="5"
58
59 inherit kernel-2
60 detect_version
61
62 HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-2"
63 HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
64 SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}"
65
66 UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2"
67 UNIPATCH_EXCLUDE="4200_fbcondecor-0.9.6.patch"
68
69 DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
70 HOMEPAGE="http://www.gentoo.org/proj/en/hardened/"
71 IUSE=""
72
73 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
74
75 pkg_postinst() {
76 kernel-2_pkg_postinst
77
78 local GRADM_COMPAT="sys-apps/gradm-2.2.2*"
79
80 ewarn
81 ewarn "Hardened Gentoo provides three different predefined grsecurity level:"
82 ewarn "[server], [workstation], and [virtualization]."
83 ewarn
84 ewarn "Those who intend to use one of these predefined grsecurity levels"
85 ewarn "should read the help associated with the level. Users importing a"
86 ewarn "kernel configuration from a kernel prior to ${PN}-2.6.32,"
87 ewarn "should review their selected grsecurity/PaX options carefully."
88 ewarn
89 ewarn "Users of grsecurity's RBAC system must ensure they are using"
90 ewarn "${GRADM_COMPAT}, which is compatible with ${PF}."
91 ewarn "It is strongly recommended that the following command is issued"
92 ewarn "prior to booting a ${PF} kernel for the first time:"
93 ewarn
94 ewarn "emerge -na =${GRADM_COMPAT}"
95 ewarn
96 }