Browse code

pkg/kamailio/deb: add kamailio-python3-modules

Victor Seva authored on 24/12/2018 07:44:06
Showing 20 changed files
... ...
@@ -50,6 +50,8 @@ Build-Depends:
50 50
  pkg-config,
51 51
  python,
52 52
  python-dev,
53
+ python3,
54
+ python3-dev,
53 55
  ruby-dev,
54 56
  unixodbc-dev,
55 57
  uuid-dev,
... ...
@@ -275,6 +277,24 @@ Description: The app_python module for the Kamailio SIP server
275 277
  This package provides the app_python module, an extension allowing to
276 278
  execute embedded Python applications within the Kamailio SIP routing script.
277 279
 
280
+Package: kamailio-python3-modules
281
+Architecture: linux-any
282
+Multi-Arch: same
283
+Pre-Depends:
284
+ ${misc:Pre-Depends},
285
+Depends:
286
+ kamailio (= ${binary:Version}),
287
+ python3-dev,
288
+ ${misc:Depends},
289
+ ${shlibs:Depends},
290
+Description: The app_python3 module for the Kamailio SIP server
291
+ Kamailio is a very fast and flexible SIP (RFC3261)
292
+ server. Written entirely in C, Kamailio can handle thousands calls
293
+ per second even on low-budget hardware.
294
+ .
295
+ This package provides the app_python3 module, an extension allowing to
296
+ execute embedded Python applications within the Kamailio SIP routing script.
297
+
278 298
 Package: kamailio-ruby-modules
279 299
 Architecture: linux-any
280 300
 Multi-Arch: same
... ...
@@ -37,7 +37,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
37 37
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
38 38
 			   sqlite json mono ruby ims sctp \
39 39
 			   tls outbound websocket autheph kazoo cnxcc \
40
-			   erlang systemd phonenum mongodb rabbitmq
40
+			   erlang systemd phonenum mongodb rabbitmq python3
41 41
 
42 42
 # module groups to be packaged onto kamailio-extra-modules
43 43
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
... ...
@@ -50,6 +50,8 @@ Build-Depends:
50 50
  pkg-config,
51 51
  python,
52 52
  python-dev,
53
+ python3,
54
+ python3-dev,
53 55
  ruby-dev,
54 56
  unixodbc-dev,
55 57
  uuid-dev,
... ...
@@ -275,6 +277,24 @@ Description: The app_python module for the Kamailio SIP server
275 277
  This package provides the app_python module, an extension allowing to
276 278
  execute embedded Python applications within the Kamailio SIP routing script.
277 279
 
280
+Package: kamailio-python3-modules
281
+Architecture: linux-any
282
+Multi-Arch: same
283
+Pre-Depends:
284
+ ${misc:Pre-Depends},
285
+Depends:
286
+ kamailio (= ${binary:Version}),
287
+ python3-dev,
288
+ ${misc:Depends},
289
+ ${shlibs:Depends},
290
+Description: The app_python3 module for the Kamailio SIP server
291
+ Kamailio is a very fast and flexible SIP (RFC3261)
292
+ server. Written entirely in C, Kamailio can handle thousands calls
293
+ per second even on low-budget hardware.
294
+ .
295
+ This package provides the app_python3 module, an extension allowing to
296
+ execute embedded Python applications within the Kamailio SIP routing script.
297
+
278 298
 Package: kamailio-ruby-modules
279 299
 Architecture: linux-any
280 300
 Multi-Arch: same
... ...
@@ -37,7 +37,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
37 37
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
38 38
 			   sqlite json mono ruby ims sctp \
39 39
 			   tls outbound websocket autheph kazoo cnxcc \
40
-			   erlang systemd phonenum mongodb rabbitmq
40
+			   erlang systemd phonenum mongodb rabbitmq python3
41 41
 
42 42
 # module groups to be packaged onto kamailio-extra-modules
43 43
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
... ...
@@ -88,6 +88,12 @@ sed -i -e '/ruby-dev/d' -e '/^Package: kamailio-ruby-modules/,/^$/d' \
88 88
 sed -i -e 's/ ruby[ ,$]*/ /' ${DIST}/rules
89 89
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ ruby/' ${DIST}/rules
90 90
 
