I often use lmd5 module[1]
So I write rockspec to this module[2].
This rockspec work on Win/*nix but it has several problem:
1. It create module `md5` that already exists with different interface.
May be we could just rename this module to `digest`.
I do not like name lmd5 (`require 'lmd5.sha1'` is ugly).
Do we need permission from author?
2. Luarocks does not work after install this rock[3]
3. I do not know veresion for this module and how names rockspec for Lua 5.2
In fact you should just use different source url[4] and Lua version.
4. Some version of OpenSSL may not contain all needed modules (e.g 
on my machine I have no md2 module and `travis-ci` has no `mdc2` module)
So may be we just need create different rockspecs for each submodule (e.g
`digest-md5`,`digest-sha1` etc.)


[1] http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/index.html#lmd5
[2] https://raw.github.com/moteus/lua-bgcrypto-sha/master/rockspecs/
lmd5-20130228-1.rockspec
[3] https://travis-ci.org/moteus/lua-bgcrypto-sha/builds/14542002
[4] http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.1/lmd5.tar.gz


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to