diff options
author | Peter Volkov <pva@gentoo.org> | 2008-10-14 08:20:11 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-10-14 08:20:11 +0000 |
commit | 18bbac6931d4c709456037006880186da35274f6 (patch) | |
tree | f5ad3d264a72ba4ef0ac6e6ad1d0374aa30dec13 /sys-kernel | |
parent | Stable on ppc/ppc64; bug #233652 (diff) | |
download | gentoo-2-18bbac6931d4c709456037006880186da35274f6.tar.gz gentoo-2-18bbac6931d4c709456037006880186da35274f6.tar.bz2 gentoo-2-18bbac6931d4c709456037006880186da35274f6.zip |
Added git sources for 2.6.26 branch.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-openvz.git-777e816 i686)
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/openvz-sources/ChangeLog | 8 | ||||
-rw-r--r-- | sys-kernel/openvz-sources/openvz-sources-2.6.26.9999.ebuild | 42 |
2 files changed, 49 insertions, 1 deletions
diff --git a/sys-kernel/openvz-sources/ChangeLog b/sys-kernel/openvz-sources/ChangeLog index f05de746e00c..88ed0b56cd5b 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-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/ChangeLog,v 1.96 2008/09/30 16:41:49 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/ChangeLog,v 1.97 2008/10/14 08:20:11 pva Exp $ + +*openvz-sources-2.6.26.9999 (14 Oct 2008) + + 14 Oct 2008; Peter Volkov <pva@gentoo.org> + +openvz-sources-2.6.26.9999.ebuild: + Added git sources for 2.6.26 branch. *openvz-sources-2.6.24.006.2 (30 Sep 2008) diff --git a/sys-kernel/openvz-sources/openvz-sources-2.6.26.9999.ebuild b/sys-kernel/openvz-sources/openvz-sources-2.6.26.9999.ebuild new file mode 100644 index 000000000000..b7ba2036c45f --- /dev/null +++ b/sys-kernel/openvz-sources/openvz-sources-2.6.26.9999.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2008 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.26.9999.ebuild,v 1.1 2008/10/14 08:20:11 pva 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 26 git" + +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 +} |