[pkg-lua-devel] SSL certificate (and virtual host examples) in Prosody package

Enrico Tassi gareuselesinge at debian.org
Mon May 14 18:19:46 UTC 2012


On Mon, May 14, 2012 at 09:00:00PM +0400, Sergei Golovan wrote:
> I've committed the changes which swtch prosody to snakeoil SSL
> certificate and generate localhost.cfg.lua symlink in postinst
> (revision 22698).

I've committed a changes in the dependencies, since all lua packages
have been renamed. They may look weird, so I'll explain the meaning of
them.  In particular packages are now hybrid, containing both 5.1 and
5.2 modules. 

Hybrid packages provide virtual packages so that you can for example
depend on lua5.1-filesystem (to say you need lua-filesystem and you need
the 5.1 version, so that nobody removes the 5.1 part from lua-filesystem).
(it is not going to happen tomorrow, but still...)

If you need a versioned dependency (i.e. lua-filesystem > X) you cannot
put it on the virtual package (Debian policy forbids it) so you have to
put it on the real package, i.e. lua-filesystem. 

The result is thus a bit odd, but encodes more info than usual:

  Depends:  lua5.1-filesystem, lua-filesystem (>= 1.4.2-3~)

In some sense you are giving a minimal version (>= 1.4.2-3~) and a maximal 
one (the one where the 5.1 part will be removed, minus one).

Another minor point is that I packages lua-dbi, so you may want to add a
Recommends/Suggests/Whatever on it, or mention them in the package
description. And also lua-zlib.

Ciao
-- 
Enrico Tassi



More information about the pkg-lua-devel mailing list