public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Finding packages which provide a file
@ 2006-05-22  6:40 Alexander Skwar
  2006-05-22  7:01 ` Trevor Rhodes
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Alexander Skwar @ 2006-05-22  6:40 UTC (permalink / raw
  To: gentoo-user

Hello.

 From time to time, I'm looking for a *not* installed package, which
might provide a certain file. Say, I'd like to know, which packages
could provide "/etc/foo/bar", how would I do that? Are there any sites
out there, which provide a "database", which "connect" installed file
to package? Sort of like a compilation of /var/db/pkg/*/*/CONTENTS?

Thanks,

Alexander Skwar
-- 
A woman, especially if she have the misfortune of knowing anything,
should conceal it as well as she can.
						-- Jane Austen
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] Finding packages which provide a file
  2006-05-22  6:40 [gentoo-user] Finding packages which provide a file Alexander Skwar
@ 2006-05-22  7:01 ` Trevor Rhodes
  2006-05-22  8:55 ` Neil Bothwick
  2006-05-26 17:54 ` Daniel Vrcic
  2 siblings, 0 replies; 12+ messages in thread
From: Trevor Rhodes @ 2006-05-22  7:01 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 985 bytes --]

Hello,

>  From time to time, I'm looking for a *not* installed package, which
> might provide a certain file. Say, I'd like to know, which packages
> could provide "/etc/foo/bar", how would I do that? Are there any sites
> out there, which provide a "database", which "connect" installed file
> to package? Sort of like a compilation of /var/db/pkg/*/*/CONTENTS?

I would suggest http://rpm.pbone.net

I know we don't use rpms, but it will give you the name you are after.

-- 
 Regards
      Trevor Rhodes
===========================================
Powered by Linux                -            Gentoo
Registered Linux user # 290542 at http://counter.li.org
Registered Machine #186951
Source :  my 100 % Microsoft-free personal computer.
gpg public key: http://www.rhodes-online.net/trevor.asc
===========================================
 17:00:19 up 6 days, 36 min,  3 users,  load average: 1.30, 0.80, 0.40

Windows Tip of the Day #1:  Migrate to Linux!!!

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] Finding packages which provide a file
  2006-05-22  6:40 [gentoo-user] Finding packages which provide a file Alexander Skwar
  2006-05-22  7:01 ` Trevor Rhodes
@ 2006-05-22  8:55 ` Neil Bothwick
  2006-05-22 10:28   ` Alexander Skwar
  2006-05-26 17:54 ` Daniel Vrcic
  2 siblings, 1 reply; 12+ messages in thread
From: Neil Bothwick @ 2006-05-22  8:55 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 834 bytes --]

On Mon, 22 May 2006 08:40:01 +0200, Alexander Skwar wrote:

>  From time to time, I'm looking for a *not* installed package, which
> might provide a certain file. Say, I'd like to know, which packages
> could provide "/etc/foo/bar", how would I do that? Are there any sites
> out there, which provide a "database", which "connect" installed file
> to package? Sort of like a compilation of /var/db/pkg/*/*/CONTENTS?

http://packages.debian.org will give a clue.

