1 |
commit: fe626158aaf5cc8eeda765843a5e676d22e3405e |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 22 13:20:48 2013 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 22 13:20:48 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=fe626158 |
7 |
|
8 |
sys-kernel/hardened-sources: testing patchset 20131118 |
9 |
|
10 |
Package-Manager: portage-2.2.7 |
11 |
Manifest-Sign-Key: 0xF52D4BBA |
12 |
|
13 |
--- |
14 |
.../hardened-sources-3.11.8-r1.ebuild | 45 ++++++++++++++++++++++ |
15 |
.../hardened-sources-3.2.52-r5.ebuild | 43 +++++++++++++++++++++ |
16 |
2 files changed, 88 insertions(+) |
17 |
|
18 |
diff --git a/sys-kernel/hardened-sources/hardened-sources-3.11.8-r1.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.11.8-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 0000000..7e14383 |
21 |
--- /dev/null |
22 |
+++ b/sys-kernel/hardened-sources/hardened-sources-3.11.8-r1.ebuild |
23 |
@@ -0,0 +1,45 @@ |
24 |
+# Copyright 1999-2013 Gentoo Foundation |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/hardened-sources-3.11.6-r3.ebuild,v 1.1 2013/11/05 00:58:51 blueness Exp $ |
27 |
+ |
28 |
+EAPI="5" |
29 |
+ |
30 |
+ETYPE="sources" |
31 |
+K_WANT_GENPATCHES="base" |
32 |
+K_GENPATCHES_VER="12" |
33 |
+K_DEBLOB_AVAILABLE="1" |
34 |
+ |
35 |
+inherit kernel-2 |
36 |
+detect_version |
37 |
+ |
38 |
+HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-2" |
39 |
+HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2" |
40 |
+SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" |
41 |
+ |
42 |
+UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" |
43 |
+UNIPATCH_EXCLUDE=" |
44 |
+ 1500_XATTR_USER_PREFIX.patch |
45 |
+ 2900_dev-root-proc-mount-fix.patch" |
46 |
+ |
47 |
+DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" |
48 |
+HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" |
49 |
+IUSE="deblob" |
50 |
+ |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
52 |
+ |
53 |
+RDEPEND=">=sys-devel/gcc-4.5" |
54 |
+ |
55 |
+pkg_postinst() { |
56 |
+ kernel-2_pkg_postinst |
57 |
+ |
58 |
+ local GRADM_COMPAT="sys-apps/gradm-2.9.1*" |
59 |
+ |
60 |
+ ewarn |
61 |
+ ewarn "Users of grsecurity's RBAC system must ensure they are using" |
62 |
+ ewarn "${GRADM_COMPAT}, which is compatible with ${PF}." |
63 |
+ ewarn "It is strongly recommended that the following command is issued" |
64 |
+ ewarn "prior to booting a ${PF} kernel for the first time:" |
65 |
+ ewarn |
66 |
+ ewarn "emerge -na =${GRADM_COMPAT}" |
67 |
+ ewarn |
68 |
+} |
69 |
|
70 |
diff --git a/sys-kernel/hardened-sources/hardened-sources-3.2.52-r5.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.2.52-r5.ebuild |
71 |
new file mode 100644 |
72 |
index 0000000..0a2f4ce |
73 |
--- /dev/null |
74 |
+++ b/sys-kernel/hardened-sources/hardened-sources-3.2.52-r5.ebuild |
75 |
@@ -0,0 +1,43 @@ |
76 |
+# Copyright 1999-2013 Gentoo Foundation |
77 |
+# Distributed under the terms of the GNU General Public License v2 |
78 |
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/hardened-sources-3.2.52-r1.ebuild,v 1.1 2013/11/05 00:57:10 blueness Exp $ |
79 |
+ |
80 |
+EAPI="5" |
81 |
+ |
82 |
+ETYPE="sources" |
83 |
+K_WANT_GENPATCHES="base extras" |
84 |
+K_GENPATCHES_VER="16" |
85 |
+K_DEBLOB_AVAILABLE="1" |
86 |
+ |
87 |
+inherit kernel-2 |
88 |
+detect_version |
89 |
+ |
90 |
+HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-6" |
91 |
+HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2" |
92 |
+SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" |
93 |
+ |
94 |
+UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" |
95 |
+UNIPATCH_EXCLUDE="4200_fbcondecor-0.9.6.patch" |
96 |
+ |
97 |
+DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" |
98 |
+HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" |
99 |
+IUSE="deblob" |
100 |
+ |
101 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
102 |
+ |
103 |
+RDEPEND=">=sys-devel/gcc-4.5" |
104 |
+ |
105 |
+pkg_postinst() { |
106 |
+ kernel-2_pkg_postinst |
107 |
+ |
108 |
+ local GRADM_COMPAT="sys-apps/gradm-2.9.1*" |
109 |
+ |
110 |
+ ewarn |
111 |
+ ewarn "Users of grsecurity's RBAC system must ensure they are using" |
112 |
+ ewarn "${GRADM_COMPAT}, which is compatible with ${PF}." |
113 |
+ ewarn "It is strongly recommended that the following command is issued" |
114 |
+ ewarn "prior to booting a ${PF} kernel for the first time:" |
115 |
+ ewarn |
116 |
+ ewarn "emerge -na =${GRADM_COMPAT}" |
117 |
+ ewarn |
118 |
+} |