From nobody@FreeBSD.ORG Mon Jun  7 19:24:59 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 1813D14BFF; Mon,  7 Jun 1999 19:24:59 -0700 (PDT)
Message-Id: <19990608022459.1813D14BFF@hub.freebsd.org>
Date: Mon,  7 Jun 1999 19:24:59 -0700 (PDT)
From: jobaldwi@vt.edu
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: [PATCH] Ports Changes Page Does not List Recent Releases..
X-Send-Pr-Version: www-1.0

>Number:         12075
>Category:       docs
>Synopsis:       [PATCH] Ports Changes Page Does not List Recent Releases..
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun  7 19:30:01 PDT 1999
>Closed-Date:    Fri Jul 30 14:10:44 PDT 1999
>Last-Modified:  Fri Jul 30 14:11:08 PDT 1999
>Originator:     John Baldwin
>Release:        n/a
>Organization:
>Environment:
n/a
>Description:
The Ports Changes page at www.freebsd.org/cgi/ports.cgi let's you search
2.2.7, 2.2.8, 2.2.x-stable, and 3.0-current, or so it claims.  The
-stable and -current actually search real -stable and -current, but
there aren't choices for 3.1 or 3.2-release.  The attached patch adds
in 3.1 and 3.2 release and renames the -stable and -current labels to
"3.x-stable" and "4.0-current", respectively.  It also makes "3.x-stable"
the default instead of "2.2.x-stable".  Also, I removed "2.2.x-stable"
as an option in this patch.
>How-To-Repeat:
http://www.freebsd.org/cgi/ports.cgi

Check the pull down menu on the right at the top.
>Fix:
I may not have the dates quite right for 3.1 and 3.2-release.  Also, I
don't have a mirror to test this on, so this is untested.

Index: ports.cgi
===================================================================
RCS file: /usr/cvs/www/en/cgi/ports.cgi,v
retrieving revision 1.32
diff -u -r1.32 ports.cgi
--- ports.cgi   1999/01/18 13:19:19     1.32
+++ ports.cgi   1999/06/08 02:18:18
@@ -55,19 +55,23 @@
     # where to get -current packages
     local($p) = 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386';
 
-    $remotePrefixFtpPackagesDefault = '2.2.x-stable';
+    $remotePrefixFtpPackagesDefault = '3.x-stable';
     %remotePrefixFtpPackages = 
        (
-        '3.0-current', "$p/packages-current/All",
-        '2.2.x-stable', "$p/packages-stable/All",
+        '4.0-current', "$p/packages-current/All",
+        '3.x-stable', "$p/packages-stable/All",
+        '3.2', "$p/packages-3.2-release/All",
+        '3.1', "$p/packages-3.1-release/All",
         '2.2.8', "$p/packages-2.2.8/All",
         '2.2.7', "$p/packages-2.2.7/All",
        );
 
     %relDate = 
        (
-        '3.0-current', 'today',
-        '2.2.x-stable', 'today',
+        '4.0-current', 'today',
+        '3.x-stable', 'today',
+        '3.2', '1999-05-18'
+        '3.1', '1999-02-15'
         '2.2.8', '1998-11-29',
         '2.2.7', '1998-02-22 11:26:17',
          );



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: nik 
State-Changed-When: Fri Jul 30 14:10:44 PDT 1999 
State-Changed-Why:  
I think this PR is now obsolete -- when I looked at the ports.cgi 
script this afternoon it was showing entries for the 3.[1,2] line, 
so the comments in the PR don't apply any more. 

Thanks for the suggestion though. 
>Unformatted:
