NetBSD Problem Report #33449

From www@netbsd.org  Wed May 10 10:13:58 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id B4D1163B898; Wed, 10 May 2006 10:13:58 +0000 (UTC)
Message-Id: <20060510101358.B4D1163B898@narn.netbsd.org>
Date: Wed, 10 May 2006 10:13:58 +0000 (UTC)
From: kdev@no-log.org
Reply-To: kdev@no-log.org
To: gnats-bugs@netbsd.org
Subject: pkgsrc documentation points to wrong link for downloading pkgsrc tarball
X-Send-Pr-Version: www-1.0

>Number:         33449
>Category:       pkg
>Synopsis:       pkgsrc documentation points to wrong link for downloading pkgsrc tarball
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    mishka
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed May 10 10:15:00 +0000 2006
>Closed-Date:    Mon May 22 11:34:54 +0000 2006
>Last-Modified:  Mon May 22 11:34:54 +0000 2006
>Originator:     Emmanuel Kasper
>Release:        
>Organization:
>Environment:
Interix windev 3.5 SP-8.0.1969.1 x86 Intel_x86_Family15_Model3_Stepping4

>Description:
Hello 
The documentation of pkgsrc in the paragraph of http://www.netbsd.org/Documentation/software/packages.html#bootstrap
proposes by default to download to download a CURRENT pkgsrc tarball ( ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc-current.tar.gz ) instead of downloading the last stable branch.
( ftp://ftp.netbsd.org/pub/pkgsrc/2006Q1/pkgsrc-2006Q1.tar.gz )

I think this is very confusing for a pkgsrc first time user. The first time I used pksrc on netbsd 3.0, when I wanted to install a new gnome, pksrc started to recompile the full of gtk, because I made a cvs update before for security fixes.


>How-To-Repeat:

>Fix:
As by default we should offer download with a link to the last pkgsrc branch instead of current, as we do for netbsd releases.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->www
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Fri, 12 May 2006 17:04:56 +0000
Responsible-Changed-Why:
Website problem (I agree that the link should point to the latest stable
branch -- should we add a macro for the branch name?)


Responsible-Changed-From-To: www->mishka
Responsible-Changed-By: mishka@netbsd.org
Responsible-Changed-When: Fri, 12 May 2006 18:55:29 +0000
Responsible-Changed-Why:
I'll handle this.


From: "Mike M. Volokhov" <mishka@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: wiz@NetBSD.org, www@NetBSD.org, pkg-manager@NetBSD.org,
	pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/33449 (pkgsrc documentation points to wrong link for
 downloading pkgsrc tarball)
Date: Fri, 12 May 2006 22:22:21 +0300

 Is it ok if I change all pkgsrc-current tarball URLs from

 	ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc-current.tar.gz

 to

 	ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc.tar.gz

 ?

 --
 Mishka.

From: Thomas Klausner <wiz@NetBSD.org>
To: "Mike M. Volokhov" <mishka@NetBSD.org>
Cc: gnats-bugs@NetBSD.org, www@NetBSD.org
Subject: Re: pkg/33449 (pkgsrc documentation points to wrong link for downloading pkgsrc tarball)
Date: Fri, 12 May 2006 21:31:58 +0200

 On Fri, May 12, 2006 at 10:22:21PM +0300, Mike M. Volokhov wrote:
 > Is it ok if I change all pkgsrc-current tarball URLs from
 > 
 > 	ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc-current.tar.gz
 > 
 > to
 > 
 > 	ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc.tar.gz
 > 
 > ?

 Actually, I'd prefer something like
 ftp://ftp.NetBSD.org/pub/pkgsrc/2006Q1/pkgsrc.tar.gz
 i.e. point to the latest stable branch tarball by default.
  Thomas

From: "Mike M. Volokhov" <mishka@NetBSD.org>
To: Thomas Klausner <wiz@NetBSD.org>
Cc: gnats-bugs@NetBSD.org, www@NetBSD.org
Subject: Re: pkg/33449 (pkgsrc documentation points to wrong link for
 downloading pkgsrc tarball)
Date: Fri, 12 May 2006 22:39:21 +0300

 On Fri, 12 May 2006 21:31:58 +0200 Thomas Klausner wrote:

 > On Fri, May 12, 2006 at 10:22:21PM +0300, Mike M. Volokhov wrote:
 > > Is it ok if I change all pkgsrc-current tarball URLs from
 > > 
 > > 	ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc-current.tar.gz
 > > 
 > > to
 > > 
 > > 	ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc.tar.gz
 > > 
 > > ?
 > 
 > Actually, I'd prefer something like
 > ftp://ftp.NetBSD.org/pub/pkgsrc/2006Q1/pkgsrc.tar.gz
 > i.e. point to the latest stable branch tarball by default.

 That goes without saying - mentioned page will of course got URLs to
 latest stable tarball.  :-)

 But I'm asking about URLs to pkgsrc-current. I've found two completelty
 identical versions (please see URLs above). Which URL is better for
 *current*? Please also note, the 2006Q1 is stored only once.

 --
 Mishka.

