upgrade from FreeBSD 6 (sic!) to FreeBSD 9, PR #153319

This commit is contained in:
Wolfram Schneider 2010-12-29 12:48:29 +00:00
parent 47d561bae1
commit fefb995efd
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=36739

View file

@ -24,7 +24,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# $FreeBSD: www/en/cgi/ports.cgi,v 1.98 2009/12/31 16:37:18 wosch Exp $
# $FreeBSD: www/en/cgi/ports.cgi,v 1.99 2010/07/26 10:30:51 wosch Exp $
#
# ports.cgi - search engine for FreeBSD ports
# o search for a port by name or description
@ -46,11 +46,11 @@ sub init_variables {
$portsDatabaseHeadDir = "/usr/local/www/ports";
# Ports database file to use
if ( -f "$portsDatabaseHeadDir/INDEX-6" ) {
$ports_database = 'INDEX-6';
if ( -f "$portsDatabaseHeadDir/INDEX-9" ) {
$ports_database = 'INDEX-9';
}
elsif ( -f "$portsDatabaseHeadDir/INDEX-5" ) {
$ports_database = 'INDEX-5';
elsif ( -f "$portsDatabaseHeadDir/INDEX-8" ) {
$ports_database = 'INDEX-8';
}
else {
$ports_database = 'INDEX';
@ -518,7 +518,7 @@ sub footer {
&copy; 1996-2010 by Wolfram Schneider. All rights reserved.<br />
};
#print q{$FreeBSD: www/en/cgi/ports.cgi,v 1.98 2009/12/31 16:37:18 wosch Exp $} . "<br />\n";
#print q{$FreeBSD: www/en/cgi/ports.cgi,v 1.99 2010/07/26 10:30:51 wosch Exp $} . "<br />\n";
print qq{Please direct questions about this service to
<i><a href="$mailtoURL">$mailto</a></i><br />\n};
print qq{General questions about FreeBSD ports should be sent to }