Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 2000 15:33:42 +0200
From:      Neil Blakey-Milner <nbm@mithrandr.moria.org>
To:        SADA Kenji <sada@bsdclub.org>
Cc:        alex@big.endian.de, asami@FreeBSD.org, ports@FreeBSD.ORG
Subject:   Re: proposal: PRENAME variable
Message-ID:  <20000409153342.A72327@mithrandr.moria.org>
In-Reply-To: <20000409213821C.sada@bsdclub.org>
References:  <20000409115602.A1056@cichlids.cichlids.com> <20000409213821C.sada@bsdclub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun 2000-04-09 (21:38), SADA Kenji wrote:
> >> Aren't all prefixes [a-z]+- anyway?
> >> So we could set PKGNAMEPREFIX to "ja", and then not
> >> $PKGNAMEPREFIX$PORTNAME but $PKGNAMEPREFIX-$PORTNAME.
> 
> Maybe the default value of $PKGNAMEPREFIX is "".

Hrm, while we're at it, how about one or both of:

PORT_EPOCH is either empty, or a positive integer reflecting the number
of times the version number has changed to a lower version due to stupid
versioning.  This is something Debian does.

Ie, if we have a port named foo-120399 (and we had a few like that)
which later became foo-1.0.1, we'd bump the PORT_EPOCH to 1, and
carry on from there.

PORT_REVISION is either empty, defaulting to 0, or a positive
integer reflecting some sort of change in the packages provided or
required dependencies.  If gnomelibs-0.53 depended on libjpeg.so.7,
but the latest libjpeg port/package now provides libjpeg.so.8, we'd
have to set PORT_REVISION to make sure this is taken into account.

Another one I've seen is the move from not providing a shared or
static library to providing it.

Debian represents this as:

[epoch:]packagename_version-revision.

I'd suggest we try:

packagename-version[_revision][:epoch] to remain basically backwards
compatible, and gain the same playing parameters of possibly the
leading package management collection.

And for my next trick, I'll import dpkg into the base system! ;)

More seriously, the dpkg package management engine is pretty nifty,
even if the code is painful on the eyes and brain.  My Debian-wielding
friends could even manage to get me to try it out some day.

Neil
-- 
Neil Blakey-Milner
nbm@rucus.ru.ac.za


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000409153342.A72327>