Browse Source

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

Victor Seva 7 năm trước cách đây
mục cha
commit
84967d08aa

+ 18 - 0
pkg/kamailio/deb/buster/control

@@ -29,6 +29,7 @@ Build-Depends:
  liblua5.1-0-dev,
  libmaxminddb-dev,
  libmemcached-dev,
+ libmongoc-dev,
  libmono-2.0-dev,
  libncurses5-dev,
  libpcre3-dev,
@@ -778,6 +779,23 @@ Description: phonenum modules for the Kamailio SIP server
  This package provides real-time queries against the libphonenumber to be
  performed directly from the Kamailio configuration and routing scripts.
 
+Package: kamailio-mongodb-modules
+Architecture: linux-any
+Multi-Arch: same
+Pre-Depends:
+ ${misc:Pre-Depends},
+Depends:
+ kamailio (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends},
+Description: mongodb modules for the Kamailio SIP server
+ Kamailio is a very fast and flexible SIP (RFC3261)
+ server. Written entirely in C, Kamailio can handle thousands calls
+ per second even on low-budget hardware.
+ .
+ This package provides the mongodb database driver and non-db connector for
+ Kamailio.
+
 Package: kamailio-extra-modules
 Architecture: linux-any
 Multi-Arch: same

+ 1 - 1
pkg/kamailio/deb/buster/rules

@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
 			   sqlite json mono ims sctp java \
 			   tls outbound websocket autheph kazoo cnxcc \
-			   erlang systemd phonenum rabbitmq
+			   erlang systemd phonenum mongodb rabbitmq
 
 # module groups to be packaged onto kamailio-extra-modules
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async

+ 6 - 0
pkg/kamailio/deb/debian/backports/jessie

@@ -39,6 +39,12 @@ sed -i -e '/libphonenumber-dev/d' -e '/^Package: kamailio-phonenum-modules/,/^$/
 sed -i -e 's/ phonenum[ ,$]*/ /' ${DIST}/rules
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ phonenum/' ${DIST}/rules
 
+# Mo mongodb
+sed -i -e '/libmongoc-dev/d' -e '/^Package: kamailio-mongodb-modules/,/^$/d' \
+	${DIST}/control
+sed -i -e 's/ mongodb[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mongodb/' ${DIST}/rules
+
 wrap-and-sort -sat -d ${DIST}
 
 # clean backports scripts

+ 6 - 0
pkg/kamailio/deb/debian/backports/precise

@@ -76,6 +76,12 @@ sed -i -e '/libphonenumber-dev/d' -e '/^Package: kamailio-phonenum-modules/,/^$/
 sed -i -e 's/ phonenum[ ,$]*/ /' ${DIST}/rules
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ phonenum/' ${DIST}/rules
 
+# Mo mongodb
+sed -i -e '/libmongoc-dev/d' -e '/^Package: kamailio-mongodb-modules/,/^$/d' \
+	${DIST}/control
+sed -i -e 's/ mongodb[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mongodb/' ${DIST}/rules
+
 wrap-and-sort -sat -d ${DIST}
 
 # clean backports scripts

+ 4 - 0
pkg/kamailio/deb/debian/backports/stretch

@@ -18,6 +18,10 @@ sed -i -e '/libval-dev/d' -e '/^Package: kamailio-dnssec-modules/,/^$/d' \
 sed -i -e 's/ dnssec[ ,$]*/ /' ${DIST}/rules
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ dnssec/' ${DIST}/rules
 
+# libbson not in libmongoc
+sed -i 's/libmongoc-dev/libbson-dev,\n libmongoc-dev/' \
+	${DIST}/control
+
 wrap-and-sort -sat -d ${DIST}
 
 # clean backports scripts

+ 6 - 0
pkg/kamailio/deb/debian/backports/trusty

@@ -50,6 +50,12 @@ sed -i -e '/libphonenumber-dev/d' -e '/^Package: kamailio-phonenum-modules/,/^$/
 sed -i -e 's/ phonenum[ ,$]*/ /' ${DIST}/rules
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ phonenum/' ${DIST}/rules
 
+# Mo mongodb
+sed -i -e '/libmongoc-dev/d' -e '/^Package: kamailio-mongodb-modules/,/^$/d' \
+	${DIST}/control
+sed -i -e 's/ mongodb[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mongodb/' ${DIST}/rules
+
 wrap-and-sort -sat -d ${DIST}
 
 # clean backports scripts

