Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[µTOOL] - bininfo - Retrieve informations from binary
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Sep 29, 2004 5:42 pm    Post subject: [µTOOL] - bininfo - Retrieve informations from binary Reply with quote

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
View user's profile Send private message
asph
l33t
l33t


Joined: 25 Aug 2003
Posts: 741
Location: Barcelona, Spain

PostPosted: Wed Sep 29, 2004 5:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Sep 29, 2004 6:09 pm    Post subject: Reply with quote

wow. :)
it was worth posting it :)
bye
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
asph
l33t
l33t


Joined: 25 Aug 2003
Posts: 741
Location: Barcelona, Spain

PostPosted: Tue Oct 05, 2004 3:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
xxchris
n00b
n00b


Joined: 07 Oct 2004
Posts: 23

PostPosted: Thu Oct 07, 2004 8:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum