mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-03 20:21:47 +02:00
44 lines
1.3 KiB
Bash
44 lines
1.3 KiB
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
ETYPE="sources"
|
|
K_WANT_GENPATCHES="base extras"
|
|
K_GENPATCHES_VER="2"
|
|
PENPATCHES_VER="1"
|
|
inherit kernel-2
|
|
detect_version
|
|
detect_arch
|
|
K_SECURITY_UNSUPPORTED="1"
|
|
|
|
KEYWORDS="~x86 ~amd64"
|
|
HOMEPAGE="http://dev.pentoo.ch/~grimmlin/penpatches"
|
|
IUSE="grsec openfile_log"
|
|
DESCRIPTION="Full sources including the Pentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
|
|
|
|
PENPATCHES="penpatches-${PV}-${PENPATCHES_VER}.tar.bz2"
|
|
PENPATCHES_URI="http://chaox.net/~jens/${PENPATCHES}"
|
|
|
|
#HARDENED_SRC="hardened-patches-${PV}-3.extras.tar.bz2"
|
|
#HARDENED_URI="http://chaox.net/~jens//${HARDENED_SRC}"
|
|
|
|
UNIPATCH_LIST="${DISTDIR}/${PENPATCHES}"
|
|
|
|
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${PENPATCHES_URI}"
|
|
|
|
pkg_setup() {
|
|
use openfile_log && UNIPATCH_LIST="${UNIPATCH_LIST} ${FILESDIR}/openfile_log.patch"
|
|
}
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/4001-ath5k-retain-promiscuous-setting.patch
|
|
}
|
|
|
|
pkg_postinst() {
|
|
kernel-2_pkg_postinst
|
|
einfo "For more info on this patchset, and how to report problems, see:"
|
|
einfo "${HOMEPAGE}"
|
|
ewarn "If you are using the pentoo kernel config then you must also install app-arch/lzop"
|
|
ewarn "and use >=sys-devel/gcc-4.4 to build"
|
|
epause 3
|
|
}
|