Module: kamailio
Branch: 5.6
Commit: e8494799a86a0487c013ca457cac88fac4ce6501
URL:
https://github.com/kamailio/kamailio/commit/e8494799a86a0487c013ca457cac88f…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2022-11-28T10:05:40+01:00
pkg/kamailio/deb: fix jammy build
---
Modified: pkg/kamailio/deb/debian/backports/jammy
Modified: pkg/kamailio/deb/jammy/control
Modified: pkg/kamailio/deb/jammy/rules
---
Diff:
https://github.com/kamailio/kamailio/commit/e8494799a86a0487c013ca457cac88f…
Patch:
https://github.com/kamailio/kamailio/commit/e8494799a86a0487c013ca457cac88f…
---
diff --git a/pkg/kamailio/deb/debian/backports/jammy
b/pkg/kamailio/deb/debian/backports/jammy
index a469871dcf..097873e0fa 100755
--- a/pkg/kamailio/deb/debian/backports/jammy
+++ b/pkg/kamailio/deb/debian/backports/jammy
@@ -6,6 +6,12 @@ DIST=jammy
rm -rf ${DIST}
cp -r debian ${DIST}
+# No mi_xmlrpc module
+sed -i -e '/libxmlrpc-c3-dev/d' -e '/^Package:
kamailio-xmlrpc-modules/,/^$/d' \
+ ${DIST}/control
+sed -i -e 's/ mi_xmlrpc[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mi_xmlrpc/' ${DIST}/rules
+
# No dnssec module:
sed -i -e '/libval-dev/d' -e '/^Package: kamailio-dnssec-modules/,/^$/d'
\
${DIST}/control
diff --git a/pkg/kamailio/deb/jammy/control b/pkg/kamailio/deb/jammy/control
index 285c8be9a6..1c7ef64aa3 100644
--- a/pkg/kamailio/deb/jammy/control
+++ b/pkg/kamailio/deb/jammy/control
@@ -48,7 +48,6 @@ Build-Depends:
libunistring-dev,
libwebsockets-dev,
libxml2-dev,
- libxmlrpc-c3-dev,
openssl,
pkg-config,
python3,
diff --git a/pkg/kamailio/deb/jammy/rules b/pkg/kamailio/deb/jammy/rules
index 3ab41f9f68..77ff6490f6 100755
--- a/pkg/kamailio/deb/jammy/rules
+++ b/pkg/kamailio/deb/jammy/rules
@@ -26,7 +26,7 @@ EXCLUDED_MODULES=
# extra modules to skip, because they are not compilable now
# - regardless if they go to the main kamailio package or to some module package,
# they will be excluded from compile and install of all
-EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc
# module groups that are packaged in separate packages
# (with the name kamailio-$(group_name)-modules)