lots of updates
<?php
error_reporting(E_ALL);
include("$html/shared/inc/xorsis_ad.inc");
dbconnect();
if (file_exists("$html/db.lock")) {
include("update.html");
exit;
}
if (!isset($page))
$page = "";
/* $http_referer = getenv("HTTP_REFERER");
$remote_addr = getenv("REMOTE_ADDR");
$http_user_agent = getenv("HTTP_USER_AGENT");
mysql_query("INSERT INTO kernel_hits VALUES(0,CURRENT_TIMESTAMP,\"$page\",\"$http_referer\",\"$remote_addr\",\"$http_user_agent\")");
*/
function space($x,$y) {
echo "<img src=\"/images/pixel.gif\" height=\"$x\" width=\"$y\" alt=\"\">";
}
function echonav($nav, $target) {
global $page;
if ($target != "")
$targetdata = " target=\"$target\"";
else
$targetdata = "";
echo "<p>\n";
for ($i = 0; $i < count($nav); $i++) {
if ($page == $nav[$i]["page"] && !empty($page))
echo "<b><em>" . $nav[$i]["text"] . "</em></b><br>";
else
echo "<b><a href=\"" . $nav[$i]["address"] . "\"$targetdata>" . $nav[$i]["text"] . "</a></b><br>";
}
echo "</p>";
}
$sitelinks = array( array("page"=>"home","address"=>"/","text"=>"Home"),
// array("page"=>"specialized","address"=>"/specialized.php","text"=>"Specialized Kernels"),
array("page"=>"choosing","address"=>"/choosing.php","text"=>"Choosing a Kernel"),
// array("page"=>"benh","address"=>"/benh.php","text"=>"Ben Kernels"),
// array("page"=>"paulus","address"=>"/paulus.php","text"=>"Paulus Kernels"),
// array("page"=>"bitkeeper","address"=>"/bitkeeper.php","text"=>"BitKeeper Kernels"),
// array("page"=>"prepatch","address"=>"/prepatch.php","text"=>"Prepatch Kernels"),
// array("page"=>"official","address"=>"/official.php","text"=>"Official Kernels"),
array("page"=>"installation","address"=>"/installation.php","text"=>"Installing a Kernel"),
//array("page"=>"forums","address"=>"/forums/","text"=>"Discussion Forums"),
array("page"=>"list","address"=>"/list.php","text"=>"Mailing Lists"),
array("page"=>"source","address"=>"/source.php","text"=>"Source Code"),
array("page"=>"contact","address"=>"/contact.php","text"=>"Contact Info"),
array("page"=>"logos","address"=>"/logos.php","text"=>"Logos"));
$kernels = array();
if ($qqq = mysql_query("select safename,name,descr from buildcategories where safename!='default' order by name")) {
while ($rrr = mysql_fetch_object($qqq)) {
$kernels[] = array("page"=>"specialized-$rrr->safename","address"=>"/specialized.php?category=$rrr->safename","text"=>$rrr->name);
}
}
$kerneltrees = array();
if ($localq = mysql_query("select id, tree, name from treeinfo where tree!='pmac' and tree!='tss' order by name"))
while ($localr = mysql_fetch_object($localq))
$kerneltrees[] = array("page"=>"$localr->tree","address"=>"/tree.php?id=$localr->id","text"=>str_replace(" "," ","$localr->name"));
$distributions = array(array("page"=>"","address"=>"http://www.gentoo.org/","text"=>"Gentoo Linux"),
array("page"=>"","address"=>"http://www.debian.org/","text"=>"Debian GNU/Linux"),
array("page"=>"","address"=>"http://www.yellowdoglinux.com/","text"=>"Yellow Dog Linux"),
// array("page"=>"","address"=>"http://www.mandrake.org/","text"=>"Mandrake Linux"),
array("page"=>"","address"=>"http://www.opensuse.org/","text"=>"openSUSE"),
array("page"=>"","address"=>"http://cruxppc.sunsite.dk","text"=>"CRUX GNU/Linux"),
array("page"=>"","address"=>"http://www.rocklinux.org/powerpc.html","text"=>"ROCK Linux"),
array("page"=>"","address"=>"http://www.mklinux.org/","text"=>"MkLinux"),
//array("page"=>"","address"=>"http://www.darwinlinux.org/","text"=>"Darwin Linux")
);
$linuxlinks = array(array("page"=>"","address"=>"http://www.penguinppc.org/","text"=>"PenguinPPC"),
array("page"=>"","address"=>"http://www.kernel.org/","text"=>"Kernel.Org"),
array("page"=>"","address"=>"http://www.freshmeat.net/","text"=>"Freshmeat"));
$maclinks = array(array("page"=>"","address"=>"http://www.macdiscussion.com/","text"=>"MacDiscussion"),
array("page"=>"","address"=>"http://www.macnn.com/","text"=>"Mac News Network"),
array("page"=>"","address"=>"http://www.macsurfer.com/","text"=>"Mac Surfer"),
array("page"=>"","address"=>"http://www.applelinks.com/","text"=>"AppleLinks"),
array("page"=>"","address"=>"http://www.macintouch.com/","text"=>"Macintouch"),
array("page"=>"","address"=>"http://www.macfixit.com/","text"=>"MacFixIt"),
array("page"=>"","address"=>"http://www.macresource.com/","text"=>"Mac Resource"),
array("page"=>"","address"=>"http://www.macosrumors.com/","text"=>"Mac OS Rumors"),
array("page"=>"","address"=>"http://www.macslash.com/","text"=>"MacSlash"),
array("page"=>"","address"=>"http://www.maccentral.com/","text"=>"MacCentral"));
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<meta name="resource-type" content="document">
<meta http-equiv="pragma" content="no-cache">
<meta name="revisit-after" content="10">
<meta name="classification" content="Linux">
<meta name="description" content="The PowerPC Kernel Archives are a compilation of the different PowerPC Linux kernel source trees and binary builds of all of those trees. The site also includes some information on the different trees and discussion forums for talking about Linux and the Linux kernel.">
<meta name="keywords" content="xorsis, linux, powerpc, ppc, kernel, source, build, compile, archive, forum, ppc kernel, powerpc kernel, kernel source, kernel build, kernel builds, ppc source, ppc build, ppc builds, powerpc source, powerpc build, powerpc builds, ppc linux powerpc linux, linux powerpc, linux ppc, linuxpowerpc, linuxppc, powerpclinux, ppclinux">
<meta name="robots" content="ALL">
<meta name="distribution" content="Global">
<meta name="rating" content="General">
<meta name="copyright" content="Copyright 2000-2001 Xorsis Software. All rights reserved.">
<meta name="author" content="Xorsis Software">
<meta http-equiv="reply-to" content="webmaster@ppckernel.org">
<meta name="language" content="English">
<meta name="doc-type" content="Web Page">
<meta name="doc-class" content="Living Document">
<meta name="doc-rights" content="Copywritten Work">
<title><?php echo $title; ?></title>
<link rel="stylesheet" type="text/css" href="/shared/style/css.php">
</head>
<body bgcolor="#FFFFFF">
<table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td class="border">
<table cellpadding="10" cellspacing="1" border="0" width="100%">
<tr>
<td class="header" colspan="<?php if ($enableAds) echo "3"; else echo "2"; ?>">
<table width="100%"><tr><td><h1>PowerPC Kernel Archives</h1></td><td align="right"><b>Currently building:</b></td></tr>
<tr><td><p><b>Your source for fresh Linux kernel binaries for PowerPC computers.</b></p></td><td align="right">
<?php
if ($_q = mysql_query("select safename, fullname, statusinfo, id from builds where status='checked-out'")) {
if ($_r = mysql_fetch_object($_q)) {
echo "<a href='kernel.php?id=$_r->id'>$_r->fullname</a>";
} else {
echo "(none)";
}
}
?>
</td></tr></table>
</td>
</tr>
<tr>
<td class="navbar" valign="top">
<h2>Kernels</h2>
<?php echonav($kernels, ""); ?>
<h2>Kernel Trees</h2>
<?php echonav($kerneltrees, ""); ?>
<h2>Site Links</h2>
<?php echonav($sitelinks, ""); ?>
<h2>Linux Links</h2>
<?php echonav($linuxlinks, "external"); ?>
<h2>Distributions</h2>
<?php echonav($distributions, "external"); ?>
<h2>Mac Links</h2>
<?php echonav($maclinks, "external"); ?>
</td>
<td class="body" valign="top" width="100%">
<!--table cellpadding="1" cellspacing="0" border="0" align="center">
<tr><td><?php /*xorsis_ad("kn");*/ ?></td></tr>
</table>
<br-->
|
Tobias McNulty Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |