| 1 |
blueness |
1.1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
|
|
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/rsbac-sources/rsbac-sources-3.1.5.ebuild,v 1.1 2012/01/07 20:25:49 blueness Exp $
|
| 4 |
|
|
|
| 5 |
|
|
EAPI="4"
|
| 6 |
|
|
|
| 7 |
|
|
ETYPE="sources"
|
| 8 |
|
|
K_WANT_GENPATCHES="base extras"
|
| 9 |
|
|
K_GENPATCHES_VER="1"
|
| 10 |
|
|
|
| 11 |
|
|
inherit kernel-2
|
| 12 |
|
|
detect_version
|
| 13 |
|
|
|
| 14 |
|
|
HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1"
|
| 15 |
|
|
HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/rsbac-patches-${HGPV}.extras.tar.bz2"
|
| 16 |
|
|
SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}"
|
| 17 |
|
|
|
| 18 |
|
|
UNIPATCH_LIST="${DISTDIR}/rsbac-patches-${HGPV}.extras.tar.bz2"
|
| 19 |
|
|
UNIPATCH_EXCLUDE="4200_fbcondecor-0.9.6.patch 4520_pax-linux-3.4-test7.patch"
|
| 20 |
|
|
|
| 21 |
|
|
DESCRIPTION="Hardened + RSBAC kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
|
| 22 |
|
|
HOMEPAGE="http://www.gentoo.org/proj/en/hardened/"
|
| 23 |
|
|
IUSE=""
|
| 24 |
|
|
|
| 25 |
|
|
KEYWORDS="~amd64 ~x86"
|
| 26 |
|
|
|
| 27 |
|
|
pkg_postinst() {
|
| 28 |
|
|
kernel-2_pkg_postinst
|
| 29 |
|
|
|
| 30 |
|
|
ewarn
|
| 31 |
|
|
ewarn "Note: the pax patches have not been applied however they are included"
|
| 32 |
|
|
ewarn "in the patchset. If you want to try to apply them, edit UNIPATCH_EXCLUDE"
|
| 33 |
|
|
ewarn "in this ebuild. Expect breakage ;)"
|
| 34 |
|
|
ewarn
|
| 35 |
|
|
}
|