[Pkg-nginx-maintainers] Bug#1068725: Bug#1068725: libnginx-mod-http-js contains unnecessary dependency
Jérémy Lal
kapouer at melix.org
Tue Apr 16 09:38:25 BST 2024
Le mar. 9 avr. 2024 à 21:30, Miao Wang <shankerwangmiao at 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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nginx-maintainers/attachments/20240416/9cf8ba25/attachment.htm>
More information about the Pkg-nginx-maintainers
mailing list