91
+# no python3 for app_python3
92
+sed -i -e '/python3-dev/d' -e '/^Package: kamailio-python3-modules/,/^$/d' \
93
+	-e '/python3/d' ${DIST}/control
94
+sed -i -e 's/ python3[ ,$]*/ /' ${DIST}/rules
95
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ python3/' ${DIST}/rules
96
+
91 97
 wrap-and-sort -sat -d ${DIST}
92 98
 
93 99
 # clean backports scripts
... ...
@@ -88,6 +88,12 @@ sed -i -e '/ruby-dev/d' -e '/^Package: kamailio-ruby-modules/,/^$/d' \
88 88
 sed -i -e 's/ ruby[ ,$]*/ /' ${DIST}/rules
89 89
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ ruby/' ${DIST}/rules
90 90
 
91
+# no python3 for app_python3
92
+sed -i -e '/python3-dev/d' -e '/^Package: kamailio-python3-modules/,/^$/d' \
93
+	-e '/python3/d' ${DIST}/control
94
+sed -i -e 's/ python3[ ,$]*/ /' ${DIST}/rules
95
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ python3/' ${DIST}/rules
96
+
91 97
 wrap-and-sort -sat -d ${DIST}
92 98
 
93 99
 # clean backports scripts
... ...
@@ -53,6 +53,8 @@ Build-Depends:
53 53
  pkg-config,
54 54
  python,
55 55
  python-dev,
56
+ python3,
57
+ python3-dev,
56 58
  ruby-dev,
57 59
  unixodbc-dev,
58 60
  uuid-dev,
... ...
@@ -278,6 +280,24 @@ Description: The app_python module for the Kamailio SIP server
278 280
  This package provides the app_python module, an extension allowing to
279 281
  execute embedded Python applications within the Kamailio SIP routing script.
280 282
 
283
+Package: kamailio-python3-modules
284
+Architecture: linux-any
285
+Multi-Arch: same
286
+Pre-Depends:
287
+ ${misc:Pre-Depends},
288
+Depends:
289
+ kamailio (= ${binary:Version}),
290
+ python3-dev,
291
+ ${misc:Depends},
292
+ ${shlibs:Depends},
293
+Description: The app_python3 module for the Kamailio SIP server
294
+ Kamailio is a very fast and flexible SIP (RFC3261)
295
+ server. Written entirely in C, Kamailio can handle thousands calls
296
+ per second even on low-budget hardware.
297
+ .
298
+ This package provides the app_python3 module, an extension allowing to
299
+ execute embedded Python applications within the Kamailio SIP routing script.
300
+
281 301
 Package: kamailio-ruby-modules
282 302
 Architecture: linux-any
283 303
 Multi-Arch: same
... ...
@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
38 38
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
39 39
 			   sqlite json mono ruby ims sctp java \
40 40
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
41
-			   erlang systemd phonenum mongodb rabbitmq
41
+			   erlang systemd phonenum mongodb rabbitmq python3
42 42
 
43 43
 # module groups to be packaged onto kamailio-extra-modules
44 44
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
... ...
@@ -48,6 +48,8 @@ Build-Depends:
48 48
  pkg-config,
49 49
  python,
50 50
  python-dev,
51
+ python3,
52
+ python3-dev,
51 53
  ruby-dev,
52 54
  unixodbc-dev,
53 55
  uuid-dev,
... ...
@@ -255,6 +257,24 @@ Description: The app_python module for the Kamailio SIP server
255 257
  This package provides the app_python module, an extension allowing to
256 258
  execute embedded Python applications within the Kamailio SIP routing script.
257 259
 
260
+Package: kamailio-python3-modules
261
+Architecture: linux-any
262
+Multi-Arch: same
263
+Pre-Depends:
264
+ ${misc:Pre-Depends},
265
+Depends:
266
+ kamailio (= ${binary:Version}),
267
+ python3-dev,
268
+ ${misc:Depends},
269
+ ${shlibs:Depends},
270
+Description: The app_python3 module for the Kamailio SIP server
271
+ Kamailio is a very fast and flexible SIP (RFC3261)
272
+ server. Written entirely in C, Kamailio can handle thousands calls
273
+ per second even on low-budget hardware.
274
+ .
275
+ This package provides the app_python3 module, an extension allowing to
276
+ execute embedded Python applications within the Kamailio SIP routing script.
277
+
258 278
 Package: kamailio-ruby-modules
