Module: kamailio
Branch: 5.6
Commit: a7de8d08a46ace83b79b6c1a14646aa9cb4d57a2
URL:
https://github.com/kamailio/kamailio/commit/a7de8d08a46ace83b79b6c1a14646aa…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2022-11-30T08:45:47+01:00
pkg/kamailio/deb: fix jammy build, take two [skip ci]
* rules are different in master
---
Modified: pkg/kamailio/deb/debian/backports/jammy
---
Diff:
https://github.com/kamailio/kamailio/commit/a7de8d08a46ace83b79b6c1a14646aa…
Patch:
https://github.com/kamailio/kamailio/commit/a7de8d08a46ace83b79b6c1a14646aa…
---
diff --git a/pkg/kamailio/deb/debian/backports/jammy
b/pkg/kamailio/deb/debian/backports/jammy
index 097873e0fa..ec4724ff08 100755
--- a/pkg/kamailio/deb/debian/backports/jammy
+++ b/pkg/kamailio/deb/debian/backports/jammy
@@ -15,15 +15,15 @@ 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
-sed -i -e '/^PACKAGE_GROUPS += dnssec/d' ${DIST}/rules
-sed -i -e '/--EXCLUDED--/i EXTRA_EXCLUDED_MODULES += dnssec' ${DIST}/rules
+sed -i -e 's/ dnssec[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ dnssec/' ${DIST}/rules
# No app_java due lack of gcj-jdk
sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
${DIST}/control
sed -i -e '/^export JAVA_HOME/d' ${DIST}/rules
-sed -i -e '/^PACKAGE_GROUPS += java/d' ${DIST}/rules
-sed -i -e '/--EXCLUDED--/i EXTRA_EXCLUDED_MODULES += java' ${DIST}/rules
+sed -i -e 's/ java[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXCLUDED_MODULES=/s/$/ java/' ${DIST}/rules
# no dh-systemd
sed -i -e '/dh-systemd/d' ${DIST}/control
@@ -32,8 +32,8 @@ sed -i -e '/dh-systemd/d' ${DIST}/control
sed -i -e '/^ python,/d' -e '/python-dev/d' \
-e '/^Package: kamailio-python-modules/,/^$/d' \
${DIST}/control
-sed -i -e '/^PACKAGE_GROUPS += python$/d' ${DIST}/rules
-sed -i -e '/--EXCLUDED--/i EXTRA_EXCLUDED_MODULES += python' ${DIST}/rules
+sed -i -e 's/ python [ ,$]*//' ${DIST}/rules
+sed -i -e '/^EXCLUDED_MODULES=/s/$/ python/' ${DIST}/rules
wrap-and-sort -sat -d ${DIST}