Browse code

pkg/kamailio/alpine: packaged MongoDB module [skip ci]

Sergey Safarov authored on 27/08/2019 06:03:20
Showing 1 changed files
... ...
@@ -31,7 +31,7 @@ makedepends="bison db-dev flex freeradius-client-dev expat-dev
31 31
 	confuse-dev ncurses-dev sqlite-dev lua-dev openldap-dev openssl-dev
32 32
 	net-snmp-dev libuuid libev-dev jansson-dev json-c-dev libevent-dev
33 33
 	linux-headers libmemcached-dev rabbitmq-c-dev hiredis-dev
34
-	ruby-dev libmaxminddb-dev libunistring-dev"
34
+	ruby-dev libmaxminddb-dev libunistring-dev mongo-c-driver-dev"
35 35
 
36 36
 install="$pkgname.pre-install $pkgname.pre-upgrade"
37 37
 
... ...
@@ -253,7 +253,7 @@ _modules="$_module_group_kstandard"
253 253
 for _i in db postgres sqlite dbtext mysql \
254 254
 	cpl xml unixodbc snmpstats xmpp carrierroute \
255 255
 	ldap utils tls presence lua ims outbound debugger \
256
-	extras json websocket authephemeral \
256
+	extras json websocket authephemeral mongodb\
257 257
 	uuid ev memcached redis geoip2 jansson sqlang sipdump \
258 258
 	jsdt http_async kazoo rabbitmq sctp radius perl python \
259 259
 	python3 ruby; do
... ...
@@ -499,6 +499,11 @@ memcached() {
499 499
 		"$_mod_list_memcached"
500 500
 }
501 501
 
502
+mongodb() {
503
+	_generic_pkg "MongoDB database connectivity" \
504
+	"$_mod_list_mongodb"
505
+}
506
+
502 507
 rabbitmq() {
503 508
 	_generic_pkg "RabbitMQ client for configuration file" \
504 509
 		"$_mod_list_rabbitmq"