From a2006e1e986a572587330d023fdedc78d55f48ec Mon Sep 17 00:00:00 2001 From: geos_one Date: Tue, 6 Oct 2009 01:32:51 +0000 Subject: [PATCH] add new version git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1559 6952d904-891a-0410-993b-d76249ca496b --- .../geos_one-sources-2.6.31-r1.ebuild | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 sys-kernel/geos_one-sources/geos_one-sources-2.6.31-r1.ebuild diff --git a/sys-kernel/geos_one-sources/geos_one-sources-2.6.31-r1.ebuild b/sys-kernel/geos_one-sources/geos_one-sources-2.6.31-r1.ebuild new file mode 100644 index 00000000..22c6fdd2 --- /dev/null +++ b/sys-kernel/geos_one-sources/geos_one-sources-2.6.31-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2009 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" + +AAPATCHES_VER="2.3-p1" +AAPATCHES="apparmor-patches-${PV}-${AAPATCHES_VER}.tar.bz2" +AAPATCHES_URI="http://ftp.mars.arge.at/apparmor/${AAPATCHES}" + +GOPATCHES_VER="1-p4" +GOPATCHES="geos_one-patches-${PV}-${GOPATCHES_VER}.tar.bz2" +GOPATCHES_URI="http://ftp.mars.arge.at/go/${GOPATCHES}" + +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~amd64 ~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}" + +UNIPATCH_LIST="${DISTDIR}/${GOPATCHES} ${DISTDIR}/${AAPATCHES} " +#UNIPATCH_EXCLUDE="6012_UnionFS_2.5.1-1-AppArmor_2.3.patch 6013_fix-unionfs-for-2.6.28.1.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." +}