Module: kamailio
Branch: 5.4
Commit: 864238f68588923ca60758251bd5f5ab3ac838fd
URL:
https://github.com/kamailio/kamailio/commit/864238f68588923ca60758251bd5f5a…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2021-02-15T09:30:52+01:00
pkg/kamailio/deb: restore python3 dependency of kamailio package
(cherry picked from commit ab8e680e0dd3a8078d40b72c50d41db55d442240)
---
Modified: pkg/kamailio/deb/debian/backports/precise
Modified: pkg/kamailio/deb/debian/backports/wheezy
---
Diff:
https://github.com/kamailio/kamailio/commit/864238f68588923ca60758251bd5f5a…
Patch:
https://github.com/kamailio/kamailio/commit/864238f68588923ca60758251bd5f5a…
---
diff --git a/pkg/kamailio/deb/debian/backports/precise
b/pkg/kamailio/deb/debian/backports/precise
index 13743a3f2b..78e0d2cfdf 100755
--- a/pkg/kamailio/deb/debian/backports/precise
+++ b/pkg/kamailio/deb/debian/backports/precise
@@ -90,7 +90,12 @@ sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ ruby/' ${DIST}/rules
# no python3 for app_python3
sed -i -e '/python3-dev/d' -e '/^Package:
kamailio-python3-modules/,/^$/d' \
- -e '/python3/d' ${DIST}/control
+ ${DIST}/control
+# this removes python3 from Package: kamalio
+sed -i -e '/python3/d' ${DIST}/control
+# add that again
+sed -i '/lsb-base,/a \ python3,' ${DIST}/control
+
sed -i -e 's/ python3[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ python3/' ${DIST}/rules
diff --git a/pkg/kamailio/deb/debian/backports/wheezy
b/pkg/kamailio/deb/debian/backports/wheezy
index e8052665bb..87f95168a3 100755
--- a/pkg/kamailio/deb/debian/backports/wheezy
+++ b/pkg/kamailio/deb/debian/backports/wheezy
@@ -90,7 +90,12 @@ sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ ruby/' ${DIST}/rules
# no python3 for app_python3
sed -i -e '/python3-dev/d' -e '/^Package:
kamailio-python3-modules/,/^$/d' \
- -e '/python3/d' ${DIST}/control
+ ${DIST}/control
+# this removes python3 from Package: kamalio
+sed -i -e '/python3/d' ${DIST}/control
+# add that again
+sed -i '/lsb-base,/a \ python3,' ${DIST}/control
+
sed -i -e 's/ python3[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ python3/' ${DIST}/rules