From owner-freebsd-ports@FreeBSD.ORG Mon Jan 21 13:29:05 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9702C97B for ; Mon, 21 Jan 2013 13:29:05 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-we0-x22d.google.com (mail-we0-x22d.google.com [IPv6:2a00:1450:400c:c03::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 2A533AE for ; Mon, 21 Jan 2013 13:29:05 +0000 (UTC) Received: by mail-we0-f173.google.com with SMTP id z2so1608499wey.32 for ; Mon, 21 Jan 2013 05:29:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=rpyjQ4rTqAfi4aomXbk0y7fPnd3ooz8+xXB5Ep3WSNI=; b=KyoSD3SchtOS1myTy69aP4025GC2Oth/zZQgeYFXRAy0JKWSxBJpYP8yWwu5SReZ7D Drte0GHq84fPRarxZEY9cyJ2bPXc0PJJ0NTGm4lXlI4gClFhu4/V3efV+vmQe1TheoDl aIl03MT5OLZGrhH7yWE8MjLwV7uZQvIR3JVbnMS48hbHa1hFkJY5kSZQ+N7Ah3/PauBp MWUvJ1FJl5hc6m++iwEMv+rzb4+AYL/Vmu10zDslg27kQds+h3ECVvcWET8jucldqvIO BaXaXNCan0A60K7PtvQbLhnnbwEPpr8jh5/qljc+MExE78//koYg1BNeHb+vYSqfYMkF d72w== X-Received: by 10.194.108.229 with SMTP id hn5mr26551057wjb.8.1358774943819; Mon, 21 Jan 2013 05:29:03 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPS id df2sm16892028wib.0.2013.01.21.05.29.02 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 21 Jan 2013 05:29:02 -0800 (PST) Sender: Baptiste Daroussin Date: Mon, 21 Jan 2013 14:29:00 +0100 From: Baptiste Daroussin To: Alex Keda Subject: Re: [PKGNG] where I can find $ABI? Message-ID: <20130121132859.GB7122@ithaqua.etoilebsd.net> References: <50FD3DB9.7070103@lissyara.su> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IiVenqGWf+H9Y6IX" Content-Disposition: inline In-Reply-To: <50FD3DB9.7070103@lissyara.su> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 13:29:05 -0000 --IiVenqGWf+H9Y6IX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 21, 2013 at 05:08:09PM +0400, Alex Keda wrote: > I create my own repository. > but, $ABI I create as: > v1=3D`uname -s | tr "[:upper:]" "[:lower:]"` > v2=3D`uname -r | awk -F '.' '{print $1}'` > v3=3Dx86 > v4=3D`sysctl -n hw.machine_arch | tr -d "[:alpha:]"` > ABI=3D"$v1:$v2:$v3:$v4" > (for example) >=20 > may be add some key to pkg command, for output pkg_get_myabi() result? okg -vv should output you ABI If you want to get the information out of a package pkg info -fF mypkg.txz | grep "^arch:" Should output the ABI for you regards, Bapt --IiVenqGWf+H9Y6IX Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlD9QpsACgkQ8kTtMUmk6EyEMACgs39lXQFzUtZ0mE03KDNPrpMR PYIAniYHSBJxHPOHxdSm8of2Jbu/zKoQ =Zkth -----END PGP SIGNATURE----- --IiVenqGWf+H9Y6IX--