[sr-dev] git:master:6ed93bc8: pkg/kamailio/deb: bionic can't use libssl1.0-dev due conflicts with libcurl4-openssl-dev dependencies

Victor Seva linuxmaniac at torreviejawireless.org
Fri Apr 12 14:55:14 CEST 2019


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

Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2019-04-12T14:52:55+02:00

pkg/kamailio/deb: bionic can't use libssl1.0-dev due conflicts with libcurl4-openssl-dev dependencies

> The following packages have unmet dependencies:
>  libcurl4-openssl-dev : Conflicts: libssl1.0-dev but 1.0.2n-1ubuntu5 is to be installed
>  libssl-dev : Conflicts: libssl1.0-dev but 1.0.2n-1ubuntu5 is to be installed
>  libssl1.0-dev : Conflicts: libssl-dev but 1.1.0g-2ubuntu4 is to be installed
> Unable to resolve dependencies!  Giving up...

---

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

---

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

---

diff --git a/pkg/kamailio/deb/bionic/control b/pkg/kamailio/deb/bionic/control
index b38ce443c7..338568ab73 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,
- libssl1.0-dev,
+ libssl-dev,
  libsystemd-dev,
  libunistring-dev,
  libxml2-dev,
diff --git a/pkg/kamailio/deb/debian/backports/bionic b/pkg/kamailio/deb/debian/backports/bionic
index d0848153b3..8512ae421f 100755
--- a/pkg/kamailio/deb/debian/backports/bionic
+++ b/pkg/kamailio/deb/debian/backports/bionic
@@ -25,8 +25,8 @@ 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
+# libssl1.0-dev conflicts with libcurl4-openssl-dev dependencies
+sed -i -e 's/libssl-dev (<<1.1)/libssl-dev/' ${DIST}/control
 
 wrap-and-sort -sat -d ${DIST}
 
diff --git a/pkg/kamailio/deb/debian/backports/buster b/pkg/kamailio/deb/debian/backports/buster
index 969909e4d9..a4c4473827 100755
--- a/pkg/kamailio/deb/debian/backports/buster
+++ b/pkg/kamailio/deb/debian/backports/buster
@@ -26,7 +26,7 @@ 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
+sed -i -e 's/libssl-dev (<<1.1)/libssl-dev/' ${DIST}/control
 
 wrap-and-sort -sat -d ${DIST}
 
diff --git a/pkg/kamailio/deb/debian/backports/sid b/pkg/kamailio/deb/debian/backports/sid
index 9e7d792173..6b1c5d4eac 100755
--- a/pkg/kamailio/deb/debian/backports/sid
+++ b/pkg/kamailio/deb/debian/backports/sid
@@ -26,7 +26,7 @@ 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
+sed -i -e 's/libssl-dev (<<1.1)/libssl-dev/' ${DIST}/control
 
 wrap-and-sort -sat -d ${DIST}
 
diff --git a/pkg/kamailio/deb/debian/backports/stretch b/pkg/kamailio/deb/debian/backports/stretch
index 05a4705f87..0f9780acf0 100755
--- a/pkg/kamailio/deb/debian/backports/stretch
+++ b/pkg/kamailio/deb/debian/backports/stretch
@@ -23,7 +23,7 @@ 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
+sed -i -e 's/libssl-dev (<<1.1)/libssl1.0-dev/' ${DIST}/control
 
 wrap-and-sort -sat -d ${DIST}
 
diff --git a/pkg/kamailio/deb/debian/control b/pkg/kamailio/deb/debian/control
index 7581509dca..ffe8437181 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 (<1.1),
+ libssl-dev (<<1.1),
  libsystemd-dev,
  libunistring-dev,
  libval-dev,




More information about the sr-dev mailing list