| 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.24-r2.ebuild,v 1.1 2008/05/11 07:56:17 solar Exp $
|
| 4 |
|
| 5 |
ETYPE="sources"
|
| 6 |
K_WANT_GENPATCHES="base extras"
|
| 7 |
K_GENPATCHES_VER="8"
|
| 8 |
|
| 9 |
inherit kernel-2
|
| 10 |
detect_version
|
| 11 |
|
| 12 |
HGPV=${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-3
|
| 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="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 ~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"
|
| 28 |
ewarn "\"Hardened [Gentoo]\" grsecurity level has been removed."
|
| 29 |
ewarn "Two improved predefined security levels replace it:"
|
| 30 |
ewarn "\"Hardened Gentoo [server]\" and \"Hardened Gentoo [workstation]\""
|
| 31 |
ewarn
|
| 32 |
ewarn "If you intend to use one of these predefined grsecurity levels,"
|
| 33 |
ewarn "please read the help associated with the level. If you intend to"
|
| 34 |
ewarn "import a previous kernel configuration, please review your selected"
|
| 35 |
ewarn "grsecurity/PaX options carefully before building the kernel."
|
| 36 |
ewarn
|
| 37 |
}
|