<?php
/*
    A number of variables that are used by the whole site
    Copyright (C) 2015  Francis Rowe <info@gluglug.org.uk>

    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
	/* Copy this to variables.php, and adapt for your needs */

	/* Project name
	 * NOTE: Not all parts of the site use this, because
	 *       parts of the site talking about things that are very
	 *       specific to the libreboot project. Changing these
	 *       variables is only the first step.
	 */
	$lbProjectName = "libreboot"; /* use all lower-case */
	$lbProjectNameCapitalized = "Libreboot"; /* Capitalized */

	/* Project home page */
	$lbHomepage = "http://libreboot.org/";

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

	/* HTTP mirrors (for release archives) */
	$lbHttpMirror = array(
		"http://mirrors.mit.edu/libreboot/",
		"http://www.mirrorservice.org/sites/libreboot.org/release/",
		"https://freedombox.org/libreboot/",
		"http://elmondo74.fr/libreboot/",
		"http://elgrande74.net/libreboot/",
		"http://mirror.linux.ro/libreboot/",
		"https://ginette.swordarmor.fr/libreboot/",
		"http://ginette.swordarmor.fr/libreboot/"
	);
	/* HTTP mirrors (for release archives) */
	$lbFtpMirror = array(
		"ftp://ftp.mirrorservice.org/sites/libreboot.org/release/",
		"ftp://ftp.linux.ro/libreboot/"
	);
	
	/* rsync servers (for release archives). Put the main one first */
	$lbRsyncServer = array (
		"rsync.libreboot.org::mirrormirror",
		"rsync://rsync.mirrorservice.org/libreboot.org/release/",
		"rsync://ftp.linux.ro/libreboot/"
	);
	
	/* 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";
	
	/* IRC channel */
	$ircChannelName = "#libreboot (FreeNode IRC)";
	$ircChannelAddress = "https://webchat.freenode.net/?channels=libreboot";
	
	/* Footer text above the git clone link */
	/* footer.php will place this inside a <p></p>. */
	$lbFooterText = "This website is hosted on a libreboot system, running a <a href='https://www.gnu.org/distros/'>fully libre GNU/Linux distribution</a>.";

	$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")
	 	)
	 );
?>