r900 - in html/trunk: hlfs scripts templates/hlfs

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Tue Dec 7 13:35:57 PST 2004


Author: jhuntwork
Date: 2004-12-07 14:35:55 -0700 (Tue, 07 Dec 2004)
New Revision: 900

Added:
   html/trunk/hlfs/news-2004.txt
   html/trunk/templates/hlfs/news-bottom.html
   html/trunk/templates/hlfs/news-top.html
Removed:
   html/trunk/hlfs/news.html
Modified:
   html/trunk/scripts/update-website.sh
Log:
Adjusted update-website.sh script and added support for hlfs news
items.


Added: html/trunk/hlfs/news-2004.txt
===================================================================
--- html/trunk/hlfs/news-2004.txt	2004-12-07 20:55:54 UTC (rev 899)
+++ html/trunk/hlfs/news-2004.txt	2004-12-07 21:35:55 UTC (rev 900)
@@ -0,0 +1,20 @@
+Content-Type: multipart/mixed;
+    boundary="NEWS_ITEM_BOUNDARY"
+MIME-Version: 1.0
+Section: hlfs
+
+--NEWS_ITEM_BOUNDARY
+Title: HLFS Alpha Release
+Author: Archaic
+Date: 2004/12/06
+
+	<p>HLFS has just released its first alpha version. Version 0.1
+includes Uclibc-CVS, gcc-3.4.3, binutils-2.15.92.0.2, and linux-2.6.7.
+The base of this book is taken from current LFS-unstable with some
+changes necessary for proper functioning of various security features.
+You can download the book from your favorite mirror in
+hlfs/downloads/alpha.</p>
+	<p>As of now, the book is a collection of text files. Work is
+under way to convert to an XML-based book.</p>
+
+--NEWS_ITEM_BOUNDARY--

