From 0d51eb3c3127cc3f290659fb4265397cfb83380f Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Tue, 11 Dec 2018 16:37:16 +0100 Subject: [PATCH] pkg/kamailio/deb: remove ruby support from wheezy and precise [skip ci] * no pkg-config provided (cherry picked from commit 127b32801f3f25baa5684b4acd540bb48423c8e5) --- pkg/kamailio/deb/debian/backports/precise | 6 ++++++ pkg/kamailio/deb/debian/backports/wheezy | 6 ++++++ pkg/kamailio/deb/precise/control | 18 ------------------ pkg/kamailio/deb/precise/rules | 4 ++-- pkg/kamailio/deb/wheezy/control | 18 ------------------ pkg/kamailio/deb/wheezy/rules | 4 ++-- 6 files changed, 16 insertions(+), 40 deletions(-) diff --git a/pkg/kamailio/deb/debian/backports/precise b/pkg/kamailio/deb/debian/backports/precise index 3d6c88a3e7d..3f9d5aee40c 100755 --- a/pkg/kamailio/deb/debian/backports/precise +++ b/pkg/kamailio/deb/debian/backports/precise @@ -82,6 +82,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/debian/backports/wheezy b/pkg/kamailio/deb/debian/backports/wheezy index 743a18ebb59..3427402fdce 100755 --- a/pkg/kamailio/deb/debian/backports/wheezy +++ b/pkg/kamailio/deb/debian/backports/wheezy @@ -82,6 +82,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/precise/control b/pkg/kamailio/deb/precise/control index f5bf0c3d720..fec8c759849 100644 --- a/pkg/kamailio/deb/precise/control +++ b/pkg/kamailio/deb/precise/control @@ -44,7 +44,6 @@ Build-Depends: pkg-config, python, python-dev, - ruby-dev, unixodbc-dev, uuid-dev, xsltproc, @@ -251,23 +250,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/precise/rules b/pkg/kamailio/deb/precise/rules index 03df5491646..1635502e4a9 100755 --- a/pkg/kamailio/deb/precise/rules +++ b/pkg/kamailio/deb/precise/rules @@ -26,7 +26,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 dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb +EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb ruby # module groups that are packaged in seperate packages # (with the name kamailio-$(group_name)-modules) @@ -35,7 +35,7 @@ EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo c 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 \ erlang diff --git a/pkg/kamailio/deb/wheezy/control b/pkg/kamailio/deb/wheezy/control index f5bf0c3d720..fec8c759849 100644 --- a/pkg/kamailio/deb/wheezy/control +++ b/pkg/kamailio/deb/wheezy/control @@ -44,7 +44,6 @@ Build-Depends: pkg-config, python, python-dev, - ruby-dev, unixodbc-dev, uuid-dev, xsltproc, @@ -251,23 +250,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/wheezy/rules b/pkg/kamailio/deb/wheezy/rules index 03df5491646..1635502e4a9 100755 --- a/pkg/kamailio/deb/wheezy/rules +++ b/pkg/kamailio/deb/wheezy/rules @@ -26,7 +26,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 dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb +EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb ruby # module groups that are packaged in seperate packages # (with the name kamailio-$(group_name)-modules) @@ -35,7 +35,7 @@ EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo c 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 \ erlang