Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
what ebuild provides dig or nslookup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
bombcar
Guru
Guru


Joined: 08 Apr 2003
Posts: 453
Location: Wisconsin

PostPosted: Mon Feb 23, 2004 10:13 pm    Post subject: what ebuild provides dig or nslookup Reply with quote

I can't seem to find it. I wish there was an emerge -S "command provided" option. :cry:
Back to top
View user's profile Send private message
Gruffi
Apprentice
Apprentice


Joined: 15 Aug 2003
Posts: 209
Location: Antwerpen - Flanders - Belgium

PostPosted: Mon Feb 23, 2004 10:19 pm    Post subject: Reply with quote

Code:
kai7up root # emerge -s bind-tools
Searching...   
[ Results for search key : bind-tools ]
[ Applications found : 1 ]
 
*  net-dns/bind-tools
      Latest version available: 9.2.2
      Latest version installed: 9.2.2
      Size of downloaded files: 4,951 kB
      Homepage:    http://www.isc.org/products/BIND/bind9-beta.html
      Description: bind tools: dig, nslookup, and host
      License:     as-is

_________________
... and we will show Microsoft, that they cannot take whatever they want. And that Free Software is our software!
Back to top
View user's profile Send private message
fcgreg
Apprentice
Apprentice


Joined: 17 May 2003
Posts: 264
Location: California, USA

PostPosted: Mon Feb 23, 2004 10:20 pm    Post subject: This one eludes many :-) Reply with quote

You can find it in Portage under the name "bind-tools" (net-dns/bind-tools). It includes dig, nslookup, and host.

Happy Gentoo-ing!
_________________
Greg T.
Back to top
View user's profile Send private message
Gruffi
Apprentice
Apprentice


Joined: 15 Aug 2003
Posts: 209
Location: Antwerpen - Flanders - Belgium

PostPosted: Mon Feb 23, 2004 10:32 pm    Post subject: Reply with quote

actually i should have posted this code:

Code:
kai7up root # emerge -S nslookup
Searching...   
[ Results for search key : nslookup ]
[ Applications found : 1 ]
 
*  net-dns/bind-tools
      Latest version available: 9.2.2
      Latest version installed: 9.2.2
      Size of downloaded files: 4,951 kB
      Homepage:    http://www.isc.org/products/BIND/bind9-beta.html
      Description: bind tools: dig, nslookup, and host
      License:     as-is

_________________
... and we will show Microsoft, that they cannot take whatever they want. And that Free Software is our software!
Back to top
View user's profile Send private message
bombcar
Guru
Guru


Joined: 08 Apr 2003
Posts: 453
Location: Wisconsin

PostPosted: Mon Feb 23, 2004 10:36 pm    Post subject: Reply with quote

Thank you! I tried bindutils, but obviously I was off a bit.
Back to top
View user's profile Send private message
jtaylor72
Apprentice
Apprentice


Joined: 01 Feb 2004
Posts: 197
Location: "the can", WA

PostPosted: Wed Feb 25, 2004 2:01 am    Post subject: Reply with quote

Baron FrostFire wrote:
actually i should have posted this code:

Code:
kai7up root # emerge -S nslookup
Searching...   
[ Results for search key : nslookup ]
[ Applications found : 1 ]
 
*  net-dns/bind-tools
      Latest version available: 9.2.2
      Latest version installed: 9.2.2
      Size of downloaded files: 4,951 kB
      Homepage:    http://www.isc.org/products/BIND/bind9-beta.html
      Description: bind tools: dig, nslookup, and host
      License:     as-is


How did you get your search to do this? When I searched for nslookup, it returned 0 results.
Back to top
View user's profile Send private message
ledskof
Apprentice
Apprentice


Joined: 22 Oct 2002
Posts: 209

PostPosted: Wed Feb 25, 2004 2:24 am    Post subject: Reply with quote

If you look really close, you'll see that he used a capital 'S', which is the same as doing:
Code:
fireskof root # emerge --searchdesc nslookup
Searching...
[ Results for search key : nslookup ]
[ Applications found : 1 ]
 
*  net-dns/bind-tools
      Latest version available: 9.2.2
      Latest version installed: 9.2.2
      Size of downloaded files: 4,951 kB
      Homepage:    http://www.isc.org/products/BIND/bind9-beta.html
      Description: bind tools: dig, nslookup, and host
      License:     as-is


Here's the info on it:
Code:
       --searchdesc (-S)
              Matches the search string against the description field as  well
              as  the package name.  Take caution as the descriptions are also
              matched as regular expressions.
Back to top
View user's profile Send private message
bombcar
Guru
Guru


Joined: 08 Apr 2003
Posts: 453
Location: Wisconsin

PostPosted: Wed Feb 25, 2004 9:20 pm    Post subject: Sounds good Reply with quote

Looks close to what I want, but I'd still like an exact list of each command provided by an ebuild; for example, netatalk provides a bunch of little commands that are hard to find unless you know they came from netatalk.
Back to top
View user's profile Send private message
ledskof
Apprentice
Apprentice


Joined: 22 Oct 2002
Posts: 209

PostPosted: Wed Feb 25, 2004 9:33 pm    Post subject: Reply with quote

That's a little extreme don't you think?
Do you just want the executable binaries or every file it installs?
That would quite inflate the size of the portage tree. Imagine all the files just for something like xfree. Even if you only include binaries. It would also create a lot of unncessary portage maintenance everytime packages change their binaries. It would be difficult to write a script to search through the packages to determine that type of thing...

Otherwise, if you emerge the gentoolkit, and if you have the package installed already, you could either do
Code:
etcat -f bind-tools
or
Code:
qpkg -l bind-tools
Back to top
View user's profile Send private message
sevec
n00b
n00b


Joined: 02 Jan 2004
Posts: 47

PostPosted: Wed Feb 25, 2004 9:39 pm    Post subject: Reply with quote

yes.. sometimes i too wished there was a field in the ebuild besides the description for the commands it provides and maybe also the shared libraries.

it might be nice to have but i don't know how usefull it would be.
Back to top
View user's profile Send private message
bombcar
Guru
Guru


Joined: 08 Apr 2003
Posts: 453
Location: Wisconsin

PostPosted: Wed Feb 25, 2004 10:37 pm    Post subject: Reply with quote

I don't think it would be all that hard; after the "work" directory is used but pre installation of the files, a simple find command would find all the executable.

RPMs provide "--whatprovides" and similar options. I think it would be very useful, at least when I want to run a command, but don't know where it comes from.

Dumb luck saves me most of the time, if I want to run emacs, I can just
Code:
emerge -p emacs
and find that that's what I want.

Sometimes I have to use emerge -s, but I'd really like to be able to find some of the obscure commands.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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