Deleted: html/trunk/hlfs/news.html
===================================================================
--- html/trunk/hlfs/news.html	2004-12-07 20:55:54 UTC (rev 899)
+++ html/trunk/hlfs/news.html	2004-12-07 21:35:55 UTC (rev 900)
@@ -1,137 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
-
-<head>
-	<title>HLFS - About HLFS</title>
-	<meta name="description" content="Linux From Scratch - build your own Linux distribution from scratch" />
-	<meta name="keywords" content="Linux, LinuxFromScratch, Linux From Scratch, build your own Linux, DIY Linux, do-it-yourself Linux, create your own Linux" />
-	<meta name="MSSmartTagsPreventParsing" content="true" />
-	<link rel="alternate stylesheet" type="text/css" href="../style/3columns.css" media="screen" title="ThreeColumn" />
-	<link rel="stylesheet" type="text/css" href="../style/2columns.css" media="screen" title="TwoColumn" />
-	<link rel="alternate stylesheet" type="text/css" href="../style/2columns-menu.css" media="screen" title="TwoColumnMenu" />
-	<link rel="stylesheet" type="text/css" href="../style/print.css" media="print" />
-	<link rel="icon" href="../images/favicon.ico" type="image/x-icon" />
-	<script type="text/javascript" src="../scripts/styleswitcher.js"></script>
-</head>
-
-<body class="hlfs">
-
-<div id="header">
-	<ul id="sectionnav">
-		<li><a href="#content" class="hidden" accesskey="2">Skip to content</a></li>
-		<li><a href="../lfs/news.html" accesskey="l"><span class="accesskey">L</span>FS</a></li>
-		<li><a href="../blfs/news.html" accesskey="b"><span class="accesskey">B</span>eyond LFS</a></li>
-		<li><a href="../alfs/news.html" accesskey="a"><span class="accesskey">A</span>utomated LFS</a></li>
-		<li><a href="../hlfs/news.html" accesskey="j"><span class="accesskey">H</span>ardened LFS</a></li>
-		<li><a href="../hints/list.html" accesskey="h"><span class="accesskey">H</span>ints</a></li>
-		<li><a href="../patches/news.html" accesskey="p"><span class="accesskey">P</span>atches</a></li>
-	</ul>
-	<h1><a href="news.html" accesskey="j" title="HLFS News">HLFS News</a></h1>
-	<div id="search">
-		<form method="get" action="http://search.linuxfromscratch.org/index.cgi">
-		<p>
-			<label title="Enter your search terms"><input size="20" type="text" name="query" onfocus="if(this.value==this.defaultValue) this.value='';" value="enter text here" maxlength="255" accesskey="s" /></label>
-			<label title="Submit the search terms"><input type="submit" value="search" /></label><br />
-			<a href="../search.html" title="For more search options, click here" accesskey="4"><span class="accesskey">S</span>earch options</a>
-			</p>
-		</form>
-	</div>
-	<ul id="styleselect">
-		<li>Select layout:</li>
-		<li><a href="#" onclick="setActiveStyleSheet('TwoColumn'); return false;" title="Content (2 columns) | Navigation">Two columns</a></li>
-		<li><a href="#" onclick="setActiveStyleSheet('TwoColumnMenu'); return false;" title="Content (2 columns) | Navigation, general navigation as menu">Two columns, Menu</a></li>
-		<li><a href="#" onclick="setActiveStyleSheet('ThreeColumn'); return false;" title="Navigation|Content|Navigation">Three columns</a></li>
-	</ul>
-</div>
-
-<div id="container">
-<div id="content">
-	<em><a href="#projectnav" class="hidden">Skip to the project navigation</a></em>
-	<em><a href="#generalnav" class="hidden">Skip to sitewide navigation</a></em>
-
-<h2>HLFS News</h2>
-
-<h3>Alpha release forthcoming</h3>
-	<p>Currently there is no release of HLFS yet. All work is coordinated on the <a href="http://linuxfromscratch.org/mailman/listinfo/hlfs-dev">hlfs-dev mailinglist</a>. An initial version can be found at <a href="http://wiki.linuxfromscratch.org/index.php?pagename=HLFS">the Wiki</a>, although at the moment it is only useful for developers. </p>
-
-</div> <!-- end content -->
-
-<div id="projectnav">
-	<a href="#generalnav" class="hidden">Skip to general navigation</a>
-<ul>
-	<li><h3>Project:</h3>
-	<ul>
-		<li><a href="whatishlfs.html" title="About the HLFS project">About HLFS project</a></li>
-		<li><a href="manifesto.html" title="HLFS Manifesto">HLFS Manifesto</a></li>
-	</ul></li>
-<!--<li><h3>Download:</h3>
-				<ul>
-					<li><a href="downloads/stable/" title="The latest stable HLFS version">Current stable</a></li>
-					<li><a href="downloads/test/" title="Test the next stable version">Test version</a></li>
-					<li><a href="downloads/cvs/" title="The latest CVS HLFS version">Current CVS</a></li>
-					<li><a href="http://archive.linuxfromscratch.org/hlfs-museum/" title="Download older versions">Previous Releases</a></li>
-					<li><a href="packages.html" title="How to download all packages required by HLFS">Packages</a></li>
-				</ul>
-			</li>
-			<li><h3>Read:</h3>
-				<ul>
-					<li><a href="stable.html" title="Release information and translations of HLFS">Stable and translation</a></li>
-					<li><a href="cvs.html" title="Get the bleeding-edge development version">Development (CVS)</a></li>
-				</ul>
-			</li>
-		</li>-->
-	</ul>
-</div>
-
-<div id="generalnav">
-	<ul>
-		<li><h3>Contribute:</h3>
-			<ul>
-				<li><a href="../donation.html" title="Donate via paypal">Make a donation</a></li>
-				<li><a href="http://linuxfromscratch.org/cgi-bin/lfscounter.cgi" title="Get counted!">Register as LFS user</a></li>
-				<li><a href="../becomemirror.html" title="If you have some bandwidth to spare">Become a mirror</a></li>
-			</ul>
-		</li>
-		<li><h3>Support:</h3>
-			<ul>
-				<li><a href="../faq/" title="Frequently Asked Questions (and answers!)">FAQ</a></li>
-				<li><a href="../search.html" title="Advanced search page">Search</a></li>
-				<li><a href="../irc.html" title="Chat channels and nick names">IRC</a></li>
-				<li><a href="../newsgroups.html" title="For following development and advanced support">News groups</a></li>
-				<li><a href="../mail.html" title="For following development and advanced support">Mailing lists</a></li>
-			</ul>
-		</li>
-		<li><h3>Organization:</h3>
-			<ul>
-				<li><a href="../people.html" title="Who is who and who does what">The LFS team</a></li>
-				<li><a href="../organization.html" title="Manifesto, Scope, Bounds, Objectives, Strategy and Logistics">General Documents</a></li>
-				<li><a href="../manifesto.html" title="An index of all manifestos">Team Mission Statements</a></li>
-				<li><a href="../acknowledgements.html" title="People from past and present who contributed">Acknowledgements</a></li>
-			</ul>
-		</li>
-		<li><h3>Website:</h3>
-			<ul>
-				<li><a href="../index.html" title="Home (mirror list)" accesskey="1">Home (Mirror list)</a></li>
-				<li><a href="../sitemap.html" title="Structured overview of the website" accesskey="3">Sitemap</a></li>
-				<li><a href="../accesskeys.html" title="Keyboard shortcuts for this site" accesskey="0">Accesskeys</a></li>
-				<li><a href="../website.html" title="General info about this site">Website information</a></li>
-				<li><a href="http://linuxfromscratch.org/mailman/listinfo/website" title="Mail us if you run into problems with this website" accesskey="9">Contact webmaster</a></li>
-			</ul>
-		</li>
-	</ul>
-</div><!-- end generalnav -->
-</div><!-- end container -->
-
-<div id="footer">
-	<ul>
-		<li><a href="#header">Back to the top.</a></li>
-		<li>© 1998-2004  Gerard Beekmans.</li>
-		<li>Website design by <a href="http://www.jeroencoumans.nl">Jeroen Coumans</a>.</li>
-	</ul>
-	<ul>
-		<li><a href="http://validator.w3.org/check/referer"><img src="../images/xhtml-1.1.png" alt="Valid XHTML 1.1!" title="Validate this page's structure" height="15" width="80" /></a></li>
-		<li><a href="http://jigsaw.w3.org/css-validator/check/referer"><img src="../images/css.png" alt="Valid CSS!" title="Validate this page's style" height="15" width="80" /></a></li>
-	</ul>
-</div>
-</body>
-</html>

