summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2004-04-10 06:42:19 +0000
committerJoshua Kinard <kumba@gentoo.org>2004-04-10 06:42:19 +0000
commit8b45f5e7850eb3f5cbe7ca116c0932aaf52c2ffd (patch)
treebb76487314809e8350a69b59219ac304f581b01a /sys-kernel/linux-headers
parentUpdated oniguruma patch (UTF-16 support). Added PROVIDE="virtual/ruby", see b... (diff)
downloadhistorical-8b45f5e7850eb3f5cbe7ca116c0932aaf52c2ffd.tar.gz
historical-8b45f5e7850eb3f5cbe7ca116c0932aaf52c2ffd.tar.bz2
historical-8b45f5e7850eb3f5cbe7ca116c0932aaf52c2ffd.zip
Cleaned out old ebuilds (2.4.16->1.4.19), removed old 2.2.2{0,1} ebuilds, and added ebuilds for 2.0.40 and 2.2.26
Diffstat (limited to 'sys-kernel/linux-headers')
-rw-r--r--sys-kernel/linux-headers/ChangeLog15
-rw-r--r--sys-kernel/linux-headers/Manifest66
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.0.401
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.2.203
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.2.21_pre34
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.2.261
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.4.164
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.4.16-r15
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.4.16-r36
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.4.17-r32
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.4.17-r42
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.4.17-r52
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.4.181
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.4.18-r11
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.4.18-r21
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.4.191
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.4.19-r11
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.0.40.ebuild63
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.2.20.ebuild137
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.2.21_pre3.ebuild141
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.2.26.ebuild95
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.16-r1.ebuild163
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.16-r3.ebuild181
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.16.ebuild159
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.17-r3.ebuild142
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.17-r4.ebuild154
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.17-r5.ebuild131
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.18-r1.ebuild147
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.18-r2.ebuild149
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.18.ebuild108
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.19-r1.ebuild148
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.19.ebuild147
32 files changed, 196 insertions, 1985 deletions
diff --git a/sys-kernel/linux-headers/ChangeLog b/sys-kernel/linux-headers/ChangeLog
index 7e7382a994b6..090796a8ba7a 100644
--- a/sys-kernel/linux-headers/ChangeLog
+++ b/sys-kernel/linux-headers/ChangeLog
@@ -1,6 +1,19 @@
# ChangeLog for sys-kernel/linux-headers
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.60 2004/04/09 07:19:50 iggy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.61 2004/04/10 06:42:18 kumba Exp $
+
+*linux-headers-2.0.40 (10 Apr 2004)
+
+ 10 Apr 2004; Joshua Kinard <kumba@gentoo.org> linux-headers-2.0.40.ebuild,
+ linux-headers-2.2.20.ebuild, linux-headers-2.2.21_pre3.ebuild,
+ linux-headers-2.2.26.ebuild, linux-headers-2.4.16-r1.ebuild,
+ linux-headers-2.4.16-r3.ebuild, linux-headers-2.4.16.ebuild,
+ linux-headers-2.4.17-r3.ebuild, linux-headers-2.4.17-r4.ebuild,
+ linux-headers-2.4.17-r5.ebuild, linux-headers-2.4.18-r1.ebuild,
+ linux-headers-2.4.18-r2.ebuild, linux-headers-2.4.18.ebuild,
+ linux-headers-2.4.19-r1.ebuild, linux-headers-2.4.19.ebuild:
+ Cleaned out old ebuilds (2.4.16->1.4.19), removed old 2.2.2{0,1} ebuilds, and
+ added ebuilds for 2.0.40 and 2.2.26
09 Apr 2004; Brian Jackson <iggy@gentoo.org> linux-headers-2.4.22.ebuild:
added s390 keyword
diff --git a/sys-kernel/linux-headers/Manifest b/sys-kernel/linux-headers/Manifest
index c7170d1ddc91..cfda37408dd6 100644
--- a/sys-kernel/linux-headers/Manifest
+++ b/sys-kernel/linux-headers/Manifest
@@ -1,56 +1,34 @@
-MD5 c253c3a22ca042fd1957e8ab256d73c8 linux-headers-2.6.1.ebuild 4042
+MD5 a45cea006f09e67731e3674bea3b4133 ChangeLog 14551
MD5 b2d9505f337350d36d064e093bc37dad linux-headers-2.4.21-r1.ebuild 3817
-MD5 5984b6e5f1ca4369db3c6f7bb295441e linux-headers-2.4.18-r1.ebuild 4510
-MD5 60305662bb3256aecfd2b697bcec2eec linux-headers-2.4.17-r4.ebuild 4653
-MD5 0add0a56dd0bd9f77687a7d27b2f0f23 linux-headers-2.2.20.ebuild 3911
MD5 42a8578d6e6986c47fd52dfbb3504163 linux-headers-2.4.21.ebuild 3604
-MD5 0fb63d4dce601a145fa132124a51b732 linux-headers-2.6.5.ebuild 3951
+MD5 b41819ba36699847be64ce4e55291c47 linux-headers-2.4.22.ebuild 3895
MD5 adbb6ae716483db8f849c7aaa80b641f linux-headers-2.4.23.ebuild 3345
-MD5 904301ef0e658aa57f7337f833be135c linux-headers-2.4.19.ebuild 4622
-MD5 09a0022dda6484321dd1e5329f02a598 linux-headers-2.4.17-r3.ebuild 4400
-MD5 3fa056e93484dcbb62ea9b5e6fcfd4ce linux-headers-2.4.16-r1.ebuild 5039
MD5 8d6e317946b61691061f8ab5eecde207 linux-headers-2.4.25.ebuild 3326
-MD5 026c73c9bd35deec938a13901ca5af43 linux-headers-2.4.16.ebuild 4768
-MD5 651007ca0f24ca895c6702159f847046 linux-headers-2.4.18-r2.ebuild 4552
-MD5 eea11975742ba2ad10ba60af95a19cd4 linux-headers-2.4.17-r5.ebuild 4251
-MD5 fcf8a449c98b4ba7d202206bef79bd6f ChangeLog 13868
-MD5 608fe99985244b0445f76cee44c9ae14 metadata.xml 290
-MD5 d94c78ca4297536f9a433c7da3d7b47a linux-headers-2.6.4.ebuild 3944
-MD5 adc7c47205d36b5837df80fb7ba5aa8c linux-headers-2.4.16-r3.ebuild 6090
+MD5 c253c3a22ca042fd1957e8ab256d73c8 linux-headers-2.6.1.ebuild 4042
MD5 87b96d3efc6caa6896691d8870781426 linux-headers-2.6.3-r1.ebuild 3932
-MD5 a900fd0246eff368ed1f8d6f0914c028 linux-headers-2.4.19-r1.ebuild 4792
-MD5 b41819ba36699847be64ce4e55291c47 linux-headers-2.4.22.ebuild 3895
-MD5 58235513e662ddaadcbf9fe5b8be9197 linux-headers-2.4.18.ebuild 3173
-MD5 298d9d7bc35cdf062c5d9cd605f5ea9d linux-headers-2.2.21_pre3.ebuild 4082
-MD5 8a065c0dc3b8fac8747de35f1af75a2c files/linux-headers-2.6.0-fb.patch 386
-MD5 1f7aaa49614b3055b6110518b1ed23ee files/digest-linux-headers-2.6.1 66
-MD5 53405777e395f5520722f9fb2398ddd8 files/digest-linux-headers-2.6.4 66
-MD5 a8c4e44a323fbde21b9de3940e2ca5ef files/digest-linux-headers-2.6.5 66
-MD5 4bb39400b782c620a61abff4b8abd627 files/digest-linux-headers-2.4.16-r1 348
-MD5 d0ff4105ca806cb26f3f990422722cfb files/digest-linux-headers-2.4.16-r3 429
-MD5 6db03bb67f89f2fb55870bcdba4c24e5 files/digest-linux-headers-2.4.17-r3 145
-MD5 700dfcb704ed5987434f84006e39787e files/digest-linux-headers-2.4.17-r4 144
-MD5 eb4cae8b5b8fddbb2c950fdb70fbedb3 files/digest-linux-headers-2.4.17-r5 145
-MD5 b1f0fb91c6c3d60ac2f1f1d6893e145a files/digest-linux-headers-2.4.18-r1 67
-MD5 b1f0fb91c6c3d60ac2f1f1d6893e145a files/digest-linux-headers-2.4.18-r2 67
-MD5 0d7bb77bc61a34b15bef6328c9279cb2 files/digest-linux-headers-2.4.19-r1 67
-MD5 9854e47afccae85e887bcb970fc68890 files/digest-linux-headers-2.4.21-r1 67
-MD5 c33f70f0dc30a6fce5cfea06233defd4 files/linux-headers-2.6.3-appCompat.patch 17484
-MD5 7f5b6765680735a897bb2fb9e227f6b6 files/linux-headers-2.6.0-appCompat.patch 17983
-MD5 ec3d195f7d40d599802d5c0c5ad8f502 files/linux-headers-2.6.4-appCompat.patch 17240
-MD5 07aeae7e5036a3ec3e06d29fd68e9cce files/digest-linux-headers-2.2.20 216
-MD5 ac116e74551067f3bd3a2a3c85ba0b0b files/digest-linux-headers-2.4.16 281
-MD5 b1f0fb91c6c3d60ac2f1f1d6893e145a files/digest-linux-headers-2.4.18 67
-MD5 0d7bb77bc61a34b15bef6328c9279cb2 files/digest-linux-headers-2.4.19 67
+MD5 d94c78ca4297536f9a433c7da3d7b47a linux-headers-2.6.4.ebuild 3944
+MD5 608fe99985244b0445f76cee44c9ae14 metadata.xml 290
+MD5 0fb63d4dce601a145fa132124a51b732 linux-headers-2.6.5.ebuild 3951
+MD5 84e62ec48cdae65bb3e93ea1c704f1b1 linux-headers-2.2.26.ebuild 2509
+MD5 35806d2b8dbc37a0da4b2d59597ba582 linux-headers-2.0.40.ebuild 1804
+MD5 e300a3e148a7dcc38a0e099494fb6cb3 files/bigendian-byteorder-fix.patch 1557
MD5 9854e47afccae85e887bcb970fc68890 files/digest-linux-headers-2.4.21 67
+MD5 9854e47afccae85e887bcb970fc68890 files/digest-linux-headers-2.4.21-r1 67
MD5 6ef3887ee4018c06c18e8726767189c7 files/digest-linux-headers-2.4.22 67
MD5 79ee1ad9f4629595cd8d0cd20ca56dc1 files/digest-linux-headers-2.4.23 67
MD5 df6b4c19f4a4cb2b3d3a2a0107d7853d files/digest-linux-headers-2.4.25 67
-MD5 537c756a05fe1a6819277938d570b70a files/linux-headers-2.6.0-strict-ansi-fix.patch 1484
+MD5 1f7aaa49614b3055b6110518b1ed23ee files/digest-linux-headers-2.6.1 66
+MD5 1a3b49dce5bc80827496967e767a4a04 files/digest-linux-headers-2.6.3-r1 66
+MD5 53405777e395f5520722f9fb2398ddd8 files/digest-linux-headers-2.6.4 66
MD5 c3e19cc983ab9e751bc4f5c391e66b0c files/generate-asm-sparc 1656
+MD5 7f5b6765680735a897bb2fb9e227f6b6 files/linux-headers-2.6.0-appCompat.patch 17983
+MD5 8a065c0dc3b8fac8747de35f1af75a2c files/linux-headers-2.6.0-fb.patch 386
+MD5 537c756a05fe1a6819277938d570b70a files/linux-headers-2.6.0-strict-ansi-fix.patch 1484
MD5 a73786f0b9dda7e9ebacb91a192384f9 files/linux-headers-2.6.0-sysctl_h-compat.patch 352
-MD5 167e790d7861e0ed3a31577b31a92968 files/digest-linux-headers-2.2.21_pre3 281
-MD5 459bc20c4015796630e3a9f3dc9125e6 files/linux-headers-strict-ansi-fix.patch 1486
+MD5 c33f70f0dc30a6fce5cfea06233defd4 files/linux-headers-2.6.3-appCompat.patch 17484
MD5 598136365858338b26557b7587c6725f files/linux-headers-2.6.3-strict-ansi-fix.patch 4166
-MD5 e300a3e148a7dcc38a0e099494fb6cb3 files/bigendian-byteorder-fix.patch 1557
-MD5 1a3b49dce5bc80827496967e767a4a04 files/digest-linux-headers-2.6.3-r1 66
+MD5 ec3d195f7d40d599802d5c0c5ad8f502 files/linux-headers-2.6.4-appCompat.patch 17240
+MD5 459bc20c4015796630e3a9f3dc9125e6 files/linux-headers-strict-ansi-fix.patch 1486
+MD5 a8c4e44a323fbde21b9de3940e2ca5ef files/digest-linux-headers-2.6.5 66
+MD5 556c7008fbfdf81750bbd4ab2beb111e files/digest-linux-headers-2.2.26 67
+MD5 33d51532d0f696fefa15593b2cf2f6de files/digest-linux-headers-2.0.40 66
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.0.40 b/sys-kernel/linux-headers/files/digest-linux-headers-2.0.40
new file mode 100644
index 000000000000..006f776f7d0b
--- /dev/null
+++ b/sys-kernel/linux-headers/files/digest-linux-headers-2.0.40
@@ -0,0 +1 @@
+MD5 21458fa794209c1e482369fbbfadb5e9 linux-2.0.40.tar.bz2 6121108
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.2.20 b/sys-kernel/linux-headers/files/digest-linux-headers-2.2.20
deleted file mode 100644
index c56fa76c203a..000000000000
--- a/sys-kernel/linux-headers/files/digest-linux-headers-2.2.20
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 2b002a71a056f11c05e25a24cc3b7cb0 linux-2.2.20.tar.bz2 15751285
-MD5 dbbebb7c67d9dce8424bc59849d96c6f devfs-patch-v99.21.gz 106364
-MD5 1fb60fa711b89f6d11f308dc303950ad linux-2.2.19-reiserfs-3.5.34-patch.bz2 154773
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.2.21_pre3 b/sys-kernel/linux-headers/files/digest-linux-headers-2.2.21_pre3
deleted file mode 100644
index 085679c40ff3..000000000000
--- a/sys-kernel/linux-headers/files/digest-linux-headers-2.2.21_pre3
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 2b002a71a056f11c05e25a24cc3b7cb0 linux-2.2.20.tar.bz2 15751285
-MD5 715b5709eff4823b35e1240632d34219 patch-2.2.21-pre3.gz 245824
-MD5 dbbebb7c67d9dce8424bc59849d96c6f devfs-patch-v99.21.gz 106364
-MD5 1fb60fa711b89f6d11f308dc303950ad linux-2.2.19-reiserfs-3.5.34-patch.bz2 154773
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.2.26 b/sys-kernel/linux-headers/files/digest-linux-headers-2.2.26
new file mode 100644
index 000000000000..c3d53b6d1b57
--- /dev/null
+++ b/sys-kernel/linux-headers/files/digest-linux-headers-2.2.26
@@ -0,0 +1 @@
+MD5 4fa42c5112ddd2cc20dedfbd61d588a1 linux-2.2.26.tar.bz2 15754692
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.16 b/sys-kernel/linux-headers/files/digest-linux-headers-2.4.16
deleted file mode 100644
index 1528197e94de..000000000000
--- a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.16
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 d3a363dc4f0731b57d1ed90a3eadf150 linux-2.4.16.tar.bz2 23746229
-MD5 d22bb71a161e8e0a6813beb8c92f1b57 acpi-20011120.diff.gz 138161
-MD5 ab42d7130b7f25b61368dd908eb43ae2 2.4.16-low-latency.patch.gz 12775
-MD5 3f06fa56bb56029823198eeb566c25db preempt-kernel-rml-2.4.16-1.patch 46533
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.16-r1 b/sys-kernel/linux-headers/files/digest-linux-headers-2.4.16-r1
deleted file mode 100644
index d675bdc767cc..000000000000
--- a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.16-r1
+++ /dev/null
@@ -1,5 +0,0 @@
-MD5 d3a363dc4f0731b57d1ed90a3eadf150 linux-2.4.16.tar.bz2 23746229
-MD5 d22bb71a161e8e0a6813beb8c92f1b57 acpi-20011120.diff.gz 138161
-MD5 ab42d7130b7f25b61368dd908eb43ae2 2.4.16-low-latency.patch.gz 12775
-MD5 3f06fa56bb56029823198eeb566c25db preempt-kernel-rml-2.4.16-1.patch 46533
-MD5 1b787f980061af46db1ccf3d7a616e28 XFS-20011214.patch.bz2 863336
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.16-r3 b/sys-kernel/linux-headers/files/digest-linux-headers-2.4.16-r3
deleted file mode 100644
index 20dfb15a3893..000000000000
--- a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.16-r3
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 d3a363dc4f0731b57d1ed90a3eadf150 linux-2.4.16.tar.bz2 23746229
-MD5 d22bb71a161e8e0a6813beb8c92f1b57 acpi-20011120.diff.gz 138161
-MD5 5e7cebbcc90d795534c6526848e98c17 preempt-kernel-rml-2.4.16-2.patch 56220
-MD5 eb3a1d7aad801bca3c4019b7094f3017 lock-break-rml-2.4.16-3.patch 23174
-MD5 1b787f980061af46db1ccf3d7a616e28 XFS-20011214.patch.bz2 863336
-MD5 d76523e8927fee6ec829b4c2a235416f bridge-nf-0.0.4-against-2.4.16.diff 25769
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.17-r3 b/sys-kernel/linux-headers/files/digest-linux-headers-2.4.17-r3
deleted file mode 100644
index d706d800f2b8..000000000000
--- a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.17-r3
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 0628d142eeb6fc31856d7a60d3f30a82 linux-2.4.17.tar.bz2 23841012
-MD5 64d19389db4c2d92ad4923697ae03b9b linux-gentoo-2.4.17-r3.patch.bz2 1098120
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.17-r4 b/sys-kernel/linux-headers/files/digest-linux-headers-2.4.17-r4
deleted file mode 100644
index 7495d229ce5d..000000000000
--- a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.17-r4
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 0628d142eeb6fc31856d7a60d3f30a82 linux-2.4.17.tar.bz2 23841012
-MD5 be1435bfba34e0681a1338338a0f2ce5 linux-gentoo-2.4.17-r4.patch.bz2 951484
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.17-r5 b/sys-kernel/linux-headers/files/digest-linux-headers-2.4.17-r5
deleted file mode 100644
index 6c8893605957..000000000000
--- a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.17-r5
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 0628d142eeb6fc31856d7a60d3f30a82 linux-2.4.17.tar.bz2 23841012
-MD5 35ab65b7b1d030e56bec8be730ab857e linux-gentoo-2.4.17-r5.patch.bz2 1192930
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.18 b/sys-kernel/linux-headers/files/digest-linux-headers-2.4.18
deleted file mode 100644
index 0768e3e594e0..000000000000
--- a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.18
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ad92859baaa837847b34d842b9f39d38 linux-2.4.18.tar.bz2 24161675
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.18-r1 b/sys-kernel/linux-headers/files/digest-linux-headers-2.4.18-r1
deleted file mode 100644
index 0768e3e594e0..000000000000
--- a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.18-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ad92859baaa837847b34d842b9f39d38 linux-2.4.18.tar.bz2 24161675
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.18-r2 b/sys-kernel/linux-headers/files/digest-linux-headers-2.4.18-r2
deleted file mode 100644
index 0768e3e594e0..000000000000
--- a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.18-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ad92859baaa837847b34d842b9f39d38 linux-2.4.18.tar.bz2 24161675
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.19 b/sys-kernel/linux-headers/files/digest-linux-headers-2.4.19
deleted file mode 100644
index a2f6aa2b5c59..000000000000
--- a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.19
+++ /dev/null
@@ -1 +0,0 @@
-MD5 2bb60b7594a416f2c593923ce446160b linux-2.4.19.tar.bz2 26042494
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.19-r1 b/sys-kernel/linux-headers/files/digest-linux-headers-2.4.19-r1
deleted file mode 100644
index a2f6aa2b5c59..000000000000
--- a/sys-kernel/linux-headers/files/digest-linux-headers-2.4.19-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 2bb60b7594a416f2c593923ce446160b linux-2.4.19.tar.bz2 26042494
diff --git a/sys-kernel/linux-headers/linux-headers-2.0.40.ebuild b/sys-kernel/linux-headers/linux-headers-2.0.40.ebuild
new file mode 100644
index 000000000000..483ba662a8f6
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-2.0.40.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.0.40.ebuild,v 1.1 2004/04/10 06:42:18 kumba Exp $
+
+ETYPE="headers"
+inherit kernel
+
+OKV="${PV/_/-}"
+KV="${OKV}"
+S=${WORKDIR}/linux-${OKV}
+EXTRAVERSION=""
+
+# What's in this kernel?
+
+# INCLUDED:
+# 1) linux sources from kernel.org
+
+DESCRIPTION="Linux ${OKV} headers from kernel.org"
+SRC_URI="mirror://kernel/linux/kernel/v2.0/linux-${OKV}.tar.bz2"
+HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
+LICENSE="GPL-2"
+SLOT="0"
+PROVIDE="virtual/kernel virtual/os-headers"
+KEYWORDS="-*"
+
+
+pkg_setup() {
+ # Catch any archs that don't need these headers
+ case "${ARCH}" in
+ alpha|amd64|arm|hppa|ia64|mips|ppc|ppc64|s390|sparc)
+ echo -e ""
+ echo -e ""
+ eerror "These headers are too old for your arch. Use 2.4.x and up, these"
+ eerror "are only here for reference purposes."
+# die
+ ;;
+ esac
+
+ # Figure out what architecture we are, and set ARCH appropriately
+ ARCH="$(uname -m)"
+ ARCH=`echo ${ARCH} | sed -e s/[i].86/i386/ -e s/x86/i386/`
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ kernel_universal_unpack
+}
+
+pkg_postinst() {
+ kernel_pkg_postinst
+
+ einfo "Kernel headers are usually only used when recompiling glibc, as such, following"
+ einfo "the installation of newer headers, it is advised that you re-merge glibc as follows:"
+ einfo "emerge glibc"
+ einfo "Failure to do so will cause glibc to not make use of newer features present in the"
+ einfo "updated kernel headers."
+ echo -e ""
+ einfo "If you're using these 2.2.x headers, and wish to rebuilod glibc for them, you will"
+ einfo "need to edit the glibc ebuild and set the MIN_KV variable near the top to something"
+ einfo "other than '2.4.1'"
+}
diff --git a/sys-kernel/linux-headers/linux-headers-2.2.20.ebuild b/sys-kernel/linux-headers/linux-headers-2.2.20.ebuild
deleted file mode 100644
index 29a24861c3c2..000000000000
--- a/sys-kernel/linux-headers/linux-headers-2.2.20.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.2.20.ebuild,v 1.19 2004/03/14 06:42:18 seemant Exp $
-#OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-#we use this next variable to avoid duplicating stuff on cvs
-GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files
-OKV=${PV}
-KV=${PVR}
-S=${WORKDIR}/linux-${KV}
-# don't need linux-extras right now
-#S2=${WORKDIR}/linux-${KV}-extras
-
-# What's in this kernel?
-
-# INCLUDED:
-# R. Gooch's devfs-patch-v99.21
-# Reiserfs linux-2.2.19-reiserfs-3.5.34-patch
-
-PDEVFS=devfs-patch-v99.21
-PREISERFS=linux-2.2.19-reiserfs-3.5.34-patch
-
-DESCRIPTION="Full sources for the Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.2/linux-${PV}.tar.bz2
- ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/kernel-patches/v2.2/${PDEVFS}.gz
- ftp://ftp.namesys.com/pub/reiserfs-for-2.2/${PREISERFS}.bz2"
-PROVIDE="virtual/kernel virtual/os-headers"
-HOMEPAGE="http://www.kernel.org/
- http://www.atnf.csiro.au/~rgooch/linux/kernel-patches.html/
- http://www.namesys.com"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-
-if [ $PN = "linux-sources" ] && [ -z "`use build`" ]
-then
- #The following two notes may not be true w/ 2.2, but 2.2 seems to work just fine
- # with them, so they stay.
- #sys-apps/kbd is needed to solve the loadkeys fiasco.
- #binutils version needed to avoid Athlon/PIII/SSE assembler bugs.
- DEPEND=">=sys-devel/binutils-2.11.90.0.31 sys-apps/kbd virtual/modutils dev-lang/perl"
-
- RDEPEND=">=sys-libs/ncurses-5.2 >=sys-apps/baselayout-1.7.4"
-fi
-
-[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include"
-
-src_unpack() {
- #mkdir ${S2}
-
- cd ${WORKDIR}
- unpack linux-${PV}.tar.bz2
- mv linux linux-${KV} || die
- #dodir /usr/src/linux-${KV}-extras
- zcat ${DISTDIR}/${PDEVFS}.gz | patch -d linux-${KV} -p1 || die
- bzcat ${DISTDIR}/${PREISERFS}.bz2 | patch -d linux-${KV} -p1 || die
- echo "Preparing for compilation..."
-
- #sometimes we have icky kernel symbols; this seems to get rid of them
- cd ${S}
- make mrproper || die
-
- #linux-sources needs to be fully configured, too. This is the configuration for the default kernel
- cp ${S}/arch/i386/defconfig .config || die
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
-
- #fix silly permissions in tarball
- cd ${WORKDIR}
- chown -R 0:0 *
- chmod -R a+r-w+X,u+w *
-
- # Gentoo Linux uses /boot, so fix 'make install' to work properly
- cd ${S}
- mv Makefile Makefile.orig
- sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \
- Makefile.orig >Makefile || die # test, remove me if Makefile ok
- rm Makefile.orig
-}
-
-src_compile() {
- if [ "${PN}" = "linux-headers" ]
- then
- cd ${S}
- make include/linux/autoconf.h include/linux/version.h || die
- fi
-}
-
-src_install() {
- if [ "$PN" = "linux-sources" ]
- then
- dodir /usr/src
- cd ${S}
- echo ">>> Copying sources..."
- mv ${WORKDIR}/* ${D}/usr/src
- elif [ "$PN" = "linux-headers" ]
- then
- dodir /usr/include/linux
- cp -ax ${S}/include/linux/* ${D}/usr/include/linux
- dodir /usr/include/asm
- cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm
- fi
- if [ -d ${D}/usr/src/linux-${KV} ]
- then
- cd ${D}/usr/src/linux-${KV}
- if [ -e .config ]
- then
- mv .config .config.eg
- fi
- fi
-}
-
-pkg_preinst() {
- if [ "$PN" = "linux-headers" ]
- then
- if [ -L ${ROOT}usr/include/linux ]
- then
- rm ${ROOT}usr/include/linux
- fi
- if [ -L ${ROOT}usr/include/asm ]
- then
- rm ${ROOT}usr/include/asm
- fi
- fi
-}
-
-pkg_postinst() {
- [ "$PN" = "linux-headers" ] && return
- rm -f ${ROOT}/usr/src/linux
- ln -sf linux-${KV} ${ROOT}/usr/src/linux
- #copy over our .config if one isn't already present
- cd ${ROOT}/usr/src/linux-${KV}
- if [ "${PN}" = "linux-sources" ] && [ -e .config.eg ] && [ ! -e .config ]
- then
- cp -a .config.eg .config
- fi
-}
diff --git a/sys-kernel/linux-headers/linux-headers-2.2.21_pre3.ebuild b/sys-kernel/linux-headers/linux-headers-2.2.21_pre3.ebuild
deleted file mode 100644
index 240679d6bdec..000000000000
--- a/sys-kernel/linux-headers/linux-headers-2.2.21_pre3.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.2.21_pre3.ebuild,v 1.19 2004/03/14 06:42:18 seemant Exp $
-#OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-#we use this next variable to avoid duplicating stuff on cvs
-GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files
-OKV=2.2.20
-KV=${PVR}
-S=${WORKDIR}/linux-${KV}
-# don't need linux-extras right now
-#S2=${WORKDIR}/linux-${KV}-extras
-
-# What's in this kernel?
-
-# INCLUDED:
-# Alan Cox's patch-2.2.21-pre3
-# R. Gooch's devfs-patch-v99.21
-# Reiserfs linux-2.2.19-reiserfs-3.5.34-patch
-
-PAC=patch-2.2.21-pre3
-PDEVFS=devfs-patch-v99.21
-PREISERFS=linux-2.2.19-reiserfs-3.5.34-patch
-
-DESCRIPTION="Full sources for the Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.2/linux-${OKV}.tar.bz2
- mirror://kernel/linux/kernel/v2.2/testing/${PAC}.gz
- ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/kernel-patches/v2.2/${PDEVFS}.gz
- ftp://ftp.namesys.com/pub/reiserfs-for-2.2/${PREISERFS}.bz2"
-PROVIDE="virtual/kernel virtual/os-headers"
-HOMEPAGE="http://www.kernel.org/
- http://www.atnf.csiro.au/~rgooch/linux/kernel-patches.html/
- http://www.namesys.com"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-
-if [ $PN = "linux-sources" ] && [ -z "`use build`" ]
-then
- #The following two notes may not be true w/ 2.2, but 2.2 seems to work just fine
- # with them, so they stay.
- #sys-apps/kbd is needed to solve the loadkeys fiasco.
- #binutils version needed to avoid Athlon/PIII/SSE assembler bugs.
- DEPEND=">=sys-devel/binutils-2.11.90.0.31 sys-apps/kbd virtual/modutils dev-lang/perl"
-
- RDEPEND=">=sys-libs/ncurses-5.2 >=sys-apps/baselayout-1.7.4"
-fi
-
-[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include"
-
-src_unpack() {
- #mkdir ${S2}
-
- cd ${WORKDIR}
- unpack linux-${OKV}.tar.bz2
- mv linux linux-${KV} || die
- #dodir /usr/src/linux-${KV}-extras
- zcat ${DISTDIR}/${PAC}.gz | patch -d linux-${KV} -p1 || die
- zcat ${DISTDIR}/${PDEVFS}.gz | patch -d linux-${KV} -p1 || die
- bzcat ${DISTDIR}/${PREISERFS}.bz2 | patch -d linux-${KV} -p1 || die
- echo "Preparing for compilation..."
-
- #sometimes we have icky kernel symbols; this seems to get rid of them
- cd ${S}
- make mrproper || die
-
- #linux-sources needs to be fully configured, too. This is the configuration for the default kernel
- cp ${S}/arch/i386/defconfig .config || die
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
-
- #fix silly permissions in tarball
- cd ${WORKDIR}
- chown -R 0:0 *
- chmod -R a+r-w+X,u+w *
-
- # Gentoo Linux uses /boot, so fix 'make install' to work properly
- cd ${S}
- mv Makefile Makefile.orig
- sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \
- Makefile.orig >Makefile || die # test, remove me if Makefile ok
- rm Makefile.orig
-}
-
-src_compile() {
- if [ "${PN}" = "linux-headers" ]
- then
- cd ${S}
- make include/linux/autoconf.h include/linux/version.h || die
- fi
-}
-
-src_install() {
- if [ "$PN" = "linux-sources" ]
- then
- dodir /usr/src
- cd ${S}
- echo ">>> Copying sources..."
- mv ${WORKDIR}/* ${D}/usr/src
- elif [ "$PN" = "linux-headers" ]
- then
- dodir /usr/include/linux
- cp -ax ${S}/include/linux/* ${D}/usr/include/linux
- dodir /usr/include/asm
- cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm
- fi
- if [ -d ${D}/usr/src/linux-${KV} ]
- then
- cd ${D}/usr/src/linux-${KV}
- if [ -e .config ]
- then
- mv .config .config.eg
- fi
- fi
-}
-
-pkg_preinst() {
- if [ "$PN" = "linux-headers" ]
- then
- if [ -L ${ROOT}usr/include/linux ]
- then
- rm ${ROOT}usr/include/linux
- fi
- if [ -L ${ROOT}usr/include/asm ]
- then
- rm ${ROOT}usr/include/asm
- fi
- fi
-}
-
-pkg_postinst() {
- [ "$PN" = "linux-headers" ] && return
- rm -f ${ROOT}/usr/src/linux
- ln -sf linux-${KV} ${ROOT}/usr/src/linux
- #copy over our .config if one isn't already present
- cd ${ROOT}/usr/src/linux-${KV}
- if [ "${PN}" = "linux-sources" ] && [ -e .config.eg ] && [ ! -e .config ]
- then
- cp -a .config.eg .config
- fi
-}
diff --git a/sys-kernel/linux-headers/linux-headers-2.2.26.ebuild b/sys-kernel/linux-headers/linux-headers-2.2.26.ebuild
new file mode 100644
index 000000000000..678deea52f0d
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-2.2.26.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.2.26.ebuild,v 1.1 2004/04/10 06:42:19 kumba Exp $
+
+ETYPE="headers"
+inherit kernel
+
+OKV="${PV/_/-}"
+KV="${OKV}"
+S=${WORKDIR}/linux-${OKV}
+EXTRAVERSION=""
+
+# What's in this kernel?
+
+# INCLUDED:
+# 1) linux sources from kernel.org
+
+DESCRIPTION="Linux ${OKV} headers from kernel.org"
+SRC_URI="mirror://kernel/linux/kernel/v2.2/linux-${OKV}.tar.bz2"
+HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
+LICENSE="GPL-2"
+SLOT="0"
+PROVIDE="virtual/kernel virtual/os-headers"
+KEYWORDS="-*"
+
+
+pkg_setup() {
+ # Catch any archs that don't need these headers
+ case "${ARCH}" in
+ alpha|amd64|arm|hppa|ia64|mips|ppc|ppc64|s390)
+ echo -e ""
+ echo -e ""
+ eerror "These headers are too old for your arch. Use 2.4.x and up, these"
+ eerror "are only here for reference purposes."
+ die
+ ;;
+ sparc)
+ if [ "${PROFILE_ARCH}" = "sparc64" ]; then
+ echo -e ""
+ echo -e ""
+ eerror "These headers are too old for your arch. Use 2.4.x and up, these"
+ eerror "are only here for reference purposes."
+ die
+ fi
+ ;;
+ esac
+
+ # Figure out what architecture we are, and set ARCH appropriately
+ ARCH="$(uname -m)"
+ ARCH=`echo ${ARCH} | sed -e s/[i].86/i386/ -e s/x86/i386/`
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ kernel_universal_unpack
+}
+
+src_compile() {
+
+ # Do normal src_compile stuff
+ kernel_src_compile
+
+ # If this is sparc, then generate asm_offsets.h
+ if [ "`use sparc`" ]; then
+ make ARCH=${ARCH} dep || die "Failed to run 'make dep'"
+ fi
+}
+
+src_install() {
+
+ # Do normal src_install stuff
+ kernel_src_install
+
+ # If sparc32, make a symlink from asm to asm-sparc
+ if [ "`use sparc`" ]; then
+ mv ${D}/usr/include/asm ${D}/usr/include/asm-sparc
+ ln -sf ${D}/usr/include/asm-sparc ${D}/usr/include/asm
+ fi
+}
+
+pkg_postinst() {
+ kernel_pkg_postinst
+
+ einfo "Kernel headers are usually only used when recompiling glibc, as such, following"
+ einfo "the installation of newer headers, it is advised that you re-merge glibc as follows:"
+ einfo "emerge glibc"
+ einfo "Failure to do so will cause glibc to not make use of newer features present in the"
+ einfo "updated kernel headers."
+ echo -e ""
+ einfo "If you're using these 2.2.x headers, and wish to rebuilod glibc for them, you will"
+ einfo "need to edit the glibc ebuild and set the MIN_KV variable near the top to something"
+ einfo "other than '2.4.1'"
+}
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.16-r1.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.16-r1.ebuild
deleted file mode 100644
index 81cb763237cb..000000000000
--- a/sys-kernel/linux-headers/linux-headers-2.4.16-r1.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.16-r1.ebuild,v 1.19 2004/03/14 06:42:18 seemant Exp $
-
-#OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-#we use this next variable to avoid duplicating stuff on cvs
-GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files
-OKV=${PV}
-KV=${OKV}
-S=${WORKDIR}/linux-${PVR}
-S2=${WORKDIR}/linux-${PVR}-extras
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 -ppc"
-
-# Patch versions. We now have a new system. To enable a patch, set the patch version. To disable
-# a patch, comment out the patch version and it won't be enabled. In this ebuild, ACPI, low latency
-# and preempt patches are enabled, but MOSIX is not.
-
-XFSV=20011214
-ACPIV=20011120
-LOWLV=2.4.16
-PREEV="${KV}-1"
-#MOSV=1.5.2
-
-DESCRIPTION="Linux kernel version ${KV} - full sources"
-
-PATCHES=""
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2"
-[ "$MOSV" ] && { SRC_URI="$SRC_URI http://www.mosix.cs.huji.ac.il/ftps/MOSIX-${MOSV}.tar.gz"; PATCHES="$PATCHES ${S2}/MOSIX-${MOSV}/patches.${OKV}"; }
-[ "$ACPIV" ] && { SRC_URI="$SRC_URI http://developer.intel.com/technology/iapc/acpi/downloads/acpi-${ACPIV}.diff.gz"; PATCHES="$PATCHES ${DISTDIR}/acpi-${ACPIV}.diff.gz"; }
-[ "$LOWLV" ] && { SRC_URI="$SRC_URI http://www.zip.com.au/~akpm/linux/${LOWLV}-low-latency.patch.gz"; PATCHES="$PATCHES ${DISTDIR}/${LOWLV}-low-latency.patch.gz"; }
-[ "$PREEV" ] && { SRC_URI="$SRC_URI mirror://kernel/linux/kernel/people/rml/preempt-kernel/v2.4/preempt-kernel-rml-${PREEV}.patch" PATCHES="$PATCHES ${DISTDIR}/preempt-kernel-rml-${PREEV}.patch"; }
-[ "$XFSV" ] && { SRC_URI="$SRC_URI mirror://gentoo/XFS-${XFSV}.patch.bz2" PATCHES="$PATCHES ${DISTDIR}/XFS-${XFSV}.patch.bz2"; }
-
-PROVIDE="virtual/kernel virtual/os-headers"
-HOMEPAGE="http://www.kernel.org/ http://www.namesys.com http://www.sistina.com/lvm/ http://developer.intel.com/technology/iapc/acpi/"
-
-if [ $PN = "linux-sources" ] && [ -z "`use build`" ]
-then
- #sys-apps/kbd is needed to solve the loadkeys fiasco.
- DEPEND="sys-apps/kbd virtual/modutils dev-lang/perl"
- RDEPEND=">=sys-libs/ncurses-5.2"
-fi
-
-[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include"
-
-patchorama() {
- local x
- for x in ${*}
- do
- [ -d "$x" ] && continue
- echo ">>> Applying ${x}..."
- if [ "${x##*.}" = "bz2" ]
- then
- cat $x | bzip2 -d | patch -p1 -l
- elif [ "${x##*.}" = "gz" ]
- then
- cat $x | gzip -d | patch -p1 -l
- else
- patch -p1 -l < $x
- fi
- done
-}
-
-src_unpack() {
- mkdir ${S2}
-
- cd ${WORKDIR}
- unpack linux-${OKV}.tar.bz2
- mv linux linux-${PVR} || die
- dodir /usr/src/linux-${PVR}-extras
- if [ "$MOSIX" ]
- then
- cd ${S2}
- tar -xz --no-same-owner -f ${DISTDIR}/MOSIX-${MOSV}.tar.gz MOSIX-${MOSV}/patches.${OKV}
- fi
- cd ${S}
- patchorama $PATCHES
- echo "Fixing up a single reject..."
- #This is a reject related to both low latency and XFS's kdb modifying the same enum. No biggie.
- cp ${GFILESDIR}/sysctl.h ${S}/include/linux
- echo "Preparing for compilation..."
-
- #sometimes we have icky kernel symbols; this seems to get rid of them
- make mrproper || die
-
- #linux-sources needs to be fully configured, too. This is the configuration for the default kernel
- cp ${S}/arch/i386/defconfig .config || die
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
-
- #fix silly permissions in tarball
- cd ${WORKDIR}
- chown -R 0:0 *
- chmod -R a+r-w+X,u+w *
-
- # Gentoo Linux uses /boot, so fix 'make install' to work properly; seems they cant make up their mind if it should be a space or tab
- cd ${S}
- mv Makefile Makefile.orig
- sed -e 's/#export\tINSTALL_PATH/export\tINSTALL_PATH/' \
- Makefile.orig >Makefile || die # test, remove me if Makefile ok
- rm Makefile.orig
-}
-
-src_compile() {
- if [ "${PN}" = "linux-headers" ]
- then
- cd ${S}
- make include/linux/autoconf.h include/linux/version.h || die
- fi
-}
-
-src_install() {
- if [ "$PN" = "linux-sources" ]
- then
- dodir /usr/src
- cd ${S}
- echo ">>> Copying sources..."
- cp -ax ${WORKDIR}/* ${D}/usr/src
- elif [ "$PN" = "linux-headers" ]
- then
- dodir /usr/include/linux
- cp -ax ${S}/include/linux/* ${D}/usr/include/linux
- dodir /usr/include/asm
- cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm
- fi
- if [ -d ${D}/usr/src/linux-${PVR} ]
- then
- cd ${D}/usr/src/linux-${PVR}
- if [ -e .config ]
- then
- mv .config .config.eg
- fi
- fi
-}
-
-pkg_preinst() {
- if [ "$PN" = "linux-headers" ]
- then
- if [ -L ${ROOT}usr/include/linux ]
- then
- rm ${ROOT}usr/include/linux
- fi
- if [ -L ${ROOT}usr/include/asm ]
- then
- rm ${ROOT}usr/include/asm
- fi
- fi
-}
-
-pkg_postinst() {
- [ "$PN" = "linux-headers" ] && return
- rm -f ${ROOT}/usr/src/linux
- ln -sf linux-${PVR} ${ROOT}/usr/src/linux
- #copy over our .config if one isn't already present
- cd ${ROOT}/usr/src/linux-${PVR}
- if [ "${PN}" = "linux-sources" ] && [ -e .config.eg ] && [ ! -e .config ]
- then
- cp -a .config.eg .config
- fi
-}
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.16-r3.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.16-r3.ebuild
deleted file mode 100644
index 6b6d06f92213..000000000000
--- a/sys-kernel/linux-headers/linux-headers-2.4.16-r3.ebuild
+++ /dev/null
@@ -1,181 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.16-r3.ebuild,v 1.19 2004/03/14 06:42:18 seemant Exp $
-
-#OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-#we use this next variable to avoid duplicating stuff on cvs
-GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files
-OKV=${PV}
-KV=${OKV}
-S=${WORKDIR}/linux-${KV}
-S2=${WORKDIR}/linux-${KV}-extras
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 -ppc"
-
-# Patch versions. We now have a new system. To enable a patch, set the patch version. To disable
-# a patch, comment out the patch version and it won't be enabled. In this ebuild, ACPI, low latency
-# and preempt patches are enabled, but MOSIX is not.
-
-#XFS patch
-XFSV=20011214
-#ACPI patch
-ACPIV=20011120
-#Low latency patch
-#LOWLV=2.4.16
-#Preemptive kernel patch
-PREEV="${KV}-2"
-#Lock-break patch
-LBPV="${KV}-3"
-#Bridge/netfilter compatibility patch
-BNFV="0.0.4-against-2.4.16"
-#MOSIX patch
-#MOSV=1.5.2
-
-DESCRIPTION="Linux kernel version ${KV} - full sources"
-
-PATCHES=""
-SRC_URI="http://www.de.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2"
-[ "$MOSV" ] && { SRC_URI="$SRC_URI http://www.mosix.cs.huji.ac.il/ftps/MOSIX-${MOSV}.tar.gz"; PATCHES="$PATCHES ${S2}/MOSIX-${MOSV}/patches.${OKV}"; }
-[ "$ACPIV" ] && { SRC_URI="$SRC_URI http://developer.intel.com/technology/iapc/acpi/downloads/acpi-${ACPIV}.diff.gz"; PATCHES="$PATCHES ${DISTDIR}/acpi-${ACPIV}.diff.gz"; }
-[ "$LOWLV" ] && { SRC_URI="$SRC_URI http://www.zip.com.au/~akpm/linux/${LOWLV}-low-latency.patch.gz"; PATCHES="$PATCHES ${DISTDIR}/${LOWLV}-low-latency.patch.gz"; }
-[ "$PREEV" ] && { SRC_URI="$SRC_URI mirror://kernel/linux/kernel/people/rml/preempt-kernel/v2.4/preempt-kernel-rml-${PREEV}.patch" PATCHES="$PATCHES ${DISTDIR}/preempt-kernel-rml-${PREEV}.patch"; }
-[ "$LBPV" ] && { SRC_URI="$SRC_URI mirror://kernel/linux/kernel/people/rml/lock-break/v2.4/lock-break-rml-${LBPV}.patch" PATCHES="$PATCHES ${DISTDIR}/lock-break-rml-${LBPV}.patch"; }
-[ "$XFSV" ] && { SRC_URI="$SRC_URI mirror://gentoo/XFS-${XFSV}.patch.bz2" PATCHES="$PATCHES ${DISTDIR}/XFS-${XFSV}.patch.bz2"; }
-[ "$BNFV" ] && { SRC_URI="$SRC_URI http://bridge.sourceforge.net/devel/bridge-nf/bridge-nf-${BNFV}.diff" PATCHES="$PATCHES ${DISTDIR}/bridge-nf-${BNFV}.diff"; }
-
-PROVIDE="virtual/kernel virtual/os-headers"
-HOMEPAGE="http://www.kernel.org/ http://www.namesys.com http://www.sistina.com/lvm/ http://developer.intel.com/technology/iapc/acpi/"
-
-if [ $PN = "linux-sources" ] && [ -z "`use build`" ]
-then
- #sys-apps/kbd is needed to solve the loadkeys fiasco.
- #binutils version needed to avoid Athlon/PIII/SSE assembler bugs.
- DEPEND=">=sys-devel/binutils-2.11.92.0.12.3 sys-apps/kbd virtual/modutils dev-lang/perl"
- RDEPEND=">=sys-libs/ncurses-5.2"
-fi
-
-[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include"
-
-patchorama() {
- local x
- for x in ${*}
- do
- [ -d "$x" ] && continue
- echo ">>> Applying ${x}..."
- if [ "${x##*.}" = "bz2" ]
- then
- cat $x | bzip2 -d | patch -p1 -l
- elif [ "${x##*.}" = "gz" ]
- then
- cat $x | gzip -d | patch -p1 -l
- else
- patch -p1 -l < $x
- fi
- done
-}
-
-src_unpack() {
- mkdir ${S2}
-
- cd ${WORKDIR}
- unpack linux-${OKV}.tar.bz2
- mv linux linux-${KV} || die
- dodir /usr/src/linux-${KV}-extras
- if [ "$MOSIX" ]
- then
- cd ${S2}
- tar -xz --no-same-owner -f ${DISTDIR}/MOSIX-${MOSV}.tar.gz MOSIX-${MOSV}/patches.${OKV}
- fi
- cd ${S}
- # the linux-2.4.16-binutils.patch fixes a compile problem in the kernel (uses binutils incorrectly).
- # This triggers an error when binutils 2.11.92.0.12.3 is installed. This particular problem is fixed
- # in kernel 2.4.17.
- patchorama ${FILESDIR}/linux-2.4.16-binutils.patch $PATCHES
- #echo "Fixing up a single reject..."
- #This is a reject related to both low latency and XFS's kdb modifying the same enum. No biggie.
- #cp ${GFILESDIR}/sysctl.h ${S}/include/linux
- echo "Removing -xfs extension from the kernel..."
- cp Makefile Makefile.orig
- sed -e 's:EXTRAVERSION =-xfs:EXTRAVERSION =:g' Makefile.orig > Makefile
- echo "Preparing for compilation..."
-
- #sometimes we have icky kernel symbols; this seems to get rid of them
- make mrproper || die
-
- #linux-sources needs to be fully configured, too. This is the configuration for the default kernel
- cp ${S}/arch/i386/defconfig .config || die
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
-
- #fix silly permissions in tarball
- cd ${WORKDIR}
- chown -R 0:0 *
- chmod -R a+r-w+X,u+w *
-
- # Gentoo Linux uses /boot, so fix 'make install' to work properly; seems they cant make up their mind if it should be a space or tab
- cd ${S}
- mv Makefile Makefile.orig
- sed -e 's/#export\tINSTALL_PATH/export\tINSTALL_PATH/' \
- Makefile.orig >Makefile || die # test, remove me if Makefile ok
- rm Makefile.orig
-}
-
-src_compile() {
- if [ "${PN}" = "linux-headers" ]
- then
- cd ${S}
- make include/linux/autoconf.h include/linux/version.h || die
- fi
-}
-
-src_install() {
- if [ "$PN" = "linux-sources" ]
- then
- dodir /usr/src
- cd ${S}
- echo ">>> Copying sources..."
- cp -ax ${WORKDIR}/* ${D}/usr/src
- elif [ "$PN" = "linux-headers" ]
- then
- dodir /usr/include/linux
- cp -ax ${S}/include/linux/* ${D}/usr/include/linux
- dodir /usr/include/asm
- cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm
- fi
- if [ -d ${D}/usr/src/linux-${KV} ]
- then
- cd ${D}/usr/src/linux-${KV}
- if [ -e .config ]
- then
- mv .config .config.eg
- fi
- fi
-}
-
-pkg_preinst() {
- if [ "$PN" = "linux-headers" ]
- then
- if [ -L ${ROOT}usr/include/linux ]
- then
- rm ${ROOT}usr/include/linux
- fi
- if [ -L ${ROOT}usr/include/asm ]
- then
- rm ${ROOT}usr/include/asm
- fi
- fi
-}
-
-pkg_postinst() {
- [ "$PN" = "linux-headers" ] && return
- rm -f ${ROOT}/usr/src/linux
- ln -sf linux-${KV} ${ROOT}/usr/src/linux
- #copy over our .config if one isn't already present
- cd ${ROOT}/usr/src/linux-${KV}
- if [ "${PN}" = "linux-sources" ] && [ -e .config.eg ] && [ ! -e .config ]
- then
- cp -a .config.eg .config
- fi
-}
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.16.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.16.ebuild
deleted file mode 100644
index 36a29cb6877b..000000000000
--- a/sys-kernel/linux-headers/linux-headers-2.4.16.ebuild
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.16.ebuild,v 1.20 2004/03/14 06:42:18 seemant Exp $
-
-#OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-#we use this next variable to avoid duplicating stuff on cvs
-GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files
-OKV=${PV}
-KV=${OKV}
-S=${WORKDIR}/linux-${KV}
-S2=${WORKDIR}/linux-${KV}-extras
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 -ppc"
-
-# Patch versions. We now have a new system. To enable a patch, set the patch version. To disable
-# a patch, comment out the patch version and it won't be enabled. In this ebuild, ACPI, low latency
-# and preempt patches are enabled, but MOSIX is not.
-
-ACPIV=20011120
-LOWLV=2.4.16
-PREEV="${KV}-1"
-#MOSV=1.5.2
-
-DESCRIPTION="Linux kernel version ${KV} - full sources"
-
-PATCHES=""
-SRC_URI="http://www.de.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2"
-[ "$MOSV" ] && { SRC_URI="$SRC_URI http://www.mosix.cs.huji.ac.il/ftps/MOSIX-${MOSV}.tar.gz"; PATCHES="$PATCHES ${S2}/MOSIX-${MOSV}/patches.${OKV}"; }
-[ "$ACPIV" ] && { SRC_URI="$SRC_URI http://developer.intel.com/technology/iapc/acpi/downloads/acpi-${ACPIV}.diff.gz"; PATCHES="$PATCHES ${DISTDIR}/acpi-${ACPIV}.diff.gz"; }
-[ "$LOWLV" ] && { SRC_URI="$SRC_URI http://www.zip.com.au/~akpm/linux/${LOWLV}-low-latency.patch.gz"; PATCHES="$PATCHES ${DISTDIR}/${LOWLV}-low-latency.patch.gz"; }
-[ "$PREEV" ] && { SRC_URI="$SRC_URI mirror://kernel/linux/kernel/people/rml/preempt-kernel/v2.4/preempt-kernel-rml-${PREEV}.patch" PATCHES="$PATCHES ${DISTDIR}/preempt-kernel-rml-${PREEV}.patch"; }
-
-PROVIDE="virtual/kernel virtual/os-headers"
-HOMEPAGE="http://www.kernel.org/ http://www.namesys.com http://www.sistina.com/lvm/ http://developer.intel.com/technology/iapc/acpi/"
-
-if [ $PN = "linux-sources" ] && [ -z "`use build`" ]
-then
- #sys-apps/kbd is needed to solve the loadkeys fiasco.
- DEPEND="sys-apps/kbd virtual/modutils dev-lang/perl"
- RDEPEND=">=sys-libs/ncurses-5.2"
-fi
-
-[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include"
-
-patchorama() {
- local x
- for x in ${*}
- do
- [ -d "$x" ] && continue
- echo ">>> Applying ${x}..."
- if [ "${x##*.}" = "bz2" ]
- then
- cat $x | bzip2 -d | patch -p1 -l
- elif [ "${x##*.}" = "gz" ]
- then
- cat $x | gzip -d | patch -p1 -l
- else
- patch -p1 -l < $x
- fi
- done
-}
-
-src_unpack() {
- mkdir ${S2}
-
- cd ${WORKDIR}
- unpack linux-${OKV}.tar.bz2
- mv linux linux-${KV} || die
- dodir /usr/src/linux-${KV}-extras
- if [ "$MOSIX" ]
- then
- cd ${S2}
- tar -xz --no-same-owner -f ${DISTDIR}/MOSIX-${MOSV}.tar.gz MOSIX-${MOSV}/patches.${OKV}
- fi
- cd ${S}
- patchorama $PATCHES
- echo "Preparing for compilation..."
-
- #sometimes we have icky kernel symbols; this seems to get rid of them
- make mrproper || die
-
- #linux-sources needs to be fully configured, too. This is the configuration for the default kernel
- cp ${S}/arch/i386/defconfig .config || die
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
-
- #fix silly permissions in tarball
- cd ${WORKDIR}
- chown -R 0:0 *
- chmod -R a+r-w+X,u+w *
-
- # Gentoo Linux uses /boot, so fix 'make install' to work properly; seems they cant make up their mind if it should be a space or tab
- cd ${S}
- mv Makefile Makefile.orig
- sed -e 's/#export\tINSTALL_PATH/export\tINSTALL_PATH/' \
- Makefile.orig >Makefile || die # test, remove me if Makefile ok
- rm Makefile.orig
-}
-
-src_compile() {
- if [ "${PN}" = "linux-headers" ]
- then
- cd ${S}
- make include/linux/autoconf.h include/linux/version.h || die
- fi
-}
-
-src_install() {
- if [ "$PN" = "linux-sources" ]
- then
- dodir /usr/src
- cd ${S}
- echo ">>> Copying sources..."
- cp -ax ${WORKDIR}/* ${D}/usr/src
- elif [ "$PN" = "linux-headers" ]
- then
- dodir /usr/include/linux
- cp -ax ${S}/include/linux/* ${D}/usr/include/linux
- dodir /usr/include/asm
- cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm
- fi
- if [ -d ${D}/usr/src/linux-${KV} ]
- then
- #don't overwrite existing .config if present
- cd ${D}/usr/src/linux-${KV}
- if [ -e .config ]
- then
- cp -a .config .config.eg
- fi
- fi
-}
-
-pkg_preinst() {
- if [ "$PN" = "linux-headers" ]
- then
- if [ -L ${ROOT}usr/include/linux ]
- then
- rm ${ROOT}usr/include/linux
- fi
- if [ -L ${ROOT}usr/include/asm ]
- then
- rm ${ROOT}usr/include/asm
- fi
- fi
-}
-
-pkg_postinst() {
- [ "$PN" = "linux-headers" ] && return
- rm -f ${ROOT}/usr/src/linux
- ln -sf linux-${KV} ${ROOT}/usr/src/linux
- #copy over our .config if one isn't already present
- cd ${ROOT}/usr/src/linux-${KV}
- if [ "${PN}" = "linux-sources" ] && [ -e .config.eg ] && [ ! -e .config ]
- then
- cp -a .config.eg .config
- fi
-}
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.17-r3.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.17-r3.ebuild
deleted file mode 100644
index 7e761c819841..000000000000
--- a/sys-kernel/linux-headers/linux-headers-2.4.17-r3.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.17-r3.ebuild,v 1.18 2004/03/14 06:42:18 seemant Exp $
-#OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-#we use this next variable to avoid duplicating stuff on cvs
-GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files
-OKV=${PV}
-KV=${PVR}
-S=${WORKDIR}/linux-${KV}
-S2=${WORKDIR}/linux-${KV}-extras
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 -ppc"
-
-#What's in this kernel?
-#======================
-# EXISTING patches:
-# xfs (26 Jan 2002 CVS)
-# read-latency-2 from akpm (improves multiple disk read/write IO performance)
-# fastpte (enables an option to do fast scanning of the page tables)
-# irqrate-a1 (optimizes irq handling, no more ksoftirqd and eliminates irq storms on servers)
-# ide (from http://www.linuxdiskcert.org, patch ide.2.4.17.01192002.patch) ide updates, performance improvements
-# note: enable "Taskfile" options in kernel config
-# preempt-2.4.17-r1 (preemptible kernel)
-# loopback device deadlock fixes from akpm
-# NEW in 2.4.17-r3:
-# acpi-20011205 (ACPI support, new-style power management)
-# REMOVED from 2.4.17-r3:
-# readahead patch from akpm (really slowed things down; was mistakenly recommended to me before it was ready)
-
-DESCRIPTION="Full sources for the Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2 mirror://gentoo/linux-gentoo-${KV}.patch.bz2"
-PROVIDE="virtual/kernel virtual/os-headers"
-HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
-
-XFSV=20020124
-
-if [ $PN = "linux-sources" ] && [ -z "`use build`" ]
-then
- #sys-apps/kbd is needed to solve the loadkeys fiasco.
- #binutils version needed to avoid Athlon/PIII/SSE assembler bugs.
- DEPEND=">=sys-devel/binutils-2.11.90.0.31 sys-apps/kbd virtual/modutils dev-lang/perl"
- RDEPEND=">=sys-libs/ncurses-5.2 >=sys-apps/xfsprogs-${XFSV} >=sys-apps/dmapi-${XFSV} >=sys-apps/attr-${XFSV} >=sys-apps/acl-${XFSV} >=sys-apps/xfsdump-${XFSV}"
-fi
-
-[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include"
-
-src_unpack() {
- mkdir ${S2}
-
- cd ${WORKDIR}
- unpack linux-${OKV}.tar.bz2
- mv linux linux-${KV} || die
- dodir /usr/src/linux-${KV}-extras
- if [ "$MOSIX" ]
- then
- cd ${S2}
- tar -xz --no-same-owner -f ${DISTDIR}/MOSIX-${MOSV}.tar.gz MOSIX-${MOSV}/patches.${OKV}
- fi
- cd ${S}
- cat ${DISTDIR}/linux-gentoo-${KV}.patch.bz2 | bzip2 -d | patch -p1 || die
- echo "Preparing for compilation..."
-
- #sometimes we have icky kernel symbols; this seems to get rid of them
- make mrproper || die
-
- #linux-sources needs to be fully configured, too. This is the configuration for the default kernel
- cp ${S}/arch/i386/defconfig .config || die
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
-
- #fix silly permissions in tarball
- cd ${WORKDIR}
- chown -R 0:0 *
- chmod -R a+r-w+X,u+w *
-
- # Gentoo Linux uses /boot, so fix 'make install' to work properly
- cd ${S}
- mv Makefile Makefile.orig
- sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \
- Makefile.orig >Makefile || die # test, remove me if Makefile ok
- rm Makefile.orig
-}
-
-src_compile() {
- if [ "${PN}" = "linux-headers" ]
- then
- cd ${S}
- make include/linux/autoconf.h include/linux/version.h || die
- fi
-}
-
-src_install() {
- if [ "$PN" = "linux-sources" ]
- then
- dodir /usr/src
- cd ${S}
- echo ">>> Copying sources..."
- mv ${WORKDIR}/* ${D}/usr/src
- elif [ "$PN" = "linux-headers" ]
- then
- dodir /usr/include/linux
- cp -ax ${S}/include/linux/* ${D}/usr/include/linux
- dodir /usr/include/asm
- cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm
- fi
- if [ -d ${D}/usr/src/linux-${KV} ]
- then
- cd ${D}/usr/src/linux-${KV}
- if [ -e .config ]
- then
- mv .config .config.eg
- fi
- fi
-}
-
-pkg_preinst() {
- if [ "$PN" = "linux-headers" ]
- then
- if [ -L ${ROOT}usr/include/linux ]
- then
- rm ${ROOT}usr/include/linux
- fi
- if [ -L ${ROOT}usr/include/asm ]
- then
- rm ${ROOT}usr/include/asm
- fi
- fi
-}
-
-pkg_postinst() {
- [ "$PN" = "linux-headers" ] && return
- rm -f ${ROOT}/usr/src/linux
- ln -sf linux-${KV} ${ROOT}/usr/src/linux
- #copy over our .config if one isn't already present
- cd ${ROOT}/usr/src/linux-${KV}
- if [ "${PN}" = "linux-sources" ] && [ -e .config.eg ] && [ ! -e .config ]
- then
- cp -a .config.eg .config
- fi
-}
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.17-r4.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.17-r4.ebuild
deleted file mode 100644
index f981e09a5435..000000000000
--- a/sys-kernel/linux-headers/linux-headers-2.4.17-r4.ebuild
+++ /dev/null
@@ -1,154 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.17-r4.ebuild,v 1.18 2004/03/14 06:42:18 seemant Exp $
-#OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-#we use this next variable to avoid duplicating stuff on cvs
-GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files
-OKV=${PV}
-KV=${PVR}
-S=${WORKDIR}/linux-${KV}
-S2=${WORKDIR}/linux-${KV}-extras
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 -ppc"
-
-# What's in this kernel?
-
-# INCLUDED:
-# xfs (13 Feb 2002 CVS)
-# read-latency2.patch from http://www.zipworld.com.au/~akpm/linux/2.4/2.4.18-pre9/
-# (improves multiple disk read/write IO performance)
-# fastpte
-# (enables an option to do fast scanning of the page tables)
-# ide.2.4.17.02072002.patch from http://www.linuxdiskcert.org/
-# (revamped IDE code)
-# preempt-kernel-rml-2.4.17-3 from http://www.tech9.net/rml/linux/
-# (preemptible kernel)
-# loopback device deadlock fixes from akpm
-
-# UPDATED in 2.4.17-r4:
-# xfs was updated from 26 Jan 2002 to 13 Feb 2002 CVS
-# ide updated from 01192002 to 02072002
-# preempt was updated from -1 to -3
-
-# REMOVED from 2.4.17-r4:
-# irqrate-a1 (which should close bug #396, possibly others)
-# acpi-20020208-2.4.17.diff.gz from http://sourceforge.net/projects/acpi
-# (see bug #689; this patch conflicts with the stock aic7xxx scsi driver.
-# this bug has been sent upstream)
-
-# Note: enable "Taskfile" options in kernel config if you're using IDE
-# The linuxdiskcert site says "no" but the patch author says "yes"
-
-DESCRIPTION="Full sources for the Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2 mirror://gentoo/linux-gentoo-${KV}.patch.bz2"
-PROVIDE="virtual/kernel virtual/os-headers"
-HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
-
-XFSV=20020124
-
-if [ $PN = "linux-sources" ] && [ -z "`use build`" ]
-then
- #sys-apps/kbd is needed to solve the loadkeys fiasco.
- #binutils version needed to avoid Athlon/PIII/SSE assembler bugs.
- DEPEND=">=sys-devel/binutils-2.11.90.0.31 sys-apps/kbd virtual/modutils dev-lang/perl"
- RDEPEND=">=sys-libs/ncurses-5.2 >=sys-apps/xfsprogs-${XFSV} >=sys-apps/dmapi-${XFSV} >=sys-apps/attr-${XFSV} >=sys-apps/acl-${XFSV} >=sys-apps/xfsdump-${XFSV}"
-fi
-
-[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include"
-
-src_unpack() {
- mkdir ${S2}
-
- cd ${WORKDIR}
- unpack linux-${OKV}.tar.bz2
- mv linux linux-${KV} || die
- dodir /usr/src/linux-${KV}-extras
- if [ "$MOSIX" ]
- then
- cd ${S2}
- tar -xz --no-same-owner -f ${DISTDIR}/MOSIX-${MOSV}.tar.gz MOSIX-${MOSV}/patches.${OKV}
- fi
- cd ${S}
- cat ${DISTDIR}/linux-gentoo-${KV}.patch.bz2 | bzip2 -d | patch -p1 || die
- echo "Preparing for compilation..."
-
- #sometimes we have icky kernel symbols; this seems to get rid of them
- make mrproper || die
-
- #linux-sources needs to be fully configured, too. This is the configuration for the default kernel
- cp ${S}/arch/i386/defconfig .config || die
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
-
- #fix silly permissions in tarball
- cd ${WORKDIR}
- chown -R 0:0 *
- chmod -R a+r-w+X,u+w *
-
- # Gentoo Linux uses /boot, so fix 'make install' to work properly
- cd ${S}
- mv Makefile Makefile.orig
- sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \
- Makefile.orig >Makefile || die # test, remove me if Makefile ok
- rm Makefile.orig
-}
-
-src_compile() {
- if [ "${PN}" = "linux-headers" ]
- then
- cd ${S}
- make include/linux/autoconf.h include/linux/version.h || die
- fi
-}
-
-src_install() {
- if [ "$PN" = "linux-sources" ]
- then
- dodir /usr/src
- cd ${S}
- echo ">>> Copying sources..."
- mv ${WORKDIR}/* ${D}/usr/src
- elif [ "$PN" = "linux-headers" ]
- then
- dodir /usr/include/linux
- cp -ax ${S}/include/linux/* ${D}/usr/include/linux
- dodir /usr/include/asm
- cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm
- fi
- if [ -d ${D}/usr/src/linux-${KV} ]
- then
- cd ${D}/usr/src/linux-${KV}
- if [ -e .config ]
- then
- mv .config .config.eg
- fi
- fi
-}
-
-pkg_preinst() {
- if [ "$PN" = "linux-headers" ]
- then
- if [ -L ${ROOT}usr/include/linux ]
- then
- rm ${ROOT}usr/include/linux
- fi
- if [ -L ${ROOT}usr/include/asm ]
- then
- rm ${ROOT}usr/include/asm
- fi
- fi
-}
-
-pkg_postinst() {
- [ "$PN" = "linux-headers" ] && return
- rm -f ${ROOT}/usr/src/linux
- ln -sf linux-${KV} ${ROOT}/usr/src/linux
- #copy over our .config if one isn't already present
- cd ${ROOT}/usr/src/linux-${KV}
- if [ "${PN}" = "linux-sources" ] && [ -e .config.eg ] && [ ! -e .config ]
- then
- cp -a .config.eg .config
- fi
-}
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.17-r5.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.17-r5.ebuild
deleted file mode 100644
index f84433b007bd..000000000000
--- a/sys-kernel/linux-headers/linux-headers-2.4.17-r5.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.17-r5.ebuild,v 1.20 2004/03/14 06:42:18 seemant Exp $
-#OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-#we use this next variable to avoid duplicating stuff on cvs
-GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files
-OKV=${PV}
-KV=${PVR}
-S=${WORKDIR}/linux-${KV}
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 -ppc"
-
-# What's in this kernel?
-
-# INCLUDED:
-# xfs (13 Feb 2002 CVS)
-# read-latency2.patch from http://www.zipworld.com.au/~akpm/linux/2.4/2.4.18-pre9/
-# (improves multiple disk read/write IO performance)
-# fastpte
-# (enables an option to do fast scanning of the page tables)
-# preempt-kernel-rml-2.4.17-3 from http://www.tech9.net/rml/linux/
-# (preemptible kernel)
-# loopback device deadlock fixes from akpm
-
-# ADDED in 2.4.17-r5:
-# acpi-20020214-2.4.17.diff.gz from http://sourceforge.net/projects/acpi
-# This patch should close bug #689 which was sent upstream.
-
-# REMOVED from 2.4.17-r5:
-# ide.2.4.17.02072002.patch from http://www.linuxdiskcert.org/
-# (revamped IDE code; this closes bug #690; we'll add it back as soon as the
-# confirmed with author completion error is fixed (probably in the next release))
-
-
-DESCRIPTION="Full sources for the Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2 mirror://gentoo/linux-gentoo-${KV}.patch.bz2"
-PROVIDE="virtual/kernel virtual/os-headers"
-HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
-
-XFSV=20020124
-
-if [ $PN = "linux-sources" ] && [ -z "`use build`" ]
-then
- #sys-apps/kbd is needed to solve the loadkeys fiasco; binutils version needed to avoid Athlon/PIII/SSE assembler bugs.
- DEPEND=">=sys-devel/binutils-2.11.90.0.31"
- RDEPEND=">=sys-libs/ncurses-5.2 dev-lang/perl >=sys-apps/xfsprogs-${XFSV} sys-apps/kbd >=sys-apps/dmapi-${XFSV} virtual/modutils sys-devel/make >=sys-apps/attr-${XFSV} >=sys-apps/acl-${XFSV} >=sys-apps/xfsdump-${XFSV}"
-fi
-
-[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include"
-
-src_unpack() {
- cd ${WORKDIR}
- unpack linux-${OKV}.tar.bz2
- mv linux linux-${KV} || die
- cd ${S}
- cat ${DISTDIR}/linux-gentoo-${KV}.patch.bz2 | bzip2 -d | patch -p1 || die
-
- #sometimes we have icky kernel symbols; this seems to get rid of them
- make mrproper || die
-
- #this file is required for other things to build properly, so we autogenerate it
- make include/linux/version.h || die
-
- #fix silly permissions in tarball
- cd ${WORKDIR}
- chown -R 0:0 *
- chmod -R a+r-w+X,u+w *
-
- # Gentoo Linux uses /boot, so fix 'make install' to work properly
- cd ${S}
- mv Makefile Makefile.orig
- sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \
- Makefile.orig >Makefile || die # test, remove me if Makefile ok
- rm Makefile.orig
-}
-
-src_compile() {
- if [ "$PN" = "linux-headers" ]
- then
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
- fi
-}
-
-src_install() {
- if [ "$PN" = "linux-sources" ]
- then
- dodir /usr/src
- echo ">>> Copying sources..."
- mv ${WORKDIR}/* ${D}/usr/src
- else
- #linux-headers
- dodir /usr/include/linux
- cp -ax ${S}/include/linux/* ${D}/usr/include/linux
- rm -rf ${D}/usr/include/linux/modules
- dodir /usr/include/asm
- cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm
- fi
-}
-
-pkg_preinst() {
- if [ "$PN" = "linux-headers" ]
- then
- [ -L ${ROOT}usr/include/linux ] && rm ${ROOT}usr/include/linux
- [ -L ${ROOT}usr/include/asm ] && rm ${ROOT}usr/include/asm
- true
- fi
-}
-
-pkg_postinst() {
- [ "$PN" = "linux-headers" ] && return
- cd ${ROOT}usr/src/linux-${KV}
- if [ -e "${ROOT}usr/src/linux/.config" ]
- then
- cp "${ROOT}usr/src/linux/.config" .config
- else
- cp "${ROOT}usr/src/linux-${KV}/arch/i386/defconfig" .config
- fi
- #The default setting will be selected.
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
- #remove /usr/src/linux symlink
- rm -f ${ROOT}/usr/src/linux
- #set up a new one
- ln -sf linux-${KV} ${ROOT}/usr/src/linux
- #this will generate include/linux/modversions.h, among other things:
- cd ${ROOT}/usr/src/linux-${KV}
- make dep
-}
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.18-r1.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.18-r1.ebuild
deleted file mode 100644
index 7b4ee983f419..000000000000
--- a/sys-kernel/linux-headers/linux-headers-2.4.18-r1.ebuild
+++ /dev/null
@@ -1,147 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.18-r1.ebuild,v 1.16 2004/03/14 06:42:18 seemant Exp $
-#OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-#we use this next variable to avoid duplicating stuff on cvs
-GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files
-OKV=2.4.18
-KV=2.4.18
-S=${WORKDIR}/linux-${KV}
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-
-#These are *stock* 2.4.18 headers, for niceness.
-
-DESCRIPTION="Full sources for the Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2"
-PROVIDE="virtual/kernel virtual/os-headers"
-HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
-
-KERNEL_ARCH=`echo $ARCH |\
- sed -e s/[i]*.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/`
-if [ -z "$KERNEL_ARCH" ]
-then
- KERNEL_ARCH=`uname -m |\
- sed -e s/[i]*.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/`
-fi
-
-if [ $PN = "linux-sources" ] && [ -z "`use build`" ]
-then
- #sys-apps/kbd is needed to solve the loadkeys fiasco; binutils version needed to avoid Athlon/PIII/SSE assembler bugs.
- DEPEND=">=sys-devel/binutils-2.11.90.0.31"
- RDEPEND =">=sys-libs/ncurses-5.2 dev-lang/perl virtual/modutils sys-devel/make"
- if [ "$KERNEL_ARCH" = "sparc64" ]
- then
- # Need special compiler for this platform
- RDEPEND="$RDEPEND sys-devel/egcs64-sparc"
- fi
-fi
-
-[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include"
-
-src_unpack() {
- cd ${WORKDIR}
- unpack linux-${OKV}.tar.bz2
- mv linux linux-${KV} || die
- cd ${S}
-
- #sometimes we have icky kernel symbols; this seems to get rid of them
- make mrproper || die
-
- #this file is required for other things to build properly, so we autogenerate it
- make include/linux/version.h || die
-
- #fix silly permissions in tarball
- cd ${WORKDIR}
- chown -R 0:0 *
- chmod -R a+r-w+X,u+w *
-
- # Gentoo Linux uses /boot, so fix 'make install' to work properly
- cd ${S}
- mv Makefile Makefile.orig
- sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \
- Makefile.orig >Makefile || die # test, remove me if Makefile ok
- rm Makefile.orig
-}
-
-src_compile() {
- if [ "$PN" = "linux-headers" ]
- then
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
- fi
-}
-
-src_install() {
- if [ "$PN" = "linux-sources" ]
- then
- dodir /usr/src
- echo ">>> Copying sources..."
- mv ${WORKDIR}/* ${D}/usr/src
- else
- #linux-headers
- dodir /usr/include/linux
- cp -ax ${S}/include/linux/* ${D}/usr/include/linux
- rm -rf ${D}/usr/include/linux/modules
- dodir /usr/include/asm
- if [ `expr $KERNEL_ARCH ":" "sparc"` -eq 5 ]
- then
- if [ "$KERNEL_ARCH" = "sparc64" ]
- then
- cp -ax ${S}/include/asm-sparc64 ${D}/usr/include/asm-sparc64
- if [ ! -r ${D}/usr/include/asm-sparc64/asm_offsets.h ]
- then
- cp -ax ${GFILESDIR}/sparc64-asm_offsets.h \
- ${D}/usr/include/asm-sparc64/asm_offsets.h
- fi
- fi
-
- cp -ax ${S}/include/asm-sparc ${D}/usr/include/asm-sparc
- if [ ! -r ${D}/usr/include/asm-sparc/asm_offsets.h ]
- then
- cp -ax ${GFILESDIR}/sparc-asm_offsets.h \
- ${D}/usr/include/asm-sparc/asm_offsets.h
- fi
- ${GFILESDIR}/generate-asm-sparc ${D}/usr/include
-
- else
- cp -ax ${S}/include/asm-${KERNEL_ARCH}/* ${D}/usr/include/asm
- fi
- fi
-}
-
-pkg_preinst() {
- if [ "$PN" = "linux-headers" ]
- then
- [ -L ${ROOT}usr/include/linux ] && rm ${ROOT}usr/include/linux
- [ -L ${ROOT}usr/include/asm ] && rm ${ROOT}usr/include/asm
- [ -L ${ROOT}usr/include/asm-sparc ] && rm ${ROOT}usr/include/asm-sparc
- [ -L ${ROOT}usr/include/asm-sparc64 ] && rm ${ROOT}usr/include/asm-sparc64
- [ -L ${ROOT}usr/include/asm-${KERNEL_ARCH} ] && rm ${ROOT}usr/include/asm-${KERNEL_ARCH}
- true
- fi
-}
-
-pkg_postinst() {
- [ "$PN" = "linux-headers" ] && return
- cd ${ROOT}usr/src/linux-${KV}
- make mrproper
- if [ -e "${ROOT}usr/src/linux/.config" ]
- then
- cp "${ROOT}usr/src/linux/.config" .config
- #we only make dep when upgrading to a new kernel (with existing config)
- #The default setting will be selected.
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
- make dep
- else
- cp "${ROOT}usr/src/linux-${KV}/arch/${KERNEL_ARCH}/defconfig" .config \
- || cp "${ROOT}usr/src/linux-${KV}/arch/i386/defconfig" .config
- fi
- #remove /usr/src/linux symlink
- rm -f ${ROOT}/usr/src/linux
- #set up a new one
- ln -sf linux-${KV} ${ROOT}/usr/src/linux
-}
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.18-r2.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.18-r2.ebuild
deleted file mode 100644
index 1c1fde0183ef..000000000000
--- a/sys-kernel/linux-headers/linux-headers-2.4.18-r2.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.18-r2.ebuild,v 1.24 2004/03/14 06:42:18 seemant Exp $
-#OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-#we use this next variable to avoid duplicating stuff on cvs
-GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files
-SPARCFILEDIR=${PORTDIR}/sys-kernel/sparc-sources/files
-OKV=2.4.18
-KV=2.4.18
-S=${WORKDIR}/linux-${KV}
-
-#These are *stock* 2.4.18 headers, for niceness.
-
-DESCRIPTION="Full sources for the Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2"
-PROVIDE="virtual/kernel virtual/os-headers"
-HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc sparc alpha"
-
-KERNEL_ARCH=`echo $ARCH |\
- sed -e s/[i]*.86/i386/ -e s/sun4u// -e s/arm.*/arm/ -e s/sa110/arm/`
-if [ -z "$KERNEL_ARCH" ]
-then
- KERNEL_ARCH=`uname -m |\
- sed -e s/[i]*.86/i386/ -e s/sun4u// -e s/arm.*/arm/ -e s/sa110/arm/`
-fi
-
-if [ $PN = "linux-sources" ] && [ -z "`use build`" ]
-then
- #sys-apps/kbd is needed to solve the loadkeys fiasco; binutils version needed to avoid Athlon/PIII/SSE assembler bugs.
- DEPEND=">=sys-devel/binutils-2.11.90.0.31"
- RDEPEND =">=sys-libs/ncurses-5.2 dev-lang/perl virtual/modutils sys-devel/make"
- if [ "$KERNEL_ARCH" = "" ]
- then
- # Need special compiler for this platform
- RDEPEND="$RDEPEND sys-devel/egcs64-sparc"
- fi
-fi
-
-[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include"
-
-src_unpack() {
- cd ${WORKDIR}
- unpack linux-${OKV}.tar.bz2
- mv linux linux-${KV} || die
- cd ${S}
-
- #sometimes we have icky kernel symbols; this seems to get rid of them
- make mrproper || die
-
- #this file is required for other things to build properly, so we autogenerate it
- make include/linux/version.h || die
-
- #fix silly permissions in tarball
- cd ${WORKDIR}
- chown -R 0:0 *
- chmod -R a+r-w+X,u+w *
-
- # Gentoo Linux uses /boot, so fix 'make install' to work properly
- cd ${S}
- mv Makefile Makefile.orig
- sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \
- Makefile.orig >Makefile || die # test, remove me if Makefile ok
- rm Makefile.orig
-}
-
-src_compile() {
- if [ "$PN" = "linux-headers" ]
- then
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
- fi
-}
-
-src_install() {
- if [ "$PN" = "linux-sources" ]
- then
- dodir /usr/src
- echo ">>> Copying sources..."
- mv ${WORKDIR}/* ${D}/usr/src
- else
- #linux-headers
- dodir /usr/include/linux
- cp -ax ${S}/include/linux/* ${D}/usr/include/linux
- rm -rf ${D}/usr/include/linux/modules
- dodir /usr/include/asm
- if [ `expr $KERNEL_ARCH ":" "sparc"` -eq 5 ]
- then
- dodir /usr/include/asm-{sparc,}
- if [ "$KERNEL_ARCH" = "" ]
- then
- cp -ax ${S}/include/asm-/* ${D}/usr/include/asm-
- if [ ! -r ${D}/usr/include/asm-/asm_offsets.h ]
- then
- cp -ax ${SPARCFILEDIR}/-asm_offsets.h \
- ${D}/usr/include/asm-/asm_offsets.h
- fi
- fi
-
- cp -ax ${S}/include/asm-sparc/* ${D}/usr/include/asm-sparc
- if [ ! -r ${D}/usr/include/asm-sparc/asm_offsets.h ]
- then
- cp -ax ${SPARCFILEDIR}/sparc-asm_offsets.h \
- ${D}/usr/include/asm-sparc/asm_offsets.h
- fi
- ${SPARCFILEDIR}/generate-asm-sparc ${D}/usr/include
-
- else
- cp -ax ${S}/include/asm-${KERNEL_ARCH}/* ${D}/usr/include/asm
- fi
- fi
-}
-
-pkg_preinst() {
- if [ "$PN" = "linux-headers" ]
- then
- [ -L ${ROOT}usr/include/linux ] && rm ${ROOT}usr/include/linux
- [ -L ${ROOT}usr/include/asm ] && rm ${ROOT}usr/include/asm
- [ -L ${ROOT}usr/include/asm-sparc ] && rm ${ROOT}usr/include/asm-sparc
- [ -L ${ROOT}usr/include/asm- ] && rm ${ROOT}usr/include/asm-
- [ -L ${ROOT}usr/include/asm-${KERNEL_ARCH} ] && rm ${ROOT}usr/include/asm-${KERNEL_ARCH}
- true
- fi
-}
-
-pkg_postinst() {
- [ "$PN" = "linux-headers" ] && return
- cd ${ROOT}usr/src/linux-${KV}
- make mrproper
- if [ -e "${ROOT}usr/src/linux/.config" ]
- then
- cp "${ROOT}usr/src/linux/.config" .config
- #we only make dep when upgrading to a new kernel (with existing config)
- #The default setting will be selected.
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
- make dep
- else
- cp "${ROOT}usr/src/linux-${KV}/arch/${KERNEL_ARCH}/defconfig" .config \
- || cp "${ROOT}usr/src/linux-${KV}/arch/i386/defconfig" .config
- fi
- #remove /usr/src/linux symlink
- rm -f ${ROOT}/usr/src/linux
- #set up a new one
- ln -sf linux-${KV} ${ROOT}/usr/src/linux
-}
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.18.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.18.ebuild
deleted file mode 100644
index 8e0f404b66de..000000000000
--- a/sys-kernel/linux-headers/linux-headers-2.4.18.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.18.ebuild,v 1.16 2004/03/14 06:42:18 seemant Exp $
-#OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-#we use this next variable to avoid duplicating stuff on cvs
-GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files
-OKV=2.4.18
-KV=2.4.18
-S=${WORKDIR}/linux-${KV}
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 alpha"
-
-#These are *stock* 2.4.18 headers, for niceness.
-
-DESCRIPTION="Full sources for the Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2"
-PROVIDE="virtual/kernel virtual/os-headers"
-HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
-
-if [ $PN = "linux-sources" ] && [ -z "`use build`" ]
-then
- #sys-apps/kbd is needed to solve the loadkeys fiasco; binutils version needed to avoid Athlon/PIII/SSE assembler bugs.
- DEPEND=">=sys-devel/binutils-2.11.90.0.31"
- RDEPEND=">=sys-libs/ncurses-5.2 dev-lang/perl virtual/modutils sys-devel/make"
-fi
-
-[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include"
-
-src_unpack() {
- cd ${WORKDIR}
- unpack linux-${OKV}.tar.bz2
- mv linux linux-${KV} || die
- cd ${S}
-
- #sometimes we have icky kernel symbols; this seems to get rid of them
- make mrproper || die
-
- #this file is required for other things to build properly, so we autogenerate it
- make include/linux/version.h || die
-
- #fix silly permissions in tarball
- cd ${WORKDIR}
- chown -R 0:0 *
- chmod -R a+r-w+X,u+w *
-
- # Gentoo Linux uses /boot, so fix 'make install' to work properly
- cd ${S}
- mv Makefile Makefile.orig
- sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \
- Makefile.orig >Makefile || die # test, remove me if Makefile ok
- rm Makefile.orig
-}
-
-src_compile() {
- if [ "$PN" = "linux-headers" ]
- then
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
- fi
-}
-
-src_install() {
- if [ "$PN" = "linux-sources" ]
- then
- dodir /usr/src
- echo ">>> Copying sources..."
- mv ${WORKDIR}/* ${D}/usr/src
- else
- #linux-headers
- dodir /usr/include/linux
- cp -ax ${S}/include/linux/* ${D}/usr/include/linux
- rm -rf ${D}/usr/include/linux/modules
- dodir /usr/include/asm
- cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm
- fi
-}
-
-pkg_preinst() {
- if [ "$PN" = "linux-headers" ]
- then
- [ -L ${ROOT}usr/include/linux ] && rm ${ROOT}usr/include/linux
- [ -L ${ROOT}usr/include/asm ] && rm ${ROOT}usr/include/asm
- true
- fi
-}
-
-pkg_postinst() {
- [ "$PN" = "linux-headers" ] && return
- cd ${ROOT}usr/src/linux-${KV}
- make mrproper
- if [ -e "${ROOT}usr/src/linux/.config" ]
- then
- cp "${ROOT}usr/src/linux/.config" .config
- #we only make dep when upgrading to a new kernel (with existing config)
- #The default setting will be selected.
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
- make dep
- else
- cp "${ROOT}usr/src/linux-${KV}/arch/i386/defconfig" .config
- fi
- #remove /usr/src/linux symlink
- rm -f ${ROOT}/usr/src/linux
- #set up a new one
- ln -sf linux-${KV} ${ROOT}/usr/src/linux
-}
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.19-r1.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.19-r1.ebuild
deleted file mode 100644
index c71ca955a243..000000000000
--- a/sys-kernel/linux-headers/linux-headers-2.4.19-r1.ebuild
+++ /dev/null
@@ -1,148 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.19-r1.ebuild,v 1.22 2004/03/14 06:42:18 seemant Exp $
-#OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-#we use this next variable to avoid duplicating stuff on cvs
-GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files
-SPARCFILEDIR=${PORTDIR}/sys-kernel/sparc-sources/files
-OKV=2.4.19
-KV=2.4.19
-S=${WORKDIR}/linux-${KV}
-
-#These are *stock* 2.4.19 headers, for niceness.
-
-DESCRIPTION="Full sources for the Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2"
-PROVIDE="virtual/kernel virtual/os-headers"
-HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc sparc alpha ia64 ppc64"
-
-KERNEL_ARCH=`echo $ARCH |\
- sed -e s/[i]*.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/`
-if [ -z "$KERNEL_ARCH" ]
-then
- KERNEL_ARCH=`uname -m |\
- sed -e s/[i]*.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/`
-fi
-[ $KERNEL_ARCH="sparc" -a "$PROFILE_ARCH" = "sparc64" ] && KERNEL_ARCH="sparc64"
-
-if [ $PN = "linux-sources" ] && [ -z "`use build`" ]
-then
- #sys-apps/kbd is needed to solve the loadkeys fiasco; binutils version needed to avoid Athlon/PIII/SSE assembler bugs.
- DEPEND=">=sys-devel/binutils-2.11.90.0.31"
- RDEPEND =">=sys-libs/ncurses-5.2 dev-lang/perl virtual/modutils sys-devel/make ? sys-devel/egcs64-sparc"
-fi
-
-[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include"
-
-src_unpack() {
- cd ${WORKDIR}
- unpack linux-${OKV}.tar.bz2
- #the main source dir for linux-2.4.19 (and higher?) has the version attached
- if [ $OKV != $KV ]; then
- mv linux-${OKV} linux-${KV} || die "moving kernel"
- fi
- cd ${S}
-
- #sometimes we have icky kernel symbols; this seems to get rid of them
- make mrproper || die "making proper"
-
- #this file is required for other things to build properly, so we autogenerate it
- make include/linux/version.h || die "making headers"
-
- #fix silly permissions in tarball
- cd ${WORKDIR}
- chown -R 0:0 *
- chmod -R a+r-w+X,u+w *
-
- # Gentoo Linux uses /boot, so fix 'make install' to work properly
- cd ${S}
- mv Makefile Makefile.orig
- sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \
- Makefile.orig >Makefile || die "sed makefile" # test, remove me if Makefile ok
- rm Makefile.orig
-}
-
-src_compile() {
- if [ "$PN" = "linux-headers" ]
- then
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
- fi
-}
-
-src_install() {
- if [ "$PN" = "linux-sources" ]
- then
- dodir /usr/src
- echo ">>> Copying sources..."
- mv ${WORKDIR}/* ${D}/usr/src
- else
- #linux-headers
- dodir /usr/include/linux
- cp -ax ${S}/include/linux/* ${D}/usr/include/linux
- rm -rf ${D}/usr/include/linux/modules
- dodir /usr/include/asm
- if [ `expr $KERNEL_ARCH ":" "sparc"` -eq 5 ]
- then
- dodir /usr/include/asm-{sparc,sparc64}
- if [ "$KERNEL_ARCH" = "sparc64" ]
- then
- cp -ax ${S}/include/asm-sparc64/* ${D}/usr/include/asm-sparc64
- if [ ! -r ${D}/usr/include/asm-sparc64/asm_offsets.h ]
- then
- cp ${SPARCFILEDIR}/${OKV}/sparc64-asm_offsets.h \
- ${D}/usr/include/asm-sparc64/asm_offsets.h
- fi
- fi
-
- cp -ax ${S}/include/asm-sparc/* ${D}/usr/include/asm-sparc
- if [ ! -r ${D}/usr/include/asm-sparc/asm_offsets.h ]
- then
- cp ${SPARCFILEDIR}/${OKV}/sparc-asm_offsets.h \
- ${D}/usr/include/asm-sparc/asm_offsets.h
- fi
- ${SPARCFILEDIR}/generate-asm-sparc ${D}/usr/include
-
- else
- cp -ax ${S}/include/asm-${KERNEL_ARCH}/* ${D}/usr/include/asm
- fi
- fi
-}
-
-pkg_preinst() {
- if [ "$PN" = "linux-headers" ]
- then
- [ -L ${ROOT}usr/include/linux ] && rm ${ROOT}usr/include/linux
- [ -L ${ROOT}usr/include/asm ] && rm ${ROOT}usr/include/asm
- [ -L ${ROOT}usr/include/asm-sparc ] && rm ${ROOT}usr/include/asm-sparc
- [ -L ${ROOT}usr/include/asm- ] && rm ${ROOT}usr/include/asm-
- [ -L ${ROOT}usr/include/asm-${KERNEL_ARCH} ] && rm ${ROOT}usr/include/asm-${KERNEL_ARCH}
- true
- fi
-}
-
-pkg_postinst() {
- [ "$PN" = "linux-headers" ] && return
- cd ${ROOT}usr/src/linux-${KV}
- make mrproper
- if [ -e "${ROOT}usr/src/linux/.config" ]
- then
- cp "${ROOT}usr/src/linux/.config" .config
- #we only make dep when upgrading to a new kernel (with existing config)
- #The default setting will be selected.
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
- make dep
- else
- cp "${ROOT}usr/src/linux-${KV}/arch/${KERNEL_ARCH}/defconfig" .config \
- || cp "${ROOT}usr/src/linux-${KV}/arch/i386/defconfig" .config
- fi
- #remove /usr/src/linux symlink
- rm -f ${ROOT}/usr/src/linux
- #set up a new one
- ln -sf linux-${KV} ${ROOT}/usr/src/linux
-}
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.19.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.19.ebuild
deleted file mode 100644
index 82b43693094b..000000000000
--- a/sys-kernel/linux-headers/linux-headers-2.4.19.ebuild
+++ /dev/null
@@ -1,147 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.19.ebuild,v 1.23 2004/03/14 06:42:18 seemant Exp $
-#OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-#we use this next variable to avoid duplicating stuff on cvs
-GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files
-SPARCFILEDIR=${PORTDIR}/sys-kernel/sparc-sources/files
-OKV=2.4.19
-KV=2.4.19
-S=${WORKDIR}/linux-${KV}
-
-#These are *stock* 2.4.19 headers, for niceness.
-
-DESCRIPTION="Headers for the linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2"
-PROVIDE="virtual/kernel virtual/os-headers"
-HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc sparc alpha"
-
-KERNEL_ARCH=`echo $ARCH |\
- sed -e s/[i]*.86/i386/ -e s/sun4u// -e s/arm.*/arm/ -e s/sa110/arm/`
-if [ -z "$KERNEL_ARCH" ]
-then
- KERNEL_ARCH=`uname -m |\
- sed -e s/[i]*.86/i386/ -e s/sun4u// -e s/arm.*/arm/ -e s/sa110/arm/`
-fi
-
-if [ $PN = "linux-sources" ] && [ -z "`use build`" ]
-then
- #sys-apps/kbd is needed to solve the loadkeys fiasco; binutils version needed to avoid Athlon/PIII/SSE assembler bugs.
- DEPEND=">=sys-devel/binutils-2.11.90.0.31"
- RDEPEND =">=sys-libs/ncurses-5.2 dev-lang/perl virtual/modutils sys-devel/make ? sys-devel/egcs64-sparc"
-fi
-
-[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include"
-
-src_unpack() {
- cd ${WORKDIR}
- unpack linux-${OKV}.tar.bz2
- #the main source dir for linux-2.4.19 (and higher?) has the version attached
- if [ $OKV != $KV ]; then
- mv linux-${OKV} linux-${KV} || die "moving kernel"
- fi
- cd ${S}
-
- #sometimes we have icky kernel symbols; this seems to get rid of them
- make mrproper || die "making proper"
-
- #this file is required for other things to build properly, so we autogenerate it
- make include/linux/version.h || die "making headers"
-
- #fix silly permissions in tarball
- cd ${WORKDIR}
- chown -R 0:0 *
- chmod -R a+r-w+X,u+w *
-
- # Gentoo Linux uses /boot, so fix 'make install' to work properly
- cd ${S}
- mv Makefile Makefile.orig
- sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \
- Makefile.orig >Makefile || die "sed makefile" # test, remove me if Makefile ok
- rm Makefile.orig
-}
-
-src_compile() {
- if [ "$PN" = "linux-headers" ]
- then
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
- fi
-}
-
-src_install() {
- if [ "$PN" = "linux-sources" ]
- then
- dodir /usr/src
- echo ">>> Copying sources..."
- mv ${WORKDIR}/* ${D}/usr/src
- else
- #linux-headers
- dodir /usr/include/linux
- cp -ax ${S}/include/linux/* ${D}/usr/include/linux
- rm -rf ${D}/usr/include/linux/modules
- dodir /usr/include/asm
- if [ `expr $KERNEL_ARCH ":" "sparc"` -eq 5 ]
- then
- dodir /usr/include/asm-{sparc,}
- if [ "$KERNEL_ARCH" = "" ]
- then
- cp -ax ${S}/include/asm-/* ${D}/usr/include/asm-
- if [ ! -r ${D}/usr/include/asm-/asm_offsets.h ]
- then
- cp ${SPARCFILEDIR}/${OKV}/-asm_offsets.h \
- ${D}/usr/include/asm-/asm_offsets.h
- fi
- fi
-
- cp -ax ${S}/include/asm-sparc/* ${D}/usr/include/asm-sparc
- if [ ! -r ${D}/usr/include/asm-sparc/asm_offsets.h ]
- then
- cp ${SPARCFILEDIR}/${OKV}/sparc-asm_offsets.h \
- ${D}/usr/include/asm-sparc/asm_offsets.h
- fi
- ${SPARCFILEDIR}/generate-asm-sparc ${D}/usr/include
-
- else
- cp -ax ${S}/include/asm-${KERNEL_ARCH}/* ${D}/usr/include/asm
- fi
- fi
-}
-
-pkg_preinst() {
- if [ "$PN" = "linux-headers" ]
- then
- [ -L ${ROOT}usr/include/linux ] && rm ${ROOT}usr/include/linux
- [ -L ${ROOT}usr/include/asm ] && rm ${ROOT}usr/include/asm
- [ -L ${ROOT}usr/include/asm-sparc ] && rm ${ROOT}usr/include/asm-sparc
- [ -L ${ROOT}usr/include/asm- ] && rm ${ROOT}usr/include/asm-
- [ -L ${ROOT}usr/include/asm-${KERNEL_ARCH} ] && rm ${ROOT}usr/include/asm-${KERNEL_ARCH}
- true
- fi
-}
-
-pkg_postinst() {
- [ "$PN" = "linux-headers" ] && return
- cd ${ROOT}usr/src/linux-${KV}
- make mrproper
- if [ -e "${ROOT}usr/src/linux/.config" ]
- then
- cp "${ROOT}usr/src/linux/.config" .config
- #we only make dep when upgrading to a new kernel (with existing config)
- #The default setting will be selected.
- yes "" | make oldconfig
- echo "Ignore any errors from the yes command above."
- make dep
- else
- cp "${ROOT}usr/src/linux-${KV}/arch/${KERNEL_ARCH}/defconfig" .config \
- || cp "${ROOT}usr/src/linux-${KV}/arch/i386/defconfig" .config
- fi
- #remove /usr/src/linux symlink
- rm -f ${ROOT}/usr/src/linux
- #set up a new one
- ln -sf linux-${KV} ${ROOT}/usr/src/linux
-}