patch for the verify* plugins, a new plugin to update modules
Christian Riggenbach
criggenbach at magahugu.net
Wed Oct 3 22:07:34 CEST 2007
hi list
i have written a little addition to the two verification plugins. this two
patches produces a comment and the correct sha1/md5 sum when a module is
located in zlocal and has a wrong checksum. they can, after a controll
question, write it directly with sedit into the DETAILS file. it's handy when
you just change the version and forget to alter also the sha1/md5 sum or just
to update the module without wan't to calculate the sums by hand.
additionaly i have created a new plugin to update modules. it's just a simple
update of VERSION, UPDATED and SOURCE_VFY without the
multiple-sources-problem solved. a have modified lin to accept
the -u/--update switch.
i have added it to lin, because this function is to be used with the --want
switch. it is a POST-BUILD plugin, so you can be sure that the module
compiles.
the new plugin is just a suggestion to an update function. i think that
locating it in lin isn't the right joice, but with this plugin you can lining
and updating a module in one step ('lin -uw VERSION MODULE').
my editor removes automaticaly all spaces on the end of a line, so the diffs
contains a bit more than the changes i made.
--
with kind regards
Christian Riggenbach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patches.tar.bz2
Type: application/x-tbz
Size: 3689 bytes
Desc: not available
Url : http://foo-projects.org/pipermail/lunar/attachments/20071003/d776b20e/patches.tar.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://foo-projects.org/pipermail/lunar/attachments/20071003/d776b20e/attachment.bin
More information about the Lunar
mailing list