259 279
 Architecture: linux-any
260 280
 Multi-Arch: same
... ...
@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
38 38
 			   snmpstats carrierroute xmpp cpl redis python geoip \
39 39
 			   sqlite json mono ruby ims sctp java \
40 40
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
41
-			   erlang systemd rabbitmq
41
+			   erlang systemd rabbitmq python3
42 42
 
43 43
 # module groups to be packaged onto kamailio-extra-modules
44 44
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
... ...
@@ -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 ruby
29
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb ruby python3
30 30
 
31 31
 # module groups that are packaged in seperate packages
32 32
 # (with the name kamailio-$(group_name)-modules)
... ...
@@ -50,6 +50,8 @@ Build-Depends:
50 50
  pkg-config,
51 51
  python,
52 52
  python-dev,
53
+ python3,
54
+ python3-dev,
53 55
  ruby-dev,
54 56
  unixodbc-dev,
55 57
  uuid-dev,
... ...
@@ -275,6 +277,24 @@ Description: The app_python module for the Kamailio SIP server
275 277
  This package provides the app_python module, an extension allowing to
276 278
  execute embedded Python applications within the Kamailio SIP routing script.
277 279
 
280
+Package: kamailio-python3-modules
281
+Architecture: linux-any
282
+Multi-Arch: same
283
+Pre-Depends:
284
+ ${misc:Pre-Depends},
285
+Depends:
286
+ kamailio (= ${binary:Version}),
287
+ python3-dev,
288
+ ${misc:Depends},
289
+ ${shlibs:Depends},
290
+Description: The app_python3 module for the Kamailio SIP server
291
+ Kamailio is a very fast and flexible SIP (RFC3261)
292
+ server. Written entirely in C, Kamailio can handle thousands calls
293
+ per second even on low-budget hardware.
294
+ .
295
+ This package provides the app_python3 module, an extension allowing to
296
+ execute embedded Python applications within the Kamailio SIP routing script.
297
+
278 298
 Package: kamailio-ruby-modules
279 299
 Architecture: linux-any
280 300
 Multi-Arch: same
... ...
@@ -37,7 +37,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
37 37
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
38 38
 			   sqlite json mono ruby ims sctp \
39 39
 			   tls outbound websocket autheph kazoo cnxcc \
40
-			   erlang systemd phonenum mongodb rabbitmq
40
+			   erlang systemd phonenum mongodb rabbitmq python3
41 41
 
42 42
 # module groups to be packaged onto kamailio-extra-modules
43 43
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
... ...
@@ -52,6 +52,8 @@ Build-Depends:
52 52
  pkg-config,
53 53
  python,
54 54
  python-dev,
55
+ python3,
56
+ python3-dev,
55 57
  ruby-dev,
56 58
  unixodbc-dev,
57 59
  uuid-dev,
... ...
@@ -277,6 +279,24 @@ Description: The app_python module for the Kamailio SIP server
277 279
  This package provides the app_python module, an extension allowing to
278 280
  execute embedded Python applications within the Kamailio SIP routing script.
279 281
 
282
+Package: kamailio-python3-modules
283
+Architecture: linux-any
284
+Multi-Arch: same
285
+Pre-Depends:
286
+ ${misc:Pre-Depends},
287
+Depends:
288
+ kamailio (= ${binary:Version}),
289
+ python3-dev,
290
+ ${misc:Depends},
291
+ ${shlibs:Depends},
292
+Description: The app_python3 module for the Kamailio SIP server
293
+ Kamailio is a very fast and flexible SIP (RFC3261)
294
+ server. Written entirely in C, Kamailio can handle thousands calls
295
+ per second even on low-budget hardware.
296
+ .
297
+ This package provides the app_python3 module, an extension allowing to
298
+ execute embedded Python applications within the Kamailio SIP routing script.
299
+
280 300
 Package: kamailio-ruby-modules
281 301
 Architecture: linux-any
