Date: Sat, 27 Oct 2007 23:57:05 +0200 From: Kris Kennaway <kris@FreeBSD.org> To: obrien@FreeBSD.org Cc: Scott Long <scottl@samsco.org>, src-committers@FreeBSD.org, d@delphij.net, John Baldwin <jhb@FreeBSD.org>, Andrey Chernov <ache@nagual.pp.ru>, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org, Ken Smith <kensmith@cse.Buffalo.EDU> Subject: Re: cvs commit: src/lib/libc/locale utf8.c Message-ID: <4723B431.6010507@FreeBSD.org> In-Reply-To: <20071027210146.GA37660@dragon.NUXI.org> References: <200710150951.l9F9pUm7026506@repoman.freebsd.org> <200710261141.51639.jhb@freebsd.org> <1193414454.7390.20.camel@opus.cse.buffalo.edu> <200710261224.41369.jhb@freebsd.org> <1193424434.7390.44.camel@opus.cse.buffalo.edu> <20071026203013.GA99714@dragon.NUXI.org> <1193435169.96540.3.camel@neo.cse.buffalo.edu> <20071027210146.GA37660@dragon.NUXI.org>
next in thread | previous in thread | raw e-mail | index | archive | help
David O'Brien wrote:
> On Fri, Oct 26, 2007 at 05:46:09PM -0400, Ken Smith wrote:
>> On Fri, 2007-10-26 at 13:30 -0700, David O'Brien wrote:
>>> On Fri, Oct 26, 2007 at 02:47:13PM -0400, Ken Smith wrote:
>>>> If portmgr@ uses RELENG_6 to base their builds on breaking forward
>>>> compat would mean all consumers of packages-6-stable would also
>>>> need to use RELENG_6.
>>> When did this sease being a requirement?
>>> 'pkg_add -r' certainly enforces this requirement. `pkg_add -r jive'
>>> on 6.2-RELEASE will always pull from the packages-6.2-release/ and
>>> not packages-6-stable/.
>> I thought you could use portupgrade on a 6.2-REL system and have it
>> pull the packages from a packages-6-stable tree.
>
> This is not the case for 'portupgrade -P[P]':
> pkgtools.rb:
> uname = `uname -rm`.chomp
> if m = /^(((\d+)(?:\.\d+)+)-(\w+)(-\S+)?) (\w+)$/.match(uname)
> OS_RELEASE, OS_REVISION, OS_MAJOR,
> OS_BRANCH, os_patchlevel, OS_PLATFORM = m[1..-1]
> OS_PATCHLEVEL = os_patchlevel || ""
> case OS_BRANCH
> when /^CURRENT$/ # <n>-current
> OS_PKGBRANCH = sprintf('%s-%s', OS_MAJOR, OS_BRANCH.downcase)
> when /^RELEASE$/ # <n>.<m>-release
> OS_PKGBRANCH = sprintf('%s-%s', OS_REVISION, OS_BRANCH.downcase)
> else # <n>-stable
> # when /^(PRERELEASE|RC\d*|ALPHA|BETA)$/
> OS_PKGBRANCH = sprintf('%s-%s', OS_MAJOR, 'stable')
> end
>
portupgrade uses the same environment variables that pkg_add does that
allow the user to override the default to packages-6-stable/. Many
users do this.
Kris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4723B431.6010507>
