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: Wed, 28 May 2014 16:27:45
Message-Id: 1401294515.d2195550e12bdd69298df193048c756f0c3092d9.blueness@gentoo
1 commit: d2195550e12bdd69298df193048c756f0c3092d9
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 28 16:28:35 2014 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Wed May 28 16:28:35 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=d2195550
7
8 sys-kernel/hardened-sources: testing patchset 20140527
9
10 Package-Manager: portage-2.2.8-r1
11 Manifest-Sign-Key: 0xF52D4BBA
12
13 ---
14 .../hardened-sources-3.14.4-r2.ebuild | 45 ++++++++++++++++++++++
15 1 file changed, 45 insertions(+)
16
17 diff --git a/sys-kernel/hardened-sources/hardened-sources-3.14.4-r2.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.14.4-r2.ebuild
18 new file mode 100644
19 index 0000000..6e3da3a
20 --- /dev/null
21 +++ b/sys-kernel/hardened-sources/hardened-sources-3.14.4-r2.ebuild
22 @@ -0,0 +1,45 @@
23 +# Copyright 1999-2014 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/hardened-sources-3.14.4.ebuild,v 1.1 2014/05/17 14:13:49 blueness Exp $
26 +
27 +EAPI="5"
28 +
29 +ETYPE="sources"
30 +K_WANT_GENPATCHES="base"
31 +K_GENPATCHES_VER="7"
32 +K_DEBLOB_AVAILABLE="1"
33 +
34 +inherit kernel-2
35 +detect_version
36 +
37 +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-3"
38 +HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
39 +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}"
40 +
41 +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2"
42 +UNIPATCH_EXCLUDE="
43 + 1500_XATTR_USER_PREFIX.patch
44 + 2900_dev-root-proc-mount-fix.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-3.0*"
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 +}