[sr-dev] git:master:ab8e680e: pkg/kamailio/deb: restore python3 dependency of kamailio package

Victor Seva linuxmaniac at torreviejawireless.org
Thu Feb 11 13:30:45 CET 2021


Module: kamailio
Branch: master
Commit: ab8e680e0dd3a8078d40b72c50d41db55d442240
URL: https://github.com/kamailio/kamailio/commit/ab8e680e0dd3a8078d40b72c50d41db55d442240

Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2021-02-11T13:27:56+01:00

pkg/kamailio/deb: restore python3 dependency of kamailio package

---

Modified: pkg/kamailio/deb/debian/backports/precise
Modified: pkg/kamailio/deb/debian/backports/wheezy

---

Diff:  https://github.com/kamailio/kamailio/commit/ab8e680e0dd3a8078d40b72c50d41db55d442240.diff
Patch: https://github.com/kamailio/kamailio/commit/ab8e680e0dd3a8078d40b72c50d41db55d442240.patch

---

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
 




More information about the sr-dev mailing list