+ 6 - 0
pkg/kamailio/deb/debian/backports/wheezy

@@ -76,6 +76,12 @@ sed -i -e '/libphonenumber-dev/d' -e '/^Package: kamailio-phonenum-modules/,/^$/
 sed -i -e 's/ phonenum[ ,$]*/ /' ${DIST}/rules
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ phonenum/' ${DIST}/rules
 
+# Mo mongodb
+sed -i -e '/libmongoc-dev/d' -e '/^Package: kamailio-mongodb-modules/,/^$/d' \
+	${DIST}/control
+sed -i -e 's/ mongodb[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mongodb/' ${DIST}/rules
+
 wrap-and-sort -sat -d ${DIST}
 
 # clean backports scripts

+ 18 - 0
pkg/kamailio/deb/debian/control

@@ -48,6 +48,7 @@ Build-Depends:
  libval-dev,
  libxml2-dev,
  libxmlrpc-c3-dev,
+ libmongoc-dev,
  openssl,
  pkg-config,
  python,
@@ -796,6 +797,23 @@ Description: phonenum modules for the Kamailio SIP server
  This package provides real-time queries against the libphonenumber to be
  performed directly from the Kamailio configuration and routing scripts.
 
+Package: kamailio-mongodb-modules
+Architecture: linux-any
+Multi-Arch: same
+Pre-Depends:
+ ${misc:Pre-Depends},
+Depends:
+ kamailio (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends},
+Description: mongodb modules for the Kamailio SIP server
+ Kamailio is a very fast and flexible SIP (RFC3261)
+ server. Written entirely in C, Kamailio can handle thousands calls
+ per second even on low-budget hardware.
+ .
+ This package provides the mongodb database driver and non-db connector for
+ Kamailio.
+
 Package: kamailio-extra-modules
 Architecture: linux-any
 Multi-Arch: same

+ 1 - 1
pkg/kamailio/deb/debian/rules

@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
 			   sqlite json mono ims sctp java \
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
-			   erlang systemd phonenum rabbitmq
+			   erlang systemd phonenum mongodb rabbitmq
 
 # module groups to be packaged onto kamailio-extra-modules
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async

+ 1 - 1
pkg/kamailio/deb/jessie/rules

@@ -27,7 +27,7 @@ EXCLUDED_MODULES=
 # extra modules to skip, because they are not compilable now
 # - regardless if they go to the main kamailio package or to some module package,
 # they will be excluded from compile and install of all
-EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc geoip2 phonenum
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc geoip2 phonenum mongodb
 
 # module groups that are packaged in seperate packages
 # (with the name kamailio-$(group_name)-modules)

+ 1 - 1
pkg/kamailio/deb/precise/rules

@@ -26,7 +26,7 @@ EXCLUDED_MODULES=
 # extra modules to skip, because they are not compilable now
 # - regardless if they go to the main kamailio package or to some module package,
 # they will be excluded from compile and install of all
-EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb
 
 # module groups that are packaged in seperate packages
 # (with the name kamailio-$(group_name)-modules)

+ 18 - 0
pkg/kamailio/deb/sid/control

@@ -29,6 +29,7 @@ Build-Depends:
  liblua5.1-0-dev,
  libmaxminddb-dev,
  libmemcached-dev,
+ libmongoc-dev,
  libmono-2.0-dev,
  libncurses5-dev,
  libpcre3-dev,
@@ -778,6 +779,23 @@ Description: phonenum modules for the Kamailio SIP server
  This package provides real-time queries against the libphonenumber to be
  performed directly from the Kamailio configuration and routing scripts.
 
+Package: kamailio-mongodb-modules
+Architecture: linux-any
+Multi-Arch: same
+Pre-Depends:
+ ${misc:Pre-Depends},
+Depends:
+ kamailio (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends},
+Description: mongodb modules for the Kamailio SIP server
+ Kamailio is a very fast and flexible SIP (RFC3261)
+ server. Written entirely in C, Kamailio can handle thousands calls
+ per second even on low-budget hardware.
+ .
+ This package provides the mongodb database driver and non-db connector for
+ Kamailio.
+
 Package: kamailio-extra-modules
 Architecture: linux-any
 Multi-Arch: same

+ 1 - 1
pkg/kamailio/deb/sid/rules

@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
 			   sqlite json mono ims sctp java \
 			   tls outbound websocket autheph kazoo cnxcc \
