Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

[µTOOL] - bininfo - Retrieve informations from binary

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
xchris
Advocate
Advocate
User avatar
Posts: 2824
Joined: Thu Jul 10, 2003 10:21 pm

[µTOOL] - bininfo - Retrieve informations from binary

  • Quote

Post by xchris » Wed Sep 29, 2004 5:42 pm

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: Select all

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: Select all

wget http://www.xchris.net/download.php?file=files/bininfo.gz -O bininfo.gz
http://www.xchris.net/download.php?file ... bininfo.gz

bye
Last edited by xchris on Sat Feb 26, 2005 10:25 am, edited 2 times in total.
while True:Gentoo()
Top
asph
l33t
l33t
User avatar
Posts: 741
Joined: Mon Aug 25, 2003 8:52 am
Location: Barcelona, Spain

  • Quote

Post by asph » Wed Sep 29, 2004 5:58 pm

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
Top
xchris
Advocate
Advocate
User avatar
Posts: 2824
Joined: Thu Jul 10, 2003 10:21 pm

  • Quote

Post by xchris » Wed Sep 29, 2004 6:09 pm

wow. :)
it was worth posting it :)
bye
while True:Gentoo()
Top
asph
l33t
l33t
User avatar
Posts: 741
Joined: Mon Aug 25, 2003 8:52 am
Location: Barcelona, Spain

  • Quote

Post by asph » Tue Oct 05, 2004 3:50 pm

you could specify the usage when the user executes it without args :)

Code: Select all

# ./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
Top
xxchris
n00b
n00b
Posts: 23
Joined: Thu Oct 07, 2004 6:35 am

  • Quote

Post by xxchris » Thu Oct 07, 2004 8:39 am

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
Top
Post Reply

5 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy