<?php
/*
    A number of variables that are used by the whole site
    Copyright (C) 2015, 2016  Leah Woods <info@minifree.org>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as
    published by the Free Software Foundation, either version 3 of the
    License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
?>
<?php
	/* Project home page */
	$lbHomepage = "https://libreboot.org/";

	/* Main git repositories */
	$lbFirmwareGitRepoAddress = "https://notabug.org/vimuser/libreboot.git";
	$lbFirmwareGitwebAddress = "https://notabug.org/vimuser/libreboot";
	$lbWebsiteGitRepoAddress = "https://notabug.org/vimuser/libreboot-website.git";
	$lbWebsiteGitwebAddress = "https://notabug.org/vimuser/libreboot-website";
	/* Backup git repositories */
	$lbFirmwareBackupGitRepoAddress = array(
		"git://git.savannah.nongnu.org/libreboot.git",
		"git://git.pehjota.net/libreboot-backup/libreboot.git",
        "git://gnu.dk/libreboot.git"
	);
	$lbWebsiteBackupGitRepoAddress = array(
		"git://git.pehjota.net/libreboot-backup/libreboot.org.git",
        "git://gnu.dk/libreboot-website.git"
	);

	/* HTTPS mirrors (for release archives) */
	$lbHttpsMirror = array(
		array("https://www.mirrorservice.org/sites/libreboot.org/release/","University of Kent, UK"),
		array("https://ginette.swordarmor.fr/libreboot/","swordarmor.fr, France"),
		array("https://mirror.se.partyvan.eu/pub/libreboot/","partyvan.eu, Sweden"),
        array("https://mirror.gnu.dk/libreboot/", "GNU.dk, Denmark"),
		array("https://elgrande74.net/libreboot/","elgrande74.net, France"),
        array("https://nedson.net/libreboot","nedson.net, USA")
    );
    $lbHttpMirror = array(
        array("http://mirrors.mit.edu/libreboot/","MIT, USA"),
		array("http://tpvj6abq225m5pcf.onion/pub/libreboot/","Tor hidden server, Undisclosed location"),
		array("http://mirror.linux.ro/libreboot/","linux.ro, Romania"),
		array("http://mirror.helium.in-berlin.de/libreboot/","in-berlin.de, Germany"),
        array("http://libreboot.mirror.si/","mirror.si, Slovenia")
    );
	/* FTP mirrors (for release archives) */
	$lbFtpMirror = array(
		array("ftp://ftp.mirrorservice.org/sites/libreboot.org/release/","University of Kent, UK"),
		array("ftp://ftp.linux.ro/libreboot/","linux.ro, Romania"),
        array("ftp://libreboot.mirror.si/libreboot","mirror.si, Slovenia")
	);
	
	/* rsync servers (for release archives). Put the main one first */
	$lbRsyncServer = array (
		array("rsync.libreboot.org::mirrormirror","Libreboot project, UK (main rsync mirror)"),
		array("rsync://rsync.mirrorservice.org/libreboot.org/release/","University of Kent, UK (backup mirror)"),
		array("rsync://ftp.linux.ro/libreboot/","linux.ro, Romania (backup mirror)"),
		array("rsync://mirror.se.partyvan.eu/pub/libreboot/","partyvan.eu, Sweden (backup mirror)"),
        array("rsync://libreboot.mirror.si/libreboot","mirror.si, Slovenia (backup mirror)")
	);
	
	/* Bug tracker URL */
	$lbBugTrackerAddress = "http://projects.mtjm.eu/projects/libreboot";
	
	/* Links to mailing lists */
	$userMailingListAddress = "https://lists.nongnu.org/mailman/listinfo/libreboot";
	$devMailingListAddress = "https://lists.nongnu.org/mailman/listinfo/libreboot-dev";
	/* Mailing list email addresses */
	$userMailingListEmail = "libreboot@nongnu.org";
	$devMailingListEmail = "libreboot-dev@nongnu.org";
	
	/* IRC channel */
	$ircChannelName = "#libreboot chat (FreeNode IRC)";
	$ircChannelAddress = "https://webchat.freenode.net/?channels=libreboot";

	/* GPG key info */
	$lbProjectGpgKeyInfo = "pub&nbsp; 4096R/656F212E 2014-07-04 Libreboot Releases (signing key) &lt;releases@libreboot.org&gt;<br/>Fingerprint=C923 4BA3 200C F688 9CC0&nbsp; 764D 6E97 D575 656F 212E ";
	$lbProjectGpgKeyID = "0x656F212E";
	
	/* release list. format is: version number, then date of release */
	/* latest releases first, earlier releases are at the bottom */
	 $lbRelease = array (
	 	array (
	 		array("20150518", "2015-05-18")
	 	),
	 	array (
	 		array("20150208", "2015-02-08")
	 	),
	 	array (
	 		array("20150126", "2015-01-26")
	 	),
	 	array (
	 		array("20150124", "2015-01-24")
	 	),
	 	array (
	 		array("20141015", "2014-10-15")
	 	),
	 	array ( /* old name: Release 6, beta 7 */
	 		array("20140911", "2014-09-11")
	 	),
	 	array ( /* old name: Release 6, beta 6 */
	 		array("20140903", "2014-09-03")
	 	),
	 	array ( /* old name: Release 6, beta 5 */
	 		array("20140811", "2014-08-11")
	 	),
	 	array ( /* old name: Release 6, beta 4 */
	 		array("20140729", "2014-07-29")
	 	),
	 	array ( /* old name: Release 6, beta 3 */
	 		array("20140720", "2014-07-20")
	 	),
	 	array ( /* old name: Release 6, beta 2 */
	 		array("20140716", "2014-07-16")
	 	),
	 	array ( /* old name: Release 6, beta 1 */
	 		array("20140711", "2014-07-11")
	 	),
	 	array ( /* old name: Release 5 */
	 		array("20140622", "2014-06-22")
	 	),
	 	array ( /* old name: Release 4 */
	 		array("20140221", "2014-02-21")
	 	),
	 	array ( /* old name: Release 3 */
	 		array("20131214", "2013-12-14")
	 	),
	 	array ( /* old name: Release 2 */
	 		array("20131213", "2013-12-13")
	 	),
	 	array ( /* old name: Release 1 */
	 		array("20131212", "2013-12-12")
	 	)
	 );
?>