-			   erlang systemd phonenum rabbitmq
+			   erlang systemd phonenum mongodb rabbitmq
 
 # module groups to be packaged onto kamailio-extra-modules
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async

+ 19 - 0
pkg/kamailio/deb/stretch/control

@@ -15,6 +15,7 @@ Build-Depends:
  erlang-dev,
  flex,
  gcj-jdk,
+ libbson-dev,
  libconfuse-dev,
  libcurl4-openssl-dev,
  libdb-dev (>= 4.6.19),
@@ -29,6 +30,7 @@ Build-Depends:
  liblua5.1-0-dev,
  libmaxminddb-dev,
  libmemcached-dev,
+ libmongoc-dev,
  libmono-2.0-dev,
  libncurses5-dev,
  libpcre3-dev,
@@ -778,6 +780,23 @@ Description: phonenum modules for the Kamailio SIP server
  This package provides real-time queries against the libphonenumber to be
  performed directly from the Kamailio configuration and routing scripts.
 
+Package: kamailio-mongodb-modules
+Architecture: linux-any
+Multi-Arch: same
+Pre-Depends:
+ ${misc:Pre-Depends},
+Depends:
+ kamailio (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends},
+Description: mongodb modules for the Kamailio SIP server
+ Kamailio is a very fast and flexible SIP (RFC3261)
+ server. Written entirely in C, Kamailio can handle thousands calls
+ per second even on low-budget hardware.
+ .
+ This package provides the mongodb database driver and non-db connector for
+ Kamailio.
+
 Package: kamailio-extra-modules
 Architecture: linux-any
 Multi-Arch: same

+ 1 - 1
pkg/kamailio/deb/stretch/rules

@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
 			   sqlite json mono ims sctp java \
 			   tls outbound websocket autheph kazoo cnxcc \
-			   erlang systemd phonenum rabbitmq
+			   erlang systemd phonenum mongodb rabbitmq
 
 # module groups to be packaged onto kamailio-extra-modules
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async

+ 1 - 1
pkg/kamailio/deb/trusty/rules

@@ -27,7 +27,7 @@ EXCLUDED_MODULES=
 # extra modules to skip, because they are not compilable now
 # - regardless if they go to the main kamailio package or to some module package,
 # they will be excluded from compile and install of all
-EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd geoip2 phonenum
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd geoip2 phonenum mongodb
 
 # module groups that are packaged in seperate packages
 # (with the name kamailio-$(group_name)-modules)

+ 1 - 1
pkg/kamailio/deb/wheezy/rules

@@ -26,7 +26,7 @@ EXCLUDED_MODULES=
 # extra modules to skip, because they are not compilable now
 # - regardless if they go to the main kamailio package or to some module package,
 # they will be excluded from compile and install of all
-EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb
 
 # module groups that are packaged in seperate packages
 # (with the name kamailio-$(group_name)-modules)

+ 18 - 0
pkg/kamailio/deb/xenial/control

@@ -29,6 +29,7 @@ Build-Depends:
  liblua5.1-0-dev,
  libmaxminddb-dev,
  libmemcached-dev,
+ libmongoc-dev,
  libmono-2.0-dev,
  libmysqlclient-dev,
  libncurses5-dev,
@@ -796,6 +797,23 @@ Description: phonenum modules for the Kamailio SIP server
  This package provides real-time queries against the libphonenumber to be
  performed directly from the Kamailio configuration and routing scripts.
 
+Package: kamailio-mongodb-modules
+Architecture: linux-any
+Multi-Arch: same
+Pre-Depends:
+ ${misc:Pre-Depends},
+Depends:
+ kamailio (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends},
+Description: mongodb modules for the Kamailio SIP server
+ Kamailio is a very fast and flexible SIP (RFC3261)
+ server. Written entirely in C, Kamailio can handle thousands calls
+ per second even on low-budget hardware.
+ .
+ This package provides the mongodb database driver and non-db connector for
+ Kamailio.
+
 Package: kamailio-extra-modules
 Architecture: linux-any
 Multi-Arch: same

+ 1 - 1
pkg/kamailio/deb/xenial/rules

@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
 			   sqlite json mono ims sctp java \
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
-			   erlang systemd phonenum rabbitmq
+			   erlang systemd phonenum mongodb rabbitmq
 
 # module groups to be packaged onto kamailio-extra-modules
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async