summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-kernel/rs-sources/Manifest10
-rw-r--r--sys-kernel/rs-sources/files/digest-rs-sources-2.6.19.115
-rw-r--r--sys-kernel/rs-sources/rs-sources-2.6.19.1.ebuild128
3 files changed, 153 insertions, 0 deletions
diff --git a/sys-kernel/rs-sources/Manifest b/sys-kernel/rs-sources/Manifest
index 677787a..a4033da 100644
--- a/sys-kernel/rs-sources/Manifest
+++ b/sys-kernel/rs-sources/Manifest
@@ -54,6 +54,8 @@ DIST genpatches-2.6.18-3.base.tar.bz2 82684 RMD160 52a13662a88511dbd0e75a2342a05
DIST genpatches-2.6.18-3.extras.tar.bz2 143265 RMD160 b2b158d42d6116d2a807c05dc8a4ef5680debc98 SHA1 cf9e60c7573a29eca204c310ef4b3260aacb1b49 SHA256 9d8e04c285af164324307d25ef52f16631e91d293c82c82f78e6e4375145a5b7
DIST genpatches-2.6.19-2.base.tar.bz2 2057 RMD160 9abc074d09f53c89a4f6a98a0ac007e7f69463cf SHA1 1db3f586358f3a722576b6f0077cdf347d784d81 SHA256 b8f3e88daadad3808006a5948cebef85976fa3bcea224cf8169b2ac38de725c3
DIST genpatches-2.6.19-2.extras.tar.bz2 139339 RMD160 3ef2e56db8bd3441db59a4caca4b96b7eb76a66e SHA1 3de4a7df313d29620e850dac42fac88e2a63068b SHA256 3d877d02e90308681d358f8b5dd6e6dde180ffca7e4efeb2a11ffd812da07911
+DIST genpatches-2.6.19-3.base.tar.bz2 15941 RMD160 44db8c27990e978fe9116a49388eda610a473977 SHA1 d42492b304b2d1140ae432de317f01c651363ff4 SHA256 6af4f94b8cea0c86bda44ae9666a23f6e6666f1fc353f7fd0801c6cb5837b762
+DIST genpatches-2.6.19-3.extras.tar.bz2 139459 RMD160 9b3dd25b781854feab0d325cc4327e7035fef60b SHA1 1210eed0c0b4ee825e449349b3c7544d9c96721b SHA256 9900288ef68f9c9f93fab4659a4eb2c50d3a3b0ee64e457d9aafee642cd7be19
DIST linux-2.6.13.tar.bz2 38372729
DIST linux-2.6.14.tar.bz2 39172170
DIST linux-2.6.15.tar.bz2 39832836 RMD160 e65904bf253b3515f8dd2a480c7e99ec7117cf60 SHA256 066ec56ce5f57c79a526b6bb3541d32dbf796c11c26c32073fc64b93f09825db
@@ -66,6 +68,7 @@ DIST patch-2.6.14.4.bz2 19705
DIST patch-2.6.15.4.bz2 18466 RMD160 d395dc600802f17ac6e6a13adde34b72319288ab SHA256 176447e25472d43b64599aab007b37484e404c58b570d2078ab4b0905596fd42
DIST patch-2.6.17.11.bz2 36809 RMD160 f6835cfde1b43cd7eeeacb1009598847fca0befe SHA256 f418589458a4780b109a05f374cd06d71cb11b2589acebdb715d01546e1265c3
DIST patch-2.6.18.3.bz2 84830 RMD160 f20ac828ffffc78b9334f86aae57c66631350ef0 SHA1 732ebbd0edaf0660cf0da992b5320ec8ec6a5513 SHA256 193e220396ab8ceb89deaac14db0d3a103b396be5ca8b967ccb68d6b173a4c2c
+DIST patch-2.6.19.1.bz2 12674 RMD160 536b09c1a0914ddc4858771daec70e472810866c SHA1 cf1d7777cee5bcc1f2e6a5c3a996dfe8162aed6b SHA256 9bb91caf1aba0e4986bff70b54e085f41b86a9d1a94fd857e7beecbcba63bd66
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
EBUILD rs-sources-2.6.13.2.ebuild 3224 RMD160 de64a8661366017b81febc15d09d114486b5db0b SHA1 0722a4b2e7e93583325cbbbe0d73743d72377c84 SHA256 d5670b0ca929a0755c7501afb9f2a39f0b6735b8d65124df765b192d62118412
@@ -96,6 +99,10 @@ EBUILD rs-sources-2.6.18.ebuild 3381 RMD160 465b412389ac1cfdea05e612ce46973c8867
MD5 9dd27072c04786a4b984ad99d04c0d4f rs-sources-2.6.18.ebuild 3381
RMD160 465b412389ac1cfdea05e612ce46973c8867ef72 rs-sources-2.6.18.ebuild 3381
SHA256 e20a0f1d252fc9b6297d60872e026c75ddab8a8913d7bae60bc52fe9d81f1e4e rs-sources-2.6.18.ebuild 3381
+EBUILD rs-sources-2.6.19.1.ebuild 3349 RMD160 06e6c19801ea014f220b8a95ac8d4530edf2ba3b SHA1 7e0f205e25411083a34d2d05d34b62d718ded5c2 SHA256 fcfdc4d601eb990bc9e631e374d819f65d51e8ec76372f727cee9856ad5437d8
+MD5 e25440f1668f061af8b1647a151f73f1 rs-sources-2.6.19.1.ebuild 3349
+RMD160 06e6c19801ea014f220b8a95ac8d4530edf2ba3b rs-sources-2.6.19.1.ebuild 3349
+SHA256 fcfdc4d601eb990bc9e631e374d819f65d51e8ec76372f727cee9856ad5437d8 rs-sources-2.6.19.1.ebuild 3349
EBUILD rs-sources-2.6.19.ebuild 3347 RMD160 e40726edb1e165c3faacd0e4fbb13c93dca6d80e SHA1 0e968e930788330a867e93083fd547e90433d631 SHA256 b88e936428abbc9884485bfd67042d58234b764fd0470855a6ef0e8447a13eb8
MD5 288ac17314fd6de6da71e43db44880e4 rs-sources-2.6.19.ebuild 3347
RMD160 e40726edb1e165c3faacd0e4fbb13c93dca6d80e rs-sources-2.6.19.ebuild 3347
@@ -132,3 +139,6 @@ SHA256 c2d795b11de44e367bc85267667643c636d2dc5cfac60c09bc852848b2d3a8ec files/di
MD5 505036b6fa0d3dcd4446f76e48cf99c8 files/digest-rs-sources-2.6.19 1060
RMD160 de8cfa07852d40d1528811386e1ea7fc0ec18a37 files/digest-rs-sources-2.6.19 1060
SHA256 bbe68646d5ab9fd50fd993c1d17a3e8621bc44ba779a4a259ed20d5d3c304a10 files/digest-rs-sources-2.6.19 1060
+MD5 83a3666d0d36c7db42ca838d6fb2cdb4 files/digest-rs-sources-2.6.19.1 1295
+RMD160 c68ce62656cb3a6a9773235b74129a1535a8096e files/digest-rs-sources-2.6.19.1 1295
+SHA256 6e42aa720bc61b71f175b5a80e31a484fb0cde05cecc467229e6ebf4572ef972 files/digest-rs-sources-2.6.19.1 1295
diff --git a/sys-kernel/rs-sources/files/digest-rs-sources-2.6.19.1 b/sys-kernel/rs-sources/files/digest-rs-sources-2.6.19.1
new file mode 100644
index 0000000..9180bda
--- /dev/null
+++ b/sys-kernel/rs-sources/files/digest-rs-sources-2.6.19.1
@@ -0,0 +1,15 @@
+MD5 8b778c527e7eb4cffc7cac6106163e63 genpatches-2.6.19-3.base.tar.bz2 15941
+RMD160 44db8c27990e978fe9116a49388eda610a473977 genpatches-2.6.19-3.base.tar.bz2 15941
+SHA256 6af4f94b8cea0c86bda44ae9666a23f6e6666f1fc353f7fd0801c6cb5837b762 genpatches-2.6.19-3.base.tar.bz2 15941
+MD5 a6180931d7b566aa514d532dff0c07f1 genpatches-2.6.19-3.extras.tar.bz2 139459
+RMD160 9b3dd25b781854feab0d325cc4327e7035fef60b genpatches-2.6.19-3.extras.tar.bz2 139459
+SHA256 9900288ef68f9c9f93fab4659a4eb2c50d3a3b0ee64e457d9aafee642cd7be19 genpatches-2.6.19-3.extras.tar.bz2 139459
+MD5 443c265b57e87eadc0c677c3acc37e20 linux-2.6.19.tar.bz2 42733268
+RMD160 75dc65b15cf9cdb359b1abe7084907982c19088b linux-2.6.19.tar.bz2 42733268
+SHA256 c2fd6bcd2b7c1b3d37d64e4d1825703792a75474830a3db7d2dc603a8d392d58 linux-2.6.19.tar.bz2 42733268
+MD5 899a0932373a5299b69b9579fceb099e patch-2.6.19.1.bz2 12674
+RMD160 536b09c1a0914ddc4858771daec70e472810866c patch-2.6.19.1.bz2 12674
+SHA256 9bb91caf1aba0e4986bff70b54e085f41b86a9d1a94fd857e7beecbcba63bd66 patch-2.6.19.1.bz2 12674
+MD5 bc3c59d2424a87be1453766c38eb3365 rspatches-2.6.19-1.tar.bz2 170197
+RMD160 8d1b82d2d990a141115cfff7f7d46f88067f04ef rspatches-2.6.19-1.tar.bz2 170197
+SHA256 43dc569772838158f4980ac1a3d635dd64ec93269a95b8bcad19c34b691a8f9f rspatches-2.6.19-1.tar.bz2 170197
diff --git a/sys-kernel/rs-sources/rs-sources-2.6.19.1.ebuild b/sys-kernel/rs-sources/rs-sources-2.6.19.1.ebuild
new file mode 100644
index 0000000..1b8e39a
--- /dev/null
+++ b/sys-kernel/rs-sources/rs-sources-2.6.19.1.ebuild
@@ -0,0 +1,128 @@
+# 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
+KV_EXTRA=".1"
+# /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="19-3"
+# /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="19-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 "Default settings included in my .config file:"
+ einfo " * HIGHMEM is disabled"
+ einfo " * 4KSTACKS is enabled"
+ einfo " * PREEMPT is enabled (standard desktop model)"
+ einfo " * SMP is enabled"
+ einfo " * PENTIUM3 is default target"
+}
+