Module: sip-router
Branch: master
Commit: 118d3051bd1c84ba725c719dd6d86e8335d9c274
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=118d305…
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.
---
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 5ec86e5..820213b 100644
--- a/pkg/kamailio/deb/debian/control
+++ b/pkg/kamailio/deb/debian/control
@@ -19,7 +19,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 35eaf4f..476122e 100644
--- a/pkg/kamailio/deb/jessie/control
+++ b/pkg/kamailio/deb/jessie/control
@@ -19,7 +19,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,