$cvs_date = '$Date: 2010/11/27 21:58:08 $'; $uses_pathinfo = 1; include_once "memcache.inc"; include_once "functions.inc"; include_once "releases.inc"; include_once "sections.inc"; if (isset($HTTP_SERVER_VARS["PATH_INFO"])) { $package = basename($HTTP_SERVER_VARS["PATH_INFO"]); } else { $package = ""; } $q = new SolrQuery(); $q->addQuery("name_e:\"$package\"", true); handle_last_modified('pdb-last-modified-' . $package, $q); $pdb_title = "Package Database - Package " . $package; // Get url parameters list($version, $inv_p) = get_safe_param('version', '/^[0-9\-.:]+$/'); list($distribution, $inv_p) = get_safe_param('distribution', '/^[a-z0-9\-.]+$/'); list($release, $inv_p) = get_safe_param('release', '/^[0-9.]{3,}$|^unstable$|^stable$/'); list($architecture, $inv_p) = get_safe_param('architecture', '/^powerpc$|^i386$|^x86_64$/'); list($rel_id, $inv_p) = get_safe_param('rel_id', '/^[[:alnum:]\-\_\.\:]+$/'); list($showall, $inv_p) = get_safe_param('showall', '/^on$/'); list($doc_id, $inv_p) = get_safe_param('doc_id', '/^[[:alnum:]\-\_\.\:]+$/'); $basicQuery = new SolrQuery(); $basicQuery->addSort("epoch desc");
$title = "Package Database - Introduction"; $cvs_author = '$Author: rangerrick $'; $cvs_date = '$Date: 2007/12/10 22:21:49 $'; // 2 hours, this page does not change much $cache_timeout = 7200; include_once "memcache.inc"; include_once "functions.inc"; include_once "releases.inc"; include_once "sections.inc"; ini_set("memory_limit", "24M"); $q = new SolrQuery(); $q->addQuery("dist_visible:true", true); $update_date = handle_last_modified('pdb-last-modified', $q); include_once "header.inc"; ?> <h1>Package Database Introduction</h1> <p> This database lists all available Fink packages. It knows about the "stable" tree of the latest release and about all packages in CVS ("current-stable" and "current-unstable"). Note that some packages are only available in the "unstable" tree. </p> <p>