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: Mon, 31 Mar 2014 14:02:01
Message-Id: 1396274469.c7cd09461b6cafc62d05dc7993609e4206f24929.blueness@gentoo
1 commit: c7cd09461b6cafc62d05dc7993609e4206f24929
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 31 14:01:09 2014 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 31 14:01:09 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=c7cd0946
7
8 sys-kernel/hardened-sources: testing patchset 20140330
9
10 Package-Manager: portage-2.2.8-r1
11 Manifest-Sign-Key: 0xF52D4BBA
12
13 ---
14 .../hardened-sources-3.2.55-r9.ebuild | 43 ++++++++++++++++++++++
15 1 file changed, 43 insertions(+)
16
17 diff --git a/sys-kernel/hardened-sources/hardened-sources-3.2.55-r9.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.2.55-r9.ebuild
18 new file mode 100644
19 index 0000000..02b7991
20 --- /dev/null
21 +++ b/sys-kernel/hardened-sources/hardened-sources-3.2.55-r9.ebuild
22 @@ -0,0 +1,43 @@
23 +# Copyright 1999-2013 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.2.53-r6.ebuild,v 1.1 2013/12/27 20:58:36 blueness Exp $
26 +
27 +EAPI="5"
28 +
29 +ETYPE="sources"
30 +K_WANT_GENPATCHES="base extras"
31 +K_GENPATCHES_VER="16"
32 +K_DEBLOB_AVAILABLE="1"
33 +
34 +inherit kernel-2
35 +detect_version
36 +
37 +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-10"
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="4200_fbcondecor-0.9.6.patch"
43 +
44 +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
45 +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/"
46 +IUSE="deblob"
47 +
48 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
49 +
50 +RDEPEND=">=sys-devel/gcc-4.5"
51 +
52 +pkg_postinst() {
53 + kernel-2_pkg_postinst
54 +
55 + local GRADM_COMPAT="sys-apps/gradm-3.0*"
56 +
57 + ewarn
58 + ewarn "Users of grsecurity's RBAC system must ensure they are using"
59 + ewarn "${GRADM_COMPAT}, which is compatible with ${PF}."
60 + ewarn "It is strongly recommended that the following command is issued"
61 + ewarn "prior to booting a ${PF} kernel for the first time:"
62 + ewarn
63 + ewarn "emerge -na =${GRADM_COMPAT}"
64 + ewarn
65 +}