Browse code

pkg/kamailio/deb: remove ruby support for trusty

Victor Seva authored on 11/12/2018 15:41:32
Showing 3 changed files
... ...
@@ -56,6 +56,12 @@ sed -i -e '/libmongoc-dev/d' -e '/^Package: kamailio-mongodb-modules/,/^$/d' \
56 56
 sed -i -e 's/ mongodb[ ,$]*/ /' ${DIST}/rules
57 57
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mongodb/' ${DIST}/rules
58 58
 
59
+# no pkg-config for ruby-dev
60
+sed -i -e '/ruby-dev/d' -e '/^Package: kamailio-ruby-modules/,/^$/d' \
61
+	${DIST}/control
62
+sed -i -e 's/ ruby[ ,$]*/ /' ${DIST}/rules
63
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ ruby/' ${DIST}/rules
64
+
59 65
 wrap-and-sort -sat -d ${DIST}
60 66
 
61 67
 # clean backports scripts
... ...
@@ -46,7 +46,6 @@ Build-Depends:
46 46
  pkg-config,
47 47
  python,
48 48
  python-dev,
49
- ruby-dev,
50 49
  unixodbc-dev,
51 50
  uuid-dev,
52 51
  xsltproc,
... ...
@@ -253,23 +252,6 @@ Description: The app_python module for the Kamailio SIP server
253 252
  This package provides the app_python module, an extension allowing to
254 253
  execute embedded Python applications within the Kamailio SIP routing script.
255 254
 
256
-Package: kamailio-ruby-modules
257
-Architecture: linux-any
258
-Multi-Arch: same
259
-Pre-Depends:
260
- ${misc:Pre-Depends},
261
-Depends:
262
- kamailio (= ${binary:Version}),
263
- ${misc:Depends},
264
- ${shlibs:Depends},
265
-Description: The app_ruby module for Kamailio Ruby support
266
- Kamailio is a very fast and flexible SIP (RFC3261)
267
- server. Written entirely in C, Kamailio can handle thousands calls
268
- per second even on low-budget hardware.
269
- .
270
- This package provides the app_ruby module, an extension allowing to
271
- execute embedded Ruby applications within the Kamailio SIP routing script.
272
-
273 255
 Package: kamailio-redis-modules
274 256
 Architecture: linux-any
275 257
 Multi-Arch: same
... ...
@@ -27,7 +27,7 @@ EXCLUDED_MODULES=
27 27
 # extra modules to skip, because they are not compilable now
28 28
 # - regardless if they go to the main kamailio package or to some module package,
29 29
 # they will be excluded from compile and install of all
30
-EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd geoip2 phonenum mongodb
30
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd geoip2 phonenum mongodb ruby
31 31
 
32 32
 # module groups that are packaged in seperate packages
33 33
 # (with the name kamailio-$(group_name)-modules)
... ...
@@ -36,7 +36,7 @@ EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd geoip2
36 36
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
37 37
 			   ldap xml perl utils lua memcached \
38 38
 			   snmpstats carrierroute xmpp cpl redis python geoip \
39
-			   sqlite json mono ruby ims sctp java \
39
+			   sqlite json mono ims sctp java \
40 40
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
41 41
 			   erlang rabbitmq
42 42