r585 - in html/trunk: . external-scripts livecd

justin at linuxfromscratch.org justin at linuxfromscratch.org
Mon Oct 3 17:56:42 PDT 2005


Author: justin
Date: 2005-10-03 18:56:41 -0600 (Mon, 03 Oct 2005)
New Revision: 585

Added:
   html/trunk/external-scripts/lfs-livecd-rsync.sh
Modified:
   html/trunk/contribute.html
   html/trunk/external-scripts/lfs-ftp-rsync.sh
   html/trunk/livecd/download.html
Log:
Added ftp.osuosl.org to LiveCD download locations, added script for livecd rsync, added mention of it on the contribute page.

Modified: html/trunk/contribute.html
===================================================================
--- html/trunk/contribute.html	2005-10-03 01:04:47 UTC (rev 584)
+++ html/trunk/contribute.html	2005-10-04 00:56:41 UTC (rev 585)
@@ -33,8 +33,16 @@
              <li><a href="/blfs/view/stable/server/rsync.html">Rsync</a> for syncing with the LFS FTP server.</li>
              <li>A cron-like program to sync twice a day.</li>
              <li>At least 2.5GB of disk space.</li>
-             <li>The path to the mirror being "/pub/lfs", if possible.</li>
+             <li>The path to the mirror being "/pub/lfs/", if possible.</li>
           </ul>
+	  <h4>LiveCD FTP Mirror</h4>
+	  <p>Here is a checklist of requirements for LiveCD FTP mirrors:</p>
+	  <ul>
+             <li><a href="/blfs/view/stable/server/rsync.html">Rsync</a> for syncing with the LFS FTP server.</li>
+             <li>A cron-like program to sync twice a day.</li>
+             <li>At least 4.0GB of disk space.</li>
+             <li>The path to the mirror being "/pub/lfs-livecd/", if possible.</li>
+          </ul>
           <h4>Rsync Scripts</h4>
           <p>For HTTP mirrors, please download the 
              <a href="/external-scripts/lfs-rsync.sh">lfs-rsync.sh</a> script and change the HTMLDIR 
@@ -42,7 +50,7 @@
              hour at a randomly chosen time.
           </p>
           <p>For FTP mirrors, please download the
-             <a href="/external-scripts/lfs-ftp-rsync.sh">lfs-ftp-rsync.sh</a> script. Next please ask
+             <a href="/external-scripts/lfs-ftp-rsync.sh">lfs-ftp-rsync.sh</a> script or for LiveCD FTP, the <a href="/external-scripts/lfs-livecd-rsync.sh">lfs-livecd-rsync.sh</a> script. Next please ask
              for an hour to sync from the FTP Mirror Maintainer (e-mail below) and schedule this
              script to run twice a day at the scheduled times.
           </p>

Modified: html/trunk/external-scripts/lfs-ftp-rsync.sh
===================================================================
--- html/trunk/external-scripts/lfs-ftp-rsync.sh	2005-10-03 01:04:47 UTC (rev 584)
+++ html/trunk/external-scripts/lfs-ftp-rsync.sh	2005-10-04 00:56:41 UTC (rev 585)
@@ -15,8 +15,7 @@
 
 if [ $? = 0 ]
 then
-    echo "Subject: rsync of ${NAME} OK" |${MAILER}
-${USER};
+    echo "Subject: rsync of ${NAME} OK" |${MAILER} ${USER};
     echo "Rsync succeeded of ${NAME} on" `date` >> ${LOG}
 else
     (echo "Subject: rsync of ${NAME} FAILED"; echo -e "${OUTPUT}") |${MAILER} ${USER};

