On Tue Nov 19 20:06 +0200, Buchan Milne wrote:
> Guillaume Rousse wrote:
>
> >>
> >>AND IF RPM WORKED RIGHT, then:
> >>
> >>'rpm -q --qf "%{SOURCE}" --spefile <spec file>'
> >
> > You're assuming that sources are always available from constant URL,
> which is
> > only 90% true (dynamic URL)
>
> 90% of which (sourceforge) can be scripted around.
>
> 'rpm -q --qf "%{SOURCE}" --spefile <spec file>'|sed -e
> 's/prdownloads/$USERS_SF_MIRROR/'
>
> , and only 80% efficient (mirrors).
>
> Well, we just handled the sourceforge ones. How does Gentoo handle source?
AFAIK, source is downloaded from Gentoo mirrors which hold the
equivalent of SRPMS.
With some sort of hdlist-type file, a urpmi-derivative could be hacked
together to allow automatic download and compilation of packages with
dependencies. If only I knew enough Perl, I'd do a proof of concept...
--
Levi Ramsey
[EMAIL PROTECTED] [EMAIL PROTECTED]
Love lies in pools of questions.
GPG Key Fingerprint: 354C 7A02 77C5 9EE7 8538 4E8D DCD9 B4B0 DC35 67CD
Currently playing: Live Stuff - Black.ogg
Linux 2.4.19-16mdk
15:40:00 up 5 days, 6:49, 7 users, load average: 0.72, 0.30, 0.21