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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jan 11 13:31:02 2013 UTC (20 months, 1 week ago) by pinkbyte
Branch: MAIN
Changes since 1.1: +2 -2 lines
Drop ~ia64 keyword due to build failures. Upstream does not support it anymore, bug #411161

(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2013 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.18.028.101.1.ebuild,v 1.1 2013/01/03 19:58:14 pinkbyte Exp $
4
5 inherit versionator
6
7 ETYPE="sources"
8
9 CKV=$(get_version_component_range 1-3)
10 OKV=${OKV:-${CKV}}
11 if [[ ${PR} == "r0" ]]; then
12 KV_FULL=${CKV}-${PN/-*}-$(get_version_component_range 4-6)
13 else
14 KV_FULL=${CKV}-${PN/-*}-$(get_version_component_range 4-6)-${PR}
15 fi
16 OVZ_KERNEL="$(get_version_component_range 4)stab$(get_version_component_range 5)"
17 OVZ_REV="$(get_version_component_range 6)"
18 EXTRAVERSION=-${OVZ_KERNEL}
19 S=${WORKDIR}/linux-${KV_FULL}
20 KERNEL_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/linux-${OKV}.tar.bz2"
21 # ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} should succeed.
22 KV_MAJOR=$(get_version_component_range 1 ${OKV})
23 KV_MINOR=$(get_version_component_range 2 ${OKV})
24 KV_PATCH=$(get_version_component_range 3 ${OKV})
25
26 inherit kernel-2
27
28 KEYWORDS="~amd64 ~ppc64 ~sparc ~x86"
29 IUSE=""
30 PATCHV="308.8.2.el5"
31 DESCRIPTION="Full sources including OpenVZ patchset for the 2.6.18 kernel tree"
32 HOMEPAGE="http://www.openvz.org"
33 SRC_URI="${KERNEL_URI} ${ARCH_URI}
34 http://download.openvz.org/kernel/branches/rhel5-${CKV}/${OVZ_KERNEL}.${OVZ_REV}/patches/patch-${PATCHV}.${OVZ_KERNEL}.${OVZ_REV}-combined.gz"
35
36 UNIPATCH_STRICTORDER=1
37 UNIPATCH_LIST="${DISTDIR}/patch-${PATCHV}.${OVZ_KERNEL}.${OVZ_REV}-combined.gz
38 ${FILESDIR}/${PN}-2.6.18.028.064.7-bridgemac.patch"
39
40 K_EXTRAEINFO="This openvz kernel uses RHEL5 patchset instead of vanilla kernel.
41 This patchset considered to be more stable and security supported by upstream,
42 that why they suggested us to use it. But note: RHEL5 patchset is very fragile
43 and fails to build in many configurations so if you have problems use config
44 files from openvz team http://wiki.openvz.org/Download/kernel/rhel5/${OVZ_KERNEL}.${OVZ_REV}"
45
46 K_EXTRAEWARN="This kernel is stable only when built with gcc-4.1.x and is known
47 to oops in random places if built with newer compilers."

  ViewVC Help
Powered by ViewVC 1.1.20