Browse code

pkg/kamailio/deb: remove mqtt from old releases

It seems that only libmosquitto1-dev is supported

Victor Seva authored on 09/01/2020 08:34:10
Showing 9 changed files
... ...
@@ -94,8 +94,11 @@ sed -i -e '/python3-dev/d' -e '/^Package: kamailio-python3-modules/,/^$/d' \
94 94
 sed -i -e 's/ python3[ ,$]*/ /' ${DIST}/rules
95 95
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ python3/' ${DIST}/rules
96 96
 
97
-# use old libmosquitto
98
-sed -i 's/libmosquitto-dev/libmosquitto0-dev/' ${DIST}/control
97
+# No mqtt module
98
+sed -i -e '/libmosquitto-dev/d' -e '/^Package: kamailio-mqtt-modules/,/^$/d' \
99
+	${DIST}/control
100
+sed -i -e 's/ mqtt[ ,$]*/ /' ${DIST}/rules
101
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mqtt/' ${DIST}/rules
99 102
 
100 103
 wrap-and-sort -sat -d ${DIST}
101 104
 
... ...
@@ -62,8 +62,11 @@ sed -i -e '/ruby-dev/d' -e '/^Package: kamailio-ruby-modules/,/^$/d' \
62 62
 sed -i -e 's/ ruby[ ,$]*/ /' ${DIST}/rules
63 63
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ ruby/' ${DIST}/rules
64 64
 
65
-# use old libmosquitto
66
-sed -i 's/libmosquitto-dev/libmosquitto0-dev/' ${DIST}/control
65
+# No mqtt module
66
+sed -i -e '/libmosquitto-dev/d' -e '/^Package: kamailio-mqtt-modules/,/^$/d' \
67
+	${DIST}/control
68
+sed -i -e 's/ mqtt[ ,$]*/ /' ${DIST}/rules
69
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mqtt/' ${DIST}/rules
67 70
 
68 71
 wrap-and-sort -sat -d ${DIST}
69 72
 
... ...
@@ -94,8 +94,11 @@ sed -i -e '/python3-dev/d' -e '/^Package: kamailio-python3-modules/,/^$/d' \
94 94
 sed -i -e 's/ python3[ ,$]*/ /' ${DIST}/rules
95 95
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ python3/' ${DIST}/rules
96 96
 
97
-# use old libmosquitto
98
-sed -i 's/libmosquitto-dev/libmosquitto0-dev/' ${DIST}/control
97
+# No mqtt module
98
+sed -i -e '/libmosquitto-dev/d' -e '/^Package: kamailio-mqtt-modules/,/^$/d' \
99
+	${DIST}/control
100
+sed -i -e 's/ mqtt[ ,$]*/ /' ${DIST}/rules
101
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mqtt/' ${DIST}/rules
99 102
 
100 103
 wrap-and-sort -sat -d ${DIST}
101 104
 
... ...
@@ -27,7 +27,6 @@ Build-Depends:
27 27
  libmemcached-dev,
28 28
  libmnl-dev,
29 29
  libmono-2.0-dev,
30
- libmosquitto0-dev,
31 30
  libmysqlclient-dev,
32 31
  libncurses5-dev,
33 32
  libpcre3-dev,
... ...
@@ -659,26 +658,6 @@ Description: Erlang modules for the Kamailio SIP server
659 658
  SIP routing scripts. The module allows sending, receiving Erlang messages
660 659
  and RPC calls between each other.
661 660
 
662
-Package: kamailio-mqtt-modules
663
-Architecture: linux-any
664
-Multi-Arch: same
665
-Pre-Depends:
666
- ${misc:Pre-Depends},
667
-Depends:
668
- kamailio (= ${binary:Version}),
669
- ${misc:Depends},
670
- ${shlibs:Depends},
671
-Description: MQTT modules for the Kamailio SIP Server
672
- Kamailio is a very fast and flexible SIP (RFC3261)
673
- server. Written entirely in C, Kamailio can handle thousands calls
674
- per second even on low-budget hardware.
675
- .
676
- MQTT module allows bidirectional publish/subscribe communication by
677
- connecting Kamailio to a MQTT Broker.
678
- .
679
- Messages can be published from any point in the routing script. Also
680
- the subscriptions can be fully controlled by scripting commands.
681
-
682 661
 Package: kamailio-extra-modules
683 662
 Architecture: linux-any
684 663
 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 ruby python3