Added: html/trunk/external-scripts/lfs-livecd-rsync.sh
===================================================================
--- html/trunk/external-scripts/lfs-livecd-rsync.sh	2005-10-03 01:04:47 UTC (rev 584)
+++ html/trunk/external-scripts/lfs-livecd-rsync.sh	2005-10-04 00:56:41 UTC (rev 585)
@@ -0,0 +1,24 @@
+#!/bin/sh
+# This script rsyncs a directory with a server and will log and mail the
+# output to a user. 
+# Parameters are needed in this order:
+
+NAME="LFS LiveCD FTP Archive"
+SITE=rsync.osuosl.org
+MODULE=lfs-livecd
+LOCAL=/local/path/   			# Edit this line
+LOG=/path/to/logfile 			# Edit this line
+USER=root  
+MAILER=/usr/bin/your_favorite_mailer 	# Edit this line
+
+OUTPUT=`rsync -lprtz --delete ${SITE}::${MODULE} ${LOCAL} 2>&1`
+
+if [ $? = 0 ]
+then
+    echo "Subject: rsync of ${NAME} OK" |${MAILER} ${USER};
+    echo "Rsync succeeded of ${NAME} on" `date` >> ${LOG}
+else
+    (echo "Subject: rsync of ${NAME} FAILED"; echo -e "${OUTPUT}") |${MAILER} ${USER};
+    echo "Rsync failed of ${NAME} on" `date` >> ${LOG};
+    echo -e "${OUTPUT}" >> ${LOG}
+fi

Modified: html/trunk/livecd/download.html
===================================================================
--- html/trunk/livecd/download.html	2005-10-03 01:04:47 UTC (rev 584)
+++ html/trunk/livecd/download.html	2005-10-04 00:56:41 UTC (rev 585)
@@ -13,13 +13,15 @@
 	<p>Montreal, Canada: <a href="ftp://ftp.lfs-matrix.net/pub/lfs-livecd/">ftp://ftp.lfs-matrix.net/pub/lfs-livecd/</a></p>
 	<p>VUB, Brussels, Belgium: <a href="ftp://gaosu.rave.org/pub/linuxfromscratch/lfs-livecd/">ftp://gaosu.rave.org/pub/linuxfromscratch/lfs-livecd/</a></p>
 	<p>Texas, USA: <a href="ftp://anduin.linuxfromscratch.org/isos/">ftp://anduin.linuxfromscratch.org/isos/</a></p>
-        <p>Phoenix, USA: <a href="ftp://ftp.tpegg.org/pub/lfs-livecd/">ftp://ftp.tpegg.org/pub/lfs-livecd/</a></p>
+        <p>Phoenix, AZ, USA: <a href="ftp://ftp.tpegg.org/pub/lfs-livecd/">ftp://ftp.tpegg.org/pub/lfs-livecd/</a></p>
         <p>Vienna, Austria: <a href="ftp://gd.tuwien.ac.at/pub/lfs/livecd/">ftp://gd.tuwien.ac.at/pub/lfs/livecd/</a></p>
+	<p>Corvallis, OR, USA: <a href="ftp://ftp.osuosl.org/pub/lfs-livecd/">ftp://ftp.osuosl.org/pub/lfs-livecd/</a></p>
      <h2>HTTP Mirrors</h2>
 	<p>Montreal, Canada: <a href="http://ftp.lfs-matrix.net/pub/lfs-livecd/">http://ftp.lfs-matrix.net/pub/lfs-livecd/</a></p>
 	<p>Louisiana, USA: <a href="http://hlfs.topside.org/lfs-livecd/">http://hlfs.topside.org/lfs-livecd/</a></p>
-        <p>Phoenix, USA: <a href="http://ftp.tpegg.org/pub/lfs-livecd/">http://ftp.tpegg.org/pub/lfs-livecd/</a></p>
+        <p>Phoenix, AZ, USA: <a href="http://ftp.tpegg.org/pub/lfs-livecd/">http://ftp.tpegg.org/pub/lfs-livecd/</a></p>
 	<p>Vienna, Austria: <a href="http://gd.tuwien.ac.at/pub/lfs/livecd/">http://gd.tuwien.ac.at/pub/lfs/livecd/</a></p>
+	<p>Corvallis, OR, USA: <a href="http://ftp.osuosl.org/pub/lfs-livecd/">http://ftp.osuosl.org/pub/lfs-livecd/</a></p>
      <h2>Peer-2-peer Networks</h2>
         <p>P2P Networks are another good source for the LiveCD, depending on how many people have it available for download in their shared directory.  If you have some bandwidth to spare, please consider adding the LiveCD to your shared directory.  Here are our P2P Links:</p>
         <ul>




More information about the website mailing list