AFAIK there's no database of Gentoo packages such as you ask for. Such a
database would be inaccurate, because package contents are USE flag
dependent, so anyone charitable enough to set one up would probably spend
most of their time fielding questions about incorrect data :(


-- 
Neil Bothwick

Crime doesn't pay? Does that mean my job is illegal?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] Finding packages which provide a file
  2006-05-22  8:55 ` Neil Bothwick
@ 2006-05-22 10:28   ` Alexander Skwar
  2006-05-22 10:50     ` Neil Bothwick
  2006-05-22 20:21     ` [OT] Was: " Ryan Tandy
  0 siblings, 2 replies; 12+ messages in thread
From: Alexander Skwar @ 2006-05-22 10:28 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:

> AFAIK there's no database of Gentoo packages such as you ask for. Such a
> database would be inaccurate, because package contents are USE flag
> dependent, so anyone charitable enough to set one up would probably spend
> most of their time fielding questions about incorrect data :(

Nah, not necessarily. For every listed file, it would be required
to show to which package(s) it belongs and also, how those packages
were built (ie. with which USE flags). So, not only the listing
of all the CONTENT files would be of interest, but also the keyword
(ie. x86, amd64, ...) and the associated USE flags.

BTW: How can I find out, with which *relevant* USE flags a package
has been built? Eg. gnome-base/gnome. In /var/db/pkg/gnome-base/gnome-2.14.1,
I find a "USE" file. But it contains *WAY* too many flags:

alexander@blatt /var/db/pkg/gnome-base/gnome-2.14.1 $ cat USE
x86 GAPING_SECURITY_HOLE X acpi alsa amd apache2 apm arts artswrappersuid async avi bash-completion bdf berkdb bitmap-fonts bluetooth bootsplash cairo caps cardbus ccache cdda cddb cdio cdparanoia cdr cdrom cle266 cli crypt css curlwrappers dbus devmap dillo divx4linux dlloader dri dvd dvdread 
emoticon esd exif fam fbcon fbdev firefox fping freetype gdbm gif gnokii gnome gstreamer gtk gtk2 hal hpn icc id3 idn imap imlib imlib2 insecure-drivers insecure-savers isdnlog javascript jikes jpeg kde kdeenablefinal libedit libwww linuxthreads-tls logrotate lynxkeymap mad madwifi maildir matroska 
mbox mmx mmxext mozilla moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 mplayer multicall ncurses netboot network new-login nfs nis nls no-old-linux no-suexec noantlr nobcel nobeanutils nobsf nobsh nocd nocommonslogging nocommonsnet nodrm nogg nogulm nojsch nojython nolog4j nomac nooro nopri norhino noxalan 
noxerces nozaptel nptl nsplugin offensive ogg opengl openssh pam_console pam_timestamp passfile password patented pccts pcmcia pcre perl perlsuid pic player png pnp pppd qt quicktime rar readline real recode reflection reiserfs sdl sendfile sensord session sftp sms spell spf spl sse sse2 ssl 
startup-notification stream subp subtitles suid symlink sysfs syslog tiff transcode truetype truetype-fonts trusted type1-fonts udev underscores unichrome unicode unsafe usb utf8 uudeview vim vim-pager vlm vorbis wifi win32codecs wma123 x11vnc xinetd xml xmms xorg xpm xprint xscreensaver xv xvid 
xvmc zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_-synaptics kernel_linux linguas_de userland_GNU video_cards_fbdev video_cards_vesa video_cards_vga video_cards_via


I'd rather only see the relevant flags; ie. those flags, which
are shown when I do a "emerge -v", like so:

alexander@blatt /var/db/pkg/gnome-base/gnome-2.14.1 $ emerge -vpt gnome

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] gnome-base/gnome-2.14.1  USE="-accessibility cdr -dvdr hal" 0 kB

Total size of downloads: 0 kB

So, I would like to see

	-accessibility cdr -dvdr hal

How to do that?

Thanks,

Alexander Skwar
-- 
panic("Foooooooood fight!");
         linux-2.2.16/drivers/scsi/aha1542.c
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] Finding packages which provide a file
  2006-05-22 10:28   ` Alexander Skwar
@ 2006-05-22 10:50     ` Neil Bothwick
  2006-05-22 12:15       ` Alexander Skwar
  2006-05-22 20:21     ` [OT] Was: " Ryan Tandy
  1 sibling, 1 reply; 12+ messages in thread
From: Neil Bothwick @ 2006-05-22 10:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1202 bytes --]

On Mon, 22 May 2006 12:28:22 +0200, Alexander Skwar wrote:

> > AFAIK there's no database of Gentoo packages such as you ask for.
> > Such a database would be inaccurate, because package contents are USE
> > flag dependent, so anyone charitable enough to set one up would
> > probably spend most of their time fielding questions about incorrect
> > data :(
> 
> Nah, not necessarily. For every listed file, it would be required
> to show to which package(s) it belongs and also, how those packages
> were built (ie. with which USE flags). So, not only the listing
> of all the CONTENT files would be of interest, but also the keyword
> (ie. x86, amd64, ...) and the associated USE flags.

How many permutations would there be. Packages lke mplayer and php use
dozens of USE flags, compiling with every combination would a day
and forever (which is longer than forever and a day).

> BTW: How can I find out, with which *relevant* USE flags a package
> has been built? Eg. gnome-base/gnome.
> In /var/db/pkg/gnome-base/gnome-2.14.1, I find a "USE" file. But it
> contains *WAY* too many flags:

genlop -i pkgname


-- 
Neil Bothwick

EMail - garbage at the speed of light.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] Finding packages which provide a file
  2006-05-22 10:50     ` Neil Bothwick
@ 2006-05-22 12:15       ` Alexander Skwar
  0 siblings, 0 replies; 12+ messages in thread
From: Alexander Skwar @ 2006-05-22 12:15 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:
> On Mon, 22 May 2006 12:28:22 +0200, Alexander Skwar wrote:
> 
>> > AFAIK there's no database of Gentoo packages such as you ask for.
>> > Such a database would be inaccurate, because package contents are USE
>> > flag dependent, so anyone charitable enough to set one up would
>> > probably spend most of their time fielding questions about incorrect
>> > data :(
>> 
>> Nah, not necessarily. For every listed file, it would be required
>> to show to which package(s) it belongs and also, how those packages
>> were built (ie. with which USE flags). So, not only the listing
>> of all the CONTENT files would be of interest, but also the keyword
>> (ie. x86, amd64, ...) and the associated USE flags.
> 
> How many permutations would there be.

"Some" :)