Modified: html/trunk/scripts/update-website.sh
===================================================================
--- html/trunk/scripts/update-website.sh	2004-12-07 20:55:54 UTC (rev 899)
+++ html/trunk/scripts/update-website.sh	2004-12-07 21:35:55 UTC (rev 900)
@@ -99,6 +99,13 @@
 $SVN2HTML2 --project ALFS --with-branchname >> news.html
 cat $TEMPLATES/alfs/news-bottom.html >> news.html
 
+# HLFS/news.html
+cd $NEWSITE/hlfs
+cp $TEMPLATES/hlfs/news-top.html news.html
+$MANAGE_NEWS -i news-$YEAR.txt >> news.html
+$MANAGE_NEWS -i ../news-$YEAR.txt >> news.html
+cat $TEMPLATES/hlfs/news-bottom.html >> news.html
+
 ##########################################
 # Generate all RSS feeds                 #
 
@@ -108,7 +115,8 @@
 $SCRIPTS/lfs2rss.pl -n news.html -r feed.rss
 cd $NEWSITE/alfs
 $SCRIPTS/lfs2rss.pl -n news.html -r feed.rss
-
+cd $NEWSITE/hlfs
+$SCRIPTS/lfs2rss.pl -n news.html -r feed.rss
 ##########################################
 # Create mirrors list for each section   #
 

