View | Details | Raw Unified | Return to bug 222718 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-7 / +15 lines)
Lines 14-28 Link Here
14
LIB_DEPENDS=	libconfuse.so:devel/libconfuse \
14
LIB_DEPENDS=	libconfuse.so:devel/libconfuse \
15
		libcurl.so:ftp/curl \
15
		libcurl.so:ftp/curl \
16
		libexpat.so:textproc/expat2 \
16
		libexpat.so:textproc/expat2 \
17
		libhiredis.so:databases/hiredis \
18
		libjson-c.so:devel/json-c \
17
		libjson-c.so:devel/json-c \
19
		libjwt.so:www/libjwt \
18
		libjwt.so:www/libjwt \
20
		libpcre.so:devel/pcre \
19
		libpcre.so:devel/pcre \
21
		librabbitmq.so:net/rabbitmq-c-devel \
22
		libuuid.so:misc/e2fsprogs-libuuid
20
		libuuid.so:misc/e2fsprogs-libuuid
23
21
24
USES=		gettext-runtime gmake gnome localbase:ldflags ncurses perl5 \
22
USES=		gettext-runtime gmake gnome localbase:ldflags ncurses perl5 \
25
		pkgconfig python shebangfix ssl
23
		pkgconfig shebangfix ssl
26
USE_GNOME=	libxml2
24
USE_GNOME=	libxml2
27
SHEBANG_GLOB=	*.pl *.sh
25
SHEBANG_GLOB=	*.pl *.sh
28
26
Lines 41-56 Link Here
41
		INSTALL_DOC="${INSTALL_DATA}" \
39
		INSTALL_DOC="${INSTALL_DATA}" \
42
		INSTALL_MODULES="${INSTALL_PROGRAM}" \
40
		INSTALL_MODULES="${INSTALL_PROGRAM}" \
43
		JSON_BUILDER="pkgconf json-c" \
41
		JSON_BUILDER="pkgconf json-c" \
44
		NICER=0 \
42
		NICER=0
45
		PYTHON=${PYTHON_CMD}
46
43
47
OPTIONS_DEFINE=		DEBUG DOCS EXAMPLES HTTP LDAP MEMCACHED MYSQL PGSQL \
44
OPTIONS_DEFINE=		DEBUG DOCS EXAMPLES HTTP LDAP MEMCACHED MYSQL PGSQL \
48
			RADIUS SQLITE TESTS TLS UNIXODBC
45
			PYTHON RABBITMQ RADIUS REDIS SQLITE TESTS TLS UNIXODBC
