Module: kamailio
Branch: master
Commit: 387a8ca53f179437ae173b0bd5cb8d2d4922b60d
URL:
https://github.com/kamailio/kamailio/commit/387a8ca53f179437ae173b0bd5cb8d2…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2023-01-27T08:32:04+01:00
pkg/kamailio/deb: remove warning build-depends-on-obsolete-package [skip ci]
W: kamailio source: build-depends-on-obsolete-package
Build-Depends: libncurses5-dev => libncurses-dev
---
Modified: pkg/kamailio/deb/bookworm/control
Modified: pkg/kamailio/deb/debian/backports/bookworm
Modified: pkg/kamailio/deb/debian/backports/sid
Modified: pkg/kamailio/deb/sid/control
---
Diff:
https://github.com/kamailio/kamailio/commit/387a8ca53f179437ae173b0bd5cb8d2…
Patch:
https://github.com/kamailio/kamailio/commit/387a8ca53f179437ae173b0bd5cb8d2…
---
diff --git a/pkg/kamailio/deb/bookworm/control b/pkg/kamailio/deb/bookworm/control
index 6b8e473ada..8d6af8ecc2 100644
--- a/pkg/kamailio/deb/bookworm/control
+++ b/pkg/kamailio/deb/bookworm/control
@@ -30,7 +30,7 @@ Build-Depends:
libmono-2.0-dev [amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 ppc64
ppc64el s390x],
libmosquitto-dev,
libnats-dev,
- libncurses5-dev,
+ libncurses-dev,
libpcre3-dev,
libperl-dev,
libphonenumber-dev (>= 7),
diff --git a/pkg/kamailio/deb/debian/backports/bookworm
b/pkg/kamailio/deb/debian/backports/bookworm
index e8835b647a..8ab9aa1ac4 100755
--- a/pkg/kamailio/deb/debian/backports/bookworm
+++ b/pkg/kamailio/deb/debian/backports/bookworm
@@ -32,6 +32,9 @@ sed -i -e '/--EXCLUDED--/i EXTRA_EXCLUDED_MODULES += python'
${DIST}/rules
# no lsb-base
sed -i -e '/lsb-base/d' ${DIST}/control
+# libncurses
+sed -i -e 's/libncurses5-dev/libncurses-dev/g' ${DIST}/control
+
wrap-and-sort -sat -d ${DIST}
# clean backports scripts
diff --git a/pkg/kamailio/deb/debian/backports/sid
b/pkg/kamailio/deb/debian/backports/sid
index fc89f5b60b..d40c466263 100755
--- a/pkg/kamailio/deb/debian/backports/sid
+++ b/pkg/kamailio/deb/debian/backports/sid
@@ -32,6 +32,9 @@ sed -i -e '/--EXCLUDED--/i EXTRA_EXCLUDED_MODULES += python'
${DIST}/rules
# no lsb-base
sed -i -e '/lsb-base/d' ${DIST}/control
+# libncurses
+sed -i -e 's/libncurses5-dev/libncurses-dev/g' ${DIST}/control
+
wrap-and-sort -sat -d ${DIST}
# clean backports scripts
diff --git a/pkg/kamailio/deb/sid/control b/pkg/kamailio/deb/sid/control
index 6b8e473ada..8d6af8ecc2 100644
--- a/pkg/kamailio/deb/sid/control
+++ b/pkg/kamailio/deb/sid/control
@@ -30,7 +30,7 @@ Build-Depends:
libmono-2.0-dev [amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 ppc64
ppc64el s390x],
libmosquitto-dev,
libnats-dev,
- libncurses5-dev,
+ libncurses-dev,
libpcre3-dev,
libperl-dev,
libphonenumber-dev (>= 7),