diff options
author | 2007-07-26 18:52:02 +0000 | |
---|---|---|
committer | 2007-07-26 18:52:02 +0000 | |
commit | 6a8e8b57fb090dd289529554f57b561356e4dc6e (patch) | |
tree | 550567b825ec1b978bec05987fdf9850f80c4c1c | |
parent | mail-filter/tumgreyspf-1.27 x86 version bump (diff) | |
download | radek-6a8e8b57fb090dd289529554f57b561356e4dc6e.tar.gz radek-6a8e8b57fb090dd289529554f57b561356e4dc6e.tar.bz2 radek-6a8e8b57fb090dd289529554f57b561356e4dc6e.zip |
rs-sources-2.6.21.5 ~x86
svn path=/radek-portage/; revision=25
-rw-r--r-- | sys-kernel/rs-sources/Manifest | 14 | ||||
-rw-r--r-- | sys-kernel/rs-sources/files/digest-rs-sources-2.6.21.5 | 15 | ||||
-rw-r--r-- | sys-kernel/rs-sources/rs-sources-2.6.21.5.ebuild | 123 |
3 files changed, 152 insertions, 0 deletions
diff --git a/sys-kernel/rs-sources/Manifest b/sys-kernel/rs-sources/Manifest index 42d0af5..0f83e48 100644 --- a/sys-kernel/rs-sources/Manifest +++ b/sys-kernel/rs-sources/Manifest @@ -22,6 +22,10 @@ AUX rs-sources-2.6.21_config 80241 RMD160 48e8e34edba3ee5f2c329f3372ee9ecd09eed2 MD5 13629579567c2243d4e331f79134f550 files/rs-sources-2.6.21_config 80241 RMD160 48e8e34edba3ee5f2c329f3372ee9ecd09eed20b files/rs-sources-2.6.21_config 80241 SHA256 681c8ad56cf5f8f9c9c7d2b02a9121b51acd67d285c22815fa8005bc439a92cf files/rs-sources-2.6.21_config 80241 +AUX rs-sources-2.6.22_config 80241 RMD160 48e8e34edba3ee5f2c329f3372ee9ecd09eed20b SHA1 59a8e7ba01e45ec878ea1d433c1ac63da031005a SHA256 681c8ad56cf5f8f9c9c7d2b02a9121b51acd67d285c22815fa8005bc439a92cf +MD5 13629579567c2243d4e331f79134f550 files/rs-sources-2.6.22_config 80241 +RMD160 48e8e34edba3ee5f2c329f3372ee9ecd09eed20b files/rs-sources-2.6.22_config 80241 +SHA256 681c8ad56cf5f8f9c9c7d2b02a9121b51acd67d285c22815fa8005bc439a92cf files/rs-sources-2.6.22_config 80241 DIST genpatches-2.6.17-9.base.tar.bz2 43339 RMD160 ede64d1839e9b98d1f3d84aa85ab97a41d1a03a5 SHA1 d0b2e8c2e27ff65a0435023d3e1913093d1abd52 SHA256 ce44272a572d311fb0ea61e1b4e6f636463b602215538c9ad2a1a5779fa7d3f6 DIST genpatches-2.6.17-9.extras.tar.bz2 195156 RMD160 afa7522027d27438e6a51129cce5d8383294ccc2 SHA1 0f8f704b6cd13dc6dcb91445c48908d7a4bdaa8f SHA256 01f08328fbe9edc6e2ec9739ad340b34d8c46f4e673b3db998d21217510bc817 DIST genpatches-2.6.18-3.base.tar.bz2 82684 RMD160 52a13662a88511dbd0e75a2342a05bffe7b5300b SHA1 34602ce6db7bf5e7b1c5d1c70e788223af4fb990 SHA256 9b561cf36416d0377eac1ead9194c34c55744f175488a5d80d1c6b3a73572f50 @@ -36,6 +40,8 @@ DIST genpatches-2.6.21-1.base.tar.bz2 1050 RMD160 da561dd019aea7c4b4b33e1afce100 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 genpatches-2.6.21-5.base.tar.bz2 78964 RMD160 c10643addd06108ddcd4083f6d18495e00b0ed33 SHA1 3d4fde8b222c485305e2a21e90c1f3a2cdd94e28 SHA256 6bfc44236140e67dee619f32cc9d7fa1f5eb447b3ae234096e329882b156a84e +DIST genpatches-2.6.21-5.extras.tar.bz2 138665 RMD160 a0e7fdec319174339fdc5d742e5ca411fd71b7d7 SHA1 66d057c3cb51487a7a6c02a8d5e47dc47db72f9a SHA256 0ef0fa390b7279d41ebaa858ab9fe460c9054c8650d79c97a3326cc49ebf9124 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 @@ -46,6 +52,7 @@ DIST patch-2.6.18.3.bz2 84830 RMD160 f20ac828ffffc78b9334f86aae57c66631350ef0 SH 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 patch-2.6.21.5.bz2 44220 RMD160 4a21adb8399ab6288cc0a88114072ab8992b6cdd SHA1 21bcfdd14fed28f6c7de913d838ac49766e127de SHA256 26864941df0fda5ff36a62b047a3ba499a58614554d7911be0ef4f0ca17b02f9 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 @@ -74,6 +81,10 @@ EBUILD rs-sources-2.6.21.3.ebuild 3175 RMD160 c8323c938a18d84c8e91903c57b6774506 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.5.ebuild 3176 RMD160 4eafc26f5a6fd85797e3bd51534ffe044f8af604 SHA1 36b3b4c7304cdec8fddc56f8b9374c047be52254 SHA256 d7428213ae6197a0f1f19b1b89c5e338110978330fa28adfbcf3e4713a10dff5 +MD5 0a0adddc16b922176ce3b43acf3d6fce rs-sources-2.6.21.5.ebuild 3176 +RMD160 4eafc26f5a6fd85797e3bd51534ffe044f8af604 rs-sources-2.6.21.5.ebuild 3176 +SHA256 d7428213ae6197a0f1f19b1b89c5e338110978330fa28adfbcf3e4713a10dff5 rs-sources-2.6.21.5.ebuild 3176 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 @@ -107,3 +118,6 @@ SHA256 48162366ec12f67d0cd50c58032be5b27c1690be08e690694bd3250a85d3aeaa files/di 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 +MD5 1cbad4841d2cfbaa8abf3c93a23295dd files/digest-rs-sources-2.6.21.5 1295 +RMD160 53a0645949afdd4db0c343879edf86404e3ba50c files/digest-rs-sources-2.6.21.5 1295 +SHA256 3f4765d599886b34a2a5c68bb8be11d1bbeb86a01c681bc787cf4efb4826bf92 files/digest-rs-sources-2.6.21.5 1295 diff --git a/sys-kernel/rs-sources/files/digest-rs-sources-2.6.21.5 b/sys-kernel/rs-sources/files/digest-rs-sources-2.6.21.5 new file mode 100644 index 0000000..eda701c --- /dev/null +++ b/sys-kernel/rs-sources/files/digest-rs-sources-2.6.21.5 @@ -0,0 +1,15 @@ +MD5 3c2cced1a767212780fcf498e565ad78 genpatches-2.6.21-5.base.tar.bz2 78964 +RMD160 c10643addd06108ddcd4083f6d18495e00b0ed33 genpatches-2.6.21-5.base.tar.bz2 78964 +SHA256 6bfc44236140e67dee619f32cc9d7fa1f5eb447b3ae234096e329882b156a84e genpatches-2.6.21-5.base.tar.bz2 78964 +MD5 a409e0a228e7478f09f4080450fa5d5d genpatches-2.6.21-5.extras.tar.bz2 138665 +RMD160 a0e7fdec319174339fdc5d742e5ca411fd71b7d7 genpatches-2.6.21-5.extras.tar.bz2 138665 +SHA256 0ef0fa390b7279d41ebaa858ab9fe460c9054c8650d79c97a3326cc49ebf9124 genpatches-2.6.21-5.extras.tar.bz2 138665 +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 0a8b2823c5758f39fcc627d5f1b771b1 patch-2.6.21.5.bz2 44220 +RMD160 4a21adb8399ab6288cc0a88114072ab8992b6cdd patch-2.6.21.5.bz2 44220 +SHA256 26864941df0fda5ff36a62b047a3ba499a58614554d7911be0ef4f0ca17b02f9 patch-2.6.21.5.bz2 44220 +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.5.ebuild b/sys-kernel/rs-sources/rs-sources-2.6.21.5.ebuild new file mode 100644 index 0000000..ae12d4a --- /dev/null +++ b/sys-kernel/rs-sources/rs-sources-2.6.21.5.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=".5" +# /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-5" +# /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." +} + |