Subject: Re: CVS commit: pkgsrc/pkgtools/pkg_install/files
To: Jeremy C. Reed <reed@reedmedia.net>
From: Alistair Crooks <agc@pkgsrc.org>
List: pkgsrc-changes
Date: 06/12/2005 13:31:27
At the risk of flogging a dead horse:

On Sat, Jun 11, 2005 at 09:07:50PM -0700, Jeremy C. Reed wrote:
> On Sun, 12 Jun 2005, Jeroen Ruigrok/asmodai wrote:
> 
> > -On [20050611 20:22], Hubert Feyrer (hubert@feyrer.de) wrote:
> > >Because we can say the user who complained that version X doesn't
> > >build: "get version Y, it will build".
> > >I have repeatedly bumped the revision after committing fixes to a package
> > >that make it built, e.g. from bulk build fallout or others, and it is my
> > >gut feeling that we should continue to do so.
> >
> > Exactly.  Arguing semantics over whatever feels historically right will mean
> > jack to Joe Average User that just wants his stuff to work.  And refering to
> > a specific version of a tool to said user in order to answer his question
> > why it does not work makes a lot of support people happy.
> 
> But in this specific case, it does not matter because there was not any
> package in the first place for that version (because the package would not
> build).

There may not be a binary package for the "broken" platforms, but that
is not the point.  What you are advocating is having two sets of
sources, both labelled identically.  One set of sources will build on
one group of operating systems, and the other set of sources will
build on a different set.
 
> We never say to any pkgsrc user to update to a certain "pkgsrc"
> specification based on a package version. We mostly say update pkgsrc or
> give the specific CVS revision numbers to update to.

No, that's not correct.  I have never told anyone to update to a
version by CVS Id; I have often told people to update to
pkg_install-<date>.  bsd.pkg.mk used to require a version of
PKGTOOLS_REQD, based on the version number.  The pkg_install package
derives its version number automatically from the value hardcoded in
version.h:

DISTNAME=               pkg_install-${VERSION}
...
VERSION!=               ${AWK} -F '"' '/PKGTOOLS_VERSION/ {print $$2}' \
                        ${FILESDIR}/lib/version.h

Please let's put this to bed - I'm sure that we all have much more
important things to be doing.

Regards,
Alistair