blob: e4bb7e0f3d5e88a5ae43a9ef0ab535566c268de4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.1-r1.ebuild,v 1.4 2004/02/05 13:32:47 johnm Exp $
# As this is the example source to use kernel-2.eclass then a very brief explanation is to go here
#
# any logic required for K_NOSETEXTRAVERSION, K_NOUSENAME UNIPATCH_LIST, or UNIPATCH_DOCS should
# go BEFORE the inherit.
# if you choose to not use detect_version then you should set EXTRAVERSION, KV, OKV and possibly S
# BEFORE the inherit also.
# If you wish to display additional postinst messages it is desired to pass it within K_EXTRAEINFO
# This isnt always suitable if you required it to keep original formatting.
#
# patches should be passed as a list in UNIPATCH_LIST, this can contain tarballs, individual files or
# patch numbers which you wish to be excluded from patching.
#
# any documentation which comes distributed with the patches should be added into UNIPATCH_DOCS and will
# therefore be merged into /usr/share/doc
# all patches passed are extracted or moved to ${WORKDIR}/patches
#version of gentoo patchset
GPV=1.16
GPV_SRC="mirror://gentoo/genpatches-2.6-${GPV}.tar.bz2"
UNIPATCH_LIST="${DISTDIR}/genpatches-2.6-${GPV}.tar.bz2"
UNIPATCH_DOCS="${WORKDIR}/patches/genpatches-${GPV}/README"
ETYPE="sources"
inherit kernel-2
detect_version
DESCRIPTION="Full sources including the gentoo patchset for the 2.6 kernel tree"
SRC_URI="${KERNEL_URI} ${GPV_SRC}"
KEYWORDS="x86 amd64 ~mips ~hppa ~sparc ~alpha"
pkg_postinst() {
postinst_sources
ewarn "IMPORTANT:"
ewarn "ptyfs support has now been dropped from devfs and as a"
ewarn "result you are now required to compile this support into"
ewarn "the kernel. You can do so by enabling the following options"
ewarn " Device Drivers -> Character devices -> Unix98 PTY Support"
ewarn " File systems -> Pseudo filesystems -> /dev/pts filesystem."
echo
ewarn "If you choose to use UCL/gcloop please ensure you also"
ewarn "emerge ucl as well as it currently depends on this library."
ewarn "Also please ensure that you compile gcloop without -fstack-protector."
echo
}
|