Bug#1068725: [Pkg-nginx-maintainers] Bug#1068725: libnginx-mod-http-js contains unnecessary dependency

2024-04-16 Thread Jérémy Lal
Le mar. 9 avr. 2024 à 21:30, Miao Wang  a écrit :

> Package: libnginx-mod-http-js
> Version: 0.8.2-1+b1
> Severity: normal
>
> Dear Maintainer,
>
> libnginx-mod-http-js contains a dependency on libnginx-mod-stream, which
> should be only necessary for libnginx-mod-stream-js.


Reassigned to nginx, because currently dh-nginx does this unconditionally:
$this->{has_stream} = $this->has_build_dep("libnginx-mod-stream");
../..
if ($this->{has_stream} == 1) {
  addsubstvar($cur, "misc:Depends", "libnginx-mod-stream (>= $ngx_ver),
libnginx-mod-stream (<< $ngx_ver.1~)");
}
../..

It should offer a better way.
Maybe shlibdeps picks that dependency ? so dh-nginx could add the
constraint on mod-stream versions only when the built binary is actually
linked to it ?


Bug#1068725: libnginx-mod-http-js contains unnecessary dependency

2024-04-09 Thread Miao Wang
Package: libnginx-mod-http-js
Version: 0.8.2-1+b1
Severity: normal

Dear Maintainer,

libnginx-mod-http-js contains a dependency on libnginx-mod-stream, which should 
be only necessary for libnginx-mod-stream-js.

Cheers,

Miao Wang