Browse code

pkg/kamailio/deb: kamailio-mongodb-modules [skip ci]

Victor Seva authored on 11/12/2017 10:15:20
Showing 19 changed files
... ...
@@ -29,6 +29,7 @@ Build-Depends:
29 29
  liblua5.1-0-dev,
30 30
  libmaxminddb-dev,
31 31
  libmemcached-dev,
32
+ libmongoc-dev,
32 33
  libmono-2.0-dev,
33 34
  libncurses5-dev,
34 35
  libpcre3-dev,
... ...
@@ -778,6 +779,23 @@ Description: phonenum modules for the Kamailio SIP server
778 779
  This package provides real-time queries against the libphonenumber to be
779 780
  performed directly from the Kamailio configuration and routing scripts.
780 781
 
782
+Package: kamailio-mongodb-modules
783
+Architecture: linux-any
784
+Multi-Arch: same
785
+Pre-Depends:
786
+ ${misc:Pre-Depends},
787
+Depends:
788
+ kamailio (= ${binary:Version}),
789
+ ${misc:Depends},
790
+ ${shlibs:Depends},
791
+Description: mongodb modules for the Kamailio SIP server
792
+ Kamailio is a very fast and flexible SIP (RFC3261)
793
+ server. Written entirely in C, Kamailio can handle thousands calls
794
+ per second even on low-budget hardware.
795
+ .
796
+ This package provides the mongodb database driver and non-db connector for
797
+ Kamailio.
798
+
781 799
 Package: kamailio-extra-modules
782 800
 Architecture: linux-any
783 801
 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 ims sctp java \
40 40
 			   tls outbound websocket autheph kazoo cnxcc \
41
-			   erlang systemd phonenum rabbitmq
41
+			   erlang systemd phonenum mongodb rabbitmq
42 42
 
43 43
 # module groups to be packaged onto kamailio-extra-modules
44 44
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
... ...
@@ -39,6 +39,12 @@ sed -i -e '/libphonenumber-dev/d' -e '/^Package: kamailio-phonenum-modules/,/^$/
39 39
 sed -i -e 's/ phonenum[ ,$]*/ /' ${DIST}/rules
40 40
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ phonenum/' ${DIST}/rules
41 41
 
42
+# Mo mongodb
43
+sed -i -e '/libmongoc-dev/d' -e '/^Package: kamailio-mongodb-modules/,/^$/d' \
44
+	${DIST}/control
45
+sed -i -e 's/ mongodb[ ,$]*/ /' ${DIST}/rules
46
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mongodb/' ${DIST}/rules
47
+
42 48
 wrap-and-sort -sat -d ${DIST}
43 49
 
44 50
 # clean backports scripts
... ...
@@ -76,6 +76,12 @@ sed -i -e '/libphonenumber-dev/d' -e '/^Package: kamailio-phonenum-modules/,/^$/
76 76
 sed -i -e 's/ phonenum[ ,$]*/ /' ${DIST}/rules
77 77
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ phonenum/' ${DIST}/rules
78 78
 
79
+# Mo mongodb
80
+sed -i -e '/libmongoc-dev/d' -e '/^Package: kamailio-mongodb-modules/,/^$/d' \
81
+	${DIST}/control
82
+sed -i -e 's/ mongodb[ ,$]*/ /' ${DIST}/rules
83
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mongodb/' ${DIST}/rules
84
+
79 85
 wrap-and-sort -sat -d ${DIST}
80 86
 
81 87
 # clean backports scripts
... ...
@@ -18,6 +18,10 @@ sed -i -e '/libval-dev/d' -e '/^Package: kamailio-dnssec-modules/,/^$/d' \
18 18
 sed -i -e 's/ dnssec[ ,$]*/ /' ${DIST}/rules
19 19
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ dnssec/' ${DIST}/rules
20 20
 
21
+# libbson not in libmongoc
22
+sed -i 's/libmongoc-dev/libbson-dev,\n libmongoc-dev/' \
23
+	${DIST}/control
24
+
21 25
 wrap-and-sort -sat -d ${DIST}
22 26
 
23 27
 # clean backports scripts
... ...
@@ -50,6 +50,12 @@ sed -i -e '/libphonenumber-dev/d' -e '/^Package: kamailio-phonenum-modules/,/^$/
50 50
 sed -i -e 's/ phonenum[ ,$]*/ /' ${DIST}/rules
51 51
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ phonenum/' ${DIST}/rules
52 52
 
