Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire]MD5, LICENCE, ...

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Eric Schabell <eschabell AT sourcemage.org>
  • To: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire]MD5, LICENCE, ...
  • Date: Sun, 13 Oct 2002 20:35:50 +0200

> On Saturday 12 October 2002 18:21, Ladislav Hagara wrote:
> I try to correct some spells and understand their syntax. For example:
>
> SOURCE_URL[0]=ftp://ftp.gnupg.org/gcrypt/alpha/$SPELL/$SOURCE
> MD5[0]=6b01ced3e077b326b436ab9ced57eb8a
>
> SOURCE_URL[1]=ftp://gd.tuwien.ac.at/privacy/gnupg/alpha/$SPELL/$SOURCE
> MD5[1]=${MD5[0]}
>
> SOURCE_URL[2]=ftp://ftp.exobit.org/pub/security/gnupg/alpha/$SPELL/$SOURCE
>
> MD5[2]=${MD5[0]}
>
> SOURCE_URL[3]=ftp://download.sourcemage.org/pub/linux/distributions/sourcem
>age/mirror/$SOURCE
>
> MD5[3]=${MD5[0]}
>
> According to
> http://wiki.sourcemage.org/index.php?page=GrimoireGurusHandbook it
> should be probably
>
> SOURCE_URL[0]=ftp://ftp.gnupg.org/gcrypt/alpha/$SPELL/$SOURCE
>
> SOURCE_URL[1]=ftp://gd.tuwien.ac.at/privacy/gnupg/alpha/$SPELL/$SOURCE
>
> SOURCE_URL[2]=ftp://ftp.exobit.org/pub/security/gnupg/alpha/$SPELL/$SOURCE
>
>
> SOURCE_URL[3]=ftp://download.sourcemage.org/pub/linux/distributions/sourcem
>age/mirror/$SOURCE
>
> MD5[0]=6b01ced3e077b326b436ab9ced57eb8a
>
> So, if spell has only 1 SOURCE mirrored on several sites, it should has
> only MD5[0], no MD5[1], MD5[2] ... ?
>
Seems to me that the first solution is the obvious one, you need to list a
source per download url as far as i know (but let's face it, sorcery info has
been real scarce as to what the interface is...). I just posted the Guru
handbook and wait for corrections from the sorcery team... don't hear
anything so we keep on going....

> Is it necessary to include
> ftp://download.sourcemage.org/pub/linux/distributions/sourcemage/mirror/$SO
>URCE in spells,
> or it is automatically checked by sorcery ?
>
No idea.... see sorcery team....

> ---------------------------------------------------------------------------
>---------------------------
>
> SOURCE_URL[0]=ftp://ftp.cis.upenn.edu/pub/xv/$SOURCE
> SOURCE2_URL[0]=http://our-arca.de/sorcerer/$SOURCE2
> MD5[0]=6b7e76a48d9fc180f7442776a70da9a7
> MD5[1]=ecc1d6cd9f43747dc88fb7e413a6919b
> LICENSE[0]=GPL
>
> SOURCE2_URL[0] should has MD5[2] or MD5[1] as written in above spell
> example ?
>
Yes, if source2_url it should then refer to md5[2], and if you have multiple
source2's ??? is that possible ??? then I would use the previously discussed
solution of refering to the md5[2]...

> Is SOURCE1_URL[0] the same as SOURCE_URL[0] ?
>
it shouldn't be, but again, see sorcery team....

> If SOURCE2 has another license as SOURCE, it should be written as
> LICENSE[2] or LICENSE2[0] ?
> If SOURCE2 has another licenses (dual license) it should be written as
> LICENSE2[1] ?
>
Again see sorcery team, I have never heard much about the details here...

>
> cat << EOF
> xxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx
> xxxxxxxxxxxxxxxx xxxxxxxxxxxxx
> EOF
>
> Long info in spell should be written on one long line or it should be
> devided to several lines ?
> Of course both styles are OK, but which one is preferable ?
>
I personally prefer the short ones... makes it readable in every type of
console (some don't wrap lines for example).


--
Regards,

/*
* drs. Eric Schabell
*
* e-mail: eschabell AT sourcemage.org
* web: http://www.schabell.com
* SourceMage: http://www.sourcemage.org
* irc: irc.openprojects.org (#sourcemage)
* nick: erics
*/





Archive powered by MHonArc 2.6.24.

Top of Page