summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-22 07:31:56 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-22 07:31:56 (EST)
commit8fff1e1f0f0f39b50a1c14b5833529b4a86401d9 (patch)
treeac15b34a01f9c9ec627811b734f65969e48079c1
parentf6d1ff9fd6c2ebdbbdbe145dc2a71d71f4369209 (diff)
downloadlibreboot.org-8fff1e1f0f0f39b50a1c14b5833529b4a86401d9.zip
libreboot.org-8fff1e1f0f0f39b50a1c14b5833529b4a86401d9.tar.gz
libreboot.org-8fff1e1f0f0f39b50a1c14b5833529b4a86401d9.tar.bz2
Add rsync mirroring instructions (plus some mirrors)
-rw-r--r--site/download/index.php9
-rw-r--r--site/variables.template.php10
2 files changed, 17 insertions, 2 deletions
diff --git a/site/download/index.php b/site/download/index.php
index 3e8b620..04b0a46 100644
--- a/site/download/index.php
+++ b/site/download/index.php
@@ -137,6 +137,15 @@
?>
</ul>
+ <h2 id="mirror">Mirroring <?php echo $lbProjectName; ?></h2>
+ <p>
+ Create a directory in your web server directory, eg <?php echo $lbProjectName; ?>/.<br/>
+ $ <b><?php echo $lbRsyncCommand; ?></b>
+ </p>
+ <p>
+ Add this to your crontab.
+ </p>
+
<p>
Are you running a mirror? Contact the <?php echo $lbProjectName; ?> project
(details are on the <a href="../">home page</a>), and the link will be added here.
diff --git a/site/variables.template.php b/site/variables.template.php
index 4a0cd63..b07f0c5 100644
--- a/site/variables.template.php
+++ b/site/variables.template.php
@@ -49,10 +49,16 @@
/* HTTP mirrors (for release archives) */
$lbHttpMirror = array(
- "../docs/release.html",
- "http://www.libreboot.org/release/"
+ "http://www.libreboot.org/release/",
+ "https://freedombox.org/libreboot/",
+ "http://www.mirrorservice.org/sites/libreboot.org/release/",
+ "ftp://ftp.mirrorservice.org/sites/libreboot.org/release/",
+ "rsync://rsync.mirrorservice.org/libreboot.org/release/"
);
+ /* rsync command (for mirroring the project) */
+ $lbRsyncCommand = "rsync -avxP --delete --stats libreboot.org::mirrormirror /path/to/webserver/directory/libreboot/";
+
/* Bug tracker URL */
$lbBugTrackerAddress = "http://projects.mtjm.eu/projects/libreboot";