[aur-general] script to check a binary package for architecture-independence
Gerardo Exequiel Pozzi
vmlinuz386 at yahoo.com.ar
Mon Nov 2 09:14:50 EST 2009
Chris Brannon wrote:
> Here's a script to check the architecture-independence of a binary package.
> It only checks to see whether or not a tarball contains files that start
> with the ELF magic number, bytes 0x7f E L F.
> Maybe someone will find it useful.
> -- Chris
There is no attach here.
 But only doing this check (ELF signature) is just a necessary
condition but not sufficient.
 Should also check the machine (sufficient), because there are
packages for example AVR and ARM that from point of view of -any are
"architecture-independence". (some "crazy" :P packages have SPARC ELFs)
 And also (I din't see the script, so i just suppose), you also need
to exactarc archives files (.a) and analize the content of each object
with  and 
Gerardo Exequiel Pozzi ( djgera )
Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D
More information about the aur-general