Browse code

pkg/kamailio/deb: remove ruby support from wheezy and precise [skip ci]

* no pkg-config provided

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