# 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="3" AAPATCHES_VER="2.3-p1" AAPATCHES="apparmor-patches-${PV}-${AAPATCHES_VER}.tar.bz2" AAPATCHES_URI="http://ftp.disconnected-by-peer.at/apparmor/${AAPATCHES}" GOPATCHES_VER="4-p1" GOPATCHES="geos_one-patches-${PV}-${GOPATCHES_VER}.tar.bz2" GOPATCHES_URI="http://ftp.disconnected-by-peer.at/go/${GOPATCHES}" NEXT3PATCHES_VER="1-p1" NEXT3PATCHES="next3-patches-${PV}-${NEXT3PATCHES_VER}.tar.bz2" NEXT3PATCHES_URI="http://ftp.disconnected-by-peer.at/next3/${NEXT3PATCHES}" NOVFSPATCHES_VER="1-p2" NOVFSPATCHES="novfs-patches-${PV}-${NOVFSPATCHES_VER}.tar.bz2" NOVFSPATCHES_URI="http://ftp.disconnected-by-peer.at/novfs/${NOVFSPATCHES}" inherit kernel-2 detect_version detect_arch KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="" HOMEPAGE="http://dev.gentoo.org/~dsd/genpatches http://forge.novell.com/modules/xfmod/project/?apparmor" DESCRIPTION="Full sources including the Gentoo & AppArmor patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${GOPATCHES_URI} ${AAPATCHES_URI} ${NEXT3PATCHES_URI} ${NOVFSPATCHES_URI}" UNIPATCH_LIST="${DISTDIR}/${GOPATCHES} ${DISTDIR}/${AAPATCHES} ${DISTDIR}/${NEXT3PATCHES} ${DISTDIR}/${NOVFSPATCHES}" UNIPATCH_EXCLUDE="4200_fbcondecor-0.9.6.patch 1000_linux-2.6.33.1.patch 1001_linux-2.6.33.2.patch 1002_linux-2.6.33.3.patch" src_unpack() { kernel-2_src_unpack find "${WORKDIR}" -iname "*.orig" -exec rm {} \; 2> /dev/null } pkg_postinst() { kernel-2_pkg_postinst einfo "For more info on this patchset, and how to report problems, see:" einfo "${HOMEPAGE}" einfo einfo "Make sure that your kernel configuration file is set with:" einfo " CONFIG_SECURITY=y" einfo " CONFIG_SECURITY_APPARMOR=y" einfo "Without these, apparmor will not function." }