[sr-dev] git:master:0ac9dba4: pkg/kamailio/deb: switch to libssl version 1.0 where available

Victor Seva linuxmaniac at torreviejawireless.org
Fri Apr 12 09:49:27 CEST 2019


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

Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2019-04-12T09:46:59+02:00

pkg/kamailio/deb: switch to libssl version 1.0 where available

---

Modified: pkg/kamailio/deb/bionic/control
Modified: pkg/kamailio/deb/debian/backports/bionic
Modified: pkg/kamailio/deb/debian/backports/buster
Modified: pkg/kamailio/deb/debian/backports/sid
Modified: pkg/kamailio/deb/debian/backports/stretch
Modified: pkg/kamailio/deb/debian/control
Modified: pkg/kamailio/deb/stretch/control

---

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

---

diff --git a/pkg/kamailio/deb/bionic/control b/pkg/kamailio/deb/bionic/control
index 338568ab73..b38ce443c7 100644
--- a/pkg/kamailio/deb/bionic/control
+++ b/pkg/kamailio/deb/bionic/control
@@ -42,7 +42,7 @@ Build-Depends:
  libsctp-dev,
  libsnmp-dev,
  libsqlite3-dev,
- libssl-dev,
+ libssl1.0-dev,
  libsystemd-dev,
  libunistring-dev,
  libxml2-dev,
diff --git a/pkg/kamailio/deb/debian/backports/bionic b/pkg/kamailio/deb/debian/backports/bionic
index dbbe2fc694..d0848153b3 100755
--- a/pkg/kamailio/deb/debian/backports/bionic
+++ b/pkg/kamailio/deb/debian/backports/bionic
@@ -25,6 +25,9 @@ sed -i -e '/^export JAVA_HOME/d' ${DIST}/rules
 sed -i -e 's/ java[ ,$]*/ /' ${DIST}/rules
 sed -i -e '/^EXCLUDED_MODULES=/s/$/ java/' ${DIST}/rules
 
+# use libssl1.0-dev
+sed -i -e 's/libssl-dev (<1.1)/libssl1.0-dev/' ${DIST}/control
+
 wrap-and-sort -sat -d ${DIST}
 
 # clean backports scripts
diff --git a/pkg/kamailio/deb/debian/backports/buster b/pkg/kamailio/deb/debian/backports/buster
index 82a41a8d4f..969909e4d9 100755
--- a/pkg/kamailio/deb/debian/backports/buster
+++ b/pkg/kamailio/deb/debian/backports/buster
@@ -25,6 +25,9 @@ sed -i -e '/^export JAVA_HOME/d' ${DIST}/rules
 sed -i -e 's/ java[ ,$]*/ /' ${DIST}/rules
 sed -i -e '/^EXCLUDED_MODULES=/s/$/ java/' ${DIST}/rules
 
+# no libssl-dev 1.0
+sed -i -e 's/libssl-dev (<1.1)/libssl-dev/' ${DIST}/control
+
 wrap-and-sort -sat -d ${DIST}
 
 # clean backports scripts
diff --git a/pkg/kamailio/deb/debian/backports/sid b/pkg/kamailio/deb/debian/backports/sid
index 8161de7269..9e7d792173 100755
--- a/pkg/kamailio/deb/debian/backports/sid
+++ b/pkg/kamailio/deb/debian/backports/sid
@@ -25,6 +25,9 @@ sed -i -e '/^export JAVA_HOME/d' ${DIST}/rules
 sed -i -e 's/ java[ ,$]*/ /' ${DIST}/rules
 sed -i -e '/^EXCLUDED_MODULES=/s/$/ java/' ${DIST}/rules
 
+# no libssl-dev 1.0
+sed -i -e 's/libssl-dev (<1.1)/libssl-dev/' ${DIST}/control
+
 wrap-and-sort -sat -d ${DIST}
 
 # clean backports scripts
diff --git a/pkg/kamailio/deb/debian/backports/stretch b/pkg/kamailio/deb/debian/backports/stretch
index cf528bdeba..05a4705f87 100755
--- a/pkg/kamailio/deb/debian/backports/stretch
+++ b/pkg/kamailio/deb/debian/backports/stretch
@@ -22,6 +22,9 @@ sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ dnssec/' ${DIST}/rules
 sed -i 's/libmongoc-dev/libbson-dev,\n libmongoc-dev/' \
 	${DIST}/control
 
+# use libssl1.0-dev
+sed -i -e 's/libssl-dev (<1.1)/libssl1.0-dev/' ${DIST}/control
+
 wrap-and-sort -sat -d ${DIST}
 
 # clean backports scripts
diff --git a/pkg/kamailio/deb/debian/control b/pkg/kamailio/deb/debian/control
index e8077280ae..7581509dca 100644
--- a/pkg/kamailio/deb/debian/control
+++ b/pkg/kamailio/deb/debian/control
@@ -43,7 +43,7 @@ Build-Depends:
  libsctp-dev,
  libsnmp-dev,
  libsqlite3-dev,
- libssl-dev,
+ libssl-dev (<1.1),
  libsystemd-dev,
  libunistring-dev,
  libval-dev,
diff --git a/pkg/kamailio/deb/stretch/control b/pkg/kamailio/deb/stretch/control
index 7e87c253f0..2fbd439dde 100644
--- a/pkg/kamailio/deb/stretch/control
+++ b/pkg/kamailio/deb/stretch/control
@@ -44,7 +44,7 @@ Build-Depends:
  libsctp-dev,
  libsnmp-dev,
  libsqlite3-dev,
- libssl-dev,
+ libssl1.0-dev,
  libsystemd-dev,
  libunistring-dev,
  libxml2-dev,




More information about the sr-dev mailing list