Subject: Re: pkgsrc sickness
To: Hubert Feyrer <firstname.lastname@example.org>
From: Frederick Bruckman <email@example.com>
Date: 08/22/2002 05:49:05
On Thu, 22 Aug 2002, Hubert Feyrer wrote:
> On Wed, 21 Aug 2002, Frederick Bruckman wrote:
> > So I give the faked package a different name. This is the result of
> > rebuilding "xmms" recently:
> > # pkg_info -e '*-SO-*'
> > gal-SO-0.19nb1
> > libogg-SO-126.96.36.199
> > libvorbis-SO-188.8.131.52
> > png-SO-1.2.1
> IC. While I think it'd be nicer to allow having several pkgs of the same
> name installed in that case, I understand your solution is OK too.
> May I suggest to s/SO/updated/ though, to make it more obvious what
Mere details. ;-)
Whatever it is to be, I think it should be all caps, to make it
impossible to confuse with a package that's actually named, say
"png-old". I actually considered using an unprintable character to
construct the reserved name, but that would be needlessly annoying.
> BTW, any chance to make that pkg_hack work with binary pkgs only? :)
Already done! "pkg_hack -a" isn't quite suitable as an alias to
"pkg_add", as it can only take a single argument, but otherwise it
works a little better than "make install", as you can pretend it's
atomic, and the +CONTENTS file always exists, whereas the PLIST
sometimes has to be generated.