Browse code

pkg/kamailio/deb: use libmosquitto0-dev on older releases

Victor Seva authored on 08/01/2020 11:39:08
Showing 6 changed files
... ...
@@ -94,6 +94,9 @@ sed -i -e '/python3-dev/d' -e '/^Package: kamailio-python3-modules/,/^$/d' \
94 94
 sed -i -e 's/ python3[ ,$]*/ /' ${DIST}/rules
95 95
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ python3/' ${DIST}/rules
96 96
 
97
+# use old libmosquitto
98
+sed -i 's/libmosquitto-dev/libmosquitto0-dev/' ${DIST}/control
99
+
97 100
 wrap-and-sort -sat -d ${DIST}
98 101
 
99 102
 # clean backports scripts
... ...
@@ -62,6 +62,9 @@ sed -i -e '/ruby-dev/d' -e '/^Package: kamailio-ruby-modules/,/^$/d' \
62 62
 sed -i -e 's/ ruby[ ,$]*/ /' ${DIST}/rules
63 63
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ ruby/' ${DIST}/rules
64 64
 
65
+# use old libmosquitto
66
+sed -i 's/libmosquitto-dev/libmosquitto0-dev/' ${DIST}/control
67
+
65 68
 wrap-and-sort -sat -d ${DIST}
66 69
 
67 70
 # clean backports scripts
... ...
@@ -94,6 +94,9 @@ sed -i -e '/python3-dev/d' -e '/^Package: kamailio-python3-modules/,/^$/d' \
94 94
 sed -i -e 's/ python3[ ,$]*/ /' ${DIST}/rules
95 95
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ python3/' ${DIST}/rules
96 96
 
97
+# use old libmosquitto
98
+sed -i 's/libmosquitto-dev/libmosquitto0-dev/' ${DIST}/control
99
+
97 100
 wrap-and-sort -sat -d ${DIST}
98 101
 
99 102
 # clean backports scripts
... ...
@@ -27,7 +27,7 @@ Build-Depends:
27 27
  libmemcached-dev,
28 28
  libmnl-dev,
29 29
  libmono-2.0-dev,
30
- libmosquitto-dev,
30
+ libmosquitto0-dev,
31 31
  libmysqlclient-dev,
32 32
  libncurses5-dev,
33 33
  libpcre3-dev,
... ...
@@ -28,7 +28,7 @@ Build-Depends:
28 28
  libmemcached-dev,
29 29
  libmnl-dev,
30 30
  libmono-2.0-dev,
31
- libmosquitto-dev,
31
+ libmosquitto0-dev,
32 32
  libmysqlclient-dev,
33 33
  libncurses5-dev,
34 34
  libpcre3-dev,
... ...
@@ -27,7 +27,7 @@ Build-Depends:
27 27
  libmemcached-dev,
28 28
  libmnl-dev,
29 29
  libmono-2.0-dev,
30
- libmosquitto-dev,
30
+ libmosquitto0-dev,
31 31
  libmysqlclient-dev,
32 32
  libncurses5-dev,
33 33
  libpcre3-dev,