> Packages lke mplayer and php use
> dozens of USE flags, compiling with every combination would a day
> and forever (which is longer than forever and a day).

Well, that's necessarily a community effort. For the very reason
that you just mentioned, it's not realistically, that just one
person provides a list.

But if "every" person would contribute, a "complete" database
would be compiled, over time.

>> BTW: How can I find out, with which *relevant* USE flags a package
>> has been built? Eg. gnome-base/gnome.
>> In /var/db/pkg/gnome-base/gnome-2.14.1, I find a "USE" file. But it
>> contains *WAY* too many flags:
> 
> genlop -i pkgname

Thanks.


Alexander Skwar
-- 
Tom's hungry, time to eat lunch.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [OT] Was: [gentoo-user] Finding packages which provide a file
  2006-05-22 10:28   ` Alexander Skwar
  2006-05-22 10:50     ` Neil Bothwick
@ 2006-05-22 20:21     ` Ryan Tandy
  2006-05-22 20:58       ` Rasmus Andersen
  2006-05-22 21:44       ` Alexander Skwar
  1 sibling, 2 replies; 12+ messages in thread
From: Ryan Tandy @ 2006-05-22 20:21 UTC (permalink / raw
  To: gentoo-user

Alexander Skwar wrote:
> alexander@blatt /var/db/pkg/gnome-base/gnome-2.14.1 $ cat USE
> x86 GAPING_SECURITY_HOLE X acpi alsa amd apache2 apm arts 
> artswrappersuid async avi bash-completion bdf berkdb bitmap-fonts 
> bluetooth bootsplash cairo caps cardbus ccache cdda cddb cdio cdparanoia 
> cdr cdrom cle266 cli crypt css curlwrappers dbus devmap dillo divx4linux 
> dlloader dri dvd dvdread emoticon esd exif fam fbcon fbdev firefox fping 
> freetype gdbm gif gnokii gnome gstreamer gtk gtk2 hal hpn icc id3 idn 
> imap imlib imlib2 insecure-drivers insecure-savers isdnlog javascript 
> jikes jpeg kde kdeenablefinal libedit libwww linuxthreads-tls logrotate 
> lynxkeymap mad madwifi maildir matroska mbox mmx mmxext mozilla moznoirc 
> mozsvg mp3 mpeg mpeg2 mpeg4 mplayer multicall ncurses netboot network 
> new-login nfs nis nls no-old-linux no-suexec noantlr nobcel nobeanutils 
> nobsf nobsh nocd nocommonslogging nocommonsnet nodrm nogg nogulm nojsch 
> nojython nolog4j nomac nooro nopri norhino noxalan noxerces nozaptel 
> nptl nsplugin offensive ogg opengl openssh pam_console pam_timestamp 
> passfile password patented pccts pcmcia pcre perl perlsuid pic player 
> png pnp pppd qt quicktime rar readline real recode reflection reiserfs 
> sdl sendfile sensord session sftp sms spell spf spl sse sse2 ssl 
> startup-notification stream subp subtitles suid symlink sysfs syslog 
> tiff transcode truetype truetype-fonts trusted type1-fonts udev 
> underscores unichrome unicode unsafe usb utf8 uudeview vim vim-pager vlm 
> vorbis wifi win32codecs wma123 x11vnc xinetd xml xmms xorg xpm xprint 
> xscreensaver xv xvid xvmc zlib elibc_glibc input_devices_evdev 
> input_devices_keyboard input_devices_mouse input_devices_-synaptics 
> kernel_linux linguas_de userland_GNU video_cards_fbdev video_cards_vesa 
> video_cards_vga video_cards_via

Nothing to do with the original topic, BUT...

I'd be very interested to know how a flag called GAPING_SECURITY_HOLE 
gets into one's USE ;)  I'm assuming you didn't put it there yourself!
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [OT] Was: [gentoo-user] Finding packages which provide a file
  2006-05-22 20:21     ` [OT] Was: " Ryan Tandy
