Skip to content

Commit

Permalink
pkg/kamailio/deb: remove ruby support from wheezy and precise [skip ci]
Browse files Browse the repository at this point in the history
* no pkg-config provided

(cherry picked from commit 127b328)
  • Loading branch information
linuxmaniac committed Dec 11, 2018
1 parent 8bece54 commit 0d51eb3
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 40 deletions.
6 changes: 6 additions & 0 deletions pkg/kamailio/deb/debian/backports/precise
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions pkg/kamailio/deb/debian/backports/wheezy
Expand Up @@ -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
Expand Down
18 changes: 0 additions & 18 deletions pkg/kamailio/deb/precise/control
Expand Up @@ -44,7 +44,6 @@ Build-Depends:
pkg-config,
python,
python-dev,
ruby-dev,
unixodbc-dev,
uuid-dev,
xsltproc,
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pkg/kamailio/deb/precise/rules
Expand Up @@ -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)
Expand All @@ -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

Expand Down
18 changes: 0 additions & 18 deletions pkg/kamailio/deb/wheezy/control
Expand Up @@ -44,7 +44,6 @@ Build-Depends:
pkg-config,
python,
python-dev,
ruby-dev,
unixodbc-dev,
uuid-dev,
xsltproc,
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pkg/kamailio/deb/wheezy/rules
Expand Up @@ -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)
Expand All @@ -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

Expand Down

0 comments on commit 0d51eb3

Please sign in to comment.