/[gentoo-x86]/sys-kernel/hardened-sources/hardened-sources-2.6.25.ebuild
Gentoo

Contents of /sys-kernel/hardened-sources/hardened-sources-2.6.25.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jul 31 02:29:34 2008 UTC (6 years, 3 months ago) by solar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
- 2.6.25-r3: Update to Linux 2.6.25.13 and new grsecurity patch.  Multiple fixes, including security bug #231750.
(Portage version: 2.1.4.4)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/hardened-sources-2.6.25.ebuild,v 1.1 2008/06/17 18:29:37 solar Exp $
4
5 ETYPE="sources"
6 K_WANT_GENPATCHES="base extras"
7 K_GENPATCHES_VER="5"
8
9 inherit kernel-2
10 detect_version
11
12 HGPV=${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1
13 HGPV_URI="http://confucius.dh.bytemark.co.uk/~kerin.millar/distfiles/hardened-patches-${HGPV}.extras.tar.bz2
14 mirror://gentoo/hardened-patches-${HGPV}.extras.tar.bz2"
15 UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2"
16 UNIPATCH_EXCLUDE="2600_apple-numlock-emulation.patch 4200_fbcondecor-0.9.4.patch"
17 DESCRIPTION="Hardened kernel sources ${OKV}"
18 HOMEPAGE="http://www.gentoo.org/proj/en/hardened/"
19
20 SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}"
21 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
22
23 pkg_postinst() {
24 kernel-2_pkg_postinst
25
26 ewarn
27 ewarn "As of ${CATEGORY}/${PN}-2.6.24 the predefined \"Hardened"
28 ewarn "[Gentoo]\" grsecurity level has been removed. Two improved predefined"
29 ewarn "security levels replace it: \"Hardened Gentoo [server]\" and \"Hardened"
30 ewarn "Gentoo [workstation]\". If you intend to use one of these predefined"
31 ewarn "grsecurity levels, please read the help associated with the level. If"
32 ewarn "you intend to import a previous kernel configuration, please review your"
33 ewarn "selected grsecurity/PaX options carefully before building the kernel."
34 ewarn
35 ewarn "If you intend to use grsecurity's RBAC system then you must ensure that"
36 ewarn "you are using a recent version of gradm (2.1.12 or higher). As such, it"
37 ewarn "is strongly recommended that you run the following command before"
38 ewarn "booting with a 2.6.25 kernel for the first time:"
39 ewarn
40 ewarn "emerge -na '>=sys-apps/gradm-2.1.12'"
41 ewarn
42 }

  ViewVC Help
Powered by ViewVC 1.1.20