From owner-freebsd-ports@FreeBSD.ORG Sat Sep 10 22:22:57 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B794116A41F for ; Sat, 10 Sep 2005 22:22:57 +0000 (GMT) (envelope-from fenner@research.att.com) Received: from mail-white.research.att.com (mail-red.research.att.com [192.20.225.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E2D243D46 for ; Sat, 10 Sep 2005 22:22:57 +0000 (GMT) (envelope-from fenner@research.att.com) Received: from bright.research.att.com (bright.research.att.com [135.207.20.189]) by mail-green.research.att.com (Postfix) with ESMTP id 714B484FF for ; Sat, 10 Sep 2005 18:22:56 -0400 (EDT) Received: (from fenner@localhost) by bright.research.att.com (8.12.11/8.12.10/Submit) id j8AMMubj032724; Sat, 10 Sep 2005 18:22:56 -0400 From: Bill Fenner Message-Id: <200509102222.j8AMMubj032724@bright.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: ports@freebsd.org Date: Sat, 10 Sep 2005 18:22:56 -0400 Versions: dmail (linux) 2.7/makemail 2.14 Cc: Subject: Unifying WWW: pkg-descr lines for cpan ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2005 22:22:57 -0000 An embarassingly long time ago, the maintainer of search.cpan.org let me know that the port survey was hammering on it. There were 3 primary styles of URL being used: 1. http://search.cpan.org/dist/Archive-Tar/ 2. http://search.cpan.org/dist/Archive-Tar 3. http://search.cpan.org/search?dist=Archive-Tar These all point to the same page, but #2 and #3 each requires a redirect. (At the time, #3 required 2 redirects because of a bug, which was subsequently fixed.) I'd like to unify all these styles into #1. The shell script at http://people.freebsd.org/~fenner/fix-search results in the diff http://people.freebsd.org/~fenner/fix-search.cpan.org.diff . Hopefully, there wouldn't be much (other than timing) to discuss with respect to applying these diffs, since it will still be the same page in the end. However, after this diff there are still 73 search.cpan.org URLs that aren't of this format. Some point to the module documentation, some point to the same page as the above URLs but via the author path (e.g., http://search.cpan.org/~kane/Archive-Tar-1.26/ or http://search.cpan.org/author/kane/Archive-Tar/ instead of http://search.cpan.org/dist/Archive-Tar/), and some point just to the author page (e.g., http://search.cpan.org/~kane/) I propose to modify each of these to point to the .../dist/... URL also. The disadvantage of this second phase is that if the port is for an older version of the module, that the WWW: URL will point to the most recent version. (The advantage is that you don't have to edit the pkg-plist when you update the port to a new version). Also, it'll change some ports from pointing to the module documentation to pointing to the dist page for the module - but I think that consistency across ports is useful. The diffs involved here are: http://people.freebsd.org/~fenner/fix-search.cpan.org-2.diff . Any comments? Thanks, Bill