Jérémie wrote:
Michael Chinn a écrit :
At present I have added packages to wpkg using bat & perl scripts that
download a zip of the program, check the MD5, extract, run and then
delete the zip/temp files. This allows for disconnections during
installations, partially downloaded files fail the checksum and are
downloaded again until they work. That got me thinking if some of this
functionality could be incorporated into wpkg directly, specifically
the MD5sums of the installer command (I use the gnu md5sum.exe port).
I would offer some code however my knowledge only extends (at the
moment) to bat files and perl.
That'd be _really_really_ cool ! Both with http(s) support, we'd be on
the way to "winapt" ;) :P
Hmm, interesting idea.
Sounds like we could do:
wpkg /update_sources - to update package definitions
wpkg /install_web acrobat_reader - to install packages off the web
However, I think perl installation would be an overkill for that.
Probably we could use some Cygwin tools like wget, md5sum, unzip etc.,
installed in \\server\wpkg\tools?
--
Tomasz Chmielewski
http://wpkg.org
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users