Module: kamailio
Branch: 5.2
Commit: 693240860b293bbc3e6b35a594ca24378edc9014
URL: 
https://github.com/kamailio/kamailio/commit/693240860b293bbc3e6b35a594ca24378edc9014

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2018-12-11T17:40:05+01:00

pkg/kamailio/deb: remove ruby support for trusty [skip ci]

(cherry picked from commit dae529cc39671b0b406fec5b088cdb4e0abcfcf7)

---

Modified: pkg/kamailio/deb/debian/backports/trusty
Modified: pkg/kamailio/deb/trusty/control
Modified: pkg/kamailio/deb/trusty/rules

---

Diff:  
https://github.com/kamailio/kamailio/commit/693240860b293bbc3e6b35a594ca24378edc9014.diff
Patch: 
https://github.com/kamailio/kamailio/commit/693240860b293bbc3e6b35a594ca24378edc9014.patch

---

diff --git a/pkg/kamailio/deb/debian/backports/trusty 
b/pkg/kamailio/deb/debian/backports/trusty
index 5ec40afa14..a991ea7f4a 100755
--- a/pkg/kamailio/deb/debian/backports/trusty
+++ b/pkg/kamailio/deb/debian/backports/trusty
@@ -56,6 +56,12 @@ sed -i -e '/libmongoc-dev/d' -e '/^Package: 
kamailio-mongodb-modules/,/^$/d' \
 sed -i -e 's/ mongodb[ ,$]*/ /' ${DIST}/rules
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mongodb/' ${DIST}/rules
 
+# no pkg-config for ruby-dev
+sed -i -e '/ruby-dev/d' -e '/^Package: kamailio-ruby-modules/,/^$/d' \
+       ${DIST}/control
+sed -i -e 's/ ruby[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ ruby/' ${DIST}/rules
+
 wrap-and-sort -sat -d ${DIST}
 
 # clean backports scripts
diff --git a/pkg/kamailio/deb/trusty/control b/pkg/kamailio/deb/trusty/control
index 7fecc384b5..0ae8caa993 100644
--- a/pkg/kamailio/deb/trusty/control
+++ b/pkg/kamailio/deb/trusty/control
@@ -46,7 +46,6 @@ Build-Depends:
  pkg-config,
  python,
  python-dev,
- ruby-dev,
  unixodbc-dev,
  uuid-dev,
  xsltproc,
@@ -253,23 +252,6 @@ Description: The app_python module for the Kamailio SIP 
server
  This package provides the app_python module, an extension allowing to
  execute embedded Python applications within the Kamailio SIP routing script.
 
-Package: kamailio-ruby-modules
-Architecture: linux-any
-Multi-Arch: same
-Pre-Depends:
- ${misc:Pre-Depends},
-Depends:
- kamailio (= ${binary:Version}),
- ${misc:Depends},
- ${shlibs:Depends},
-Description: The app_ruby module for Kamailio Ruby support
- Kamailio is a very fast and flexible SIP (RFC3261)
- server. Written entirely in C, Kamailio can handle thousands calls
- per second even on low-budget hardware.
- .
- This package provides the app_ruby module, an extension allowing to
- execute embedded Ruby applications within the Kamailio SIP routing script.
-
 Package: kamailio-redis-modules
 Architecture: linux-any
 Multi-Arch: same
diff --git a/pkg/kamailio/deb/trusty/rules b/pkg/kamailio/deb/trusty/rules
index 54b895be7c..77c00e2797 100755
--- a/pkg/kamailio/deb/trusty/rules
+++ b/pkg/kamailio/deb/trusty/rules
@@ -27,7 +27,7 @@ EXCLUDED_MODULES=
 # extra modules to skip, because they are not compilable now
 # - regardless if they go to the main kamailio package or to some module 
package,
 # they will be excluded from compile and install of all
-EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd 
geoip2 phonenum mongodb
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd 
geoip2 phonenum mongodb ruby
 
 # module groups that are packaged in seperate packages
 # (with the name kamailio-$(group_name)-modules)
@@ -36,7 +36,7 @@ EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy 
mi_xmlrpc systemd geoip2
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
                           ldap xml perl utils lua memcached \
                           snmpstats carrierroute xmpp cpl redis python geoip \
-                          sqlite json mono ruby ims sctp java \
+                          sqlite json mono ims sctp java \
                           tls outbound websocket autheph dnssec kazoo cnxcc \
                           erlang rabbitmq
 


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to