Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-dev:master commit in: sys-kernel/hardened-sources/
Date: Sun, 30 Jun 2013 14:25:55
Message-Id: 1372601171.7e968470e62ef62b9586d0daadc08b4422f38f96.blueness@gentoo
1 commit: 7e968470e62ef62b9586d0daadc08b4422f38f96
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 30 14:06:11 2013 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 30 14:06:11 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=7e968470
7
8 sys-kernel/hardened-sources: testing patchset 20130627
9
10 Package-Manager: portage-2.1.12.2
11 Manifest-Sign-Key: 0xF52D4BBA
12
13 ---
14 .../hardened-sources-2.6.32-r173.ebuild | 43 ++++++++++++++++++++++
15 .../hardened-sources-3.2.47-r3.ebuild | 43 ++++++++++++++++++++++
16 .../hardened-sources/hardened-sources-3.9.8.ebuild | 43 ++++++++++++++++++++++
17 3 files changed, 129 insertions(+)
18
19 diff --git a/sys-kernel/hardened-sources/hardened-sources-2.6.32-r173.ebuild b/sys-kernel/hardened-sources/hardened-sources-2.6.32-r173.ebuild
20 new file mode 100644
21 index 0000000..63164df
22 --- /dev/null
23 +++ b/sys-kernel/hardened-sources/hardened-sources-2.6.32-r173.ebuild
24 @@ -0,0 +1,43 @@
25 +# Copyright 1999-2013 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/hardened-sources-2.6.32-r172.ebuild,v 1.1 2013/06/28 01:22:56 blueness Exp $
28 +
29 +EAPI="5"
30 +
31 +ETYPE="sources"
32 +K_WANT_GENPATCHES="base extras"
33 +K_GENPATCHES_VER="48"
34 +K_DEBLOB_AVAILABLE="1"
35 +
36 +inherit kernel-2
37 +detect_version
38 +
39 +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-178"
40 +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
41 +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}"
42 +
43 +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2"
44 +UNIPATCH_EXCLUDE="4200_fbcondecor-0.9.6.patch"
45 +
46 +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
47 +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/"
48 +IUSE="deblob"
49 +
50 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
51 +
52 +RDEPEND=">=sys-devel/gcc-4.5"
53 +
54 +pkg_postinst() {
55 + kernel-2_pkg_postinst
56 +
57 + local GRADM_COMPAT="sys-apps/gradm-2.9.1*"
58 +
59 + ewarn
60 + ewarn "Users of grsecurity's RBAC system must ensure they are using"
61 + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}."
62 + ewarn "It is strongly recommended that the following command is issued"
63 + ewarn "prior to booting a ${PF} kernel for the first time:"
64 + ewarn
65 + ewarn "emerge -na =${GRADM_COMPAT}"
66 + ewarn
67 +}
68
69 diff --git a/sys-kernel/hardened-sources/hardened-sources-3.2.47-r3.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.2.47-r3.ebuild
70 new file mode 100644
71 index 0000000..0119c6c
72 --- /dev/null
73 +++ b/sys-kernel/hardened-sources/hardened-sources-3.2.47-r3.ebuild
74 @@ -0,0 +1,43 @@
75 +# Copyright 1999-2013 Gentoo Foundation
76 +# Distributed under the terms of the GNU General Public License v2
77 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/hardened-sources-3.2.47-r2.ebuild,v 1.1 2013/06/28 01:25:00 blueness Exp $
78 +
79 +EAPI="5"
80 +
81 +ETYPE="sources"
82 +K_WANT_GENPATCHES="base extras"
83 +K_GENPATCHES_VER="16"
84 +K_DEBLOB_AVAILABLE="1"
85 +
86 +inherit kernel-2
87 +detect_version
88 +
89 +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-4"
90 +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
91 +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}"
92 +
93 +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2"
94 +UNIPATCH_EXCLUDE="4200_fbcondecor-0.9.6.patch"
95 +
96 +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
97 +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/"
98 +IUSE="deblob"
99 +
100 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
101 +
102 +RDEPEND=">=sys-devel/gcc-4.5"
103 +
104 +pkg_postinst() {
105 + kernel-2_pkg_postinst
106 +
107 + local GRADM_COMPAT="sys-apps/gradm-2.9.1*"
108 +
109 + ewarn
110 + ewarn "Users of grsecurity's RBAC system must ensure they are using"
111 + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}."
112 + ewarn "It is strongly recommended that the following command is issued"
113 + ewarn "prior to booting a ${PF} kernel for the first time:"
114 + ewarn
115 + ewarn "emerge -na =${GRADM_COMPAT}"
116 + ewarn
117 +}
118
119 diff --git a/sys-kernel/hardened-sources/hardened-sources-3.9.8.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.9.8.ebuild
120 new file mode 100644
121 index 0000000..d4192be
122 --- /dev/null
123 +++ b/sys-kernel/hardened-sources/hardened-sources-3.9.8.ebuild
124 @@ -0,0 +1,43 @@
125 +# Copyright 1999-2013 Gentoo Foundation
126 +# Distributed under the terms of the GNU General Public License v2
127 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/hardened-sources-3.9.7.ebuild,v 1.1 2013/06/25 10:25:06 blueness Exp $
128 +
129 +EAPI="5"
130 +
131 +ETYPE="sources"
132 +K_WANT_GENPATCHES="base"
133 +K_GENPATCHES_VER="13"
134 +K_DEBLOB_AVAILABLE="1"
135 +
136 +inherit kernel-2
137 +detect_version
138 +
139 +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1"
140 +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
141 +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}"
142 +
143 +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2"
144 +UNIPATCH_EXCLUDE="1500_XATTR_USER_PREFIX.patch 1505_dmesg-restrict-fix.patch 2900_dev-root-proc-mount-fix.patch"
145 +
146 +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
147 +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/"
148 +IUSE="deblob"
149 +
150 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
151 +
152 +RDEPEND=">=sys-devel/gcc-4.5"
153 +
154 +pkg_postinst() {
155 + kernel-2_pkg_postinst
156 +
157 + local GRADM_COMPAT="sys-apps/gradm-2.9.1*"
158 +
159 + ewarn
160 + ewarn "Users of grsecurity's RBAC system must ensure they are using"
161 + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}."
162 + ewarn "It is strongly recommended that the following command is issued"
163 + ewarn "prior to booting a ${PF} kernel for the first time:"
164 + ewarn
165 + ewarn "emerge -na =${GRADM_COMPAT}"
166 + ewarn
167 +}