282 302
 Multi-Arch: same
... ...
@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
38 38
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
39 39
 			   sqlite json mono ruby ims sctp java \
40 40
 			   tls outbound websocket autheph kazoo cnxcc \
41
-			   erlang systemd phonenum mongodb rabbitmq
41
+			   erlang systemd phonenum mongodb rabbitmq python3
42 42
 
43 43
 # module groups to be packaged onto kamailio-extra-modules
44 44
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
... ...
@@ -46,6 +46,8 @@ Build-Depends:
46 46
  pkg-config,
47 47
  python,
48 48
  python-dev,
49
+ python3,
50
+ python3-dev,
49 51
  unixodbc-dev,
50 52
  uuid-dev,
51 53
  xsltproc,
... ...
@@ -252,6 +254,24 @@ Description: The app_python module for the Kamailio SIP server
252 254
  This package provides the app_python module, an extension allowing to
253 255
  execute embedded Python applications within the Kamailio SIP routing script.
254 256
 
257
+Package: kamailio-python3-modules
258
+Architecture: linux-any
259
+Multi-Arch: same
260
+Pre-Depends:
261
+ ${misc:Pre-Depends},
262
+Depends:
263
+ kamailio (= ${binary:Version}),
264
+ python3-dev,
265
+ ${misc:Depends},
266
+ ${shlibs:Depends},
267
+Description: The app_python3 module for the Kamailio SIP server
268
+ Kamailio is a very fast and flexible SIP (RFC3261)
269
+ server. Written entirely in C, Kamailio can handle thousands calls
270
+ per second even on low-budget hardware.
271
+ .
272
+ This package provides the app_python3 module, an extension allowing to
273
+ execute embedded Python applications within the Kamailio SIP routing script.
274
+
255 275
 Package: kamailio-redis-modules
256 276
 Architecture: linux-any
257 277
 Multi-Arch: same
... ...
@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
38 38
 			   snmpstats carrierroute xmpp cpl redis python geoip \
39 39
 			   sqlite json mono ims sctp java \
40 40
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
41
-			   erlang rabbitmq
41
+			   erlang rabbitmq python3
42 42
 
43 43
 # module groups to be packaged onto kamailio-extra-modules
44 44
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
... ...
@@ -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 ruby
29
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb ruby python3
30 30
 
31 31
 # module groups that are packaged in seperate packages
32 32
 # (with the name kamailio-$(group_name)-modules)
... ...
@@ -54,6 +54,8 @@ Build-Depends:
54 54
  pkg-config,
55 55
  python,
56 56
  python-dev,
57
+ python3,
58
+ python3-dev,
57 59
  ruby-dev,
58 60
  unixodbc-dev,
59 61
  uuid-dev,
... ...
@@ -279,6 +281,24 @@ Description: The app_python module for the Kamailio SIP server
279 281
  This package provides the app_python module, an extension allowing to
280 282
  execute embedded Python applications within the Kamailio SIP routing script.
281 283
 
284
+Package: kamailio-python3-modules
285
+Architecture: linux-any
286
+Multi-Arch: same
287
+Pre-Depends:
288
+ ${misc:Pre-Depends},
289
+Depends:
290
+ kamailio (= ${binary:Version}),
291
+ python3-dev,
292
+ ${misc:Depends},
293
+ ${shlibs:Depends},
294
+Description: The app_python3 module for the Kamailio SIP server
295
+ Kamailio is a very fast and flexible SIP (RFC3261)
296
+ server. Written entirely in C, Kamailio can handle thousands calls
297
+ per second even on low-budget hardware.
298
+ .
299
+ This package provides the app_python3 module, an extension allowing to
300
+ execute embedded Python applications within the Kamailio SIP routing script.
301
+
282 302
 Package: kamailio-ruby-modules
283 303
 Architecture: linux-any
284 304
 Multi-Arch: same
... ...
@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
38 38
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
39 39
 			   sqlite json mono ruby ims sctp java \
40 40
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
41
-			   erlang systemd phonenum mongodb rabbitmq
41
+			   erlang systemd phonenum mongodb rabbitmq python3
42 42
 
43 43
 # module groups to be packaged onto kamailio-extra-modules
44 44
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async