malline 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. data/COPYING +674 -0
  2. data/COPYING.LESSER +165 -0
  3. data/README +24 -0
  4. data/bin/malline +20 -0
  5. data/lib/malline.rb +108 -0
  6. data/lib/malline/erb_out.rb +29 -0
  7. data/lib/malline/form_builder.rb +33 -0
  8. data/lib/malline/rails.rb +45 -0
  9. data/lib/malline/template.rb +124 -0
  10. data/lib/malline/view_proxy.rb +54 -0
  11. data/lib/malline/view_wrapper.rb +91 -0
  12. data/lib/malline/view_xhtml.rb +71 -0
  13. data/scripts/html2mn.rb +93 -0
  14. data/test/examples/_action.mn +4 -0
  15. data/test/examples/_action.target +1 -0
  16. data/test/examples/_one.mn +1 -0
  17. data/test/examples/_one.target +1 -0
  18. data/test/examples/_partial.mn +2 -0
  19. data/test/examples/_partial.target +1 -0
  20. data/test/examples/_three.rhtml +2 -0
  21. data/test/examples/_two.mn +1 -0
  22. data/test/examples/_two.target +1 -0
  23. data/test/examples/capture.mn +13 -0
  24. data/test/examples/capture.target +1 -0
  25. data/test/examples/class.mn +6 -0
  26. data/test/examples/class.target +1 -0
  27. data/test/examples/escape.mn +4 -0
  28. data/test/examples/escape.target +1 -0
  29. data/test/examples/fragment_cache.mn +10 -0
  30. data/test/examples/fragment_cache.target +1 -0
  31. data/test/examples/frontpage.mn +6 -0
  32. data/test/examples/frontpage.target +1 -0
  33. data/test/examples/hello_world.mn +2 -0
  34. data/test/examples/hello_world.target +1 -0
  35. data/test/examples/helper.mn +5 -0
  36. data/test/examples/helper.target +1 -0
  37. data/test/examples/helper2.mn +5 -0
  38. data/test/examples/helper2.target +1 -0
  39. data/test/examples/helper_shortcut.mn +5 -0
  40. data/test/examples/helper_shortcut.target +1 -0
  41. data/test/examples/id.mn +3 -0
  42. data/test/examples/id.target +1 -0
  43. data/test/examples/layout.mn +8 -0
  44. data/test/examples/layout.target +4 -0
  45. data/test/examples/lists.mn +13 -0
  46. data/test/examples/lists.target +1 -0
  47. data/test/examples/nested.mn +6 -0
  48. data/test/examples/nested.target +1 -0
  49. data/test/examples/options.mn +10 -0
  50. data/test/examples/options.target +1 -0
  51. data/test/examples/partials.mn +5 -0
  52. data/test/examples/partials.target +1 -0
  53. data/test/examples/self.mn +2 -0
  54. data/test/examples/self.target +1 -0
  55. data/test/examples/text.mn +4 -0
  56. data/test/examples/text.target +1 -0
  57. data/test/examples/whitespace.mn +9 -0
  58. data/test/examples/whitespace.target +1 -0
  59. data/test/examples/xhtml.mn +11 -0
  60. data/test/examples/xhtml.target +4 -0
  61. data/test/kernel.org.html +107 -0
  62. data/test/kernel.org.mn +657 -0
  63. data/test/malline_test.rb +192 -0
  64. data/test/malline_test_helpers.rb +57 -0
  65. metadata +110 -0
