Browse code

pkg/kamailio/deb: use libjson-c-dev when possible.

(cherry picked from commit 118d3051bd1c84ba725c719dd6d86e8335d9c274)

Victor Seva authored on 18/04/2014 20:15:31
Showing 5 changed files
... ...
@@ -24,6 +24,9 @@ sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ dnssec/' ${DIST}/rules
24 24
 sed -i 's/libfreeradius-client-dev/libradiusclient-ng-dev/' ${DIST}/control
25 25
 sed -i -e '/FREERADIUS/d' ${DIST}/rules
26 26
 
27
+# use old json
28
+sed -i 's/libjson-c-dev/libjson0-dev/' ${DIST}/control
29
+
27 30
 # clean backports scripts
28 31
 rm -rf ${DIST}/backports
29 32
 exit 0
... ...
@@ -69,6 +69,9 @@ sed -i -e 's/db-util/db4.8-util/' ${DIST}/control
69 69
 sed -i 's/libfreeradius-client-dev/libradiusclient-ng-dev/' ${DIST}/control
70 70
 sed -i -e '/FREERADIUS/d' ${DIST}/rules
71 71
 
72
+# use old json
73
+sed -i 's/libjson-c-dev/libjson0-dev/' ${DIST}/control
74
+
72 75
 # clean backports scripts
73 76
 rm -rf ${DIST}/backports
74 77
 exit 0
... ...
@@ -30,6 +30,9 @@ sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ dnssec/' ${DIST}/rules
30 30
 sed -i 's/libfreeradius-client-dev/libradiusclient-ng-dev/' ${DIST}/control
31 31
 sed -i -e '/FREERADIUS/d' ${DIST}/rules
32 32
 
33
+# use old json
34
+sed -i 's/libjson-c-dev/libjson0-dev/' ${DIST}/control
35
+
33 36
 # clean backports scripts
34 37
 rm -rf ${DIST}/backports
35 38
 exit 0
... ...
@@ -18,7 +18,7 @@ Build-Depends: bison,
18 18
                libgcj12-dev,
19 19
                libgeoip-dev (>= 1.4.5),
20 20
                libhiredis-dev (>= 0.10.0),
21
-               libjson0-dev,
21
+               libjson-c-dev,
22 22
                libldap2-dev,
23 23
                liblua5.1-0-dev,
24 24
                libmemcached-dev,
... ...
@@ -18,7 +18,7 @@ Build-Depends: bison,
18 18
                libgcj12-dev,
19 19
                libgeoip-dev (>= 1.4.5),
20 20
                libhiredis-dev (>= 0.10.0),
21
-               libjson0-dev,
21
+               libjson-c-dev,
22 22
                libldap2-dev,
23 23
                liblua5.1-0-dev,
24 24
                libmemcached-dev,