53
+# Mo mongodb
54
+sed -i -e '/libmongoc-dev/d' -e '/^Package: kamailio-mongodb-modules/,/^$/d' \
55
+	${DIST}/control
56
+sed -i -e 's/ mongodb[ ,$]*/ /' ${DIST}/rules
57
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mongodb/' ${DIST}/rules
58
+
53 59
 wrap-and-sort -sat -d ${DIST}
54 60
 
55 61
 # clean backports scripts
... ...
@@ -76,6 +76,12 @@ sed -i -e '/libphonenumber-dev/d' -e '/^Package: kamailio-phonenum-modules/,/^$/
76 76
 sed -i -e 's/ phonenum[ ,$]*/ /' ${DIST}/rules
77 77
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ phonenum/' ${DIST}/rules
78 78
 
79
+# Mo mongodb
80
+sed -i -e '/libmongoc-dev/d' -e '/^Package: kamailio-mongodb-modules/,/^$/d' \
81
+	${DIST}/control
82
+sed -i -e 's/ mongodb[ ,$]*/ /' ${DIST}/rules
83
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mongodb/' ${DIST}/rules
84
+
79 85
 wrap-and-sort -sat -d ${DIST}
80 86
 
81 87
 # clean backports scripts
... ...
@@ -48,6 +48,7 @@ Build-Depends:
48 48
  libval-dev,
49 49
  libxml2-dev,
50 50
  libxmlrpc-c3-dev,
51
+ libmongoc-dev,
51 52
  openssl,
52 53
  pkg-config,
53 54
  python,
... ...
@@ -796,6 +797,23 @@ Description: phonenum modules for the Kamailio SIP server
796 797
  This package provides real-time queries against the libphonenumber to be
797 798
  performed directly from the Kamailio configuration and routing scripts.
798 799
 
800
+Package: kamailio-mongodb-modules
801
+Architecture: linux-any
802
+Multi-Arch: same
803
+Pre-Depends:
804
+ ${misc:Pre-Depends},
805
+Depends:
806
+ kamailio (= ${binary:Version}),
807
+ ${misc:Depends},
808
+ ${shlibs:Depends},
809
+Description: mongodb modules for the Kamailio SIP server
810
+ Kamailio is a very fast and flexible SIP (RFC3261)
811
+ server. Written entirely in C, Kamailio can handle thousands calls
812
+ per second even on low-budget hardware.
813
+ .
814
+ This package provides the mongodb database driver and non-db connector for
815
+ Kamailio.
816
+
799 817
 Package: kamailio-extra-modules
800 818
 Architecture: linux-any
801 819
 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 ims sctp java \
40 40
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
41
-			   erlang systemd phonenum rabbitmq
41
+			   erlang systemd phonenum mongodb rabbitmq
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,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 geoip2 phonenum
30
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc geoip2 phonenum mongodb
31 31
 
32 32
 # module groups that are packaged in seperate packages
33 33
 # (with the name kamailio-$(group_name)-modules)
... ...
@@ -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
29
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb
30 30
 
31 31
 # module groups that are packaged in seperate packages
32 32
 # (with the name kamailio-$(group_name)-modules)
... ...
@@ -29,6 +29,7 @@ Build-Depends:
29 29
  liblua5.1-0-dev,
30 30
  libmaxminddb-dev,
31 31
  libmemcached-dev,
32
+ libmongoc-dev,
32 33
  libmono-2.0-dev,
33 34
  libncurses5-dev,
34 35
  libpcre3-dev,
... ...
@@ -778,6 +779,23 @@ Description: phonenum modules for the Kamailio SIP server
778 779
  This package provides real-time queries against the libphonenumber to be
779 780
  performed directly from the Kamailio configuration and routing scripts.
780 781
 
782
+Package: kamailio-mongodb-modules
783
+Architecture: linux-any
784
+Multi-Arch: same
785
+Pre-Depends:
786
+ ${misc:Pre-Depends},
787
+Depends:
788
+ kamailio (= ${binary:Version}),
789
+ ${misc:Depends},
790
+ ${shlibs:Depends},
791
+Description: mongodb modules for the Kamailio SIP server
792
+ Kamailio is a very fast and flexible SIP (RFC3261)
793
+ server. Written entirely in C, Kamailio can handle thousands calls
794
+ per second even on low-budget hardware.
795
+ .
796
+ This package provides the mongodb database driver and non-db connector for
797
+ Kamailio.
798
+
781 799
 Package: kamailio-extra-modules
