diff options
author | 2007-11-15 22:48:25 +0000 | |
---|---|---|
committer | 2007-11-15 22:48:25 +0000 | |
commit | cad0f39bbdb26dcb1c5b3b06805f031c819c7534 (patch) | |
tree | fc6fab78ac9b6cc4b091856da0238fadadad81c4 | |
parent | rs-sources-2.6.23 ~x86 (diff) | |
download | radek-cad0f39bbdb26dcb1c5b3b06805f031c819c7534.tar.gz radek-cad0f39bbdb26dcb1c5b3b06805f031c819c7534.tar.bz2 radek-cad0f39bbdb26dcb1c5b3b06805f031c819c7534.zip |
rs-sources-2.6.23.1 x86
svn path=/radek-portage/; revision=30
-rw-r--r-- | sys-kernel/rs-sources/Manifest | 11 | ||||
-rw-r--r-- | sys-kernel/rs-sources/files/digest-rs-sources-2.6.23.1 | 15 | ||||
-rw-r--r-- | sys-kernel/rs-sources/rs-sources-2.6.23.1.ebuild | 126 |
3 files changed, 152 insertions, 0 deletions
diff --git a/sys-kernel/rs-sources/Manifest b/sys-kernel/rs-sources/Manifest index b552d51..663db9b 100644 --- a/sys-kernel/rs-sources/Manifest +++ b/sys-kernel/rs-sources/Manifest @@ -52,6 +52,8 @@ DIST genpatches-2.6.22-7.base.tar.bz2 53340 RMD160 e651390e8dceeed8da1a444722010 DIST genpatches-2.6.22-7.extras.tar.bz2 63779 RMD160 351244469a95456a60871599984e401a2c8a6ffb SHA1 333cefd2fa6cc56b5d6439f151bad5773db6a5a5 SHA256 731e3ae43b5212b25c694a5eb05157dabc4779bfeb781533d7892cacf93ea78b DIST genpatches-2.6.23-1.base.tar.bz2 3147 RMD160 555ed180e4e700f3ce913fe460f05eb8f71dfe46 SHA1 3d68154d4d956460aa66b6c6d30e857696d8c2f2 SHA256 773cbe243642b1c10a49cab1175fa1c54c0ca67d6471257ce66417a754d87578 DIST genpatches-2.6.23-1.extras.tar.bz2 57252 RMD160 201fdd76ba5024f662da2c2d20e03093bcecc6d5 SHA1 196238c658d68d9046b70c98d1340a1305a102df SHA256 50bf8799ea7816d72b0db7c0fa4b886379b7b49f366fd647130318ad5de314b6 +DIST genpatches-2.6.23-2.base.tar.bz2 6134 RMD160 b4d459e06a1a482fb4cfe51e8b693f9c95a6254b SHA1 b851ef449ec34d4331aba47774fe915cc2408e13 SHA256 fa6c34455470c4d57df1d51829a444343f7cbfca44d726843382baeec5ccbaec +DIST genpatches-2.6.23-2.extras.tar.bz2 148061 RMD160 ea133cf3c10e061e3c979a8d12c31e320aa48873 SHA1 4c2318276573133374fb66bbd8f358af1ec1c32c SHA256 9fb3221a449cd8c078b327830111e1fb3af1f289e362c98718289d943834d0a9 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 @@ -67,11 +69,13 @@ DIST patch-2.6.21.3.bz2 23930 RMD160 e25e3e85a5df5bded02878c4dc5b6535b3e506e1 SH 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 patch-2.6.23.1.bz2 1412 RMD160 304f52f2075588d647f096a07ea9445c87b16e96 SHA1 22b953c96e31e5a755b4a9b42e5f7b9859943db3 SHA256 55e811b4d4b0cbfde500bdd5455b7180d3def3dbdc52314520b7327d32b23f42 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 DIST rspatches-2.6.20-2.tar.bz2 639901 RMD160 35d1d389fd55f4d7d8962aa689e61eda769a06b3 SHA1 374b1480f413878244d415e692b2e821c69af87b SHA256 7f4fb49d1dfa3700d55b5c34775465b231bea40d1ed5c50ff841c0c46e51cac0 DIST rspatches-2.6.22-1.tar.bz2 637013 RMD160 f646a4b4f53f1fa849e0a5b68a8feb7a0b6e1330 SHA1 bd46b38d1115bab7328a3a076647e7b76d686dc9 SHA256 d6c6980f7aee509e1572dabd9f63996db5fef255a938d8c79643da87bb9e369f +DIST rspatches-2.6.23-1.tar.bz2 172961 RMD160 de503b9734495fa781035e2e3977c08c3646b302 SHA1 eea4c167e51a7ce5cb2a9213e4d8626d5de0e308 SHA256 3a6ec71dd537d544607b6c0c63e9e4339104f8e8bd7323930abf6f1c02ab00da EBUILD rs-sources-2.6.17.11.ebuild 3302 RMD160 9c7493f8f9543b6678ee8d2f27b07c49ddb15465 SHA1 3920dd4d4bfdf67720af321b1f84747d76aca6d6 SHA256 b784bfdc4dcd7f479d395c5e08156fd61f222ca2fbe4613262e3f4fa1f412fa8 MD5 504297f0d5fb978983df1d5b58c8f470 rs-sources-2.6.17.11.ebuild 3302 RMD160 9c7493f8f9543b6678ee8d2f27b07c49ddb15465 rs-sources-2.6.17.11.ebuild 3302 @@ -112,6 +116,10 @@ EBUILD rs-sources-2.6.22.6.ebuild 3176 RMD160 bcc0e40b350597b4b8ad3dc82b63d59e8c 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 +EBUILD rs-sources-2.6.23.1.ebuild 3278 RMD160 d1690b2a0754e24f209cbc4cda0e419e22134ea4 SHA1 6da4b13295f92ac27e81569b750fde8d847ccc3c SHA256 7b394762c68e21a980debaa1cfd95742e2d43c874383b9b21db741fe1eb23922 +MD5 8eaa87bb59f3ba362ab2b8379121d8d7 rs-sources-2.6.23.1.ebuild 3278 +RMD160 d1690b2a0754e24f209cbc4cda0e419e22134ea4 rs-sources-2.6.23.1.ebuild 3278 +SHA256 7b394762c68e21a980debaa1cfd95742e2d43c874383b9b21db741fe1eb23922 rs-sources-2.6.23.1.ebuild 3278 EBUILD rs-sources-2.6.23.ebuild 3174 RMD160 d8226b55e20bca8657bd93c36f3a6c17c5bec540 SHA1 ca1ef0e6f2a21df62a3f1e52a8bbdae66cc346ee SHA256 7360c36664892108121f76a02cb99a1c535b88de3e2d35ec1b8b962951857e12 MD5 bb21ac999ddaf8fe6452da546d05ec00 rs-sources-2.6.23.ebuild 3174 RMD160 d8226b55e20bca8657bd93c36f3a6c17c5bec540 rs-sources-2.6.23.ebuild 3174 @@ -157,3 +165,6 @@ SHA256 14e764d449b3e8441b0193327b652fb208ccfa4e9f90c27d009a0da4f68744c6 files/di MD5 f65d7b340f204c5be000bd92647b1199 files/digest-rs-sources-2.6.23 1057 RMD160 03450bb168196c284207c619fb24b3c7444c1e6a files/digest-rs-sources-2.6.23 1057 SHA256 ec5698a0485b346064cc2f31833579b11ca3fa768fafc6540524da11da87ed3c files/digest-rs-sources-2.6.23 1057 +MD5 8b0b82347cadf3a798c650f80b4f2a1e files/digest-rs-sources-2.6.23.1 1289 +RMD160 2598f405ecba4eb0c4a9e3642e594fe45147dc00 files/digest-rs-sources-2.6.23.1 1289 +SHA256 c038f95f50cf2a0dac6eaf1b7a62cbf71bf22ce08a8a0987a8cecbc0dabce1b4 files/digest-rs-sources-2.6.23.1 1289 diff --git a/sys-kernel/rs-sources/files/digest-rs-sources-2.6.23.1 b/sys-kernel/rs-sources/files/digest-rs-sources-2.6.23.1 new file mode 100644 index 0000000..ab9c322 --- /dev/null +++ b/sys-kernel/rs-sources/files/digest-rs-sources-2.6.23.1 @@ -0,0 +1,15 @@ +MD5 74bda831362e1065d0b42959f75e5704 genpatches-2.6.23-2.base.tar.bz2 6134 +RMD160 b4d459e06a1a482fb4cfe51e8b693f9c95a6254b genpatches-2.6.23-2.base.tar.bz2 6134 +SHA256 fa6c34455470c4d57df1d51829a444343f7cbfca44d726843382baeec5ccbaec genpatches-2.6.23-2.base.tar.bz2 6134 +MD5 4ad232edd835ca6bc644b30a5c0540ab genpatches-2.6.23-2.extras.tar.bz2 148061 +RMD160 ea133cf3c10e061e3c979a8d12c31e320aa48873 genpatches-2.6.23-2.extras.tar.bz2 148061 +SHA256 9fb3221a449cd8c078b327830111e1fb3af1f289e362c98718289d943834d0a9 genpatches-2.6.23-2.extras.tar.bz2 148061 +MD5 2cc2fd4d521dc5d7cfce0d8a9d1b3472 linux-2.6.23.tar.bz2 45488158 +RMD160 755690e80751d5de86d260fe05c6eeadde116c4e linux-2.6.23.tar.bz2 45488158 +SHA256 d4e67c0935ffb2a4158234bff92cc791b83177866009fc9b2214104e0038dbdb linux-2.6.23.tar.bz2 45488158 +MD5 896c5d4e7fd68d37b8c16e5d2842563b patch-2.6.23.1.bz2 1412 +RMD160 304f52f2075588d647f096a07ea9445c87b16e96 patch-2.6.23.1.bz2 1412 +SHA256 55e811b4d4b0cbfde500bdd5455b7180d3def3dbdc52314520b7327d32b23f42 patch-2.6.23.1.bz2 1412 +MD5 7d66850f35aa6e3280557e6e816094a1 rspatches-2.6.23-1.tar.bz2 172961 +RMD160 de503b9734495fa781035e2e3977c08c3646b302 rspatches-2.6.23-1.tar.bz2 172961 +SHA256 3a6ec71dd537d544607b6c0c63e9e4339104f8e8bd7323930abf6f1c02ab00da rspatches-2.6.23-1.tar.bz2 172961 diff --git a/sys-kernel/rs-sources/rs-sources-2.6.23.1.ebuild b/sys-kernel/rs-sources/rs-sources-2.6.23.1.ebuild new file mode 100644 index 0000000..9901957 --- /dev/null +++ b/sys-kernel/rs-sources/rs-sources-2.6.23.1.ebuild @@ -0,0 +1,126 @@ +# 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=".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="23-2" +# /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="23-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 + ewarn + ewarn "Reiser 4 is disabled (not present et all) in rs-sources-2.6.23 (radek@20071111)" + ewarn + 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." +} + |