Added: html/trunk/templates/hlfs/news-bottom.html
===================================================================
--- html/trunk/templates/hlfs/news-bottom.html	2004-12-07 20:55:54 UTC (rev 899)
+++ html/trunk/templates/hlfs/news-bottom.html	2004-12-07 21:35:55 UTC (rev 900)
@@ -0,0 +1,89 @@
+</div>
+</div> <!-- end content -->
+
+<div id="footer">
+	<ul>
+		<li><a href="#header">Back to the top.</a></li>
+		<li>© 1998-2004 Gerard Beekmans.</li>
+		<li>Website design by <a href="http://www.jeroencouomans.nl">Jeroen Coumans</a>.</li>
+	</ul>
+	<ul>
+		<li><a href="http://validator.w3.org/check/referer"><img src="../images/xhtml-1.1.png" alt="Valid XHTML 1.1!" title="Validate this page's structure" height="15" width="80" /></a></li>
+		<li><a
+href="http://jigsaw.w3.org/css-validator/check/referer"><img src="../images/css.png" alt="Valid CSS!" title="Validate this page's style" height="15" width="80" /></a></li>
+		<li><a href="http://feedvalidator.org/check?url=http://www.linuxfromscratch.org/hlfs/feed.rss"><img src="../images/rss.png" alt="Valid RSS!" title="Validate this page's structure" height="15" width="80" /></a></li>
+	</ul>
+</div>
+<div id="projectnav">
+  <a href="#generalnav" class="hidden">Skip to general navigation</a>
+  <ul>
+
+
+    <li><h3>Project:</h3>
+    <ul>
+      <li><a href="whatishlfs.html" class="currentpage" title="About the HLFS project">About HLFS project</a></li>
+      <li><a href="manifesto.html" title="HLFS Manifesto">HLFS Manifesto</a></li>
+    </ul></li>
+
+    <li><h3>Download:</h3>
+    <ul>
+      <li><a href="downloads/alpha/" title="Download the latest alpha release">Alpha</a></li>
+<!--
+      <li><a href="downloads/stable/" title="Download the latest stable release">Stable</a></li>
+      <li><a href="downloads/testing/" title="Download a snapshot of the future stable version">Testing</a></li>
+      <li><a href="svn.html" title="Download the unstable repository or a snapshot">Unstable</a></li>
+      <li><a href="http://archive.linuxfromscratch.org/hlfs-museum/" title="Download older versions">Previous Releases</a></li>
+-->
+    </ul></li>
+
+<!--
+    <li><h3>Read Online:</h3>
+    <ul>
+      <li><a href="view/stable/" title="Read the latest stable release">Stable</a></li>
+      <li><a href="view/testing/" title="Read the latest snapshot of the testing branch">Testing</a></li>
+      <li><a href="view/unstable/" title="Read the latest snapshot of the unstable branch">Unstable</a></li>
+    </ul></li>
+-->
+  </ul>
+</div>
+
+<div id="generalnav">
+  <ul>
+    <li><h3>Contribute:</h3>
+    <ul>
+      <li><a href="../donation.html" title="Donate via paypal">Make a donation</a></li>
+      <li><a href="http://linuxfromscratch.org/cgi-bin/lfscounter.cgi" title="Get counted!">Register as LFS user</a></li>
+      <li><a href="../becomemirror.html" title="If you have some bandwidth to spare">Become a mirror</a></li>
+    </ul></li>
+
+    <li><h3>Support:</h3>
+    <ul>
+      <!--<li><a href="../faq/" title="Frequently Asked Questions (and answers!)">FAQ</a></li>-->
+      <li><a href="../search.html" title="Advanced search page">Search</a></li>
+      <li><a href="../irc.html" title="Chat channels and nick names">IRC</a></li>
+      <li><a href="../newsgroups.html" title="For following development and advanced support">News groups</a></li>
+      <li><a href="../mail.html" title="For following development and advanced support">Mailing lists</a></li>
+    </ul></li>
+
+    <li><h3>Organization:</h3>
+    <ul>
+      <li><a href="../people.html" title="Who is who and who does what">The LFS team</a></li>
+      <li><a href="../organization.html" title="Manifesto, Scope, Bounds, Objectives, Strategy and Logistics">General Documents</a></li>
+      <li><a href="../manifesto.html" title="An index of all manifestos">Team Mission Statements</a></li>
+      <li><a href="../acknowledgements.html" title="People from past and present who contributed">Acknowledgements</a></li>
+    </ul></li>
+
+    <li><h3>Website:</h3>
+    <ul>
+      <li><a href="../index.html" title="Home (mirror list)" accesskey="1">Home (Mirror list)</a></li>
+      <li><a href="../sitemap.html" title="Structured overview of the website" accesskey="3">Sitemap</a></li>
+      <li><a href="../accesskeys.html" title="Keyboard shortcuts for this site" accesskey="0">Accesskeys</a></li>
+      <li><a href="../website.html" title="General info about this site">Website information</a></li>
+      <li><a href="http://linuxfromscratch.org/mailman/listinfo/website" title="Mail us if you run into problems with this website" accesskey="9">Contact webmaster</a></li>
+      </ul></li>
+    </ul>
+</div><!-- end generalnav -->
+</div><!-- end container -->
+
+</body>
+</html>