782 800
 Architecture: linux-any
783 801
 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 ims sctp java \
40 40
 			   tls outbound websocket autheph kazoo cnxcc \
41
-			   erlang systemd phonenum rabbitmq
41
+			   erlang systemd phonenum mongodb rabbitmq
42 42
 
43 43
 # module groups to be packaged onto kamailio-extra-modules
44 44
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
... ...
@@ -15,6 +15,7 @@ Build-Depends:
15 15
  erlang-dev,
16 16
  flex,
17 17
  gcj-jdk,
18
+ libbson-dev,
18 19
  libconfuse-dev,
19 20
  libcurl4-openssl-dev,
20 21
  libdb-dev (>= 4.6.19),
... ...
@@ -29,6 +30,7 @@ Build-Depends:
29 30
  liblua5.1-0-dev,
30 31
  libmaxminddb-dev,
31 32
  libmemcached-dev,
33
+ libmongoc-dev,
32 34
  libmono-2.0-dev,
33 35
  libncurses5-dev,
34 36
  libpcre3-dev,
... ...
@@ -778,6 +780,23 @@ Description: phonenum modules for the Kamailio SIP server
778 780
  This package provides real-time queries against the libphonenumber to be
779 781
  performed directly from the Kamailio configuration and routing scripts.
780 782
 
783
+Package: kamailio-mongodb-modules
784
+Architecture: linux-any
785
+Multi-Arch: same
786
+Pre-Depends:
787
+ ${misc:Pre-Depends},
788
+Depends:
789
+ kamailio (= ${binary:Version}),
790
+ ${misc:Depends},
791
+ ${shlibs:Depends},
792
+Description: mongodb modules for the Kamailio SIP server
793
+ Kamailio is a very fast and flexible SIP (RFC3261)
794
+ server. Written entirely in C, Kamailio can handle thousands calls
795
+ per second even on low-budget hardware.
796
+ .
797
+ This package provides the mongodb database driver and non-db connector for
798
+ Kamailio.
799
+
781 800
 Package: kamailio-extra-modules
782 801
 Architecture: linux-any
783 802
 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 ims sctp java \
40 40
 			   tls outbound websocket autheph kazoo cnxcc \
41
-			   erlang systemd phonenum rabbitmq
41
+			   erlang systemd phonenum mongodb rabbitmq
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,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
30
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd geoip2 phonenum mongodb
31 31
 
32 32
 # module groups that are packaged in seperate packages
33 33
 # (with the name kamailio-$(group_name)-modules)
... ...
@@ -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
29
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb
30 30
 
31 31
 # module groups that are packaged in seperate packages
32 32
 # (with the name kamailio-$(group_name)-modules)
... ...
@@ -29,6 +29,7 @@ Build-Depends:
29 29
  liblua5.1-0-dev,
30 30
  libmaxminddb-dev,
31 31
  libmemcached-dev,
32
+ libmongoc-dev,
32 33
  libmono-2.0-dev,
33 34
  libmysqlclient-dev,
34 35
  libncurses5-dev,
... ...
@@ -796,6 +797,23 @@ Description: phonenum modules for the Kamailio SIP server
796 797
  This package provides real-time queries against the libphonenumber to be
797 798
  performed directly from the Kamailio configuration and routing scripts.
798 799
 
800
+Package: kamailio-mongodb-modules
801
+Architecture: linux-any
802
+Multi-Arch: same
803
+Pre-Depends:
804
+ ${misc:Pre-Depends},
805
+Depends:
806
+ kamailio (= ${binary:Version}),
807
+ ${misc:Depends},
808
+ ${shlibs:Depends},
809
+Description: mongodb modules for the Kamailio SIP server
810
+ Kamailio is a very fast and flexible SIP (RFC3261)
811
+ server. Written entirely in C, Kamailio can handle thousands calls
812
+ per second even on low-budget hardware.
813
+ .
814
+ This package provides the mongodb database driver and non-db connector for
815
+ Kamailio.
816
+
799 817
 Package: kamailio-extra-modules
800 818
 Architecture: linux-any
801 819
 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 ims sctp java \
40 40
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
41
-			   erlang systemd phonenum rabbitmq
41
+			   erlang systemd phonenum mongodb rabbitmq
42 42
 
43 43
 # module groups to be packaged onto kamailio-extra-modules
44 44
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async