} if ($pobj['infofile']) { # where the info file sits on a local Fink installation $infofile_path = $pobj['rcspath']; $infofile_cvs_url = 'http://fink.cvs.sourceforge.net/fink/'.$pobj['rcspath']; if ($pobj['rel_type'] == 'bindist') $infofile_tag = '?pathrev=' . $pobj['tag']; else $infofile_tag = ''; $infofile_html = '<a href="'.$infofile_cvs_url.$infofile_tag.($infofile_tag ? '&' : '?').'view=markup" title="' . $pobj['name'] . ' info file">'.$infofile_path.'</a><br>'; $infofile_html .= '<a href="'.$infofile_cvs_url.$infofile_tag.'?view=log" title="' . $pobj['name'] . ' CVS log">CVS log</a>, Last Changed: '. format_solr_date($pobj['infofilechanged']); it_item("Info-File:", $infofile_html); } $sq = new SolrQuery(); $sq->addQuery('rel_id:"' . $pobj['rel_id'] . '"', true); $sq->addQuery('parentname_e:"' . $pobj['pkg_id'] . '"', true); $splitoffs = $sq->fetch(); if ($splitoffs != null && count($splitoffs) != 0 && is_array($splitoffs)) { $contents = "<table>"; foreach ($splitoffs as $doc) { $contents .= "<tr><td>" . link_to_package($doc, $showall) . "</td><td>" . $doc['descshort'] . "</td></tr>\n"; } $contents .= "</table>\n"; it_item("SplitOffs:", $contents); } it_end(); ?>
unstable</a> and then download the latest descriptions by running <i>fink selfupdate-rsync</i> (or <i>fink selfupdate-cvs</i> if you can't use rsync for some reason). </p> <p>Help is also needed to find new maintainers for the <a href="<?php echo $pdbroot; ?> browse.php?maintainer=None&nochildren=on">packages without maintainers</a>.</p> <? $pkgcount = memcache_get_key('pdb-package-count'); if (!$pkgcount) { $names = array(); $q = new SolrQuery(); $q->addQuery("dist_visible:true", true); $q->addField("name_e"); $q->setUnique(true); $r = $q->fetch(); if ($r != null) { $pkgcount = count($r); if ($pkgcount > 0) { memcache_set_key('pdb-package-count', $pkgcount, false, $cache_timeout); } } } $dyndate = date_create($update_date)->format('U'); $seccount = count($sections);