@ 2006-05-22 20:58       ` Rasmus Andersen
  2006-05-22 21:46         ` Ryan Tandy
  2006-05-22 21:44       ` Alexander Skwar
  1 sibling, 1 reply; 12+ messages in thread
From: Rasmus Andersen @ 2006-05-22 20:58 UTC (permalink / raw
  To: gentoo-user

On Mon, May 22, 2006 at 01:21:31PM -0700, Ryan Tandy wrote:
> Nothing to do with the original topic, BUT...
> 
> I'd be very interested to know how a flag called GAPING_SECURITY_HOLE 
> gets into one's USE ;)  I'm assuming you didn't put it there yourself!

Thats only used by netcat, iirc, and enables the running of commands
from netcat. I guess it could be useful for testing but it is rightly
named something hair-raising :)

Cheers,
  Rasmus
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [OT] Was: [gentoo-user] Finding packages which provide a file
  2006-05-22 20:21     ` [OT] Was: " Ryan Tandy
  2006-05-22 20:58       ` Rasmus Andersen
@ 2006-05-22 21:44       ` Alexander Skwar
  1 sibling, 0 replies; 12+ messages in thread
From: Alexander Skwar @ 2006-05-22 21:44 UTC (permalink / raw
  To: gentoo-user

Ryan Tandy wrote:

> I'd be very interested to know how a flag called GAPING_SECURITY_HOLE 
> gets into one's USE ;)  I'm assuming you didn't put it there yourself!

Yes, I did put it there. It's a flag used by netcat.

But I agree that it doesn't belong into the global USE flags, as
it's just a local one. I should move it from make.conf to package.use.

Alexander Skwar
-- 
"Old age and treachery will beat youth and skill every time."
-- a coffee cup
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [OT] Was: [gentoo-user] Finding packages which provide a file
  2006-05-22 20:58       ` Rasmus Andersen
@ 2006-05-22 21:46         ` Ryan Tandy
  0 siblings, 0 replies; 12+ messages in thread
From: Ryan Tandy @ 2006-05-22 21:46 UTC (permalink / raw
  To: gentoo-user

Rasmus Andersen wrote:
> On Mon, May 22, 2006 at 01:21:31PM -0700, Ryan Tandy wrote:
>> Nothing to do with the original topic, BUT...
>>
>> I'd be very interested to know how a flag called GAPING_SECURITY_HOLE 
>> gets into one's USE ;)  I'm assuming you didn't put it there yourself!
> 
> Thats only used by netcat, iirc, and enables the running of commands
> from netcat. I guess it could be useful for testing but it is rightly
> named something hair-raising :)
> 
> Cheers,
>   Rasmus

I see.  Thanks for the clarification.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] Finding packages which provide a file
  2006-05-22  6:40 [gentoo-user] Finding packages which provide a file Alexander Skwar
  2006-05-22  7:01 ` Trevor Rhodes
  2006-05-22  8:55 ` Neil Bothwick
@ 2006-05-26 17:54 ` Daniel Vrcic
  2006-05-31 10:58   ` Matthias Bethke
  2 siblings, 1 reply; 12+ messages in thread
From: Daniel Vrcic @ 2006-05-26 17:54 UTC (permalink / raw
  To: gentoo-user

* Alexander Skwar <listen@alexander.skwar.name> [06-05-22 16:46]:
> Hello.
> From time to time, I'm looking for a *not* installed package, which
> might provide a certain file. Say, I'd like to know, which packages
> could provide "/etc/foo/bar", how would I do that? Are there any sites
> out there, which provide a "database", which "connect" installed file to
> package? Sort of like a compilation of /var/db/pkg/*/*/CONTENTS?

http://www.rommel.stw.uni-erlangen.de/~fejf/pfs/

-- 
Daniel Vrcic
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] Finding packages which provide a file
  2006-05-26 17:54 ` Daniel Vrcic
@ 2006-05-31 10:58   ` Matthias Bethke
  0 siblings, 0 replies; 12+ messages in thread
From: Matthias Bethke @ 2006-05-31 10:58 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 358 bytes --]

Hi Daniel,
on Friday, 2006-05-26 at 19:54:11, you wrote:
> http://www.rommel.stw.uni-erlangen.de/~fejf/pfs/

Oh, that's two streets away from here :) Looks like a project I'd want
to participate in...

cheers!
	Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-05-31 11:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-22  6:40 [gentoo-user] Finding packages which provide a file Alexander Skwar
2006-05-22  7:01 ` Trevor Rhodes
2006-05-22  8:55 ` Neil Bothwick
2006-05-22 10:28   ` Alexander Skwar
2006-05-22 10:50     ` Neil Bothwick
2006-05-22 12:15       ` Alexander Skwar
2006-05-22 20:21     ` [OT] Was: " Ryan Tandy
2006-05-22 20:58       ` Rasmus Andersen
2006-05-22 21:46         ` Ryan Tandy
2006-05-22 21:44       ` Alexander Skwar
2006-05-26 17:54 ` Daniel Vrcic
2006-05-31 10:58   ` Matthias Bethke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox