lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>I'd like to see the MD5 library for lua
>(http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/lmd5.tar.gz) packaged for
>Debian.

I don't know anything about Debian, not having a Debian system around, but
I've searched debian.org and found that the libsasl-digestmd5-plain package,
which is part of libsasl7 package, contains Rivest's library. So, if Debian
systems already include libsasl, then packaging lmd5 for Debian is probably
essentially just setting MD5LIB=-lsasl in the Makefile. In fact, MD5LIB=-lsasl
is already in the Makefile; it's just commented out.

Bottom line "make MD5LIB=-lsasl" should work.

On a side note, while investigating MD5 libraries already installed in Linux
systems, I found that there are several libraries in the same system that
implement MD5, some using a glib API and some using Rivest's API. Why isn't
there a libmd5 that everyone can use? I did not find one in Debian. I did find
that the librpm package in Debian contains Plum's implementation of Rivest's
API; so, there's duplication in Debian too.
--lhf