Module: kamailio
Branch: master
Commit: 8d455a5bc56116ac1bd5d136dd439c30ebe45c23
URL:
https://github.com/kamailio/kamailio/commit/8d455a5bc56116ac1bd5d136dd439c3…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2020-01-08T12:39:49+01:00
pkg/kamailio/deb: use libmosquitto0-dev on older releases
---
Modified: pkg/kamailio/deb/debian/backports/precise
Modified: pkg/kamailio/deb/debian/backports/trusty
Modified: pkg/kamailio/deb/debian/backports/wheezy
Modified: pkg/kamailio/deb/precise/control
Modified: pkg/kamailio/deb/trusty/control
Modified: pkg/kamailio/deb/wheezy/control
---
Diff:
https://github.com/kamailio/kamailio/commit/8d455a5bc56116ac1bd5d136dd439c3…
Patch:
https://github.com/kamailio/kamailio/commit/8d455a5bc56116ac1bd5d136dd439c3…
---
diff --git a/pkg/kamailio/deb/debian/backports/precise
b/pkg/kamailio/deb/debian/backports/precise
index e6369b2bc3..54ad1ad86d 100755
--- a/pkg/kamailio/deb/debian/backports/precise
+++ b/pkg/kamailio/deb/debian/backports/precise
@@ -94,6 +94,9 @@ sed -i -e '/python3-dev/d' -e '/^Package:
kamailio-python3-modules/,/^$/d' \
sed -i -e 's/ python3[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ python3/' ${DIST}/rules
+# use old libmosquitto
+sed -i 's/libmosquitto-dev/libmosquitto0-dev/' ${DIST}/control
+
wrap-and-sort -sat -d ${DIST}
# clean backports scripts
diff --git a/pkg/kamailio/deb/debian/backports/trusty
b/pkg/kamailio/deb/debian/backports/trusty
index a991ea7f4a..ffae8766f4 100755
--- a/pkg/kamailio/deb/debian/backports/trusty
+++ b/pkg/kamailio/deb/debian/backports/trusty
@@ -62,6 +62,9 @@ sed -i -e '/ruby-dev/d' -e '/^Package:
kamailio-ruby-modules/,/^$/d' \
sed -i -e 's/ ruby[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ ruby/' ${DIST}/rules
+# use old libmosquitto
+sed -i 's/libmosquitto-dev/libmosquitto0-dev/' ${DIST}/control
+
wrap-and-sort -sat -d ${DIST}
# clean backports scripts
diff --git a/pkg/kamailio/deb/debian/backports/wheezy
b/pkg/kamailio/deb/debian/backports/wheezy
index 111f5d395c..a6d7bf4c02 100755
--- a/pkg/kamailio/deb/debian/backports/wheezy
+++ b/pkg/kamailio/deb/debian/backports/wheezy
@@ -94,6 +94,9 @@ sed -i -e '/python3-dev/d' -e '/^Package:
kamailio-python3-modules/,/^$/d' \
sed -i -e 's/ python3[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ python3/' ${DIST}/rules
+# use old libmosquitto
+sed -i 's/libmosquitto-dev/libmosquitto0-dev/' ${DIST}/control
+
wrap-and-sort -sat -d ${DIST}
# clean backports scripts
diff --git a/pkg/kamailio/deb/precise/control b/pkg/kamailio/deb/precise/control
index 1e7d0c15a1..bbfa714db0 100644
--- a/pkg/kamailio/deb/precise/control
+++ b/pkg/kamailio/deb/precise/control
@@ -27,7 +27,7 @@ Build-Depends:
libmemcached-dev,
libmnl-dev,
libmono-2.0-dev,
- libmosquitto-dev,
+ libmosquitto0-dev,
libmysqlclient-dev,
libncurses5-dev,
libpcre3-dev,
diff --git a/pkg/kamailio/deb/trusty/control b/pkg/kamailio/deb/trusty/control
index 715a199c63..fc272f283b 100644
--- a/pkg/kamailio/deb/trusty/control
+++ b/pkg/kamailio/deb/trusty/control
@@ -28,7 +28,7 @@ Build-Depends:
libmemcached-dev,
libmnl-dev,
libmono-2.0-dev,
- libmosquitto-dev,
+ libmosquitto0-dev,
libmysqlclient-dev,
libncurses5-dev,
libpcre3-dev,
diff --git a/pkg/kamailio/deb/wheezy/control b/pkg/kamailio/deb/wheezy/control
index 1e7d0c15a1..bbfa714db0 100644
--- a/pkg/kamailio/deb/wheezy/control
+++ b/pkg/kamailio/deb/wheezy/control
@@ -27,7 +27,7 @@ Build-Depends:
libmemcached-dev,
libmnl-dev,
libmono-2.0-dev,
- libmosquitto-dev,
+ libmosquitto0-dev,
libmysqlclient-dev,
libncurses5-dev,
libpcre3-dev,