public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] portage functionality
@ 2002-01-11 21:32 Jared H. Hudson
  2002-01-11 21:53 ` Tod M. Neidt
  2002-01-12 19:35 ` Aron Griffis
  0 siblings, 2 replies; 6+ messages in thread
From: Jared H. Hudson @ 2002-01-11 21:32 UTC (permalink / raw
  To: gentoo-dev

Is there any way to determine what package file X belongs to?
For example, under rpm's you can type rpm -qf <path to file>/file and it
will report what package it belongs to. Also what about listing all
files that belong to a package, for example rpm -ql <package name>

If this support is not built in, is there plans to include these
functions, and if so is anyone working on it? I'd be happy to start
programming this functionality into emerge or ebuild, if someone guides
me how they would like it to work, assuming thought to this has been
given.

-Jared H.




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

* Re: [gentoo-dev] portage functionality
  2002-01-11 21:32 [gentoo-dev] portage functionality Jared H. Hudson
@ 2002-01-11 21:53 ` Tod M. Neidt
  2002-01-12 19:35 ` Aron Griffis
  1 sibling, 0 replies; 6+ messages in thread
From: Tod M. Neidt @ 2002-01-11 21:53 UTC (permalink / raw
  To: gentoo-dev

On Fri, 2002-01-11 at 15:32, Jared H. Hudson wrote:
> Is there any way to determine what package file X belongs to?
> For example, under rpm's you can type rpm -qf <path to file>/file and it
> will report what package it belongs to.

grep <file> /var/db/pkg/*/*/CONTENTS

 Also what about listing all
> files that belong to a package, for example rpm -ql <package name>

cat /var/db/pkg/<portage-category>/<package>/CONTENTS

> If this support is not built in, is there plans to include these
> functions, and if so is anyone working on it? I'd be happy to start
> programming this functionality into emerge or ebuild, if someone guides
> me how they would like it to work, assuming thought to this has been
> given.

Portage is gradually becoming more convenient with time, and features
like these will probably be implemented in the future. 

In the meantime, you might try this script by Vitaly Kushnerick
 
http://lists.gentoo.org/pipermail/gentoo-dev/2002-January/008991.html

Also, check out pkgsearch found in /usr/lib/portage/bin

Hope that helps,

tod



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

* Re: [gentoo-dev] portage functionality
  2002-01-11 21:32 [gentoo-dev] portage functionality Jared H. Hudson
  2002-01-11 21:53 ` Tod M. Neidt
@ 2002-01-12 19:35 ` Aron Griffis
  2002-01-12 20:17   ` Tod M. Neidt
  2002-01-14  6:14   ` Mikael Hallendal
  1 sibling, 2 replies; 6+ messages in thread
From: Aron Griffis @ 2002-01-12 19:35 UTC (permalink / raw
  To: gentoo-dev

I've not even created an ebuild for this, but you can get an rpm partial
workalike at

    http://www.speakeasy.org/~yde/epm

It supports most of the querying functions of rpm, but works with the
Portage database.

Aron

Jared H. Hudson wrote:	[Fri Jan 11 2002, 04:32:46PM EST]
> Is there any way to determine what package file X belongs to?
> For example, under rpm's you can type rpm -qf <path to file>/file and it
> will report what package it belongs to. Also what about listing all
> files that belong to a package, for example rpm -ql <package name>
> 
> If this support is not built in, is there plans to include these
> functions, and if so is anyone working on it? I'd be happy to start
> programming this functionality into emerge or ebuild, if someone guides
> me how they would like it to work, assuming thought to this has been
> given.
> 
> -Jared H.
> 
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
> 


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

* Re: [gentoo-dev] portage functionality
  2002-01-12 19:35 ` Aron Griffis
@ 2002-01-12 20:17   ` Tod M. Neidt
  2002-01-14  6:14   ` Mikael Hallendal
  1 sibling, 0 replies; 6+ messages in thread
From: Tod M. Neidt @ 2002-01-12 20:17 UTC (permalink / raw
  To: gentoo-dev

Doh!

I forgot about epm (sorry Aron).  It's been in my ~/bin since October :)

tod
On Sat, 2002-01-12 at 13:35, Aron Griffis wrote:
> I've not even created an ebuild for this, but you can get an rpm partial
> workalike at
> 
>     http://www.speakeasy.org/~yde/epm
> 
> It supports most of the querying functions of rpm, but works with the
> Portage database.
> 
> Aron
> 





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

* Re: [gentoo-dev] portage functionality
  2002-01-12 19:35 ` Aron Griffis
  2002-01-12 20:17   ` Tod M. Neidt
@ 2002-01-14  6:14   ` Mikael Hallendal
  2002-01-14  6:26     ` Bart Verwilst
  1 sibling, 1 reply; 6+ messages in thread
From: Mikael Hallendal @ 2002-01-14  6:14 UTC (permalink / raw
  To: gentoo-dev

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

lör 2002-01-12 klockan 20.35 skrev Aron Griffis:
> I've not even created an ebuild for this, but you can get an rpm partial
> workalike at
> 
>     http://www.speakeasy.org/~yde/epm
> 
> It supports most of the querying functions of rpm, but works with the
> Portage database.

I think it's time to start merging all package-helpers in someway.
Currently there are lots of them out there.

* epm
* gentool
* qpkg
* pkgfind

(and possibly more).

Shouldn't we try to make one tool that handles what all these can do?

Regards,
  Mikael Hallendal
 
> Aron
> 
> Jared H. Hudson wrote:	[Fri Jan 11 2002, 04:32:46PM EST]
> > Is there any way to determine what package file X belongs to?
> > For example, under rpm's you can type rpm -qf <path to file>/file and it
> > will report what package it belongs to. Also what about listing all
> > files that belong to a package, for example rpm -ql <package name>
> > 
> > If this support is not built in, is there plans to include these
> > functions, and if so is anyone working on it? I'd be happy to start
> > programming this functionality into emerge or ebuild, if someone guides
> > me how they would like it to work, assuming thought to this has been
> > given.
> > 
> > -Jared H.
> > 
> > 
> > _______________________________________________
> > gentoo-dev mailing list
> > gentoo-dev@gentoo.org
> > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
> > 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
-- 
Mikael Hallendal
Gentoo Linux Developer, Desktop Team Leader
CodeFactory AB, Stockholm, Sweden


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

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

* Re: [gentoo-dev] portage functionality
  2002-01-14  6:14   ` Mikael Hallendal
@ 2002-01-14  6:26     ` Bart Verwilst
  0 siblings, 0 replies; 6+ messages in thread
From: Bart Verwilst @ 2002-01-14  6:26 UTC (permalink / raw
  To: gentoo-dev

On Mon, 2002-01-14 at 07:14, Mikael Hallendal wrote:
> I think it's time to start merging all package-helpers in someway.
> Currently there are lots of them out there.
> 
> * epm
> * gentool
> * qpkg
> * pkgfind
> 
> (and possibly more).
> 
> Shouldn't we try to make one tool that handles what all these can do?

Well, emerge --search will be available in a matter of days, based on my
pkgsearch script.. As soon as i have the time, i'll implement it..
Also 'emerge --world update' is working as well now i've noticed, so 
emerge is really starting to mature :o)
Great work guys!
> 
> Regards,
>   Mikael Hallendal
 
-- 

Bart Verwilst
Gentoo Linux Developer, Desktop Team
Gent, Belgium



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

end of thread, other threads:[~2002-01-14  6:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-11 21:32 [gentoo-dev] portage functionality Jared H. Hudson
2002-01-11 21:53 ` Tod M. Neidt
2002-01-12 19:35 ` Aron Griffis
2002-01-12 20:17   ` Tod M. Neidt
2002-01-14  6:14   ` Mikael Hallendal
2002-01-14  6:26     ` Bart Verwilst

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