29
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb ruby python3 mqtt
30 30
 
31 31
 # module groups that are packaged in seperate packages
32 32
 # (with the name kamailio-$(group_name)-modules)
... ...
@@ -37,7 +37,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
37 37
 			   snmpstats carrierroute xmpp cpl redis python geoip \
38 38
 			   sqlite json mono ims sctp java \
39 39
 			   tls outbound websocket autheph \
40
-			   erlang mqtt
40
+			   erlang 
41 41
 
42 42
 # module groups to be packaged onto kamailio-extra-modules
43 43
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
... ...
@@ -28,7 +28,6 @@ Build-Depends:
28 28
  libmemcached-dev,
29 29
  libmnl-dev,
30 30
  libmono-2.0-dev,
31
- libmosquitto0-dev,
32 31
  libmysqlclient-dev,
33 32
  libncurses5-dev,
34 33
  libpcre3-dev,
... ...
@@ -747,26 +746,6 @@ Description: Erlang modules for the Kamailio SIP server
747 746
  SIP routing scripts. The module allows sending, receiving Erlang messages
748 747
  and RPC calls between each other.
749 748
 
750
-Package: kamailio-mqtt-modules
751
-Architecture: linux-any
752
-Multi-Arch: same
753
-Pre-Depends:
754
- ${misc:Pre-Depends},
755
-Depends:
756
- kamailio (= ${binary:Version}),
757
- ${misc:Depends},
758
- ${shlibs:Depends},
759
-Description: MQTT modules for the Kamailio SIP Server
760
- Kamailio is a very fast and flexible SIP (RFC3261)
761
- server. Written entirely in C, Kamailio can handle thousands calls
762
- per second even on low-budget hardware.
763
- .
764
- MQTT module allows bidirectional publish/subscribe communication by
765
- connecting Kamailio to a MQTT Broker.
766
- .
767
- Messages can be published from any point in the routing script. Also
768
- the subscriptions can be fully controlled by scripting commands.
769
-
770 749
 Package: kamailio-extra-modules
771 750
 Architecture: linux-any
772 751
 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 ruby
30
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd geoip2 phonenum mongodb ruby mqtt
31 31
 
32 32
 # module groups that are packaged in seperate packages
33 33
 # (with the name kamailio-$(group_name)-modules)
... ...
@@ -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 python3 mqtt
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
... ...
@@ -27,7 +27,6 @@ Build-Depends:
27 27
  libmemcached-dev,
28 28
  libmnl-dev,
29 29
  libmono-2.0-dev,
30
- libmosquitto0-dev,
31 30
  libmysqlclient-dev,
32 31
  libncurses5-dev,
33 32
  libpcre3-dev,
... ...
@@ -659,26 +658,6 @@ Description: Erlang modules for the Kamailio SIP server
659 658
  SIP routing scripts. The module allows sending, receiving Erlang messages
660 659
  and RPC calls between each other.
661 660
 
662
-Package: kamailio-mqtt-modules
663
-Architecture: linux-any
664
-Multi-Arch: same
665
-Pre-Depends:
666
- ${misc:Pre-Depends},
667
-Depends:
668
- kamailio (= ${binary:Version}),
669
- ${misc:Depends},
670
- ${shlibs:Depends},
671
-Description: MQTT modules for the Kamailio SIP Server
672
- Kamailio is a very fast and flexible SIP (RFC3261)
673
- server. Written entirely in C, Kamailio can handle thousands calls
674
- per second even on low-budget hardware.
675
- .
676
- MQTT module allows bidirectional publish/subscribe communication by
677
- connecting Kamailio to a MQTT Broker.
678
- .
679
- Messages can be published from any point in the routing script. Also
680
- the subscriptions can be fully controlled by scripting commands.
681
-
682 661
 Package: kamailio-extra-modules
683 662
 Architecture: linux-any
684 663
 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 ruby python3
29
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb ruby python3 mqtt
30 30
 
31 31
 # module groups that are packaged in seperate packages
32 32
 # (with the name kamailio-$(group_name)-modules)
... ...
@@ -37,7 +37,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
37 37
 			   snmpstats carrierroute xmpp cpl redis python geoip \
38 38
 			   sqlite json mono ims sctp java \
39 39
 			   tls outbound websocket autheph \
40
-			   erlang mqtt
40
+			   erlang 
41 41
 
42 42
 # module groups to be packaged onto kamailio-extra-modules
43 43
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async