summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/rs-sources/Manifest10
-rw-r--r--sys-kernel/rs-sources/files/digest-rs-sources-2.6.22.615
-rw-r--r--sys-kernel/rs-sources/rs-sources-2.6.22.6.ebuild123
3 files changed, 148 insertions, 0 deletions
diff --git a/sys-kernel/rs-sources/Manifest b/sys-kernel/rs-sources/Manifest
index 3d43c5c..6cde149 100644
--- a/sys-kernel/rs-sources/Manifest
+++ b/sys-kernel/rs-sources/Manifest
@@ -44,6 +44,8 @@ DIST genpatches-2.6.21-5.base.tar.bz2 78964 RMD160 c10643addd06108ddcd4083f6d184
DIST genpatches-2.6.21-5.extras.tar.bz2 138665 RMD160 a0e7fdec319174339fdc5d742e5ca411fd71b7d7 SHA1 66d057c3cb51487a7a6c02a8d5e47dc47db72f9a SHA256 0ef0fa390b7279d41ebaa858ab9fe460c9054c8650d79c97a3326cc49ebf9124
DIST genpatches-2.6.22-3.base.tar.bz2 6680 RMD160 9eede8e26064f3b6ba6b3a526e8680f3d0bc2c14 SHA1 61d8c940c151a7e473236a3272acff2760549cd8 SHA256 6baa05e6c1409c4a0ee03e27f53ba1bd3c726958cd8ae57cb10d458e0c7a75c9
DIST genpatches-2.6.22-3.extras.tar.bz2 63779 RMD160 351244469a95456a60871599984e401a2c8a6ffb SHA1 333cefd2fa6cc56b5d6439f151bad5773db6a5a5 SHA256 731e3ae43b5212b25c694a5eb05157dabc4779bfeb781533d7892cacf93ea78b
+DIST genpatches-2.6.22-7.base.tar.bz2 53340 RMD160 e651390e8dceeed8da1a44472201090667b3ce14 SHA1 3b4604fc1923773473309001e4fc207eab2c1f34 SHA256 4d33cac49a8e5802a7b7fe196e694dfb0c99c0c7942ecfcb550e805610484ecb
+DIST genpatches-2.6.22-7.extras.tar.bz2 63779 RMD160 351244469a95456a60871599984e401a2c8a6ffb SHA1 333cefd2fa6cc56b5d6439f151bad5773db6a5a5 SHA256 731e3ae43b5212b25c694a5eb05157dabc4779bfeb781533d7892cacf93ea78b
DIST linux-2.6.17.tar.bz2 41272919 RMD160 26aad30c9a6610665c6c7d62401d79bf56a6a699 SHA1 0605c975b9dead2af31a3decf09dd4138fadaf2b SHA256 ab0f647d52f124958439517df9e1ae0efda90cdb851f59f522fa1749f1d87d58
DIST linux-2.6.18.tar.bz2 41863580 RMD160 f92283f956880676bfb1f1d5288325461e4e02e7 SHA1 178f7d5bb3af0978d42b37651b8753323c7129c2 SHA256 c95280ff6c5d2a17788f7cc582d23ae8a9a7ba3f202ec6e4238eaadfce7c163d
DIST linux-2.6.19.tar.bz2 42733268 RMD160 75dc65b15cf9cdb359b1abe7084907982c19088b SHA1 c00d5891e2461bce45be51c1ef7846ee842792dd SHA256 c2fd6bcd2b7c1b3d37d64e4d1825703792a75474830a3db7d2dc603a8d392d58
@@ -57,6 +59,7 @@ DIST patch-2.6.20.6.bz2 69390 RMD160 890c545794fea21c13a0886fd2ccbca4a8cc9e0b SH
DIST patch-2.6.21.3.bz2 23930 RMD160 e25e3e85a5df5bded02878c4dc5b6535b3e506e1 SHA1 15b9aac8b4d7a0e5c76c7fa5d2f4147c845a0478 SHA256 4477ce1e5e00a3635fb3c9019ec6ca53400046cbee75691c73aeace483f69c9b
DIST patch-2.6.21.5.bz2 44220 RMD160 4a21adb8399ab6288cc0a88114072ab8992b6cdd SHA1 21bcfdd14fed28f6c7de913d838ac49766e127de SHA256 26864941df0fda5ff36a62b047a3ba499a58614554d7911be0ef4f0ca17b02f9
DIST patch-2.6.22.1.bz2 538 RMD160 bfdacacf6f8cdd4885d5938a3552f0a7f3f114df SHA1 442cc59a538f0e37767be62e70310e5dcb02a258 SHA256 9f14b378b23ca99a5793f6a1d66552031ac5f4865430da0aa409dcf4f2a03b00
+DIST patch-2.6.22.6.bz2 46194 RMD160 722edf692e435af621d9e6d10df8497471c8bec0 SHA1 93bdb641020fed0f60db83e8f01c3e82ff423104 SHA256 a85c8ce79cdc126b32aa9a74dbc64c368f0e7e9ec33e156af746003e1b5a8c4d
DIST rspatches-2.6.18-1.tar.bz2 169522 RMD160 d36e64237adfb36fd2763a3cf5e74a685432f3f7 SHA1 d98d78540e6b71daf03fa63c1222992c1f078154 SHA256 427a76074a55de748d7a3194ce2784db056d20915cf0ee81eaf09f4f0fb179ab
DIST rspatches-2.6.19-1.tar.bz2 170197 RMD160 8d1b82d2d990a141115cfff7f7d46f88067f04ef SHA1 fd8bc0444d03b6e100ebf17e60f3bb3fc5efd2f7 SHA256 43dc569772838158f4980ac1a3d635dd64ec93269a95b8bcad19c34b691a8f9f
DIST rspatches-2.6.20-1.tar.bz2 638244 RMD160 6d70a1acf68692481af498c90856dfa5362c2afa SHA1 d5d8cf99234240190004d6f95af772c866af7690 SHA256 89fdd460fd7191efd4136d429e36a19df75085281a6362f26db19358b1e793c4
@@ -98,6 +101,10 @@ EBUILD rs-sources-2.6.22.1.ebuild 3176 RMD160 a9ab174501209f9ff46053b63514f1c04f
MD5 1f5cefe5434d67f62e2c1ca732abf880 rs-sources-2.6.22.1.ebuild 3176
RMD160 a9ab174501209f9ff46053b63514f1c04f4b9067 rs-sources-2.6.22.1.ebuild 3176
SHA256 8e67c5fb15e1c8b78a47cb1bfde70d04268d432a8f9a44cabd94b2a18566eedf rs-sources-2.6.22.1.ebuild 3176
+EBUILD rs-sources-2.6.22.6.ebuild 3176 RMD160 bcc0e40b350597b4b8ad3dc82b63d59e8c676eb3 SHA1 d0b61458f365bf159fb68bf421cd18de50ef3aa4 SHA256 9109a7c1cb6ed689a95d4fb505b0978e09f37219a002cbb74fa6b09f932e1f73
+MD5 26db215ceff61fbd079ea0be8209ddc2 rs-sources-2.6.22.6.ebuild 3176
+RMD160 bcc0e40b350597b4b8ad3dc82b63d59e8c676eb3 rs-sources-2.6.22.6.ebuild 3176
+SHA256 9109a7c1cb6ed689a95d4fb505b0978e09f37219a002cbb74fa6b09f932e1f73 rs-sources-2.6.22.6.ebuild 3176
MISC ChangeLog 1061 RMD160 6f33b8d8191fa9ea95b270aa8135ec215ba1629f SHA1 0b443ac7d3e922b65d5e38cffe226d504c41806c SHA256 aeb1fca2acf7561981f2408c1724986de36a80740e436aaa4770fd2450df5f26
MD5 a999c51fb410fcdee93d8321e3a3c738 ChangeLog 1061
RMD160 6f33b8d8191fa9ea95b270aa8135ec215ba1629f ChangeLog 1061
@@ -133,3 +140,6 @@ SHA256 3f4765d599886b34a2a5c68bb8be11d1bbeb86a01c681bc787cf4efb4826bf92 files/di
MD5 da0ee84d954d3b88294bf329740fdde8 files/digest-rs-sources-2.6.22.1 1283
RMD160 d21e24666d7d0ef17ab98ffa2e52f2d8219c220a files/digest-rs-sources-2.6.22.1 1283
SHA256 e10a28ced415f5742122ae24c662de32197cd57274101a3415f37cadfa5e811d files/digest-rs-sources-2.6.22.1 1283
+MD5 1bc42d0fd4119c5d824967e297020754 files/digest-rs-sources-2.6.22.6 1292
+RMD160 6bf6f6191a308f6a6fbd2749571f3fdbae5c7bab files/digest-rs-sources-2.6.22.6 1292
+SHA256 14e764d449b3e8441b0193327b652fb208ccfa4e9f90c27d009a0da4f68744c6 files/digest-rs-sources-2.6.22.6 1292
diff --git a/sys-kernel/rs-sources/files/digest-rs-sources-2.6.22.6 b/sys-kernel/rs-sources/files/digest-rs-sources-2.6.22.6
new file mode 100644
index 0000000..609efa5
--- /dev/null
+++ b/sys-kernel/rs-sources/files/digest-rs-sources-2.6.22.6
@@ -0,0 +1,15 @@
+MD5 96f3680ab17bec7857424c237af2f073 genpatches-2.6.22-7.base.tar.bz2 53340
+RMD160 e651390e8dceeed8da1a44472201090667b3ce14 genpatches-2.6.22-7.base.tar.bz2 53340
+SHA256 4d33cac49a8e5802a7b7fe196e694dfb0c99c0c7942ecfcb550e805610484ecb genpatches-2.6.22-7.base.tar.bz2 53340
+MD5 47cbe356e56397299a9ffdf32eaa5429 genpatches-2.6.22-7.extras.tar.bz2 63779
+RMD160 351244469a95456a60871599984e401a2c8a6ffb genpatches-2.6.22-7.extras.tar.bz2 63779
+SHA256 731e3ae43b5212b25c694a5eb05157dabc4779bfeb781533d7892cacf93ea78b genpatches-2.6.22-7.extras.tar.bz2 63779
+MD5 2e230d005c002fb3d38a3ca07c0200d0 linux-2.6.22.tar.bz2 45119878
+RMD160 c4b2ca5ee8e71c0f8f1c95f3c9c5f261f2785912 linux-2.6.22.tar.bz2 45119878
+SHA256 73c10604c53f1a6ee65ef805293d23903696f8cef864f42d7de9506f0d2ba4c7 linux-2.6.22.tar.bz2 45119878
+MD5 f2948e364ab3e4736b9e34f02173472f patch-2.6.22.6.bz2 46194
+RMD160 722edf692e435af621d9e6d10df8497471c8bec0 patch-2.6.22.6.bz2 46194
+SHA256 a85c8ce79cdc126b32aa9a74dbc64c368f0e7e9ec33e156af746003e1b5a8c4d patch-2.6.22.6.bz2 46194
+MD5 6b0ec2ef89fc164a495902b26ef05867 rspatches-2.6.22-1.tar.bz2 637013
+RMD160 f646a4b4f53f1fa849e0a5b68a8feb7a0b6e1330 rspatches-2.6.22-1.tar.bz2 637013
+SHA256 d6c6980f7aee509e1572dabd9f63996db5fef255a938d8c79643da87bb9e369f rspatches-2.6.22-1.tar.bz2 637013
diff --git a/sys-kernel/rs-sources/rs-sources-2.6.22.6.ebuild b/sys-kernel/rs-sources/rs-sources-2.6.22.6.ebuild
new file mode 100644
index 0000000..47d2eac
--- /dev/null
+++ b/sys-kernel/rs-sources/rs-sources-2.6.22.6.ebuild
@@ -0,0 +1,123 @@
+# Copyright 2005-2006 Radoslaw Stachowiak <radek@alter.pl>
+# Distributed under the terms of the GNU General Public License v2
+# $Header: Exp $
+
+ETYPE="sources"
+inherit eutils kernel-2
+detect_version
+detect_arch
+
+PROVIDE="virtual/alsa
+ virtual/linux-sources"
+
+IUSE="rspentium2 rskerni"
+
+# hack to change versions
+MY_PR=${PR/r0/r}
+MY_PR=${MY_PR/r/}
+
+# MODIFYHERE: extraversion is used in kernel Makefile (results in uname -r)
+# set to empty on full releases and .digit (e.g. ".6") on sub releases
+KV_EXTRA=".6"
+# /modifyhere
+
+EXTRAVERSION=${KV_EXTRA}-rs${MY_PR}
+
+# okv is simply orginal kernel version
+OKV=$KV_MAJOR.$KV_MINOR.$KV_PATCH
+# kv_full is used as dir name
+KV_FULL=${OKV}${EXTRAVERSION}
+
+S=${WORKDIR}/linux-${KV_FULL}
+
+# MODIFYHERE: version of gentoo patchset
+GPV="22-7"
+# /modifyhere
+GPV_URL="http://dev.gentoo.org/~dsd/gentoo-sources/tarballs/"
+GPV_SRC="${GPV_URL}/genpatches-${KV_MAJOR}.${KV_MINOR}.${GPV}.base.tar.bz2
+ ${GPV_URL}/genpatches-${KV_MAJOR}.${KV_MINOR}.${GPV}.extras.tar.bz2"
+
+# MODIFYHERE: Version of my patchset
+RSV="22-1"
+# /modifyhere
+RSV_URL="http://dev.gentoo.org/~radek/kernel"
+RSV_SRC="${RSV_URL}/rspatches-${KV_MAJOR}.${KV_MINOR}.${RSV}.tar.bz2"
+
+# MODIFYHERE: set correct arch
+KEYWORDS="~x86"
+# /modifyhere
+
+UNIPATCH_LIST="${DISTDIR}/genpatches-${KV_MAJOR}.${KV_MINOR}.${GPV}.base.tar.bz2
+ ${DISTDIR}/genpatches-${KV_MAJOR}.${KV_MINOR}.${GPV}.extras.tar.bz2
+ ${DISTDIR}/rspatches-${KV_MAJOR}.${KV_MINOR}.${RSV}.tar.bz2"
+
+UNIPATCH_DOCS="${WORKDIR}/patches/${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}/0000_README"
+
+DESCRIPTION="RS kernel sources including the gentoo patchset v$GPV"
+SRC_URI="${KERNEL_URI} ${GPV_SRC} ${RSV_SRC} ${ARCH_URI}"
+
+src_unpack() {
+
+ if [[ -n "$UNIPATCH_LIST_DEFAULT" ]]
+ then
+ # this is needed for KV_EXTRA != releases
+ ewarn " Skipping patch: $UNIPATCH_LIST_DEFAULT"
+ UNIPATCH_LIST_DEFAULT=""
+ fi
+ kernel-2_src_unpack
+}
+
+# this patching is done in compile stage to avoid lengthy unpack reruns on
+# potential errors during patching phase
+#
+src_compile() {
+
+ cp ${FILESDIR}/${PN}-${OKV}_config ${S}/.config || die "can initialize .config"
+
+ if use rspentium2
+ then
+ epatch ${FILESDIR}/${PN}-2.6.12_config_pentium2.patch
+ fi
+
+ # prepare oldconfig
+ K_DEFCONFIG=oldconfig
+ compile_headers
+
+ # need to save it to survive upgrade (merge -> unmerge)
+ cp ${S}/.config ${S}/.config.rs
+}
+
+pkg_postinst() {
+ postinst_sources
+
+ # rskerni useflags means build kernel and install
+ if use rskerni
+ then
+ einfo
+ einfo "building kernel $KV_FULL (please wait..)"
+ einfo
+ cd /usr/src/linux-$KV_FULL || return
+
+ # this cp is needed because at replace (merge/unmerge) its being deleted
+ cp .config.rs .config
+
+ # this is stupid patch for gentoo-sources mistake
+ # sed -i -e "s:KERN_ERROR:KERN_ERR:" drivers/pcmcia/yenta_socket.c
+
+ unset ARCH
+ make || return
+ make modules_install || return
+ cp System.map /boot/System.map-${KV_FULL}
+ cp arch/i386/boot/bzImage /boot/vmlinuz-${KV_FULL}
+ cp .config /boot/config-${KV_FULL}
+ fi
+ einfo
+ einfo "Kernel installed, to update modules:"
+ einfo 'Please do: emerge -av $(equery b /lib/modules | sed -e "s:^:>=:")'
+ einfo
+}
+
+pkg_config() {
+ einfo "Not used currently."
+}
+