Having different (not multiple) SOURCEs

Sergey Proskurnya alaley at gmail.com
Tue May 23 07:49:19 UTC 2006


Hello,

I have tried to upgrade "mdadm" module and submit it,
but faced with the following problem:

"mdadm" has two SOURCE_URLs:
    SOURCE=$MODULE-$VERSION.tgz
    SOURCE_URL[0]=http://www.cse.unsw.edu.au/~neilb/source/mqdadm/
    SOURCE_URL[1]=http://www.kernel.org/pub/linux/utils/raid/mdadm/

But!
"http://www.cse.unsw.edu.au/~neilb/source/mqdadm/"
location contains .tgz packaged archives and
http://www.kernel.org/pub/linux/utils/raid/mdadm/
location contains .tar.bz2 archives.

So, if SOURCE_URL[0] goes down, SOURCE_URL[1] not helps too much,
because there is not such file:
http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-{VERSION}.tgz

I'v tried to do a trick:
    SOURCE[0]=$MODULE-$VERSION.tgz
    SOURCE[1]=$MODULE-$VERSION.tar.bz2
but this does not have any effect.

Could you please advise me,
how to define different ${SOURCE} variables
for different ${SOURCE_URL}?
(it is needed to pay attention to {SOURCE_VFY} also)

Thanks,
Serge


More information about the Lunar mailing list