diff options
author | Michael Imhof <tantive@gentoo.org> | 2004-03-25 13:41:30 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2004-03-25 13:41:30 +0000 |
commit | c49e84686e2842f291cfe4758fa6ccde5b317eea (patch) | |
tree | ed55ba9d9368077e8de9d97b1b7764cdd9d989f6 /sys-kernel | |
parent | added ~amd64 keyword (diff) | |
download | historical-c49e84686e2842f291cfe4758fa6ccde5b317eea.tar.gz historical-c49e84686e2842f291cfe4758fa6ccde5b317eea.tar.bz2 historical-c49e84686e2842f291cfe4758fa6ccde5b317eea.zip |
Inital ebuilds. Submitted by Thomas Eckert <eckert.thomas@gmx.net>. Closes
Diffstat (limited to 'sys-kernel')
6 files changed, 104 insertions, 0 deletions
diff --git a/sys-kernel/vserver-sources/ChangeLog b/sys-kernel/vserver-sources/ChangeLog new file mode 100644 index 000000000000..eb8ad519ddd2 --- /dev/null +++ b/sys-kernel/vserver-sources/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sys-kernel/vserver-sources +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/vserver-sources/ChangeLog,v 1.1 2004/03/25 13:41:30 tantive Exp $ + +*vserver-sources-2.4.25.1.3.8 (25 Mar 2004) + + 25 Mar 2004; Michael Imhof <tantive@gentoo.org> vserver-sources-2.4.24.1.26.ebuild, + vserver-sources-2.4.25.1.3.8.ebuild: + Inital ebuilds. Submitted by Thomas Eckert <eckert.thomas@gmx.net>. Closes + #24619. + diff --git a/sys-kernel/vserver-sources/Manifest b/sys-kernel/vserver-sources/Manifest new file mode 100644 index 000000000000..a350265bd93a --- /dev/null +++ b/sys-kernel/vserver-sources/Manifest @@ -0,0 +1,5 @@ +MD5 e9a1bd3eb2f1dd253ba5bcb4230b6251 vserver-sources-2.4.25.1.3.8.ebuild 1462 +MD5 74aec16ff61d7072fdeb79c1f731408c ChangeLog 493 +MD5 d91a2b828f202d9e8e8dad375123da3a vserver-sources-2.4.24.1.26.ebuild 1424 +MD5 9c485dd51f9cf7c01f570363b79011be files/digest-vserver-sources-2.4.25.1.3.8 138 +MD5 4e21ec66cf69b62a0e91b0bf9ccc9928 files/digest-vserver-sources-2.4.24.1.26 139 diff --git a/sys-kernel/vserver-sources/files/digest-vserver-sources-2.4.24.1.26 b/sys-kernel/vserver-sources/files/digest-vserver-sources-2.4.24.1.26 new file mode 100644 index 000000000000..350d62cfd023 --- /dev/null +++ b/sys-kernel/vserver-sources/files/digest-vserver-sources-2.4.24.1.26 @@ -0,0 +1,2 @@ +MD5 1e055c42921b2396a559d84df4c3d9aa linux-2.4.24.tar.bz2 29837818 +MD5 dd86e4cc32a6caa44d60e1608ece133e patch-2.4.24-vs1.26.diff.bz2 29613 diff --git a/sys-kernel/vserver-sources/files/digest-vserver-sources-2.4.25.1.3.8 b/sys-kernel/vserver-sources/files/digest-vserver-sources-2.4.25.1.3.8 new file mode 100644 index 000000000000..051653be757b --- /dev/null +++ b/sys-kernel/vserver-sources/files/digest-vserver-sources-2.4.25.1.3.8 @@ -0,0 +1,2 @@ +MD5 5fc8e9f43fa44ac29ddf9a9980af57d8 linux-2.4.25.tar.bz2 30626548 +MD5 2294321ace3b6190b17522720e88727e linux-vserver-1.3.8.tar.bz2 42455 diff --git a/sys-kernel/vserver-sources/vserver-sources-2.4.24.1.26.ebuild b/sys-kernel/vserver-sources/vserver-sources-2.4.24.1.26.ebuild new file mode 100644 index 000000000000..a934bf12f7bf --- /dev/null +++ b/sys-kernel/vserver-sources/vserver-sources-2.4.24.1.26.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/vserver-sources/vserver-sources-2.4.24.1.26.ebuild,v 1.1 2004/03/25 13:41:30 tantive Exp $ +#OKV=original kernel version, KV=patched kernel version. They can be the same. + +ETYPE="sources" +inherit kernel +OKV=2.4.24 +KV=2.4.24 + +## idea: after the kernel-version (2.4.23) we append the vs-version (e.g. 1.22) to +## get 2.4.23.1.22 that is globbed out here: +EXTRAVERSION="-vs${PV#*.*.*.}" + +S=${WORKDIR}/linux-${KV} + +# What's in this kernel? + +# INCLUDED: +# stock 2.4.23 kernel sources (or newer) +# vs-1.20 (or newer) + +DESCRIPTION="Linux kernel with ctx-/vserver-patch" +SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 + http://www.13thfloor.at/vserver/s_release/${EXTRAVERSION/-vs/v}/patch-${KV}${EXTRAVERSION}.diff.bz2" +HOMEPAGE="http://www.kernel.org/ http://www.13thfloor.at/vserver/ http://www.linux-vserver.org/" + +KEYWORDS="x86" +SLOT="${KV}" + +src_unpack() { + unpack linux-${OKV}.tar.bz2 + cd ${WORKDIR} + mv linux-${OKV} linux-${KV}${EXTRAVERSION} || die "mv to -extraversion failed" + + cd linux-${KV}${EXTRAVERSION} || die "cd to kernel-src failed" + epatch ${DISTDIR}/patch-${KV}${EXTRAVERSION}.diff.bz2 + #zcat ${DISTDIR}/patch-${KV}${EXTRAVERSION}.gz |\ + # patch -p1 || die "patching kernel with vserver failed" + + kernel_universal_unpack +} diff --git a/sys-kernel/vserver-sources/vserver-sources-2.4.25.1.3.8.ebuild b/sys-kernel/vserver-sources/vserver-sources-2.4.25.1.3.8.ebuild new file mode 100644 index 000000000000..053ce0a400c4 --- /dev/null +++ b/sys-kernel/vserver-sources/vserver-sources-2.4.25.1.3.8.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/vserver-sources/vserver-sources-2.4.25.1.3.8.ebuild,v 1.1 2004/03/25 13:41:30 tantive Exp $ +#OKV=original kernel version, KV=patched kernel version. They can be the same. + +ETYPE="sources" +inherit kernel +OKV=2.4.25 +KV=2.4.25 + +## idea: after the kernel-version (2.4.25) we append the vs-version (e.g. 1.3.8) to +## get 2.4.25.1.3.8 that is globbed out here: +EXTRAVERSION="-vs${PV#*.*.*.}" + +S=${WORKDIR}/linux-${KV} + +# What's in this kernel? + +# INCLUDED: +# stock 2.4.25 kernel sources (or newer) +# devel-version of vsever-patch: 1.3.8 (or newer) + +DESCRIPTION="Linux kernel with DEVEL version ctx-/vserver-patch" +SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 + http://www.13thfloor.at/vserver/d_release/${EXTRAVERSION/-vs/v}/linux-vserver-${EXTRAVERSION/-vs/}.tar.bz2" +HOMEPAGE="http://www.kernel.org/ http://www.13thfloor.at/vserver/ http://www.linux-vserver.org/" + +KEYWORDS="~x86" +SLOT="${KV}" + +src_unpack() { + unpack linux-${OKV}.tar.bz2 + cd ${WORKDIR} + mv linux-${OKV} linux-${KV}${EXTRAVERSION} || die "mv to -extraversion failed" + + tar xvjf ${DISTDIR}/linux-vserver-${EXTRAVERSION/-vs/}.tar.bz2 || die "unpacking patch failed" + + cd linux-${KV}${EXTRAVERSION} || die "cd to kernel-src failed" + epatch ${WORKDIR}/patch-${KV}${EXTRAVERSION}.diff + + kernel_universal_unpack +} |