49
OPTIONS_DEFAULT=	HTTP LDAP MEMCACHED PGSQL RADIUS TLS
46
OPTIONS_DEFAULT=	HTTP LDAP MEMCACHED PGSQL PYTHON RABBITMQ RADIUS REDIS TLS
50
OPTIONS_SUB=		yes
47
OPTIONS_SUB=		yes
51
48
52
HTTP_DESC=		Enable HTTP transport via libmicrohttpd
49
HTTP_DESC=		Enable HTTP transport via libmicrohttpd
53
MEMCACHED_DESC=		Build with memcached support
50
MEMCACHED_DESC=		Build with memcached support
51
RABBITMQ_DESC=	RabbitMQ/AMQP support
54
TESTS_DESC=		Install smoke tests
52
TESTS_DESC=		Install smoke tests
55
53
56
HTTP_LIB_DEPENDS=	libmicrohttpd.so:www/libmicrohttpd
54
HTTP_LIB_DEPENDS=	libmicrohttpd.so:www/libmicrohttpd
Lines 70-77 Link Here
70
WANT_PGSQL=		client
68
WANT_PGSQL=		client
71
PGSQL_VARS=		EXTRA_MODULES+=db_postgres
69
PGSQL_VARS=		EXTRA_MODULES+=db_postgres
72
70
71
PYTHON_USES=		python
72
PYTHON_MAKE_ENV+=	PYTHON=${PYTHON_CMD}
73
PYTHON_VARS=		EXTRA_MODULES+=python
74
75
RABBITMQ_LIB_DEPENDS=	librabbitmq.so:net/rabbitmq-c-devel
76
RABBITMQ_VARS=			EXTRA_MODULES+="event_rabbitmq rabbitmq rabbitmq_consumer"
77
73
RADIUS_LIB_DEPENDS=	libradiusclient-ng.so:net/radiusclient
78
RADIUS_LIB_DEPENDS=	libradiusclient-ng.so:net/radiusclient
74
RADIUS_VARS=		EXTRA_MODULES+=aaa_radius
79
RADIUS_VARS=		EXTRA_MODULES+=aaa_radius
80
81
REDIS_LIB_DEPENDS+=	libhiredis.so:databases/hiredis
82
REDIS_VARS=	EXTRA_MODULES+=cachedb_redis
75
83
76
SQLITE_LIB_DEPENDS=	libsqlite3.so:databases/sqlite3
84
SQLITE_LIB_DEPENDS=	libsqlite3.so:databases/sqlite3
77
SQLITE_VARS=		EXTRA_MODULES+=db_sqlite
85
SQLITE_VARS=		EXTRA_MODULES+=db_sqlite
(-)files/Makefile.conf (-1 / +1 lines)
Lines 65-71 Link Here
65
65
66
exclude_modules?= aaa_radius auth_jwt b2b_logic cachedb_cassandra cachedb_couchbase cachedb_memcached cachedb_mongodb cachedb_redis carrierroute cgrates compression cpl_c db_berkeley db_http db_mysql db_oracle db_perlvdb db_postgres db_sqlite db_unixodbc dialplan emergency event_rabbitmq h350 httpd identity jabber json ldap lua mi_xmlrpc_ng mmgeoip osp perl pi_http presence presence_dialoginfo presence_mwi presence_xml presence_dfks proto_sctp proto_tls proto_wss pua pua_bla pua_dialoginfo pua_mi pua_usrloc pua_xmpp python regex rabbitmq rabbitmq_consumer rest_client rls siprec sngtc snmpstats stir_shaken tls_mgm uuid xcap xcap_client xml xmpp
66
exclude_modules?= aaa_radius auth_jwt b2b_logic cachedb_cassandra cachedb_couchbase cachedb_memcached cachedb_mongodb cachedb_redis carrierroute cgrates compression cpl_c db_berkeley db_http db_mysql db_oracle db_perlvdb db_postgres db_sqlite db_unixodbc dialplan emergency event_rabbitmq h350 httpd identity jabber json ldap lua mi_xmlrpc_ng mmgeoip osp perl pi_http presence presence_dialoginfo presence_mwi presence_xml presence_dfks proto_sctp proto_tls proto_wss pua pua_bla pua_dialoginfo pua_mi pua_usrloc pua_xmpp python regex rabbitmq rabbitmq_consumer rest_client rls siprec sngtc snmpstats stir_shaken tls_mgm uuid xcap xcap_client xml xmpp
67
67
68
include_modules= auth_jwt b2b_logic cachedb_redis carrierroute cgrates compression cpl_c db_http db_perlvdb dialplan event_rabbitmq event_routing event_stream regex identity jabber json jsonrpc mi_html mi_xmlrpc_ng mid_registrar perl pi_http presence presence_dialoginfo presence_mwi presence_xml pua pua_bla pua_dialoginfo pua_mi pua_usrloc pua_xmpp python rabbitmq rabbitmq_consumer rest_client rls sip_i siprec stir_shaken tracer uuid xcap xcap_client xml xmpp
68
include_modules= auth_jwt b2b_logic carrierroute cgrates compression cpl_c db_http db_perlvdb dialplan event_routing event_stream regex identity jabber json jsonrpc mi_html mi_xmlrpc_ng mid_registrar perl pi_http presence presence_dialoginfo presence_mwi presence_xml pua pua_bla pua_dialoginfo pua_mi pua_usrloc pua_xmpp rest_client rls sip_i siprec stir_shaken tracer uuid xcap xcap_client xml xmpp
69
69
70
DEFS+= -DPKG_MALLOC #Use a faster malloc
70
DEFS+= -DPKG_MALLOC #Use a faster malloc
71
DEFS+= -DSHM_MMAP #Use mmap instead of SYSV shared memory
71
DEFS+= -DSHM_MMAP #Use mmap instead of SYSV shared memory
(-)pkg-plist (-10 / +10 lines)
Lines 25-31 Link Here
25
lib/opensips31/modules/benchmark.so
25
lib/opensips31/modules/benchmark.so
26
lib/opensips31/modules/cachedb_local.so
26
lib/opensips31/modules/cachedb_local.so
27
%%MEMCACHED%%lib/opensips31/modules/cachedb_memcached.so
27
%%MEMCACHED%%lib/opensips31/modules/cachedb_memcached.so
28
lib/opensips31/modules/cachedb_redis.so
28
%%REDIS%%lib/opensips31/modules/cachedb_redis.so
29
lib/opensips31/modules/cachedb_sql.so
29
lib/opensips31/modules/cachedb_sql.so
30
lib/opensips31/modules/call_center.so
30
lib/opensips31/modules/call_center.so
31
lib/opensips31/modules/call_control.so
31
lib/opensips31/modules/call_control.so
Lines 57-63 Link Here
57
lib/opensips31/modules/enum.so
57
lib/opensips31/modules/enum.so
58
lib/opensips31/modules/event_datagram.so
58
lib/opensips31/modules/event_datagram.so
59
lib/opensips31/modules/event_flatstore.so
59
lib/opensips31/modules/event_flatstore.so
60
lib/opensips31/modules/event_rabbitmq.so
60
%%RABBITMQ%%lib/opensips31/modules/event_rabbitmq.so
61
lib/opensips31/modules/event_route.so
61
lib/opensips31/modules/event_route.so
62
lib/opensips31/modules/event_routing.so
62
lib/opensips31/modules/event_routing.so
63
lib/opensips31/modules/event_stream.so
63
lib/opensips31/modules/event_stream.so
Lines 117-127 Link Here
117
lib/opensips31/modules/pua_mi.so
117
lib/opensips31/modules/pua_mi.so
118
lib/opensips31/modules/pua_usrloc.so
118
lib/opensips31/modules/pua_usrloc.so
119
lib/opensips31/modules/pua_xmpp.so
119
lib/opensips31/modules/pua_xmpp.so
120
lib/opensips31/modules/python.so
120
%%PYTHON%%lib/opensips31/modules/python.so
121
lib/opensips31/modules/qos.so
121
lib/opensips31/modules/qos.so
122
lib/opensips31/modules/qrouting.so
122
lib/opensips31/modules/qrouting.so
123
lib/opensips31/modules/rabbitmq.so
123
%%RABBITMQ%%lib/opensips31/modules/rabbitmq.so
124
lib/opensips31/modules/rabbitmq_consumer.so
124
%%RABBITMQ%%lib/opensips31/modules/rabbitmq_consumer.so
125
lib/opensips31/modules/rate_cacher.so
125
lib/opensips31/modules/rate_cacher.so
126
lib/opensips31/modules/ratelimit.so
126
lib/opensips31/modules/ratelimit.so
127
lib/opensips31/modules/regex.so
127
lib/opensips31/modules/regex.so
Lines 203-209 Link Here
203
%%PORTDOCS%%%%DOCSDIR%%/README.benchmark
203
%%PORTDOCS%%%%DOCSDIR%%/README.benchmark
204
%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_local
204
%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_local
205
%%MEMCACHED%%%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_memcached
205
%%MEMCACHED%%%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_memcached
206
%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_redis
206
%%REDIS%%%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_redis
207
%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_sql
207
%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_sql
208
%%PORTDOCS%%%%DOCSDIR%%/README.call_center
208
%%PORTDOCS%%%%DOCSDIR%%/README.call_center
209
%%PORTDOCS%%%%DOCSDIR%%/README.call_control
209
%%PORTDOCS%%%%DOCSDIR%%/README.call_control
Lines 235-241 Link Here
235
%%PORTDOCS%%%%DOCSDIR%%/README.enum
235
%%PORTDOCS%%%%DOCSDIR%%/README.enum
236
%%PORTDOCS%%%%DOCSDIR%%/README.event_datagram
236
%%PORTDOCS%%%%DOCSDIR%%/README.event_datagram
237
%%PORTDOCS%%%%DOCSDIR%%/README.event_flatstore
237
%%PORTDOCS%%%%DOCSDIR%%/README.event_flatstore
238
%%PORTDOCS%%%%DOCSDIR%%/README.event_rabbitmq
238
%%RABBITMQ%%%%PORTDOCS%%%%DOCSDIR%%/README.event_rabbitmq
239
%%PORTDOCS%%%%DOCSDIR%%/README.event_route
239
%%PORTDOCS%%%%DOCSDIR%%/README.event_route
240
%%PORTDOCS%%%%DOCSDIR%%/README.event_routing
240
%%PORTDOCS%%%%DOCSDIR%%/README.event_routing
241
%%PORTDOCS%%%%DOCSDIR%%/README.event_stream
241
%%PORTDOCS%%%%DOCSDIR%%/README.event_stream
Lines 295-305 Link Here
295
%%PORTDOCS%%%%DOCSDIR%%/README.pua_mi
295
%%PORTDOCS%%%%DOCSDIR%%/README.pua_mi
296
%%PORTDOCS%%%%DOCSDIR%%/README.pua_usrloc
296
%%PORTDOCS%%%%DOCSDIR%%/README.pua_usrloc
297
%%PORTDOCS%%%%DOCSDIR%%/README.pua_xmpp
297
%%PORTDOCS%%%%DOCSDIR%%/README.pua_xmpp
298
%%PORTDOCS%%%%DOCSDIR%%/README.python
298
%%PYTHON%%%%PORTDOCS%%%%DOCSDIR%%/README.python
299
%%PORTDOCS%%%%DOCSDIR%%/README.qos
299
%%PORTDOCS%%%%DOCSDIR%%/README.qos
300
%%PORTDOCS%%%%DOCSDIR%%/README.qrouting
300
%%PORTDOCS%%%%DOCSDIR%%/README.qrouting
301
%%PORTDOCS%%%%DOCSDIR%%/README.rabbitmq
301
%%RABBITMQ%%%%PORTDOCS%%%%DOCSDIR%%/README.rabbitmq
302
%%PORTDOCS%%%%DOCSDIR%%/README.rabbitmq_consumer
302
%%RABBITMQ%%%%PORTDOCS%%%%DOCSDIR%%/README.rabbitmq_consumer
303
%%PORTDOCS%%%%DOCSDIR%%/README.rate_cacher
303
%%PORTDOCS%%%%DOCSDIR%%/README.rate_cacher
304
%%PORTDOCS%%%%DOCSDIR%%/README.ratelimit
304
%%PORTDOCS%%%%DOCSDIR%%/README.ratelimit
305
%%PORTDOCS%%%%DOCSDIR%%/README.regex
305
%%PORTDOCS%%%%DOCSDIR%%/README.regex

Return to bug 222718