summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadoslaw Stachowiak <radek@gentoo.org>2007-06-07 22:25:39 +0000
committerRadoslaw Stachowiak <radek@gentoo.org>2007-06-07 22:25:39 +0000
commit77abb64ab519a96af7bc108cca017b7b17f88e0b (patch)
tree0a17fa39342163c178e96abd73c4570e398cb8c6
parentportki-0.10.4 version bump (and digest regeneration) (diff)
downloadradek-77abb64ab519a96af7bc108cca017b7b17f88e0b.tar.gz
radek-77abb64ab519a96af7bc108cca017b7b17f88e0b.tar.bz2
radek-77abb64ab519a96af7bc108cca017b7b17f88e0b.zip
rs-sources-2.6.21.3 x86
svn path=/radek-portage/; revision=23
-rw-r--r--sys-kernel/rs-sources/Manifest10
-rw-r--r--sys-kernel/rs-sources/files/digest-rs-sources-2.6.21.315
-rw-r--r--sys-kernel/rs-sources/rs-sources-2.6.21.3.ebuild123
3 files changed, 148 insertions, 0 deletions
diff --git a/sys-kernel/rs-sources/Manifest b/sys-kernel/rs-sources/Manifest
index 26addd0..42d0af5 100644
--- a/sys-kernel/rs-sources/Manifest
+++ b/sys-kernel/rs-sources/Manifest
@@ -34,6 +34,8 @@ DIST genpatches-2.6.20-6.base.tar.bz2 71742 RMD160 d391512a7263b93603c16d8ac1751
DIST genpatches-2.6.20-6.extras.tar.bz2 143454 RMD160 cc2385995956eca95b968394f71c128bc2944881 SHA1 180dcd3f60bfa01ed380726fcf37ef0d9b31837a SHA256 85045253ca5b72d20e95816c2ce29d4a6f1a3255b18ca4ea38c7bb5c20aec629
DIST genpatches-2.6.21-1.base.tar.bz2 1050 RMD160 da561dd019aea7c4b4b33e1afce1004ba93f504f SHA1 77014980bd7eb23e98ac6ceea69b798f8ad76aa1 SHA256 4d9d263d4c3916a68526a7b6ec4208afce071aaf541aa884f5bd78e0654e063a
DIST genpatches-2.6.21-1.extras.tar.bz2 138898 RMD160 2307e415b37d4b20fb6d64f76708a8787c6efe54 SHA1 84c94849d65328bf3dafa8e580103daaf66b2ae0 SHA256 041c44707e409535b385e248b7e654b3e0927116dc7282f0c461b1627f50214d
+DIST genpatches-2.6.21-4.base.tar.bz2 59921 RMD160 653f77ebae9433497344ee2908158d7e4c9809bf SHA1 85893fcd470553e8b8cc955fd8e4521e17d34fb8 SHA256 ed8a8954faff48523b33ec618566cde0dcc4051f78e530785a867158aa39cf5d
+DIST genpatches-2.6.21-4.extras.tar.bz2 141178 RMD160 e4909bfb785c28aebf0790674cedf9794b31fdf3 SHA1 32baadc7f1e27d64856ab8566ec9ff48633be58e SHA256 3649ed51afd51ca51fa629093b2e969284fa2ce5ddb0afffc0ebee7a94436a16
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
@@ -43,6 +45,7 @@ DIST patch-2.6.17.11.bz2 36809 RMD160 f6835cfde1b43cd7eeeacb1009598847fca0befe S
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 patch-2.6.20.6.bz2 69390 RMD160 890c545794fea21c13a0886fd2ccbca4a8cc9e0b SHA1 c31e15b59fb9dd16292e15278bb992aaee98053b SHA256 808ca62a66d7cfe40123301c2f51fc0dcd817ee3bb0df96d1e9e97cc3bad6a9c
+DIST patch-2.6.21.3.bz2 23930 RMD160 e25e3e85a5df5bded02878c4dc5b6535b3e506e1 SHA1 15b9aac8b4d7a0e5c76c7fa5d2f4147c845a0478 SHA256 4477ce1e5e00a3635fb3c9019ec6ca53400046cbee75691c73aeace483f69c9b
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
@@ -67,6 +70,10 @@ EBUILD rs-sources-2.6.20.ebuild 3346 RMD160 ccedbdde20c2c2ea93432804dc3f36c4d9c3
MD5 0f484455f866e4cf08e681c5af050a8c rs-sources-2.6.20.ebuild 3346
RMD160 ccedbdde20c2c2ea93432804dc3f36c4d9c3a0b9 rs-sources-2.6.20.ebuild 3346
SHA256 48275cd8b328c1afb8d79adb9dc66cd84d006252865e99efa486be02c927d8e8 rs-sources-2.6.20.ebuild 3346
+EBUILD rs-sources-2.6.21.3.ebuild 3175 RMD160 c8323c938a18d84c8e91903c57b67745069c3aa7 SHA1 195a1da267596df2359afa6fb98799e0700d9f1f SHA256 52d021a236338a35293f2a5b33598f6151d43296a4a81a7238239955ce8af4cd
+MD5 675b0fb1ae947a98e0f9132e12532fd8 rs-sources-2.6.21.3.ebuild 3175
+RMD160 c8323c938a18d84c8e91903c57b67745069c3aa7 rs-sources-2.6.21.3.ebuild 3175
+SHA256 52d021a236338a35293f2a5b33598f6151d43296a4a81a7238239955ce8af4cd rs-sources-2.6.21.3.ebuild 3175
EBUILD rs-sources-2.6.21.ebuild 3173 RMD160 792510dc80c7a942079e07ae8ff79a64b70c0a15 SHA1 4f1545621301da8490c6b3154468d4f5a9f7964e SHA256 88e248dd2d8ef9bc33fb9c15a1a2b43ad261170dbfcaf2ec7cdd886b1f7856ea
MD5 2a4abb66a745f8c059cff9b4350fb95c rs-sources-2.6.21.ebuild 3173
RMD160 792510dc80c7a942079e07ae8ff79a64b70c0a15 rs-sources-2.6.21.ebuild 3173
@@ -97,3 +104,6 @@ SHA256 87d70bc610321f8dc8c7d645353e003601181d6b7f8b1992e453c629dccfeda0 files/di
MD5 2272d2dcd852ea3207604355290cf940 files/digest-rs-sources-2.6.21 1060
RMD160 332eee926f94a9f2a588a660550acb5523d8f21e files/digest-rs-sources-2.6.21 1060
SHA256 48162366ec12f67d0cd50c58032be5b27c1690be08e690694bd3250a85d3aeaa files/digest-rs-sources-2.6.21 1060
+MD5 086b75e00702bd0449e5b14cf2208cc2 files/digest-rs-sources-2.6.21.3 1295
+RMD160 c26914dfa523d13565d0c9b3d5f93d23bebde642 files/digest-rs-sources-2.6.21.3 1295
+SHA256 c8aa19801f746b58df4fc0431a22d531c658e9b34686efbb5b043b055bfd26e7 files/digest-rs-sources-2.6.21.3 1295
diff --git a/sys-kernel/rs-sources/files/digest-rs-sources-2.6.21.3 b/sys-kernel/rs-sources/files/digest-rs-sources-2.6.21.3
new file mode 100644
index 0000000..ed7221f
--- /dev/null
+++ b/sys-kernel/rs-sources/files/digest-rs-sources-2.6.21.3
@@ -0,0 +1,15 @@
+MD5 8978fbd718d24cee974aac7d8a50f063 genpatches-2.6.21-4.base.tar.bz2 59921
+RMD160 653f77ebae9433497344ee2908158d7e4c9809bf genpatches-2.6.21-4.base.tar.bz2 59921
+SHA256 ed8a8954faff48523b33ec618566cde0dcc4051f78e530785a867158aa39cf5d genpatches-2.6.21-4.base.tar.bz2 59921
+MD5 09a522bd61ac44c1839518fc22a05308 genpatches-2.6.21-4.extras.tar.bz2 141178
+RMD160 e4909bfb785c28aebf0790674cedf9794b31fdf3 genpatches-2.6.21-4.extras.tar.bz2 141178
+SHA256 3649ed51afd51ca51fa629093b2e969284fa2ce5ddb0afffc0ebee7a94436a16 genpatches-2.6.21-4.extras.tar.bz2 141178
+MD5 1b515f588078dfa7f4bab2634bd17e80 linux-2.6.21.tar.bz2 43997476
+RMD160 b2badf41c61f66b0dda059d99a57c2e2c0ea13f4 linux-2.6.21.tar.bz2 43997476
+SHA256 f187b12d70e0a48ce81f0472dfe9504fb5f0f966be339ac9d57dd2b991a74942 linux-2.6.21.tar.bz2 43997476
+MD5 f7057a8dff173a6665fd61b69ed54a12 patch-2.6.21.3.bz2 23930
+RMD160 e25e3e85a5df5bded02878c4dc5b6535b3e506e1 patch-2.6.21.3.bz2 23930
+SHA256 4477ce1e5e00a3635fb3c9019ec6ca53400046cbee75691c73aeace483f69c9b patch-2.6.21.3.bz2 23930
+MD5 0b693968b2670bd748d81405a66da270 rspatches-2.6.20-2.tar.bz2 639901
+RMD160 35d1d389fd55f4d7d8962aa689e61eda769a06b3 rspatches-2.6.20-2.tar.bz2 639901
+SHA256 7f4fb49d1dfa3700d55b5c34775465b231bea40d1ed5c50ff841c0c46e51cac0 rspatches-2.6.20-2.tar.bz2 639901
diff --git a/sys-kernel/rs-sources/rs-sources-2.6.21.3.ebuild b/sys-kernel/rs-sources/rs-sources-2.6.21.3.ebuild
new file mode 100644
index 0000000..6b42874
--- /dev/null
+++ b/sys-kernel/rs-sources/rs-sources-2.6.21.3.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=".3"
+# /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="21-4"
+# /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="20-2"
+# /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."
+}
+