Module: kamailio
Branch: 5.0
Commit: 930338bce273b4a0f0a1a8af3b34dc82f7ff61eb
URL:
https://github.com/kamailio/kamailio/commit/930338bce273b4a0f0a1a8af3b34dc8…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2017-12-11T12:56:02+01:00
pkg/kamailio/deb: xenial needs libbson-dev too for libmongoc-dev
(cherry picked from commit 55525d28864eba285bef3eff1d513b0769dd8ba4)
---
Modified: pkg/kamailio/deb/debian/backports/xenial
Modified: pkg/kamailio/deb/xenial/control
---
Diff:
https://github.com/kamailio/kamailio/commit/930338bce273b4a0f0a1a8af3b34dc8…
Patch:
https://github.com/kamailio/kamailio/commit/930338bce273b4a0f0a1a8af3b34dc8…
---
diff --git a/pkg/kamailio/deb/debian/backports/xenial
b/pkg/kamailio/deb/debian/backports/xenial
index bf6d5d1ccc..e9707f18c2 100755
--- a/pkg/kamailio/deb/debian/backports/xenial
+++ b/pkg/kamailio/deb/debian/backports/xenial
@@ -22,6 +22,12 @@ echo "kamailio-mysql-modules: depends-on-obsolete-package depends:
mysql-client
# no libssl-dev
sed -i -e '/libssl-dev/d' ${DIST}/control
+# libbson not in libmongoc
+sed -i 's/libmongoc-dev/libbson-dev,\n libmongoc-dev/' \
+ ${DIST}/control
+
+wrap-and-sort -sat -d ${DIST}
+
# clean backports scripts
rm -rf ${DIST}/backports
exit 0
diff --git a/pkg/kamailio/deb/xenial/control b/pkg/kamailio/deb/xenial/control
index 0fee0666c5..f816ba9417 100644
--- a/pkg/kamailio/deb/xenial/control
+++ b/pkg/kamailio/deb/xenial/control
@@ -15,6 +15,7 @@ Build-Depends:
erlang-dev,
flex,
gcj-jdk,
+ libbson-dev,
libconfuse-dev,
libcurl4-openssl-dev,
libdb-dev (>= 4.6.19),