Added: html/trunk/templates/hlfs/news-top.html
===================================================================
--- html/trunk/templates/hlfs/news-top.html	2004-12-07 20:55:54 UTC (rev 899)
+++ html/trunk/templates/hlfs/news-top.html	2004-12-07 21:35:55 UTC (rev 900)
@@ -0,0 +1,60 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+
+<head>
+  <title>HLFS - News</title>
+
+  <meta name="description" content="Hardened Linux From Scratch - Build a system based on LFS and BLFS with a strong focus on security" />
+  <meta name="keywords" content="Linux, LinuxFromScratch, Linux From Scratch, HardenedLinuxFromScratch, Hardened Linux From Scratch, HLFS, build your own Linux, DIY Linux, do-it-yourself Linux, create your own Linux, secure LFS, secure BLFS" />
+  <meta name="MSSmartTagsPreventParsing" content="true" />
+  <link rel="alternate stylesheet" type="text/css" href="../style/3columns.css" media="screen" title="ThreeColumn" />
+  <link rel="stylesheet" type="text/css" href="../style/2columns.css" media="screen" title="TwoColumn" />
+  <link rel="alternate stylesheet" type="text/css" href="../style/2columns-menu.css" media="screen" title="TwoColumnMenu" />
+  <link rel="stylesheet" type="text/css" href="../style/print.css" media="print" />
+  <link rel="icon" href="../images/favicon.ico" type="image/x-icon" />
+  <script type="text/javascript" src="../scripts/styleswitcher.js"></script>
+</head>
+
+<body class="hlfs">
+
+<div id="header">
+  <ul id="sectionnav">
+    <li><a href="#content" class="hidden" accesskey="2">Skip to content</a></li>
+    <li><a href="../lfs/news.html" accesskey="l"><span class="accesskey">L</span>FS</a></li>
+    <li><a href="../blfs/news.html" accesskey="b"><span class="accesskey">B</span>eyond LFS</a></li>
+    <li><a href="../alfs/news.html" accesskey="a"><span class="accesskey">A</span>utomated LFS</a></li>
+    <li><a href="../hlfs/news.html" accesskey="j"><span class="accesskey">H</span>ardened LFS</a></li>
+    <li><a href="../hints/list.html" accesskey="h"><span class="accesskey">H</span>ints</a></li>
+    <li><a href="../patches/news.html" accesskey="p"><span class="accesskey">P</span>atches</a></li>
+  </ul>
+  <h1><a href="news.html" accesskey="j" title="HLFS News">HLFS News</a></h1>
+  <div id="search">
+    <form method="get" action="http://search.linuxfromscratch.org/index.cgi">
+      <p>
+      <label title="Enter your search terms"><input size="20" type="text" name="query" onfocus="if(this.value==this.defaultValue) this.value='';" value="enter text here" maxlength="255" accesskey="s" /></label>
+      <label title="Submit the search terms"><input type="submit" value="search" /></label><br />
+      <a href="../search.html" title="For more search options, click here" accesskey="4"><span class="accesskey">S</span>earch options</a>
+      </p>
+    </form>
+  </div>
+  <ul id="styleselect">
+    <li>Select layout:</li>
+    <li><a href="#" onclick="setActiveStyleSheet('TwoColumn'); return false;" title="Content (2 columns) | Navigation">Two columns</a></li>
+    <li><a href="#" onclick="setActiveStyleSheet('TwoColumnMenu'); return false;" title="Content (2 columns) | Navigation, general navigation as menu">Two columns, Menu</a></li>
+    <li><a href="#" onclick="setActiveStyleSheet('ThreeColumn'); return false;" title="Navigation|Content|Navigation">Three columns</a></li>
+  </ul>
+</div>
+
+<div id="container">
+<div id="content">
+  <em><a href="#projectnav" class="hidden">Skip to the project navigation</a></em>
+  <em><a href="#generalnav" class="hidden">Skip to sitewide navigation</a></em>
+<h1>HLFS News</h1>
+	<div class="pagenav">
+	<ul>
+		<li><a href="#projectnews">HLFS-specific news</a></li>
+		<li><a href="#generalnews">General news</a></li>
+	</ul>
+	</div>
+<div id="projectnews">
+<h2>HLFS-specific news <small><a href="feed.rss">(RSS feed)</a></small></h2>




More information about the website mailing list