[sr-dev] git:vseva/trusty: pkg/kamailio/deb: use libgcj14-dev when available

Victor Seva linuxmaniac at torreviejawireless.org
Tue Apr 22 13:26:41 CEST 2014


Module: sip-router
Branch: vseva/trusty
Commit: 91c2de3985edf750db31df3deac4e67515cfeac5
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=91c2de3985edf750db31df3deac4e67515cfeac5

Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date:   Tue Apr 22 11:49:47 2014 +0200

pkg/kamailio/deb: use libgcj14-dev when available

---

 pkg/kamailio/deb/debian/backports/precise |    3 +++
 pkg/kamailio/deb/debian/backports/squeeze |    2 +-
 pkg/kamailio/deb/debian/backports/wheezy  |    3 +++
 pkg/kamailio/deb/debian/control           |    2 +-
 pkg/kamailio/deb/jessie/control           |    2 +-
 pkg/kamailio/deb/trusty/control           |    2 +-
 6 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/pkg/kamailio/deb/debian/backports/precise b/pkg/kamailio/deb/debian/backports/precise
index 6cf914a..f468442 100755
--- a/pkg/kamailio/deb/debian/backports/precise
+++ b/pkg/kamailio/deb/debian/backports/precise
@@ -27,6 +27,9 @@ sed -i -e '/FREERADIUS/d' ${DIST}/rules
 # use old json
 sed -i 's/libjson-c-dev/libjson0-dev/' ${DIST}/control
 
+#use old libgcj
+sed -i 's/libgcj14-dev/libgcj12-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 b037d57..38132db 100755
--- a/pkg/kamailio/deb/debian/backports/squeeze
+++ b/pkg/kamailio/deb/debian/backports/squeeze
@@ -27,7 +27,7 @@ if [ -e ${DIST}/patches/series ]; then
 fi
 
 # No java module:
-sed -i -e '/libgcj12-dev/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
+sed -i -e '/libgcj14-dev/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
 	${DIST}/control
 sed -i -e 's/ java[ ,$]*/ /' ${DIST}/rules
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ java/' ${DIST}/rules
diff --git a/pkg/kamailio/deb/debian/backports/wheezy b/pkg/kamailio/deb/debian/backports/wheezy
index ccd1b9d..db9721b 100755
--- a/pkg/kamailio/deb/debian/backports/wheezy
+++ b/pkg/kamailio/deb/debian/backports/wheezy
@@ -33,6 +33,9 @@ sed -i -e '/FREERADIUS/d' ${DIST}/rules
 # use old json
 sed -i 's/libjson-c-dev/libjson0-dev/' ${DIST}/control
 
+#use old libgcj
+sed -i 's/libgcj14-dev/libgcj12-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 820213b..c88d2fc 100644
--- a/pkg/kamailio/deb/debian/control
+++ b/pkg/kamailio/deb/debian/control
@@ -16,7 +16,7 @@ Build-Depends: bison,
                libevent-dev,
                libexpat1-dev,
                libfreeradius-client-dev,
-               libgcj12-dev,
+               libgcj14-dev,
                libgeoip-dev (>= 1.4.5),
                libhiredis-dev (>= 0.10.0),
                libjson-c-dev,
diff --git a/pkg/kamailio/deb/jessie/control b/pkg/kamailio/deb/jessie/control
index 476122e..3c62b7e 100644
--- a/pkg/kamailio/deb/jessie/control
+++ b/pkg/kamailio/deb/jessie/control
@@ -16,7 +16,7 @@ Build-Depends: bison,
                libevent-dev,
                libexpat1-dev,
                libfreeradius-client-dev,
-               libgcj12-dev,
+               libgcj14-dev,
                libgeoip-dev (>= 1.4.5),
                libhiredis-dev (>= 0.10.0),
                libjson-c-dev,
diff --git a/pkg/kamailio/deb/trusty/control b/pkg/kamailio/deb/trusty/control
index 476122e..3c62b7e 100644
--- a/pkg/kamailio/deb/trusty/control
+++ b/pkg/kamailio/deb/trusty/control
@@ -16,7 +16,7 @@ Build-Depends: bison,
                libevent-dev,
                libexpat1-dev,
                libfreeradius-client-dev,
-               libgcj12-dev,
+               libgcj14-dev,
                libgeoip-dev (>= 1.4.5),
                libhiredis-dev (>= 0.10.0),
                libjson-c-dev,




More information about the sr-dev mailing list