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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Mon Mar 19 04:42:52 2012 UTC (6 years, 8 months ago) by pva
Branch: MAIN
Changes since 1.1: +2 -2 lines
amd64/x86 stable, bug #198632. Drop old.

(Portage version: 2.1.10.44/cvs/Linux x86_64)

1 pva 1.1 # Copyright 1999-2012 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.49.6.ebuild,v 1.1 2012/02/24 18:20:16 pva Exp $
4 pva 1.1
5     inherit versionator
6    
7     OVZ_KV="0$(get_version_component_range 4).$(get_version_component_range 5)"
8    
9     CKV=$(get_version_component_range 1-3)
10     OKV=${OKV:-${CKV}}
11     EXTRAVERSION=-${PN/-*}-${OVZ_KV}
12     ETYPE="sources"
13     KV_FULL=${CKV}${EXTRAVERSION}
14     if [[ ${PR} != "r0" ]]; then
15     KV_FULL+=-${PR}
16     EXTRAVERSION+=-${PR}
17     fi
18     S=${WORKDIR}/linux-${KV_FULL}
19    
20     # ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} should succeed.
21     KV_MAJOR=$(get_version_component_range 1 ${OKV})
22     KV_MINOR=$(get_version_component_range 2 ${OKV})
23     KV_PATCH=$(get_version_component_range 3 ${OKV})
24    
25     KERNEL_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/linux-${OKV}.tar.bz2"
26    
27     inherit kernel-2
28     #detect_version
29    
30 pva 1.2 KEYWORDS="amd64 ~ppc64 ~sparc x86"
31 pva 1.1 IUSE=""
32    
33     DESCRIPTION="Kernel sources with OpenVZ patchset"
34     HOMEPAGE="http://www.openvz.org"
35     SRC_URI="${KERNEL_URI} ${ARCH_URI}
36     http://download.openvz.org/kernel/branches/rhel6-${CKV}/042stab${OVZ_KV}/patches/patch-042stab${OVZ_KV}-combined.gz"
37    
38     UNIPATCH_STRICTORDER=1
39     UNIPATCH_LIST="${DISTDIR}/patch-042stab${OVZ_KV}-combined.gz"
40    
41     K_EXTRAEINFO="This openvz kernel uses RHEL6 patchset instead of vanilla kernel.
42     This patchset considered to be more stable and security supported by upstream,
43     but for us RHEL6 patchset is very fragile and fails to build in many
44     configurations so if you have problems use config files from openvz team
45     http://wiki.openvz.org/Download/kernel/rhel6/042stab${OVZ_KV}"

  ViewVC Help
Powered by ViewVC 1.1.20