summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-kernel/openvz-sources/ChangeLog8
-rw-r--r--sys-kernel/openvz-sources/openvz-sources-2.6.27.9999.ebuild42
2 files changed, 49 insertions, 1 deletions
diff --git a/sys-kernel/openvz-sources/ChangeLog b/sys-kernel/openvz-sources/ChangeLog
index c5388f6ab4b3..234966e0a547 100644
--- a/sys-kernel/openvz-sources/ChangeLog
+++ b/sys-kernel/openvz-sources/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-kernel/openvz-sources
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/ChangeLog,v 1.104 2009/03/17 07:49:00 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/ChangeLog,v 1.105 2009/03/17 08:36:57 bangert Exp $
+
+*openvz-sources-2.6.27.9999 (17 Mar 2009)
+
+ 17 Mar 2009; Thilo Bangert <bangert@gentoo.org>
+ +openvz-sources-2.6.27.9999.ebuild:
+ bump git ebuild
*openvz-sources-2.6.24.008.1 (17 Mar 2009)
diff --git a/sys-kernel/openvz-sources/openvz-sources-2.6.27.9999.ebuild b/sys-kernel/openvz-sources/openvz-sources-2.6.27.9999.ebuild
new file mode 100644
index 000000000000..d55e0a08bbc4
--- /dev/null
+++ b/sys-kernel/openvz-sources/openvz-sources-2.6.27.9999.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/openvz-sources-2.6.27.9999.ebuild,v 1.1 2009/03/17 08:36:57 bangert Exp $
+
+ETYPE="sources"
+
+inherit kernel-2
+detect_version
+
+RC=${PVR##*_}
+
+KV_BASE=${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}
+KV_MOD=${KV_FULL##*-}
+KV_MAIN="${KV_BASE}-${KV_MOD}"
+EGIT_PROJECT="linux-${KV_FULL}"
+EGIT_REPO_URI="git://git.openvz.org/pub/linux-${KV_MAIN}"
+EGIT_BRANCH="master"
+
+inherit git
+
+HOMEPAGE="http://openvz.org/"
+DESCRIPTION="OpenVZ 2.6.27 git kernel sources"
+
+IUSE=""
+KEYWORDS=""
+K_NOUSENAME="yes"
+K_PREPATCHED="yes"
+
+src_unpack() {
+ git_src_unpack
+
+ cd "${EGIT_STORE_DIR}/${EGIT_PROJECT}"
+ local last_commit_abbrev=$(git log -n 1 --no-color --pretty='format:%h')
+
+ EXTRAVERSION="-${KV_MOD}.git-${last_commit_abbrev}"
+
+ S=${WORKDIR}/${EGIT_PROJECT}
+
+ cd "${S}"
+
+ unpack_set_extraversion
+}