From ac4d962749589bd5dc431d9d2f573d29732fe763 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 25 Jan 2023 12:38:08 +0100 Subject: [PATCH] MT#56478 Either depend on lsb-base or sysvinit-utils lsb-base as of version 11.5 and as present in Debian/testing AKA bookworm is a transitional package (depending on sysvinit-utils). As of lintian >=2.116.0 a dependency on lsb-base is considered an error: | E: ngcp-rtpengine-daemon: depends-on-obsolete-package Depends: lsb-base (>= 3.0-6) | E: ngcp-rtpengine-recording-daemon: depends-on-obsolete-package Depends: lsb-base (>= 3.0-6) Now having lintian 2.116.1 in Debian/testing AKA bookworm our package builds fail because of this. Since we still have init script support and references to /lib/lsb/init-functions, let's depend on either sysvinit-utils or lsb-base. See related discussion on debian-devel mailing list: https://lists.debian.org/debian-devel/2023/01/msg00149.html Change-Id: Id3228425405e39904e52de8fdf00911539ac63bb (cherry picked from commit e774bcb30f9182e1d4a86ae8944dc4dedb0e4a9f) --- debian/control | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index f0648bc5d..9b977e6c5 100644 --- a/debian/control +++ b/debian/control @@ -55,7 +55,7 @@ Suggests: ngcp-system-tools, Depends: iptables, - lsb-base (>= 3.0-6), + sysvinit-utils (>= 3.05-4~) | lsb-base (>= 3.0-6), ${misc:Depends}, ${shlibs:Depends}, Description: proxy for RTP and media streams used in NGCP, userspace part @@ -71,9 +71,9 @@ Recommends: Suggests: ngcp-system-tools, Depends: - lsb-base (>= 3.0-6), nfs-common, ngcp-rtpengine-daemon, + sysvinit-utils (>= 3.05-4~) | lsb-base (>= 3.0-6), ${misc:Depends}, ${shlibs:Depends}, Description: recording daemon for RTP and media streams