From owner-svn-src-all@FreeBSD.ORG  Tue May 27 07:36:20 2014
Return-Path: <owner-svn-src-all@FreeBSD.ORG>
Delivered-To: svn-src-all@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 4B6E0513;
 Tue, 27 May 2014 07:36:20 +0000 (UTC)
Received: from mailrelay011.isp.belgacom.be (mailrelay011.isp.belgacom.be
 [195.238.6.178])
 by mx1.freebsd.org (Postfix) with ESMTP id BD6F3288D;
 Tue, 27 May 2014 07:36:18 +0000 (UTC)
X-Belgacom-Dynamic: yes
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ao0HALc/hFNbsXvB/2dsb2JhbABZFoJxUkutUpRQAYEKF3SCJQEBBTocIxALDgoJJQ8qHgaIWQEI1BsXjlIHhEABA5lygT6RaoM6Oy8
Received: from 193.123-177-91.adsl-dyn.isp.belgacom.be (HELO
 kalimero.tijl.coosemans.org) ([91.177.123.193])
 by relay.skynet.be with ESMTP; 27 May 2014 09:36:15 +0200
Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org
 [127.0.0.1])
 by kalimero.tijl.coosemans.org (8.14.8/8.14.8) with ESMTP id s4R7aEFQ001068;
 Tue, 27 May 2014 09:36:14 +0200 (CEST)
 (envelope-from tijl@FreeBSD.org)
Date: Tue, 27 May 2014 09:36:14 +0200
From: Tijl Coosemans <tijl@FreeBSD.org>
To: Nathan Whitehorn <nwhitehorn@freebsd.org>
Subject: Re: svn commit: r266553 - head/release/scripts
Message-ID: <20140527093614.00ef5195@kalimero.tijl.coosemans.org>
In-Reply-To: <5383EEB6.6010703@freebsd.org>
References: <201405221922.s4MJM4Y9025265@svn.freebsd.org>
 <537F6706.6070509@freebsd.org>
 <20140523153619.GF72340@ivaldir.etoilebsd.net>
 <537F6EBC.3080008@freebsd.org>
 <20140523162020.GG72340@ivaldir.etoilebsd.net>
 <C5A59513-AF58-4749-BCD7-F54BB6F56E90@gmail.com>
 <20140524165940.3c687553@kalimero.tijl.coosemans.org>
 <5380C311.60201@freebsd.org>
 <20140524185345.263f230d@kalimero.tijl.coosemans.org>
 <1400955835.1152.323.camel@revolution.hippie.lan>
 <5380EBA8.1030200@freebsd.org>
 <20140525011307.142b41ab@kalimero.tijl.coosemans.org>
 <3CCAFAD3-FABE-40EF-ABF9-815FE5826349@bsdimp.com>
 <9FE34CE4-C71F-4806-9EF6-30CB1051C62F@bsdimp.com>
 <20140526113502.239db74d@kalimero.tijl.coosemans.org>
 <5383522F.30108@freebsd.org>
 <004b01cf7936$9fb11050$df1330f0$@FreeBSD.org>
 <5383EEB6.6010703@freebsd.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: 'Baptiste Daroussin' <bapt@FreeBSD.org>, src-committers@FreeBSD.org,
 'Ian Lepore' <ian@FreeBSD.org>, svn-src-all@FreeBSD.org,
 'Glen Barber' <gjb@FreeBSD.org>, svn-src-head@FreeBSD.org, dteske@FreeBSD.org,
 'Warner Losh' <imp@bsdimp.com>
X-BeenThere: svn-src-all@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: "SVN commit messages for the entire src tree \(except for &quot;
 user&quot; and &quot; projects&quot; \)" <svn-src-all.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-all/>
List-Post: <mailto:svn-src-all@freebsd.org>
List-Help: <mailto:svn-src-all-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 27 May 2014 07:36:20 -0000

On Mon, 26 May 2014 18:47:34 -0700 Nathan Whitehorn wrote:
> I've written two patches today. The first 
> (http://people.freebsd.org/~nwhitehorn/pkg_machinearch.diff) is to pkg 
> itself and the second 
> (http://people.freebsd.org/~nwhitehorn/pkg_bootstrap_machinearch.diff) 
> is to the pkg bootstrapper in base. These switch pkg from using 
> identifiers like "freebsd:11:arm:be:eabi:softfp" to identifiers like 
> "FreeBSD:11:armeb", matching the canonical FreeBSD platform identifiers. 
> The strings it uses can be predicted easily from scripts, as they are 
> identical in all cases to the output of `uname -s`:`uname -r | cut -f 1 
> -d .`:`uname -p`.

If those are the current names for arm then I also prefer uname -p for
the third field.  If each arch gets a default value of 32 or 64 for the
fourth field it can also be left out in many cases.