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

Collapse All | Expand All

(-)Makefile (-10 / +23 lines)
Lines 17-36 Link Here
17
			libxmlrpc.so:net/xmlrpc-c \
17
			libxmlrpc.so:net/xmlrpc-c \
18
			libpcre.so:devel/pcre \
18
			libpcre.so:devel/pcre \
19
			libconfuse.so:devel/libconfuse \
19
			libconfuse.so:devel/libconfuse \
20
			librabbitmq.so:net/rabbitmq-c-devel \
21
			libhiredis.so:databases/hiredis \
22
			libexpat.so:textproc/expat2 \
20
			libexpat.so:textproc/expat2 \
23
			libpython2.7.so:lang/python27 \
24
			libcurl.so:ftp/curl \
21
			libcurl.so:ftp/curl \
25
			libjson-c.so:devel/json-c
22
			libjson-c.so:devel/json-c
26
BUILD_DEPENDS=		ginstall:sysutils/coreutils \
23
BUILD_DEPENDS=		ginstall:sysutils/coreutils \
27
			gtar:archivers/gtar \
24
			gtar:archivers/gtar \
28
			gm4:devel/m4 \
25
			gm4:devel/m4
29
			redis-server:databases/redis-devel \
30
			python2:lang/python2 \
31
			python:lang/python
32
RUN_DEPENDS=		${LOCALBASE}/bin/bash:shells/bash \
26
RUN_DEPENDS=		${LOCALBASE}/bin/bash:shells/bash \
33
			${LOCALBASE}/bin/python2:lang/python2 \
34
			${LOCALBASE}/bin/grep:textproc/gnugrep
27
			${LOCALBASE}/bin/grep:textproc/gnugrep
35
28
36
GINSTALL=		ginstall
29
GINSTALL=		ginstall
Lines 46-59 Link Here
46
NOPRECIOUSMAKEVARS=	yes
39
NOPRECIOUSMAKEVARS=	yes
47
40
48
OPTIONS_DEFINE=		DEBUG DOCS EXAMPLES GEOIP HTTP LDAP MEMCACHED MYSQL \
41
OPTIONS_DEFINE=		DEBUG DOCS EXAMPLES GEOIP HTTP LDAP MEMCACHED MYSQL \
49
			PGSQL RADIUS TESTS TLS UNIXODBC SQLITE
42
			PGSQL PYTHON RABBITMQ RADIUS REDIS TESTS TLS UNIXODBC SQLITE
50
OPTIONS_DEFAULT=	GEOIP HTTP LDAP MEMCACHED PGSQL RADIUS TLS
43
OPTIONS_DEFAULT=	GEOIP HTTP LDAP MEMCACHED PGSQL PYTHON RABBITMQ RADIUS REDIS TLS
51
OPTIONS_SUB=		yes
44
OPTIONS_SUB=		yes
52
45
53
GEOIP_DESC=		Build with GeoIP support
46
GEOIP_DESC=		Build with GeoIP support
54
HTTP_DESC=		Enable HTTP transport via libmicrohttpd
47
HTTP_DESC=		Enable HTTP transport via libmicrohttpd
55
MEMCACHED_DESC=		Build with memcached support
48
MEMCACHED_DESC=		Build with memcached support
56
TESTS_DESC=		Install smoke tests
49
TESTS_DESC=		Install smoke tests
50
RABBITMQ_DESC=	RabbitMQ/AMQP support
57
51
58
LDAP_USE=		OPENLDAP=client
52
LDAP_USE=		OPENLDAP=client
59
MYSQL_USE=		MYSQL=client
53
MYSQL_USE=		MYSQL=client
Lines 66-71 Link Here
66
MEMCACHED_LIB_DEPENDS+=	libmemcached.so:databases/libmemcached
60
MEMCACHED_LIB_DEPENDS+=	libmemcached.so:databases/libmemcached
67
UNIXODBC_LIB_DEPENDS+=	libodbc.so:databases/unixODBC
61
UNIXODBC_LIB_DEPENDS+=	libodbc.so:databases/unixODBC
68
SQLITE_LIB_DEPENDS+=	libsqlite3.so:databases/sqlite3
62
SQLITE_LIB_DEPENDS+=	libsqlite3.so:databases/sqlite3
63
PYTHON_LIB_DEPENDS+=	libpython2.7.so:lang/python27
64
PYTHON_BUILD_DEPENDS+=	python2:lang/python2 \
65
						python:lang/python