From: Thomas Klausner <wiz@NetBSD.org>
To: "Mike M. Volokhov" <mishka@NetBSD.org>
Cc: gnats-bugs@NetBSD.org, www@NetBSD.org
Subject: Re: pkg/33449 (pkgsrc documentation points to wrong link for downloading pkgsrc tarball)
Date: Fri, 12 May 2006 22:33:39 +0200

 On Fri, May 12, 2006 at 10:39:21PM +0300, Mike M. Volokhov wrote:
 > That goes without saying - mentioned page will of course got URLs to
 > latest stable tarball.  :-)

 Ok, sorry for misunderstanding.

 > But I'm asking about URLs to pkgsrc-current. I've found two completelty
 > identical versions (please see URLs above). Which URL is better for
 > *current*? Please also note, the 2006Q1 is stored only once.

 The one with pkgsrc in it looks fine. To be consistent,
 the pkgsrc guide should be changed for that too, though.
  Thomas

State-Changed-From-To: open->feedback
State-Changed-By: mishka@netbsd.org
State-Changed-When: Sat, 13 May 2006 17:49:23 +0000
State-Changed-Why:

The following changes were made:

---------------------------------------------------
	Date: Sat, 13 May 2006 16:00:14 +0000 (UTC)
	From: "Mike M. Volokhov" <mishka@NetBSD.org>
	To: www-changes@NetBSD.org
	Subject: CVS commit: htdocs/share/xml

Module Name:	htdocs
Committed By:	mishka
Date:		Sat May 13 16:00:14 UTC 2006

Modified Files:
	htdocs/share/xml: misc.ent

Log Message:
pkg/33449: extend and cleanup pkgsrc entities.

Now pkgsrc related XML entities looks as follows:

  pkgsrc.(version|branch).(current|latest|previous)
  [(url|filename).]pkgsrc.tarball.(current|latest|previous)

But please note not all entities are actually defined (for example,
there is no pkgsrc.branch.current; see the file).

Define pkgsrc.branch in context of pkgsrc.version, and *.pkgsrc.tarball
in context of branch and version.

To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 htdocs/share/xml/misc.ent

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

---------------------------------------------------
	Date: Sat, 13 May 2006 16:18:35 +0000 (UTC)
	From: "Mike M. Volokhov" <mishka@NetBSD.org>
	To: www-changes@NetBSD.org
	Subject: CVS commit: htdocs/Documentation/software

Module Name:	htdocs
Committed By:	mishka
Date:		Sat May 13 16:18:35 UTC 2006

Modified Files:
	htdocs/Documentation/software: packages.xml

Log Message:
pkg/33449: adopt to new pkgsrc-related XML entities:
- offer to download latest stable pkgsrc tarball by default.
- provide a link to pkgsrc-current tarball as well.
- there are no "other" downloads - all are the pkgsrc stuff.

While here:
- we're not setting up anoncvs, but rather using it.
- cleanup a bit.

To generate a diff of this commit:
cvs rdiff -r1.109 -r1.110 htdocs/Documentation/software/packages.xml

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

---------------------------------------------------

Could you check the http://www.NetBSD.org/Documentation/software/packages.html ?

Please note the section mentioned in this PR, and The pkgsrc Downloads
on the right panel.

--
Mishka


From: Emmanuel Kasper <kdev@no-log.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/33449
Date: Sat, 20 May 2006 14:48:43 +0200

 Thank you
 This is one first step on a better pkgsrc documentation. A friend of 
 mine is installing pksrc on a slackware gnu/linux server, and I was 
 worried it would not use the stable pkgsrc.

 Manu



 NetBSD Problem Report DB Administrator a écrit :

  > This is an infrequent reminder that there is 1 Problem Report
  > (PR) of yours in the NetBSD GNATS database in "feedback" state.
  >
  > Problem Reports in this state require additional information
  > before they can be resolved. Most often, this is information
  > required from the user who submitted the Problem Report in the
  > first place; occasionally, information is required from some
  > other source to resolve the reported problem.
  >
  > The GNATS problem report database operates primarily through
  > Internet E-mail. To provide feedback to a problem report, or
  > additional information, send E-mail to gnats-bugs@gnats.netbsd.org,
  > with the Subject: field set to "Re: category/number", e.g.
  >
  >     Subject: Re: port-eniac/1234
  >
  > and the GNATS PR database will append that message to the PR
  > already in the database. You can also find these instructions at
  >
  >     http://www.NetBSD.org/Misc/send-pr.html#appending
  >
  > To see a summary of the whole PR database, please see
  >
  >     http://www.NetBSD.org/Gnats/
  >
  > If you wish to perform an arbitrary query on the database, please see
  >
  >     http://www.NetBSD.org/Misc/query-pr.html
  >
  > For additional helpful documentation, please see
  >
  >     http://www.NetBSD.org/Misc/pr-hints.html
  >     http://www.NetBSD.org/Misc/pr-fields.html
  >     http://www.NetBSD.org/Misc/pr-states.html
  >
  > Please examine the full text and history of the Problem Report
  > listed below by following the given URL with a web browser.
  > The audit trail of action will be at the bottom of each report,
  > and should list what information is required to solve the problem
  > and close the report.
  >
  >     ______________________________________________________________
  >
  > pkg/33449 - non-critical medium priority change-request
  >     pkgsrc documentation points to wrong link for downloading pkgsrc 
 tarball
  >     http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=33449
  >
  >


State-Changed-From-To: feedback->closed
State-Changed-By: mishka@netbsd.org
State-Changed-When: Mon, 22 May 2006 11:34:54 +0000
State-Changed-Why:
Problem has been solved (indirectly approved by originator).


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.