From 19806e7d84e559a167a2e75076ce4b47e9d7dfeb Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 22 Feb 2015 08:57:46 -0500 Subject: Add links to backup rsync mirrors --- diff --git a/site/download/index.php b/site/download/index.php index 04b0a46..d21da16 100644 --- a/site/download/index.php +++ b/site/download/index.php @@ -81,7 +81,7 @@

You can verify the downloaded archives as follows:
- $ for signature in $(ls *.tar.xz.sig); do gpg --verify $signature; done + $ for signature in $(ls *.sig); do gpg --verify $signature; done

@@ -139,17 +139,45 @@

Mirroring

- Create a directory in your web server directory, eg /.
- $ + Create a directory in your web server document root (e.g. /), + and add one of these to your crontab:

+0) { +?> +

Main rsync mirror:

+

+ $ rsync -avxP --delete --stats /path/to/docroot// +

+1) { +?> +

Backup rsync mirrors:

+

+ + $ rsync -avxP --delete --stats /path/to/docroot//
+ +

+

- Add this to your crontab. + No mirrors available yet.

+ -

- Are you running a mirror? Contact the project - (details are on the home page), and the link will be added here. -

+

+ Are you running a mirror? Contact the project + (details are on the home page), and the link will be added here. +

diff --git a/site/download/oldtorrent/index.php b/site/download/oldtorrent/index.php index c4b5726..fb8e369 100644 --- a/site/download/oldtorrent/index.php +++ b/site/download/oldtorrent/index.php @@ -79,7 +79,7 @@

You can verify the downloaded archives as follows:
- $ for signature in $(ls *.tar.xz.sig); do gpg --verify $signature; done + $ for signature in $(ls *.sig); do gpg --verify $signature; done

diff --git a/site/variables.template.php b/site/variables.template.php index b07f0c5..98bda0b 100644 --- a/site/variables.template.php +++ b/site/variables.template.php @@ -52,12 +52,14 @@ "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/" + "ftp://ftp.mirrorservice.org/sites/libreboot.org/release/" ); - /* rsync command (for mirroring the project) */ - $lbRsyncCommand = "rsync -avxP --delete --stats libreboot.org::mirrormirror /path/to/webserver/directory/libreboot/"; + /* rsync servers. Put the main one first */ + $lbRsyncServer = array ( + "libreboot.org::mirrormirror", + "rsync://rsync.mirrorservice.org/libreboot.org/release/" + ); /* Bug tracker URL */ $lbBugTrackerAddress = "http://projects.mtjm.eu/projects/libreboot"; -- cgit v0.9.1