Module: sip-router
Branch: 4.1
Commit: be187e135b0b9b28136817c3569ab5c0abcc5b3f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=be187e1…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: Fri Apr 18 22:15:31 2014 +0200
pkg/kamailio/deb: use libjson-c-dev when possible.
(cherry picked from commit 118d3051bd1c84ba725c719dd6d86e8335d9c274)
---
pkg/kamailio/deb/debian/backports/precise | 3 +++
pkg/kamailio/deb/debian/backports/squeeze | 3 +++
pkg/kamailio/deb/debian/backports/wheezy | 3 +++
pkg/kamailio/deb/debian/control | 2 +-
pkg/kamailio/deb/jessie/control | 2 +-
5 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/pkg/kamailio/deb/debian/backports/precise
b/pkg/kamailio/deb/debian/backports/precise
index c2ece7e..6cf914a 100755
--- a/pkg/kamailio/deb/debian/backports/precise
+++ b/pkg/kamailio/deb/debian/backports/precise
@@ -24,6 +24,9 @@ sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ dnssec/'
${DIST}/rules
sed -i 's/libfreeradius-client-dev/libradiusclient-ng-dev/' ${DIST}/control
sed -i -e '/FREERADIUS/d' ${DIST}/rules
+# use old json
+sed -i 's/libjson-c-dev/libjson0-dev/' ${DIST}/control
+
# clean backports scripts
rm -rf ${DIST}/backports
exit 0
diff --git a/pkg/kamailio/deb/debian/backports/squeeze
b/pkg/kamailio/deb/debian/backports/squeeze
index d589dda..b037d57 100755
--- a/pkg/kamailio/deb/debian/backports/squeeze
+++ b/pkg/kamailio/deb/debian/backports/squeeze
@@ -69,6 +69,9 @@ sed -i -e 's/db-util/db4.8-util/' ${DIST}/control
sed -i 's/libfreeradius-client-dev/libradiusclient-ng-dev/' ${DIST}/control
sed -i -e '/FREERADIUS/d' ${DIST}/rules
+# use old json
+sed -i 's/libjson-c-dev/libjson0-dev/' ${DIST}/control
+
# clean backports scripts
rm -rf ${DIST}/backports
exit 0
diff --git a/pkg/kamailio/deb/debian/backports/wheezy
b/pkg/kamailio/deb/debian/backports/wheezy
index df43929..ccd1b9d 100755
--- a/pkg/kamailio/deb/debian/backports/wheezy
+++ b/pkg/kamailio/deb/debian/backports/wheezy
@@ -30,6 +30,9 @@ sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ dnssec/'
${DIST}/rules
sed -i 's/libfreeradius-client-dev/libradiusclient-ng-dev/' ${DIST}/control
sed -i -e '/FREERADIUS/d' ${DIST}/rules
+# use old json
+sed -i 's/libjson-c-dev/libjson0-dev/' ${DIST}/control
+
# clean backports scripts
rm -rf ${DIST}/backports
exit 0
diff --git a/pkg/kamailio/deb/debian/control b/pkg/kamailio/deb/debian/control
index 0ddb46d..895c615 100644
--- a/pkg/kamailio/deb/debian/control
+++ b/pkg/kamailio/deb/debian/control
@@ -18,7 +18,7 @@ Build-Depends: bison,
libgcj12-dev,
libgeoip-dev (>= 1.4.5),
libhiredis-dev (>= 0.10.0),
- libjson0-dev,
+ libjson-c-dev,
libldap2-dev,
liblua5.1-0-dev,
libmemcached-dev,
diff --git a/pkg/kamailio/deb/jessie/control b/pkg/kamailio/deb/jessie/control
index b7872f2..f5b1714 100644
--- a/pkg/kamailio/deb/jessie/control
+++ b/pkg/kamailio/deb/jessie/control
@@ -18,7 +18,7 @@ Build-Depends: bison,
libgcj12-dev,
libgeoip-dev (>= 1.4.5),
libhiredis-dev (>= 0.10.0),
- libjson0-dev,
+ libjson-c-dev,
libldap2-dev,
liblua5.1-0-dev,
libmemcached-dev,