66
PYTHON_RUN_DEPENDS+=	${LOCALBASE}/bin/python2:lang/python2
67
RABBITMQ_LIB_DEPENDS+=	librabbitmq.so:net/rabbitmq-c-devel
68
REDIS_LIB_DEPENDS+=	libhiredis.so:databases/hiredis
69
REDIS_BUILD_DEPENDS+=	redis-server:databases/redis-devel
69
70
70
SHEBANG_FILES=		ccopts.sh \
71
SHEBANG_FILES=		ccopts.sh \
71
			ccver.sh \
72
			ccver.sh \
Lines 187-192 Link Here
187
EXTRA_MODULES+=		db_sqlite
188
EXTRA_MODULES+=		db_sqlite
188
.endif
189
.endif
189
190
191
.if ${PORT_OPTIONS:MPYTHON}
192
EXTRA_MODULES+=		python
193
.endif
194
195
.if ${PORT_OPTIONS:MRABBITMQ}
196
EXTRA_MODULES+=		event_rabbitmq
197
.endif
198
199
.if ${PORT_OPTIONS:MREDIS}
200
EXTRA_MODULES+=		cachedb_redis
201
.endif
202
190
OPENSIPS_MAKE_ENV=	CC="${CC}" CXX="${CXX}" CPP="${CPP}" _GCC_RUNTIME="${_GCC_RUNTIME}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
203
OPENSIPS_MAKE_ENV=	CC="${CC}" CXX="${CXX}" CPP="${CPP}" _GCC_RUNTIME="${_GCC_RUNTIME}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
191
204
192
do-configure:
205
do-configure:
(-)files/Makefile.conf (-1 / +1 lines)
Lines 54-60 Link Here
54
54
55
exclude_modules= aaa_radius b2b_logic cachedb_cassandra cachedb_couchbase cachedb_memcached cachedb_mongodb cachedb_redis carrierroute compression cpl-c db_berkeley db_http db_mysql db_oracle db_perlvdb db_postgres db_unixodbc dialplan emergency event_rabbitmq h350 regex identity jabber json ldap lua httpd mi_xmlrpc_ng mmgeoip osp perl pi_http presence presence_dialoginfo presence_mwi presence_xml proto_sctp proto_tls pua pua_bla pua_dialoginfo pua_mi pua_usrloc pua_xmpp python rest_client rls sngtc snmpstats xcap xcap_client xmpp db_sqlite
55
exclude_modules= aaa_radius b2b_logic cachedb_cassandra cachedb_couchbase cachedb_memcached cachedb_mongodb cachedb_redis carrierroute compression cpl-c db_berkeley db_http db_mysql db_oracle db_perlvdb db_postgres db_unixodbc dialplan emergency event_rabbitmq h350 regex identity jabber json ldap lua httpd mi_xmlrpc_ng mmgeoip osp perl pi_http presence presence_dialoginfo presence_mwi presence_xml proto_sctp proto_tls pua pua_bla pua_dialoginfo pua_mi pua_usrloc pua_xmpp python rest_client rls sngtc snmpstats xcap xcap_client xmpp db_sqlite
56
56
57
include_modules= b2b_logic cachedb_redis carrierroute cpl-c dialplan event_rabbitmq regex identity jabber json mi_xmlrpc_ng perl pi_http presence presence_dialoginfo presence_mwi presence_xml pua pua_bla pua_dialoginfo pua_mi pua_usrloc pua_xmpp python rest_client rls xcap xcap_client xmpp
57
include_modules= b2b_logic carrierroute cpl-c dialplan regex identity jabber json mi_xmlrpc_ng perl pi_http presence presence_dialoginfo presence_mwi presence_xml pua pua_bla pua_dialoginfo pua_mi pua_usrloc pua_xmpp rest_client rls xcap xcap_client xmpp
58
58
59
DEFS+= -DPKG_MALLOC #Uses a faster malloc (exclusive w/ USE_SHM_MEM)
59
DEFS+= -DPKG_MALLOC #Uses a faster malloc (exclusive w/ USE_SHM_MEM)
60
DEFS+= -DSHM_MMAP #Use mmap instead of SYSV shared memory
60
DEFS+= -DSHM_MMAP #Use mmap instead of SYSV shared memory
(-)pkg-plist (-6 / +6 lines)
Lines 28-34 Link Here
28
lib/opensips/modules/benchmark.so
28
lib/opensips/modules/benchmark.so
29
lib/opensips/modules/cachedb_local.so
29
lib/opensips/modules/cachedb_local.so
30
%%MEMCACHED%%lib/opensips/modules/cachedb_memcached.so
30
%%MEMCACHED%%lib/opensips/modules/cachedb_memcached.so
31
lib/opensips/modules/cachedb_redis.so
31
%%REDIS%%lib/opensips/modules/cachedb_redis.so
32
lib/opensips/modules/cachedb_sql.so
32
lib/opensips/modules/cachedb_sql.so
33
lib/opensips/modules/call_center.so
33
lib/opensips/modules/call_center.so
34
lib/opensips/modules/call_control.so
34
lib/opensips/modules/call_control.so
Lines 55-61 Link Here
55
lib/opensips/modules/enum.so
55
lib/opensips/modules/enum.so
56
lib/opensips/modules/event_datagram.so
56
lib/opensips/modules/event_datagram.so
57
lib/opensips/modules/event_flatstore.so
57
lib/opensips/modules/event_flatstore.so
58
lib/opensips/modules/event_rabbitmq.so
58
%%RABBITMQ%%lib/opensips/modules/event_rabbitmq.so
59
lib/opensips/modules/event_route.so
59
lib/opensips/modules/event_route.so
60
lib/opensips/modules/event_virtual.so
60
lib/opensips/modules/event_virtual.so
61
lib/opensips/modules/event_xmlrpc.so
61
lib/opensips/modules/event_xmlrpc.so
Lines 108-114 Link Here
108
lib/opensips/modules/pua_mi.so
108
lib/opensips/modules/pua_mi.so
109
lib/opensips/modules/pua_usrloc.so
109
lib/opensips/modules/pua_usrloc.so
110
lib/opensips/modules/pua_xmpp.so
110
lib/opensips/modules/pua_xmpp.so
111
lib/opensips/modules/python.so
111
%%PYTHON%%lib/opensips/modules/python.so
112
lib/opensips/modules/qos.so
112
lib/opensips/modules/qos.so
113
lib/opensips/modules/ratelimit.so
113
lib/opensips/modules/ratelimit.so
114
lib/opensips/modules/regex.so
114
lib/opensips/modules/regex.so
Lines 208-214 Link Here
208
%%PORTDOCS%%%%DOCSDIR%%/README.benchmark
208
%%PORTDOCS%%%%DOCSDIR%%/README.benchmark
209
%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_local
209
%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_local
210
%%MEMCACHED%%%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_memcached
210
%%MEMCACHED%%%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_memcached
211
%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_redis
211
%%REDIS%%%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_redis
212
%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_sql
212
%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_sql
213
%%PORTDOCS%%%%DOCSDIR%%/README.call_center
213
%%PORTDOCS%%%%DOCSDIR%%/README.call_center
214
%%PORTDOCS%%%%DOCSDIR%%/README.call_control
214
%%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_virtual
240
%%PORTDOCS%%%%DOCSDIR%%/README.event_virtual
241
%%PORTDOCS%%%%DOCSDIR%%/README.event_xmlrpc
241
%%PORTDOCS%%%%DOCSDIR%%/README.event_xmlrpc
Lines 288-294 Link Here
288
%%PORTDOCS%%%%DOCSDIR%%/README.pua_mi
288
%%PORTDOCS%%%%DOCSDIR%%/README.pua_mi
289
%%PORTDOCS%%%%DOCSDIR%%/README.pua_usrloc
289
%%PORTDOCS%%%%DOCSDIR%%/README.pua_usrloc
290
%%PORTDOCS%%%%DOCSDIR%%/README.pua_xmpp
290
%%PORTDOCS%%%%DOCSDIR%%/README.pua_xmpp
291
%%PORTDOCS%%%%DOCSDIR%%/README.python
291
%%PYTHON%%%%PORTDOCS%%%%DOCSDIR%%/README.python
292
%%PORTDOCS%%%%DOCSDIR%%/README.qos
292
%%PORTDOCS%%%%DOCSDIR%%/README.qos
293
%%PORTDOCS%%%%DOCSDIR%%/README.ratelimit
293
%%PORTDOCS%%%%DOCSDIR%%/README.ratelimit
294
%%PORTDOCS%%%%DOCSDIR%%/README.regex
294
%%PORTDOCS%%%%DOCSDIR%%/README.regex

Return to bug 222718