Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Get source URLs of packages?
Date: Mon, 04 Jul 2011 15:23:51
Message-Id: CAA2qdGXsdXXd2iNw+B+=O_WtJWBzZe+YB36TTd8qmii3e3jB8Q@mail.gmail.com
In Reply to: Re: [gentoo-user] Get source URLs of packages? by Mark Knecht
1 On Mon, Jul 4, 2011 at 22:12, Mark Knecht <markknecht@×××××.com> wrote:
2 > On Mon, Jul 4, 2011 at 7:57 AM, Pandu Poluan <pandu@××××××.info> wrote:
3 >> Is there a way to determine the source URL of a package without
4 >> actually emerging ?
5 >>
6 >> Rgds,
7 >> --
8 >> Pandu E Poluan
9 >
10 > Not sure what you mean by 'source URL' but you can get the homepage of
11 > a package using eix. That almost always leads to some download link or
12 > instructions where you can get the code.
13 >
14 > mark@c2stable ~ $ eix gentoo-sources
15 > [D] sys-kernel/gentoo-sources
16 >     Available versions:
17 >        (2.6.32-r29)    2.6.32-r29!b!s
18 >        (2.6.32-r32)    (~)2.6.32-r32!b!s
19 >        (2.6.35-r15)    2.6.35-r15!b!s
20 >        (2.6.36-r8)     2.6.36-r8!b!s
21 >        (2.6.37-r4)     2.6.37-r4!b!s
22 >        (2.6.37-r6)     (~)2.6.37-r6!b!s
23 >        (2.6.38-r6)     2.6.38-r6!b!s
24 >        (2.6.38-r7)     (~)2.6.38-r7!b!s
25 >        (2.6.39-r1)     (~)2.6.39-r1!b!s
26 >        (2.6.39-r2)     (~)2.6.39-r2!b!s
27 >        {build deblob symlink}
28 >     Installed versions:  2.6.38-r1(2.6.38-r1)!b!s(12:06:40 PM
29 > 03/30/2011)(-build -deblob -symlink) 2.6.38-r4(2.6.38-r4)!b!s(02:58:45
30 > PM 05/04/2011)(-build -deblob -symlink)
31 > 2.6.39-r2(2.6.39-r2)!b!s(09:59:02 AM 06/24/2011)(-build -deblob
32 > -symlink)
33 >     Homepage:            http://dev.gentoo.org/~mpagano/genpatches
34 >     Description:         Full sources including the Gentoo patchset
35 > for the 2.6 kernel tree
36 >
37 > mark@c2stable ~ $
38 >
39
40 That I know. But it's still several clicks away until I get something like
41
42 http://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-2.6.39-4.base.tar.bz2
43
44 emerge can build the full URL from information in the ebuild file. Can
45 I get that full URL?
46
47 Rgds,
48 --
49 Pandu E Poluan
50 ~ IT Optimizer ~
51 Visit my Blog: http://pepoluan.posterous.com
52 Google Talk:    pepoluan
53 Y! messenger: pepoluan
54 MSN / Live:      pepoluan@×××××××.com (do not send email here)
55 Skype:            pepoluan