@@ -0,0 +1 @@
1
+ <div id="page"></div><div class="foo bar" id="page"></div>
@@ -0,0 +1,8 @@
1
+ xhtml do
2
+ head do
3
+ title @title
4
+ end
5
+ body do
6
+ self << @content_for_layout
7
+ end
8
+ end
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+ <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><title></title><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/></head><body></body></html>
@@ -0,0 +1,13 @@
1
+ @elements = %w{ these are some sample list elements }
2
+ filter = /s../
3
+
4
+ div.lists! do
5
+ h2 "Cool, you have #{@elements.size} elements!"
6
+ ul do
7
+ @elements.each do |name|
8
+ li name do
9
+ _' [matches filter]' if name =~ filter
10
+ end
11
+ end
12
+ end
13
+ end unless @elements.empty?
@@ -0,0 +1 @@
1
+ <div id="lists"><h2>Cool, you have 6 elements!</h2><ul><li>these</li><li>are</li><li>some [matches filter]</li><li>sample [matches filter]</li><li>list</li><li>elements</li></ul></div>
@@ -0,0 +1,6 @@
1
+ div do
2
+ span 'text'
3
+ div 'foo' do
4
+ span 'bar', :style => 'color: red'
5
+ end
6
+ end
@@ -0,0 +1 @@
1
+ <div><span>text</span><div>foo<span style="color: red">bar</span></div></div>
@@ -0,0 +1,10 @@
1
+ # Options can be changed directly in view
2
+ malline :strict => false
3
+ foo { bar }
4
+
5
+ malline :strict => true
6
+ begin
7
+ foo { bar }
8
+ rescue NameError => n
9
+ div "strict mode is on (#{truncate n.to_s})"
10
+ end
@@ -0,0 +1 @@
1
+ <foo><bar/></foo><div>strict mode is on (undefined )</div>
@@ -0,0 +1,5 @@
1
+ div do
2
+ _render :partial => 'examples/one'
3
+ br
4
+ _render :partial => 'examples/three'
5
+ end
@@ -0,0 +1 @@
1
+ <div><span class="one">This is the first</span><br/></div>
@@ -0,0 +1,2 @@
1
+ self << '<tag/>'
2
+ p { self << '<tag/>' }
@@ -0,0 +1 @@
1
+ <tag/><p><tag/></p>
@@ -0,0 +1,4 @@
1
+ p do
2
+ hr
3
+ _'This is some text.'
4
+ end
@@ -0,0 +1 @@
1
+ <p><hr/>This is some text.</p>
@@ -0,0 +1,9 @@
1
+ # Without automatic whitespace
2
+ div do
3
+ _'This is'; strong 'so'; _'cool.'
4
+ end
5
+
6
+ # With automatic whitespace
7
+ div :whitespace do
8
+ _'This is'; strong 'so'; _'cool.'
9
+ end
@@ -0,0 +1 @@
1
+ <div>This is<strong>so</strong>cool.</div><div> This is <strong>so</strong> cool.</div>
@@ -0,0 +1,11 @@
1
+ # When using xhtml and Malline strict mode, no other tags can be used but XHTML tags.
2
+ # See Rails integration for more info about configuration options
3
+ xhtml do
4
+ head
5
+ body do
6
+ # Malline recognizes all self closing tags
7
+ hr
8
+ div
9
+ br
10
+ end
11
+ end
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+ <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><title></title><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/></head><body><hr/><div></div><br/></body></html>
@@ -0,0 +1,107 @@
1
+ <html xmlns="http://www.w3.org/1999/xhtml"><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/><title>The Linux Kernel Archives</title><link href="favicon.ico" rel="icon" type="image/png"/><link href="http://kernel.org/kdist/rss.xml" title="Latest Linux Kernel Version RSS" rel="alternate" type="application/rss+xml"/><link href="/kernel.css" rel="stylesheet" type="text/css"/></head><body><h1><a href="970313.08.txt"><img src="images/korg10yr.gif" alt="Ten Years of Kernel.org"/></a>The Linux Kernel Archives</h1><p class="headtext">Welcome to the Linux Kernel Archives. This is the primary site
2
+ for the Linux kernel source, but it has much more than just
3
+ Linux kernels.</p><div id="directory"><table style="margin-top:10px"><tr><th>Protocol</th><th>Location</th></tr><tr><td><a href="http://www.ietf.org/rfc/rfc2616.txt">HTTP</a></td><td><a href="http://www.kernel.org/pub/">http://www.kernel.org/pub/</a></td></tr><tr><td><a href="http://www.ietf.org/rfc/rfc959.txt">FTP</a></td><td><a href="ftp://ftp.kernel.org/pub/">ftp://ftp.kernel.org/pub/</a></td></tr><tr><td><a href="http://rsync.samba.org/">RSYNC</a></td><td>rsync://rsync.kernel.org/pub/</td></tr></table></div><div id="versions"><table class="kver"><tr align="left"><td>The latest stable version of the Linux kernel is:&amp;nbsp;</td><td><b><a href="/pub/linux/kernel/v2.6/patch-2.6.20.7.bz2">2.6.20.7</a></b></td><td>2007-04-13 20:54 UTC</td><td><a href="/pub/linux/kernel/v2.6/linux-2.6.20.7.tar.bz2">F</a></td><td><a href="http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.6%2Fpatch-2.6.20.7.bz2">V</a></td><td><a href="http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.6%2Fincr%2Fpatch-2.6.20.6-7.bz2">VI</a></td><td><a href="http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fstable%2Flinux-2.6.20.y.git;a=summary">C</a></td><td><a href="/pub/linux/kernel/v2.6/ChangeLog-2.6.20.7">Changelog</a></td></tr><tr align="left"><td>The latest<a href="http://kernel.org/patchtypes/pre.html">prepatch</a>for the stable Linux kernel tree is:&amp;nbsp;</td><td><b><a href="/pub/linux/kernel/v2.6/testing/patch-2.6.21-rc7.bz2">2.6.21-rc7</a></b></td><td>2007-04-16 00:11 UTC</td><td><a href="/pub/linux/kernel/v2.6/linux-2.6.20.tar.bz2">B</a></td><td><a href="http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.6%2Ftesting%2Fpatch-2.6.21-rc7.bz2">V</a></td><td><a href="http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.6%2Ftesting%2Fincr%2Fpatch-2.6.21-rc6-rc7.bz2">VI</a></td><td><a href="http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=summary">C</a></td><td><a href="/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.21-rc7">Changelog</a></td></tr><tr align="left"><td>The latest<a href="http://kernel.org/patchtypes/snapshot.html">snapshot</a>for the stable Linux kernel tree is:&amp;nbsp;</td><td><b><a href="/pub/linux/kernel/v2.6/snapshots/patch-2.6.21-rc7-git2.bz2">2.6.21-rc7-git2</a></b></td><td>2007-04-18 07:01 UTC</td><td><a href="/pub/linux/kernel/v2.6/testing/linux-2.6.21-rc7.tar.bz2">B</a></td><td><a href="http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.6%2Fsnapshots%2Fpatch-2.6.21-rc7-git2.bz2">V</a></td><td>&amp;nbsp;</td><td><a href="http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=summary">C</a></td><td>&amp;nbsp;</td></tr><tr align="left"><td>The latest 2.4 version of the Linux kernel is:&amp;nbsp;</td><td><b><a href="/pub/linux/kernel/v2.4/patch-2.4.34.2.bz2">2.4.34.2</a></b></td><td>2007-03-24 08:26 UTC</td><td><a href="/pub/linux/kernel/v2.4/linux-2.4.34.2.tar.bz2">F</a></td><td><a href="http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.4%2Fpatch-2.4.34.2.bz2">V</a></td><td>&amp;nbsp;</td><td><a href="http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fwtarreau%2Flinux-2.4.git;a=summary">C</a></td><td><a href="/pub/linux/kernel/v2.4/ChangeLog-2.4.34.2">Changelog</a></td></tr><tr align="left"><td>The latest<a href="http://kernel.org/patchtypes/pre.html">prepatch</a>for the 2.4 Linux kernel tree is:&amp;nbsp;</td><td><b><a href="/pub/linux/kernel/v2.4/testing/patch-2.4.35-pre2.bz2">2.4.35-pre2</a></b></td><td>2007-03-24 07:42 UTC</td><td><a href="/pub/linux/kernel/v2.4/linux-2.4.34.tar.bz2">B</a></td><td><a href="http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.4%2Ftesting%2Fpatch-2.4.35-pre2.bz2">V</a></td><td><a href="http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.4%2Ftesting%2Fincr%2Fpatch-2.4.35-pre1-pre2.bz2">VI</a></td><td><a href="http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fwtarreau%2Flinux-2.4.git;a=summary">C</a></td><td><a href="/pub/linux/kernel/v2.4/testing/patch-2.4.35.log">Changelog</a></td></tr><tr align="left"><td>The latest 2.2 version of the Linux kernel is:&amp;nbsp;</td><td><b><a href="/pub/linux/kernel/v2.2/patch-2.2.26.bz2">2.2.26</a></b></td><td>2004-02-25 00:28 UTC</td><td><a href="/pub/linux/kernel/v2.2/linux-2.2.26.tar.bz2">F</a></td><td><a href="http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.2%2Fpatch-2.2.26.bz2">V</a></td><td>&amp;nbsp;</td><td>&amp;nbsp;</td><td><a href="/pub/linux/kernel/v2.2/ChangeLog-2.2.26">Changelog</a></td></tr><tr align="left"><td>The latest<a href="http://kernel.org/patchtypes/pre.html">prepatch</a>for the 2.2 Linux kernel tree is:&amp;nbsp;</td><td><b><a href="/pub/linux/kernel/v2.2/testing/patch-2.2.27-rc2.bz2">2.2.27-rc2</a></b></td><td>2005-01-12 23:55 UTC</td><td><a href="/pub/linux/kernel/v2.2/linux-2.2.26.tar.bz2">B</a></td><td><a href="http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.2%2Ftesting%2Fpatch-2.2.27-rc2.bz2">V</a></td><td><a href="http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.2%2Ftesting%2Fincr%2Fpatch-2.2.27-rc1-rc2.bz2">VI</a></td><td>&amp;nbsp;</td><td><a href="/pub/linux/kernel/v2.2/testing/patch-2.2.27.log">Changelog</a></td></tr><tr align="left"><td>The latest<a href="http://kernel.org/patchtypes/mm.html">-mm patch</a>to the stable Linux kernels is:&amp;nbsp;</td><td><b><a href="/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc6/2.6.21-rc6-mm1/2.6.21-rc6-mm1.bz2">2.6.21-rc6-mm1</a></b></td><td>2007-04-08 21:09 UTC</td><td><a href="/pub/linux/kernel/v2.6/testing/linux-2.6.21-rc6.tar.bz2">B</a></td><td><a href="http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fpeople%2Fakpm%2Fpatches%2F2.6%2F2.6.21-rc6%2F2.6.21-rc6-mm1%2F2.6.21-rc6-mm1.bz2">V</a></td><td>&amp;nbsp;</td><td>&amp;nbsp;</td><td><a href="/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc6/2.6.21-rc6-mm1/announce.txt">Changelog</a></td></tr></table><p class="pvkey"><b>F</b>= full source,<b>B</b>= patch baseline,<b>V</b>= view patch,<b>VI</b>= view incremental,<b>C</b>= current<a href="changeset.html">changesets</a><br/>Changelogs are provided by the kernel authors directly. Please
4
+ don't write the webmaster about them.<br/><a href="diff/config.html">Customize the patch viewer</a></p></div><p class="bandwidth"><a href="http://zeus1.kernel.org/bw-zeus1.pdf"><img src="http://zeus1.kernel.org/bw-zeus1.png" height="128" alt="zeus1 bwbar" style="border:1px solid #bbd" width="240"/></a><a href="http://zeus2.kernel.org/bw-zeus2.pdf"><img src="http://zeus2.kernel.org/bw-zeus2.png" height="128" alt="zeus2 bwbar" style="border:1px solid #bbd" width="240"/></a><a href="http://git.kernel.org/bw-poseidon.pdf"><img src="http://git.kernel.org/bw-poseidon.png" alt="git bwbar" style="border:1px solid #bbd"/></a></p><h2 id="news">Site News</h2><ul><li class="newsitem">Apr 14, 2007:<strong>Downtime</strong>Kernel.org has some
5
+ forced downtime on April 14 due to the circuit breakers
6
+ powering zeus1 to be replaced. This will be an extended
7
+ downtime lasting several hours. Estimated shutdown will be at
8
+ 13:00 UTC and the machine will likely come back up around
9
+ 17:00-18:00 UTC.<br/>Be warned this downtime is likely to cause quite a bit of load
10
+ on our remaining frontend machine so services will definately
11
+ be degraded. We apologize to all of you rushing out here to
12
+ download the recently released (within the last 48 hours): Centos
13
+ 5, openSUSE 10.3 alpha 3, Linux Kernel 2.6.20.7 or the updates
14
+ to Debian.<br/>We cannot guarantee that mirrors.kernel.org will be available
15
+ during the extent of the outage. If load is excessive, we may
16
+ be forced to close this service for the duration of the outage
17
+ in order to protect higher priority services.</li><li class="newsitem">Mar 13, 2007:<strong>10 years of kernel.org!</strong>The
18
+ Linux Kernel archives were<a href="970313.08.txt">announced to the world on March 13,
19
+ 1997</a>. Thanks to everyone that has made kernel.org
20
+ possible over the years, our sponsors, staff volunteers and of
21
+ course the Linux community for making it a worthwhile effort
22
+ in the first place!</li><li class="newsitem">Mar 10, 2007: zeus1 is back online and serving all classes of traffic. This concludes the maintenance window that started earlier this week. The hope is that these changes will lower the loads experienced by the machines.<p>Thanks for bearing with us the last couple of days - we know things were slow but we beat our expected restore date by 3 days (syncing 2.4TB of data across the internet is something we had previously experienced taking a week). Happy downloading.</p></li><li class="newsitem">Mar 1, 2007: We now have a<a href="http://git.kernel.org/">dedicated git server</a>. This is
23
+ the same HP DL380G2 which used to be our sole main server
24
+ between 2001 and 2005.<p>This machine serves git protocol and gitweb only. Please continue to use<i>www.kernel.org</i>or<i>rsync.kernel.org</i>for http and
25
+ rsync protocol users, respectively.</p><p>This machine was<a href="http://userweb.kernel.org/~warthog9/damaged_server/">almost
26
+ destroyed in shipping</a>, but amazingly worked without issue on the first
27
+ boot, and was serving the production git needs in less than 12 hours.</p>Kudos to both OSUOSL for getting the machine up as quickly as they did
28
+ and to Hewlett Packard for building a machine that can take the beating
29
+ of an unnamed shipping company and keep on ticking.</li><li class="newsitem">It has now been five years since the kernel.org servers moved to<a href="http://www.isc.org/">ISC</a>. Massive thanks to ISC
30
+ and all of its sponsors for all the bandwidth we have eaten up
31
+ over the years! We'll continue to keep your wires warm for as
32
+ long as you'll let us!</li><li class="newsitem">Feb 4, 2006:<a href="http://www.hp.com/">Hewlett-Packard</a>has been kind
33
+ enough to replace our internal master server with a brand new<a href="http://h18004.www1.hp.com/products/servers/proliantdl385/index.html">ProLiant&amp;nbsp;DL385</a>with a dual-core Opteron&amp;nbsp;275 and 4&amp;nbsp;GB of RAM. Once
34
+ again, huge thanks to HP!</li><li class="newsitem">Sep 30, 2005:
35
+ By popular demand, there is now a<a href="/faq/">kernel.org FAQ</a>.</li><li class="newsitem">Apr 9, 2005:
36
+ We have put two new external servers, graciously donated by<a href="http://www.hp.com/">Hewlett-Packard</a>into full production use.<p>These servers are both<a href="http://h18004.www1.hp.com/products/servers/proliantdl585/index.html">ProLiant&amp;nbsp;DL585</a>quad Opteron servers, each with 24&amp;nbsp;GB of RAM and 10&amp;nbsp;TB of disk. Huge thanks to HP!</p><p>Each is connected to a separate<a href="http://www.isc.org/">ISC</a>gigabit link. Enjoy!</p></li><li class="newsitem">Aug 21, 2003:
37
+ Please don't use<strong>finger.kernel.org</strong>for any
38
+ sort of automatic monitoring. The number of automatic bots
39
+ hitting this port is causing the finger daemon to shut down
40
+ more often than not. The same information is available from<a href="http://www.kernel.org/kdist/finger_banner">http://www.kernel.org/kdist/finger_banner</a>.</li></ul><h2 id="mirrors">The Linux Kernel Archives Mirror System</h2><p>To improve access for everyone, a number of
41
+ sites around the world have provided mirrors of this site, which
42
+ may be faster to use than the master archive itself. Please see<a href="/mirrors/"><strong>http://www.kernel.org/mirrors/</strong></a>for
43
+ information about how to connect to a participating mirror site.</p><p>To guard against Trojan mirror sites, all files originating at
44
+ the Linux Kernel Archives are<a href="signature.html">cryptographically signed</a>.<em>If you are
45
+ getting a message that the verification key has expired, please
46
+ see<a href="signature.html#expire">this link.</a></em></p><h2 id="whatislinux">What is Linux?</h2><p>Linux is a clone of the operating system Unix,
47
+ written from scratch by Linus Torvalds with assistance from a
48
+ loosely-knit team of hackers across the Net. It aims towards
49
+ POSIX and<a href="http://www.unix-systems.org/">Single UNIX
50
+ Specification</a>compliance.</p><p>It has all the features you would expect in a modern
51
+ fully-fledged Unix, including true multitasking, virtual memory,
52
+ shared libraries, demand loading, shared copy-on-write executables,
53
+ proper memory management, and multistack networking including IPv4
54
+ and IPv6.</p><p>Although originally developed first for 32-bit x86-based PCs (386 or
55
+ higher), today Linux also runs on (at least) the<a href="http://www.alphalinux.org/">Compaq Alpha AXP</a>,
56
+ Sun<a href="http://www.ultralinux.org/">SPARC</a>and<a href="http://www.ultralinux.org/">UltraSPARC</a>,<a href="http://www.linux-m68k.org/">Motorola 68000</a>,<a href="http://penguinppc.org/">PowerPC</a>,<a href="http://www.arm.linux.org.uk/">ARM</a>,<a href="http://linux-sh.org/">Hitachi SuperH</a>,<a href="http://www.ibm.com/developerworks/linux/linux390/">IBM S/390</a>,<a href="http://www.linux-mips.org/">MIPS</a>,<a href="http://www.parisc-linux.org/">HP PA-RISC</a>,<a href="http://www.ia64-linux.org/">Intel IA-64</a>,<a href="http://linux-vax.sourceforge.net/">DEC VAX</a>,<a href="http://www.x86-64.org/">AMD x86-64</a>,<a href="http://developer.axis.com/software/linux/">AXIS CRIS</a>,<a href="http://www.linux-m32r.org/">Renesas M32R</a>, and<a href="http://www.avr32linux.org/">Atmel AVR32</a>architectures; for many of these architectures in both 32- and
57
+ 64-bit variants.</p><p>Linux is easily portable to most general-purpose 32- or 64-bit
58
+ architectures as long as they have a paged memory management unit
59
+ (PMMU) and a port of the GNU C compiler (gcc) (part of<a href="http://gcc.gnu.org/">The GNU Compiler Collection, GCC</a>). Linux
60
+ has also been ported to a number of architectures without a PMMU,
61
+ although functionality is then obviously somewhat limited. See the<a href="http://www.uclinux.org/">µClinux project</a>for more
62
+ info.</p><h2 id="newtolinux">New to Linux?</h2><p>If you're new to Linux, you don't want to download the kernel,
63
+ which is just a component in a working Linux system. Instead, you
64
+ want what is called a<em>distribution</em>of Linux, which is a
65
+ complete Linux system. There are numerous distributions available
66
+ for download on the Internet as well as for purchase from various
67
+ vendors; some are general-purpose, and some are optimized for
68
+ specific uses. We currently have mirrors of several distributions
69
+ available at<a href="http://mirrors.kernel.org/">mirrors.kernel.org</a>,
70
+ as well as a small collection of special-purpose distributions at<a href="/pub/dist/">http://www.kernel.org/pub/dist/</a>.</p><p>Note, however, that most distributions are very large (several
71
+ gigabytes), so unless you have a<a href="fast.html">fast Internet
72
+ link</a>you may want to save yourself some hassle and purchase a
73
+ CD-ROM with a distribution; such CD-ROMs are available from a number
74
+ of vendors.</p><p><a href="http://mirrors.kernel.org/LDP/HOWTO/Installation-HOWTO/">The
75
+ Linux Installation HOWTO</a>has more information how to set up
76
+ your first Linux system.</p><h2 id="moreinfo">More Information</h2><p>There is much<a href="links.html">information about Linux on the web</a>.</p><h2 id="reportingbugs">Reporting Linux Kernel bugs</h2><p>Please see<a href="/pub/linux/docs/lkml/reporting-bugs.html"><strong>http://www.kernel.org/pub/linux/docs/lkml/reporting-bugs.html</strong></a>if you want to report a Linux kernel bug.<em>Bug reports sent to
77
+ the kernel.org administrators will be ignored.</em></p><p>There is now a bugzilla setup at<a href="http://bugzilla.kernel.org">bugzilla.kernel.org</a>.
78
+ Currently this is for reporting kernel version 2.6 bugs only.</p><h2 id="mailinglist">Mailing list</h2><p>The Linux kernel is discussed on the<em>linux-kernel</em>mailing list at<a href="http://vger.kernel.org/"><em>vger.kernel.org</em></a>. The FAQ
79
+ is available at<a href="/pub/linux/docs/lkml/"><strong>http://www.kernel.org/pub/linux/docs/lkml/</strong></a>,
80
+ please read the FAQ before subscribing.</p><p>Although there is no official archive site, unofficial
81
+ archives of the list can be found at:</p><ul><li><a href="http://marc.theaimsgroup.com/?l=linux-kernel"><strong>http://marc.theaimsgroup.com/?l=linux-kernel</strong></a></li><li><a href="http://www.ussg.iu.edu/hypermail/linux/kernel/"><strong>http://www.ussg.iu.edu/hypermail/linux/kernel/</strong></a></li></ul><p>and a summary service can be found at:</p><ul><li><a href="http://www.kernel-traffic.org/"><strong>http://www.kernel-traffic.org/</strong></a></li></ul><h2 id="git">Development trees</h2><p>The Linux kernel, as well as several other pieces of software,
82
+ are maintained using the<a href="/pub/software/scm/git">git</a>source code control system. For a more user-friendly wrapper around
83
+ git, see<a href="/pub/software/scm/cogito">Cogito</a>.</p><p>See<a href="/git">http://www.kernel.org/git</a>for a list of
84
+ git repositories on<em>kernel.org</em>.</p><h2 id="crypto">Cryptographic Software</h2><p>Due to U.S. Exports Regulations, all
85
+ cryptographic software on this site is subject to the following
86
+ legal notice:</p><blockquote>This site includes publicly available
87
+ encryption source code which, together with object code
88
+ resulting from the compiling of publicly available source code,
89
+ may be exported from the United States under License Exception
90
+ &quot;TSU&quot; pursuant to 15 C.F.R. Section 740.13(e).</blockquote><p>This legal notice applies to<em>cryptographic software
91
+ only.</em>Please see the<a href="http://www.bis.doc.gov/">Bureau of Industry and Security</a>for
92
+ more information about current U.S. regulations.</p><p>Our servers are located in Corvallis, Oregon, Palo Alto and San
93
+ Francisco, California, USA; use in violation of any applicable laws
94
+ is prohibited.</p><h2 id="contact">Comments</h2><p>Before emailing kernel.org, please take a look at our<a href="/faq/">kernel.org FAQ</a>.</p><p>For comments about<i>the web pages</i>, please send mail
95
+ to<a href="mailto:webmaster@kernel.org"><i>webmaster@kernel.org</i></a>.</p><p>For comments about<i>the file archive</i>, please send mail
96
+ to<a href="mailto:ftpadmin@kernel.org"><i>ftpadmin@kernel.org</i></a>.</p><p><b><i>Please do not send general Linux questions or bug
97
+ reports to these addresses. We do not have the resources to reply
98
+ to them. If your message does not relate to the operation of the
99
+ Linux Kernel Archives, it will be deleted without action. Because
100
+ of the volume of unsolicited email we receive, please add [KORG]
101
+ to the subject to avoid accidental deletion. Additionally, any
102
+ Content-Type other than text/plain will most likely be deleted
103
+ without action.</i></b></p><hr/><p style="text-align:center;"><small>This site is operated by the Linux Kernel Organization,
104
+ Inc., a<a href="nonprofit.html">nonprofit corporation</a>, with
105
+ support from the following sponsors.</small></p><hr/><p id="sponsors"><a href="http://www.isc.org/"><img src="logos/hostedatisc.png" height="41" alt="Internet Systems Consortium" width="84"/></a>&amp;nbsp;<a href="http://www.hp.com/"><img src="logos/hplogo.gif" height="55" alt="HP" width="66"/></a>&amp;nbsp;<a href="http://www.linux-foundation.org/"><img src="logos/lf-med.gif" height="55" alt="The Linux Foundation" width="106"/></a>&amp;nbsp;<a href="powered.html"><img src="logos/logo70-tran.png" height="71" alt="Powered by Linux" width="66"/></a>&amp;nbsp;<a href="http://validator.w3.org/check/referer"><img src="logos/valid-xhtml10" height="31" alt="Valid XHTML 1.0!" width="88"/></a><br clear="left"/></p><p id="trademark">Linux is a Registered Trademark of Linus Torvalds.<br/><a href="legal.html">(Legal Notice)</a></p><script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script><script type="text/javascript">_uacct = &quot;UA-1175126-1&quot;;
106
+ _udn = &quot;kernel.org&quot;;
107
+ urchinTracker();</script></body></html>
@@ -0,0 +1,657 @@
1
+ html 'xmlns' => 'http://www.w3.org/1999/xhtml' do
2
+ head do
3
+ meta 'content' => 'text/html; charset=utf-8', 'http-equiv' => 'Content-Type'
4
+ title 'The Linux Kernel Archives'
5
+ link 'href' => 'favicon.ico', 'rel' => 'icon', 'type' => 'image/png'
6
+ link 'href' => 'http://kernel.org/kdist/rss.xml', 'title' => 'Latest Linux Kernel Version RSS', 'rel' => 'alternate', 'type' => 'application/rss+xml'
7
+ link 'href' => '/kernel.css', 'rel' => 'stylesheet', 'type' => 'text/css'
8
+ end
9
+ body do
10
+ h1 do
11
+ a 'href' => '970313.08.txt' do
12
+ img 'src' => 'images/korg10yr.gif', 'alt' => 'Ten Years of Kernel.org'
13
+ end
14
+ txt! 'The Linux Kernel Archives'
15
+ end
16
+ p.headtext 'Welcome to the Linux Kernel Archives. This is the primary site
17
+ for the Linux kernel source, but it has much more than just
18
+ Linux kernels.'
19
+ div.directory! do
20
+ table 'style' => 'margin-top:10px' do
21
+ tr do
22
+ th 'Protocol'
23
+ th 'Location'
24
+ end
25
+ tr do
26
+ td do
27
+ a 'HTTP', 'href' => 'http://www.ietf.org/rfc/rfc2616.txt'
28
+ end
29
+ td do
30
+ a 'http://www.kernel.org/pub/', 'href' => 'http://www.kernel.org/pub/'
31
+ end
32
+ end
33
+ tr do
34
+ td do
35
+ a 'FTP', 'href' => 'http://www.ietf.org/rfc/rfc959.txt'
36
+ end
37
+ td do
38
+ a 'ftp://ftp.kernel.org/pub/', 'href' => 'ftp://ftp.kernel.org/pub/'
39
+ end
40
+ end
41
+ tr do
42
+ td do
43
+ a 'RSYNC', 'href' => 'http://rsync.samba.org/'
44
+ end
45
+ td 'rsync://rsync.kernel.org/pub/'
46
+ end
47
+ end
48
+ end
49
+ div.versions! do
50
+ table.kver do
51
+ tr 'align' => 'left' do
52
+ td 'The latest stable version of the Linux kernel is:&nbsp;'
53
+ td do
54
+ b do
55
+ a '2.6.20.7', 'href' => '/pub/linux/kernel/v2.6/patch-2.6.20.7.bz2'
56
+ end
57
+ end
58
+ td '2007-04-13 20:54 UTC'
59
+ td do
60
+ a 'F', 'href' => '/pub/linux/kernel/v2.6/linux-2.6.20.7.tar.bz2'
61
+ end
62
+ td do
63
+ a 'V', 'href' => 'http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.6%2Fpatch-2.6.20.7.bz2'
64
+ end
65
+ td do
66
+ a 'VI', 'href' => 'http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.6%2Fincr%2Fpatch-2.6.20.6-7.bz2'
67
+ end
68
+ td do
69
+ a 'C', 'href' => 'http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fstable%2Flinux-2.6.20.y.git;a=summary'
70
+ end
71
+ td do
72
+ a 'Changelog', 'href' => '/pub/linux/kernel/v2.6/ChangeLog-2.6.20.7'
73
+ end
74
+ end
75
+ tr 'align' => 'left' do
76
+ td 'The latest' do
77
+ a 'prepatch', 'href' => 'http://kernel.org/patchtypes/pre.html'
78
+ txt! 'for the stable Linux kernel tree is:&nbsp;'
79
+ end
80
+ td do
81
+ b do
82
+ a '2.6.21-rc7', 'href' => '/pub/linux/kernel/v2.6/testing/patch-2.6.21-rc7.bz2'
83
+ end
84
+ end
85
+ td '2007-04-16 00:11 UTC'
86
+ td do
87
+ a 'B', 'href' => '/pub/linux/kernel/v2.6/linux-2.6.20.tar.bz2'
88
+ end
89
+ td do
90
+ a 'V', 'href' => 'http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.6%2Ftesting%2Fpatch-2.6.21-rc7.bz2'
91
+ end
92
+ td do
93
+ a 'VI', 'href' => 'http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.6%2Ftesting%2Fincr%2Fpatch-2.6.21-rc6-rc7.bz2'
94
+ end
95
+ td do
96
+ a 'C', 'href' => 'http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=summary'
97
+ end
98
+ td do
99
+ a 'Changelog', 'href' => '/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.21-rc7'
100
+ end
101
+ end
102
+ tr 'align' => 'left' do
103
+ td 'The latest' do
104
+ a 'snapshot', 'href' => 'http://kernel.org/patchtypes/snapshot.html'
105
+ txt! 'for the stable Linux kernel tree is:&nbsp;'
106
+ end
107
+ td do
108
+ b do
109
+ a '2.6.21-rc7-git2', 'href' => '/pub/linux/kernel/v2.6/snapshots/patch-2.6.21-rc7-git2.bz2'
110
+ end
111
+ end
112
+ td '2007-04-18 07:01 UTC'
113
+ td do
114
+ a 'B', 'href' => '/pub/linux/kernel/v2.6/testing/linux-2.6.21-rc7.tar.bz2'
115
+ end
116
+ td do
117
+ a 'V', 'href' => 'http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.6%2Fsnapshots%2Fpatch-2.6.21-rc7-git2.bz2'
118
+ end
119
+ td '&nbsp;'
120
+ td do
121
+ a 'C', 'href' => 'http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=summary'
122
+ end
123
+ td '&nbsp;'
124
+ end
125
+ tr 'align' => 'left' do
126
+ td 'The latest 2.4 version of the Linux kernel is:&nbsp;'
127
+ td do
128
+ b do
129
+ a '2.4.34.2', 'href' => '/pub/linux/kernel/v2.4/patch-2.4.34.2.bz2'
130
+ end
131
+ end
132
+ td '2007-03-24 08:26 UTC'
133
+ td do
134
+ a 'F', 'href' => '/pub/linux/kernel/v2.4/linux-2.4.34.2.tar.bz2'
135
+ end
136
+ td do
137
+ a 'V', 'href' => 'http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.4%2Fpatch-2.4.34.2.bz2'
138
+ end
139
+ td '&nbsp;'
140
+ td do
141
+ a 'C', 'href' => 'http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fwtarreau%2Flinux-2.4.git;a=summary'
142
+ end
143
+ td do
144
+ a 'Changelog', 'href' => '/pub/linux/kernel/v2.4/ChangeLog-2.4.34.2'
145
+ end
146
+ end
147
+ tr 'align' => 'left' do
148
+ td 'The latest' do
149
+ a 'prepatch', 'href' => 'http://kernel.org/patchtypes/pre.html'
150
+ txt! 'for the 2.4 Linux kernel tree is:&nbsp;'
151
+ end
152
+ td do
153
+ b do
154
+ a '2.4.35-pre2', 'href' => '/pub/linux/kernel/v2.4/testing/patch-2.4.35-pre2.bz2'
155
+ end
156
+ end
157
+ td '2007-03-24 07:42 UTC'
158
+ td do
159
+ a 'B', 'href' => '/pub/linux/kernel/v2.4/linux-2.4.34.tar.bz2'
160
+ end
161
+ td do
162
+ a 'V', 'href' => 'http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.4%2Ftesting%2Fpatch-2.4.35-pre2.bz2'
163
+ end
164
+ td do
165
+ a 'VI', 'href' => 'http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.4%2Ftesting%2Fincr%2Fpatch-2.4.35-pre1-pre2.bz2'
166
+ end
167
+ td do
168
+ a 'C', 'href' => 'http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fwtarreau%2Flinux-2.4.git;a=summary'
169
+ end
170
+ td do
171
+ a 'Changelog', 'href' => '/pub/linux/kernel/v2.4/testing/patch-2.4.35.log'
172
+ end
173
+ end
174
+ tr 'align' => 'left' do
175
+ td 'The latest 2.2 version of the Linux kernel is:&nbsp;'
176
+ td do
177
+ b do
178
+ a '2.2.26', 'href' => '/pub/linux/kernel/v2.2/patch-2.2.26.bz2'
179
+ end
180
+ end
181
+ td '2004-02-25 00:28 UTC'
182
+ td do
183
+ a 'F', 'href' => '/pub/linux/kernel/v2.2/linux-2.2.26.tar.bz2'
184
+ end
185
+ td do
186
+ a 'V', 'href' => 'http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.2%2Fpatch-2.2.26.bz2'
187
+ end
188
+ td '&nbsp;'
189
+ td '&nbsp;'
190
+ td do
191
+ a 'Changelog', 'href' => '/pub/linux/kernel/v2.2/ChangeLog-2.2.26'
192
+ end
193
+ end
194
+ tr 'align' => 'left' do
195
+ td 'The latest' do
196
+ a 'prepatch', 'href' => 'http://kernel.org/patchtypes/pre.html'
197
+ txt! 'for the 2.2 Linux kernel tree is:&nbsp;'
198
+ end
199
+ td do
200
+ b do
201
+ a '2.2.27-rc2', 'href' => '/pub/linux/kernel/v2.2/testing/patch-2.2.27-rc2.bz2'
202
+ end
203
+ end
204
+ td '2005-01-12 23:55 UTC'
205
+ td do
206
+ a 'B', 'href' => '/pub/linux/kernel/v2.2/linux-2.2.26.tar.bz2'
207
+ end
208
+ td do
209
+ a 'V', 'href' => 'http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.2%2Ftesting%2Fpatch-2.2.27-rc2.bz2'
210
+ end
211
+ td do
212
+ a 'VI', 'href' => 'http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.2%2Ftesting%2Fincr%2Fpatch-2.2.27-rc1-rc2.bz2'
213
+ end
214
+ td '&nbsp;'
215
+ td do
216
+ a 'Changelog', 'href' => '/pub/linux/kernel/v2.2/testing/patch-2.2.27.log'
217
+ end
218
+ end
219
+ tr 'align' => 'left' do
220
+ td 'The latest' do
221
+ a '-mm patch', 'href' => 'http://kernel.org/patchtypes/mm.html'
222
+ txt! 'to the stable Linux kernels is:&nbsp;'
223
+ end
224
+ td do
225
+ b do
226
+ a '2.6.21-rc6-mm1', 'href' => '/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc6/2.6.21-rc6-mm1/2.6.21-rc6-mm1.bz2'
227
+ end
228
+ end
229
+ td '2007-04-08 21:09 UTC'
230
+ td do
231
+ a 'B', 'href' => '/pub/linux/kernel/v2.6/testing/linux-2.6.21-rc6.tar.bz2'
232
+ end
233
+ td do
234
+ a 'V', 'href' => 'http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fpeople%2Fakpm%2Fpatches%2F2.6%2F2.6.21-rc6%2F2.6.21-rc6-mm1%2F2.6.21-rc6-mm1.bz2'
235
+ end
236
+ td '&nbsp;'
237
+ td '&nbsp;'
238
+ td do
239
+ a 'Changelog', 'href' => '/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc6/2.6.21-rc6-mm1/announce.txt'
240
+ end
241
+ end
242
+ end
243
+ p.pvkey do
244
+ b 'F'
245
+ txt! '= full source,'
246
+ b 'B'
247
+ txt! '= patch baseline,'
248
+ b 'V'
249
+ txt! '= view patch,'
250
+ b 'VI'
251
+ txt! '= view incremental,'
252
+ b 'C'
253
+ txt! '= current'
254
+ a 'changesets', 'href' => 'changeset.html'
255
+ br
256
+ txt! "Changelogs are provided by the kernel authors directly. Please
257
+ don't write the webmaster about them."
258
+ br
259
+ a 'Customize the patch viewer', 'href' => 'diff/config.html'
260
+ end
261
+ end
262
+ p.bandwidth do
263
+ a 'href' => 'http://zeus1.kernel.org/bw-zeus1.pdf' do
264
+ img 'src' => 'http://zeus1.kernel.org/bw-zeus1.png', 'height' => '128', 'alt' => 'zeus1 bwbar', 'style' => 'border:1px solid #bbd', 'width' => '240'
265
+ end
266
+ a 'href' => 'http://zeus2.kernel.org/bw-zeus2.pdf' do
267
+ img 'src' => 'http://zeus2.kernel.org/bw-zeus2.png', 'height' => '128', 'alt' => 'zeus2 bwbar', 'style' => 'border:1px solid #bbd', 'width' => '240'
268
+ end
269
+ a 'href' => 'http://git.kernel.org/bw-poseidon.pdf' do
270
+ img 'src' => 'http://git.kernel.org/bw-poseidon.png', 'alt' => 'git bwbar', 'style' => 'border:1px solid #bbd'
271
+ end
272
+ end
273
+ h2.news! 'Site News'
274
+ ul do
275
+ li.newsitem 'Apr 14, 2007:' do
276
+ strong 'Downtime'
277
+ txt! 'Kernel.org has some
278
+ forced downtime on April 14 due to the circuit breakers
279
+ powering zeus1 to be replaced. This will be an extended
280
+ downtime lasting several hours. Estimated shutdown will be at
281
+ 13:00 UTC and the machine will likely come back up around
282
+ 17:00-18:00 UTC.'
283
+ br
284
+ txt! 'Be warned this downtime is likely to cause quite a bit of load
285
+ on our remaining frontend machine so services will definately
286
+ be degraded. We apologize to all of you rushing out here to
287
+ download the recently released (within the last 48 hours): Centos
288
+ 5, openSUSE 10.3 alpha 3, Linux Kernel 2.6.20.7 or the updates
289
+ to Debian.'
290
+ br
291
+ txt! 'We cannot guarantee that mirrors.kernel.org will be available
292
+ during the extent of the outage. If load is excessive, we may
293
+ be forced to close this service for the duration of the outage
294
+ in order to protect higher priority services.'
295
+ end
296
+ li.newsitem 'Mar 13, 2007:' do
297
+ strong '10 years of kernel.org!'
298
+ txt! 'The
299
+ Linux Kernel archives were'
300
+ a 'announced to the world on March 13,
301
+ 1997', 'href' => '970313.08.txt'
302
+ txt! '. Thanks to everyone that has made kernel.org
303
+ possible over the years, our sponsors, staff volunteers and of
304
+ course the Linux community for making it a worthwhile effort
305
+ in the first place!'
306
+ end
307
+ li.newsitem 'Mar 10, 2007: zeus1 is back online and serving all classes of traffic. This concludes the maintenance window that started earlier this week. The hope is that these changes will lower the loads experienced by the machines.' do
308
+ p 'Thanks for bearing with us the last couple of days - we know things were slow but we beat our expected restore date by 3 days (syncing 2.4TB of data across the internet is something we had previously experienced taking a week). Happy downloading.'
309
+ end
310
+ li.newsitem 'Mar 1, 2007: We now have a' do
311
+ a 'dedicated git server', 'href' => 'http://git.kernel.org/'
312
+ txt! '. This is
313
+ the same HP DL380G2 which used to be our sole main server
314
+ between 2001 and 2005.'
315
+ p 'This machine serves git protocol and gitweb only. Please continue to use' do
316
+ i 'www.kernel.org'
317
+ txt! 'or'
318
+ i 'rsync.kernel.org'
319
+ txt! 'for http and
320
+ rsync protocol users, respectively.'
321
+ end
322
+ p 'This machine was' do
323
+ a 'almost
324
+ destroyed in shipping', 'href' => 'http://userweb.kernel.org/~warthog9/damaged_server/'
325
+ txt! ', but amazingly worked without issue on the first
326
+ boot, and was serving the production git needs in less than 12 hours.'
327
+ end
328
+ txt! 'Kudos to both OSUOSL for getting the machine up as quickly as they did
329
+ and to Hewlett Packard for building a machine that can take the beating
330
+ of an unnamed shipping company and keep on ticking.'
331
+ end
332
+ li.newsitem 'It has now been five years since the kernel.org servers moved to' do
333
+ a 'ISC', 'href' => 'http://www.isc.org/'
334
+ txt! ". Massive thanks to ISC
335
+ and all of its sponsors for all the bandwidth we have eaten up
336
+ over the years! We'll continue to keep your wires warm for as
337
+ long as you'll let us!"
338
+ end
339
+ li.newsitem 'Feb 4, 2006:' do
340
+ a 'Hewlett-Packard', 'href' => 'http://www.hp.com/'
341
+ txt! 'has been kind
342
+ enough to replace our internal master server with a brand new'
343
+ a 'ProLiant&nbsp;DL385', 'href' => 'http://h18004.www1.hp.com/products/servers/proliantdl385/index.html'
344
+ txt! 'with a dual-core Opteron&nbsp;275 and 4&nbsp;GB of RAM. Once
345
+ again, huge thanks to HP!'
346
+ end
347
+ li.newsitem 'Sep 30, 2005:
348
+ By popular demand, there is now a' do
349
+ a 'kernel.org FAQ', 'href' => '/faq/'
350
+ txt! '.'
351
+ end
352
+ li.newsitem 'Apr 9, 2005:
353
+ We have put two new external servers, graciously donated by' do
354
+ a 'Hewlett-Packard', 'href' => 'http://www.hp.com/'
355
+ txt! 'into full production use.'
356
+ p 'These servers are both' do
357
+ a 'ProLiant&nbsp;DL585', 'href' => 'http://h18004.www1.hp.com/products/servers/proliantdl585/index.html'
358
+ txt! 'quad Opteron servers, each with 24&nbsp;GB of RAM and 10&nbsp;TB of disk. Huge thanks to HP!'
359
+ end
360
+ p 'Each is connected to a separate' do
361
+ a 'ISC', 'href' => 'http://www.isc.org/'
362
+ txt! 'gigabit link. Enjoy!'
363
+ end
364
+ end
365
+ li.newsitem "Aug 21, 2003:
366
+ Please don't use" do
367
+ strong 'finger.kernel.org'
368
+ txt! 'for any
369
+ sort of automatic monitoring. The number of automatic bots
370
+ hitting this port is causing the finger daemon to shut down
371
+ more often than not. The same information is available from'
372
+ a 'http://www.kernel.org/kdist/finger_banner', 'href' => 'http://www.kernel.org/kdist/finger_banner'
373
+ txt! '.'
374
+ end
375
+ end
376
+ h2.mirrors! 'The Linux Kernel Archives Mirror System'
377
+ p 'To improve access for everyone, a number of
378
+ sites around the world have provided mirrors of this site, which
379
+ may be faster to use than the master archive itself. Please see' do
380
+ a 'href' => '/mirrors/' do
381
+ strong 'http://www.kernel.org/mirrors/'
382
+ end
383
+ txt! 'for
384
+ information about how to connect to a participating mirror site.'
385
+ end
386
+ p 'To guard against Trojan mirror sites, all files originating at
387
+ the Linux Kernel Archives are' do
388
+ a 'cryptographically signed', 'href' => 'signature.html'
389
+ txt! '.'
390
+ em 'If you are
391
+ getting a message that the verification key has expired, please
392
+ see' do
393
+ a 'this link.', 'href' => 'signature.html#expire'
394
+ end
395
+ end
396
+ h2.whatislinux! 'What is Linux?'
397
+ p 'Linux is a clone of the operating system Unix,
398
+ written from scratch by Linus Torvalds with assistance from a
399
+ loosely-knit team of hackers across the Net. It aims towards
400
+ POSIX and' do
401
+ a 'Single UNIX
402
+ Specification', 'href' => 'http://www.unix-systems.org/'
403
+ txt! 'compliance.'
404
+ end
405
+ p 'It has all the features you would expect in a modern
406
+ fully-fledged Unix, including true multitasking, virtual memory,
407
+ shared libraries, demand loading, shared copy-on-write executables,
408
+ proper memory management, and multistack networking including IPv4
409
+ and IPv6.'
410
+ p 'Although originally developed first for 32-bit x86-based PCs (386 or
411
+ higher), today Linux also runs on (at least) the' do
412
+ a 'Compaq Alpha AXP', 'href' => 'http://www.alphalinux.org/'
413
+ txt! ',
414
+ Sun'
415
+ a 'SPARC', 'href' => 'http://www.ultralinux.org/'
416
+ txt! 'and'
417
+ a 'UltraSPARC', 'href' => 'http://www.ultralinux.org/'
418
+ txt! ','
419
+ a 'Motorola 68000', 'href' => 'http://www.linux-m68k.org/'
420
+ txt! ','
421
+ a 'PowerPC', 'href' => 'http://penguinppc.org/'
422
+ txt! ','
423
+ a 'ARM', 'href' => 'http://www.arm.linux.org.uk/'
424
+ txt! ','
425
+ a 'Hitachi SuperH', 'href' => 'http://linux-sh.org/'
426
+ txt! ','
427
+ a 'IBM S/390', 'href' => 'http://www.ibm.com/developerworks/linux/linux390/'
428
+ txt! ','
429
+ a 'MIPS', 'href' => 'http://www.linux-mips.org/'
430
+ txt! ','
431
+ a 'HP PA-RISC', 'href' => 'http://www.parisc-linux.org/'
432
+ txt! ','
433
+ a 'Intel IA-64', 'href' => 'http://www.ia64-linux.org/'
434
+ txt! ','
435
+ a 'DEC VAX', 'href' => 'http://linux-vax.sourceforge.net/'
436
+ txt! ','
437
+ a 'AMD x86-64', 'href' => 'http://www.x86-64.org/'
438
+ txt! ','
439
+ a 'AXIS CRIS', 'href' => 'http://developer.axis.com/software/linux/'
440
+ txt! ','
441
+ a 'Renesas M32R', 'href' => 'http://www.linux-m32r.org/'
442
+ txt! ', and'
443
+ a 'Atmel AVR32', 'href' => 'http://www.avr32linux.org/'
444
+ txt! 'architectures; for many of these architectures in both 32- and
445
+ 64-bit variants.'
446
+ end
447
+ p 'Linux is easily portable to most general-purpose 32- or 64-bit
448
+ architectures as long as they have a paged memory management unit
449
+ (PMMU) and a port of the GNU C compiler (gcc) (part of' do
450
+ a 'The GNU Compiler Collection, GCC', 'href' => 'http://gcc.gnu.org/'
451
+ txt! '). Linux
452
+ has also been ported to a number of architectures without a PMMU,
453
+ although functionality is then obviously somewhat limited. See the'
454
+ a 'µClinux project', 'href' => 'http://www.uclinux.org/'
455
+ txt! 'for more
456
+ info.'
457
+ end
458
+ h2.newtolinux! 'New to Linux?'
459
+ p "If you're new to Linux, you don't want to download the kernel,
460
+ which is just a component in a working Linux system. Instead, you
461
+ want what is called a" do
462
+ em 'distribution'
463
+ txt! 'of Linux, which is a
464
+ complete Linux system. There are numerous distributions available
465
+ for download on the Internet as well as for purchase from various
466
+ vendors; some are general-purpose, and some are optimized for
467
+ specific uses. We currently have mirrors of several distributions
468
+ available at'
469
+ a 'mirrors.kernel.org', 'href' => 'http://mirrors.kernel.org/'
470
+ txt! ',
471
+ as well as a small collection of special-purpose distributions at'
472
+ a 'http://www.kernel.org/pub/dist/', 'href' => '/pub/dist/'
473
+ txt! '.'
474
+ end
475
+ p 'Note, however, that most distributions are very large (several
476
+ gigabytes), so unless you have a' do
477
+ a 'fast Internet
478
+ link', 'href' => 'fast.html'
479
+ txt! 'you may want to save yourself some hassle and purchase a
480
+ CD-ROM with a distribution; such CD-ROMs are available from a number
481
+ of vendors.'
482
+ end
483
+ p do
484
+ a 'The
485
+ Linux Installation HOWTO', 'href' => 'http://mirrors.kernel.org/LDP/HOWTO/Installation-HOWTO/'
486
+ txt! 'has more information how to set up
487
+ your first Linux system.'
488
+ end
489
+ h2.moreinfo! 'More Information'
490
+ p 'There is much' do
491
+ a 'information about Linux on the web', 'href' => 'links.html'
492
+ txt! '.'
493
+ end
494
+ h2.reportingbugs! 'Reporting Linux Kernel bugs'
495
+ p 'Please see' do
496
+ a 'href' => '/pub/linux/docs/lkml/reporting-bugs.html' do
497
+ strong 'http://www.kernel.org/pub/linux/docs/lkml/reporting-bugs.html'
498
+ end
499
+ txt! 'if you want to report a Linux kernel bug.'
500
+ em 'Bug reports sent to
501
+ the kernel.org administrators will be ignored.'
502
+ end
503
+ p 'There is now a bugzilla setup at' do
504
+ a 'bugzilla.kernel.org', 'href' => 'http://bugzilla.kernel.org'
505
+ txt! '.
506
+ Currently this is for reporting kernel version 2.6 bugs only.'
507
+ end
508
+ h2.mailinglist! 'Mailing list'
509
+ p 'The Linux kernel is discussed on the' do
510
+ em 'linux-kernel'
511
+ txt! 'mailing list at'
512
+ a 'href' => 'http://vger.kernel.org/' do
513
+ em 'vger.kernel.org'
514
+ end
515
+ txt! '. The FAQ
516
+ is available at'
517
+ a 'href' => '/pub/linux/docs/lkml/' do
518
+ strong 'http://www.kernel.org/pub/linux/docs/lkml/'
519
+ end
520
+ txt! ',
521
+ please read the FAQ before subscribing.'
522
+ end
523
+ p 'Although there is no official archive site, unofficial
524
+ archives of the list can be found at:'
525
+ ul do
526
+ li do
527
+ a 'href' => 'http://marc.theaimsgroup.com/?l=linux-kernel' do
528
+ strong 'http://marc.theaimsgroup.com/?l=linux-kernel'
529
+ end
530
+ end
531
+ li do
532
+ a 'href' => 'http://www.ussg.iu.edu/hypermail/linux/kernel/' do
533
+ strong 'http://www.ussg.iu.edu/hypermail/linux/kernel/'
534
+ end
535
+ end
536
+ end
537
+ p 'and a summary service can be found at:'
538
+ ul do
539
+ li do
540
+ a 'href' => 'http://www.kernel-traffic.org/' do
541
+ strong 'http://www.kernel-traffic.org/'
542
+ end
543
+ end
544
+ end
545
+ h2.git! 'Development trees'
546
+ p 'The Linux kernel, as well as several other pieces of software,
547
+ are maintained using the' do
548
+ a 'git', 'href' => '/pub/software/scm/git'
549
+ txt! 'source code control system. For a more user-friendly wrapper around
550
+ git, see'
551
+ a 'Cogito', 'href' => '/pub/software/scm/cogito'
552
+ txt! '.'
553
+ end
554
+ p 'See' do
555
+ a 'http://www.kernel.org/git', 'href' => '/git'
556
+ txt! 'for a list of
557
+ git repositories on'
558
+ em 'kernel.org'
559
+ txt! '.'
560
+ end
561
+ h2.crypto! 'Cryptographic Software'
562
+ p 'Due to U.S. Exports Regulations, all
563
+ cryptographic software on this site is subject to the following
564
+ legal notice:'
565
+ blockquote 'This site includes publicly available
566
+ encryption source code which, together with object code
567
+ resulting from the compiling of publicly available source code,
568
+ may be exported from the United States under License Exception
569
+ "TSU" pursuant to 15 C.F.R. Section 740.13(e).'
570
+ p 'This legal notice applies to' do
571
+ em 'cryptographic software
572
+ only.'
573
+ txt! 'Please see the'
574
+ a 'Bureau of Industry and Security', 'href' => 'http://www.bis.doc.gov/'
575
+ txt! 'for
576
+ more information about current U.S. regulations.'
577
+ end
578
+ p 'Our servers are located in Corvallis, Oregon, Palo Alto and San
579
+ Francisco, California, USA; use in violation of any applicable laws
580
+ is prohibited.'
581
+ h2.contact! 'Comments'
582
+ p 'Before emailing kernel.org, please take a look at our' do
583
+ a 'kernel.org FAQ', 'href' => '/faq/'
584
+ txt! '.'
585
+ end
586
+ p 'For comments about' do
587
+ i 'the web pages'
588
+ txt! ', please send mail
589
+ to'
590
+ a 'href' => 'mailto:webmaster@kernel.org' do
591
+ i 'webmaster@kernel.org'
592
+ end
593
+ txt! '.'
594
+ end
595
+ p 'For comments about' do
596
+ i 'the file archive'
597
+ txt! ', please send mail
598
+ to'
599
+ a 'href' => 'mailto:ftpadmin@kernel.org' do
600
+ i 'ftpadmin@kernel.org'
601
+ end
602
+ txt! '.'
603
+ end
604
+ p do
605
+ b do
606
+ i 'Please do not send general Linux questions or bug
607
+ reports to these addresses. We do not have the resources to reply
608
+ to them. If your message does not relate to the operation of the
609
+ Linux Kernel Archives, it will be deleted without action. Because
610
+ of the volume of unsolicited email we receive, please add [KORG]
611
+ to the subject to avoid accidental deletion. Additionally, any
612
+ Content-Type other than text/plain will most likely be deleted
613
+ without action.'
614
+ end
615
+ end
616
+ hr
617
+ p 'style' => 'text-align:center;' do
618
+ small 'This site is operated by the Linux Kernel Organization,
619
+ Inc., a' do
620
+ a 'nonprofit corporation', 'href' => 'nonprofit.html'
621
+ txt! ', with
622
+ support from the following sponsors.'
623
+ end
624
+ end
625
+ hr
626
+ p.sponsors! do
627
+ a 'href' => 'http://www.isc.org/' do
628
+ img 'src' => 'logos/hostedatisc.png', 'height' => '41', 'alt' => 'Internet Systems Consortium', 'width' => '84'
629
+ end
630
+ txt! '&nbsp;'
631
+ a 'href' => 'http://www.hp.com/' do
632
+ img 'src' => 'logos/hplogo.gif', 'height' => '55', 'alt' => 'HP', 'width' => '66'
633
+ end
634
+ txt! '&nbsp;'
635
+ a 'href' => 'http://www.linux-foundation.org/' do
636
+ img 'src' => 'logos/lf-med.gif', 'height' => '55', 'alt' => 'The Linux Foundation', 'width' => '106'
637
+ end
638
+ txt! '&nbsp;'
639
+ a 'href' => 'powered.html' do
640
+ img 'src' => 'logos/logo70-tran.png', 'height' => '71', 'alt' => 'Powered by Linux', 'width' => '66'
641
+ end
642
+ txt! '&nbsp;'
643
+ a 'href' => 'http://validator.w3.org/check/referer' do
644
+ img 'src' => 'logos/valid-xhtml10', 'height' => '31', 'alt' => 'Valid XHTML 1.0!', 'width' => '88'
645
+ end
646
+ br 'clear' => 'left'
647
+ end
648
+ p.trademark! 'Linux is a Registered Trademark of Linus Torvalds.' do
649
+ br
650
+ a '(Legal Notice)', 'href' => 'legal.html'
651
+ end
652
+ script 'src' => 'http://www.google-analytics.com/urchin.js', 'type' => 'text/javascript'
653
+ script '_uacct = "UA-1175126-1";
654
+ _udn = "kernel.org";
655
+ urchinTracker();', 'type' => 'text/javascript'
656
+ end
657
+ end