/[gentoo-x86]/sys-kernel/openvz-sources/openvz-sources-2.6.32.11.1.ebuild
Gentoo

Contents of /sys-kernel/openvz-sources/openvz-sources-2.6.32.11.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Apr 1 18:19:43 2011 UTC (7 years, 3 months ago) by pva
Branch: MAIN
Changes since 1.1: +2 -2 lines
Version bump RHEL5 (2.6.18) kernel. Stabilize 2.6.32, bug #198632 and #360623. Drop old.

(Portage version: 2.1.9.45/cvs/Linux x86_64)

1 pva 1.1 # Copyright 1999-2011 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 pva 1.2 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/openvz-sources-2.6.32.11.1.ebuild,v 1.1 2011/03/09 13:38:59 pva Exp $
4 pva 1.1
5     inherit versionator
6    
7     # Upstream uses string to version their releases. To make portage version
8     # comparisment working we have to use numbers instead of strings, that is 4th
9     # component of our version. So we have aivazovsky - 1, briullov - 2 and so on.
10     # Keep this string on top since we have to modify it each new release.
11     OVZ_CODENAME="feoktistov"
12     OVZ_CODENAME_SUBRELEASE=$(get_version_component_range 5)
13    
14     OVZ_KV="${OVZ_CODENAME}.${OVZ_CODENAME_SUBRELEASE}"
15    
16     ETYPE="sources"
17    
18     CKV=$(get_version_component_range 1-3)
19     OKV=${OKV:-${CKV}}
20     EXTRAVERSION=-${PN/-*}-${OVZ_KV}
21     KV_FULL=${CKV}${EXTRAVERSION}
22     if [[ ${PR} != r0 ]]; then
23     KV_FULL+=-${PR}
24     EXTRAVERSION+=-${PR}
25     fi
26    
27     # ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} should succeed.
28     KV_MAJOR=$(get_version_component_range 1 ${OKV})
29     KV_MINOR=$(get_version_component_range 2 ${OKV})
30     KV_PATCH=$(get_version_component_range 3 ${OKV})
31    
32     KERNEL_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/linux-${OKV}.tar.bz2"
33    
34     inherit kernel-2
35     detect_version
36    
37     SLOT=${CKV}-${OVZ_KV}
38     if [[ ${PR} != r0 ]]; then
39     SLOT+=-${PR}
40     fi
41    
42 pva 1.2 KEYWORDS="amd64 ~ppc64 ~sparc x86"
43 pva 1.1 IUSE=""
44    
45     DESCRIPTION="Kernel sources with OpenVZ patchset"
46     HOMEPAGE="http://www.openvz.org"
47     SRC_URI="${KERNEL_URI} ${ARCH_URI}
48     http://download.openvz.org/kernel/branches/${CKV}/${CKV}-${OVZ_KV}/patches/patch-${OVZ_KV}-combined.gz"
49    
50     UNIPATCH_STRICTORDER=1
51     UNIPATCH_LIST="${DISTDIR}/patch-${OVZ_KV}-combined.gz
52     ${FILESDIR}/${PN}-2.6.32.10.1-cpt_process.c-build.patch
53     "
54    
55     K_EXTRAEINFO="For more information about this kernel take a look at:
56     http://wiki.openvz.org/Download/kernel/${CKV}/${CKV}-${OVZ_KV}"

  ViewVC Help
Powered by ViewVC 1.1.20