View previous topic :: View next topic |
Author |
Message |
xchris Advocate
Joined: 10 Jul 2003 Posts: 2824
|
Posted: Wed Sep 29, 2004 5:42 pm Post subject: [µTOOL] - bininfo - Retrieve informations from binary |
|
|
I've been asked how to discover useflags used in a binary package (tbz2)
then i created this "stupid" script.
Hope it will be usefull to somebody
A screenshot:
Code: |
root@lyra BinInfo # ./bininfo /usr/portage/packages/All/postfix-2.1.3.tbz2
BinInfo - ver 0.1
*mail-mta/postfix-2.1.3
USEFLAGS : +ipv6 +pam -ldap +mysql -postgres +ssl -sasl -vda -mailwrapper -mbox
CXX : g++
CC : gcc
CHOST : i686-pc-linux-gnu
CFLAGS : -O3 -march=pentium4 -fomit-frame-pointer -pipe
CXXFLAGS : -O3 -march=pentium4 -fomit-frame-pointer -pipe
SLOT : 0
PROVIDE : virtual/mta virtual/mda
LICENSE : IPL-1
|
download
Code: |
wget http://www.xchris.net/download.php?file=files/bininfo.gz -O bininfo.gz
|
http://www.xchris.net/download.php?file=files/bininfo.gz
bye _________________ while True:Gentoo()
Last edited by xchris on Sat Feb 26, 2005 10:25 am; edited 2 times in total |
|
Back to top |
|
|
asph l33t
Joined: 25 Aug 2003 Posts: 741 Location: Barcelona, Spain
|
Posted: Wed Sep 29, 2004 5:58 pm Post subject: |
|
|
great job, very simple and useful
thanks _________________ gentoo sex is updatedb; locate; talk; date; cd; strip; look; touch; finger; unzip; uptime; gawk; head; emerge --oneshot condom; mount; fsck; gasp; more; yes; yes; yes; more; umount; emerge -C condom; make clean; sleep |
|
Back to top |
|
|
xchris Advocate
Joined: 10 Jul 2003 Posts: 2824
|
Posted: Wed Sep 29, 2004 6:09 pm Post subject: |
|
|
wow.
it was worth posting it
bye _________________ while True:Gentoo() |
|
Back to top |
|
|
asph l33t
Joined: 25 Aug 2003 Posts: 741 Location: Barcelona, Spain
|
Posted: Tue Oct 05, 2004 3:50 pm Post subject: |
|
|
you could specify the usage when the user executes it without args
Code: | # ./bininfo
BinInfo - ver 0.1
!!! Only one argument please! |
_________________ gentoo sex is updatedb; locate; talk; date; cd; strip; look; touch; finger; unzip; uptime; gawk; head; emerge --oneshot condom; mount; fsck; gasp; more; yes; yes; yes; more; umount; emerge -C condom; make clean; sleep |
|
Back to top |
|
|
xxchris n00b
Joined: 07 Oct 2004 Posts: 23
|
Posted: Thu Oct 07, 2004 8:39 am Post subject: |
|
|
yes you're right..
it was a 5 minute script
as soon as i put it in gekit ebuild (a collection of script from italian guys called Gechi) i will adjust it
We're planning to use it for a gentoo installation party for speeding up installtion for compatible machine (and settings)
bye
P.S.:i'm tha author.. lost main access for forum notify problems :S _________________ while true...Gentoo |
|
Back to top |
|
|
|