Le mar. 9 avr. 2024 à 21:30, Miao Wang <shankerwangm...@gmail.com> 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 ?

Reply via email to