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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu May 3 17:43:52 2012 UTC (2 years, 2 months ago) by pva
Branch: MAIN
Version bump, bug #411153, thank Dennis Schridde for report. 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     # $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/openvz-sources-2.6.32.49.6.ebuild,v 1.2 2012/03/19 04:42:52 pva Exp $
4    
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     KEYWORDS="~amd64 ~ppc64 ~sparc ~x86"
31     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