source: sys-kernel/go-sources/go-sources-3.6.9.ebuild @ 614fd62

Revision 614fd62, 1.4 KB checked in by Mario Fetka <mario.fetka@…>, 7 years ago (diff)

redigest and add

  • Property mode set to 100644
Line 
1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $Header: $
4
5ETYPE="sources"
6K_WANT_GENPATCHES=""
7K_GENPATCHES_VER="1"
8K_DEBLOB_AVAILABLE="1"
9
10GOPATCHES_VER="8"
11GOPATCHES="go-patches-${PV}-${GOPATCHES_VER}.tar.bz2"
12GOPATCHES_URI="http://ftp.disconnected-by-peer.at/go/${GOPATCHES}"
13
14inherit kernel-2
15detect_version
16detect_arch
17
18KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
19IUSE=""
20HOMEPAGE="http://dev.gentoo.org/~dsd/genpatches http://forge.novell.com/modules/xfmod/project/?apparmor"
21
22DESCRIPTION="Full sources including the Gentoo & Geos One patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
23
24SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${GOPATCHES_URI}"
25
26UNIPATCH_LIST="${DISTDIR}/${GOPATCHES} ${DISTDIR}/${AAPATCHES}"
27#UNIPATCH_EXCLUDE="6065_btrfs-use-correct-device-for-maps.patch"
28
29src_unpack() {
30        kernel-2_src_unpack
31
32        # Comment out EXTRAVERSION added by CK patch:
33        sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile"
34        find "${WORKDIR}" -iname "*.orig" -exec rm {} \; 2> /dev/null
35}
36
37pkg_postinst() {
38        kernel-2_pkg_postinst
39        einfo "For more info on this patchset, and how to report problems, see:"
40        einfo "${HOMEPAGE}"
41        einfo
42        einfo "Make sure that your kernel configuration file is set with:"
43        einfo " CONFIG_SECURITY=y"
44        einfo "         CONFIG_SECURITY_APPARMOR=y"
45        einfo "Without these, apparmor will not function."
46}
Note: See TracBrowser for help on using the repository browser.