Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2013 14:29:00 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Alex Keda <admin@lissyara.su>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: [PKGNG] where I can find $ABI?
Message-ID:  <20130121132859.GB7122@ithaqua.etoilebsd.net>
In-Reply-To: <50FD3DB9.7070103@lissyara.su>
References:  <50FD3DB9.7070103@lissyara.su>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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