cvs commit: src/lib/libc/locale utf8.c

Kris Kennaway kris at FreeBSD.org
Sat Oct 27 14:57:05 PDT 2007


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


More information about the cvs-src mailing list