--- /dev/null +++ net/opensips31/Makefile @@ -0,0 +1,150 @@ +# Created by: Euan Thoms +# $FreeBSD$ + +PORTNAME= opensips31 +DISTVERSION= 3.1.1 +CATEGORIES= net +MASTER_SITES= https://opensips.org/pub/opensips/${PORTVERSION}/ +DISTNAME= opensips-${PORTVERSION} + +MAINTAINER= bambyster@gmail.com +COMMENT= Open SIP Server + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= gm4:devel/m4 \ + redis-server:databases/redis-devel + +PGSQL_BUILD_DEPENDS= p5-DBD-Pg>=3.4:databases/p5-DBD-Pg + +LIB_DEPENDS= libconfuse.so:devel/libconfuse \ + libcurl.so:ftp/curl \ + libexpat.so:textproc/expat2 \ + libhiredis.so:databases/hiredis \ + libjson-c.so:devel/json-c \ + libjwt.so:www/libjwt \ + libpcre.so:devel/pcre \ + librabbitmq.so:net/rabbitmq-c-devel \ + libuuid.so:misc/e2fsprogs-libuuid \ + libxml2.so:textproc/libxml2 \ + libxmlrpc.so:net/xmlrpc-c + +HTTP_LIB_DEPENDS= libmicrohttpd.so:www/libmicrohttpd +MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached +RADIUS_LIB_DEPENDS= libradiusclient-ng.so:net/radiusclient +SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3 +UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC + +USES= gmake ncurses perl5 pkgconfig python shebangfix ssl + +MYSQL_USES= mysql:client +PGSQL_USES= pgsql + +LDAP_USE= OPENLDAP=client + +USE_RC_SUBR= ${PORTNAME} + +USERS= opensips +GROUPS= opensips + +PLIST_SUB= EXAMPLES_DIR=share/examples/${PORTNAME} \ + LIBDIR=lib/${PORTNAME} + +CFLAGS+= -I${LOCALBASE}/include -pthread +CXXFLAGS+= -I${LOCALBASE}/include -pthread +LDFLAGS+= -L${LOCALBASE}/lib -pthread + +MAKE_ENV+= BASEDIR=${STAGEDIR} \ + INSTALL_BIN="${INSTALL_PROGRAM}" \ + INSTALL_CFG="${INSTALL_DATA}" \ + INSTALL_DOC="${INSTALL_DATA}" \ + INSTALL_MODULES="${INSTALL_PROGRAM}" \ + JSON_BUILDER="pkgconf json-c" \ + NICER=0 \ + PYTHON=${PYTHON_CMD} + +DOCSDIR= share/doc/${PORTNAME} + +OPTIONS_DEFINE= DEBUG DOCS EXAMPLES HTTP LDAP MEMCACHED MYSQL PGSQL \ + RADIUS SQLITE TESTS TLS UNIXODBC +OPTIONS_DEFAULT= HTTP LDAP MEMCACHED PGSQL RADIUS TLS +OPTIONS_SUB= yes + +HTTP_DESC= Enable HTTP transport via libmicrohttpd +MEMCACHED_DESC= Build with memcached support +TESTS_DESC= Install smoke tests + +SHEBANG_GLOB= *.pl *.py *.sh + +.include + +.if ${PORT_OPTIONS:MHTTP} +EXTRA_MODULES+= httpd +.endif + +.if ${PORT_OPTIONS:MLDAP} +EXTRA_MODULES+= ldap h350 +.endif + +.if ${PORT_OPTIONS:MMEMCACHED} +EXTRA_MODULES+= cachedb_memcached +.endif + +.if ${PORT_OPTIONS:MMYSQL} +EXTRA_MODULES+= db_mysql +.endif + +.if ${PORT_OPTIONS:MPGSQL} +EXTRA_MODULES+= db_postgres +.endif + +.if ${PORT_OPTIONS:MRADIUS} +EXTRA_MODULES+= aaa_radius +.endif + +.if ${PORT_OPTIONS:MUNIXODBC} +EXTRA_MODULES+= db_unixodbc +.endif + +.if ${PORT_OPTIONS:MTLS} +EXTRA_MODULES+= proto_tls proto_wss tls_mgm +.endif + +.if ${PORT_OPTIONS:MSQLITE} +EXTRA_MODULES+= db_sqlite +.endif + +post-patch: + @(cp files/Makefile.conf ${WRKSRC}) +.for i in ${EXTRA_MODULES} + @${REINPLACE_CMD} -e "s/\(^include_modules=.*\)/\1 ${i}/" ${WRKSRC}/Makefile.conf +.endfor + +do-configure-DEBUG-off: + @${REINPLACE_CMD} -e "s/^#DEFS+= -DNO_DEBUG/DEFS+= -DNO_DEBUG/" ${WRKSRC}/Makefile.conf + +do-install-TESTS-on: + (cp -r ${WRKSRC}/test ${STAGEDIR}${PREFIX}/tests/${PORTNAME}) + (cd ${STAGEDIR}${PREFIX}; ${FIND} tests/${PORTNAME} -type f | ${SORT} >> ${TMPPLIST}) + +do-install-PGSQL-on: + (cd ${STAGEDIR}${PREFIX}; ${FIND} share/${PORTNAME}/postgres -type f | ${SORT} >> ${TMPPLIST}) + +do-install-MYSQL-on: + (cd ${STAGEDIR}${PREFIX}; ${FIND} share/${PORTNAME}/mysql -type f | ${SORT} >> ${TMPPLIST}) + +do-install-SQLITE-on: + (cd ${STAGEDIR}${PREFIX}; ${FIND} share/${PORTNAME}/sqlite -type f | ${SORT} >> ${TMPPLIST}) + +do-install-EXAMPLES-on: + (cp -r ${WRKSRC}/examples ${STAGEDIR}${PREFIX}/share/examples/${PORTNAME}) + +post-install: + (cd ${STAGEDIR}${PREFIX}; ${FIND} share/${PORTNAME}/pi_http -type f | ${SORT} >> ${TMPPLIST}) + (cd ${STAGEDIR}${PREFIX}; ${FIND} share/${PORTNAME}/dbtext -type f | ${SORT} >> ${TMPPLIST}) + +post-install-RADIUS-on: + (mv ${STAGEDIR}${ETCDIR}/dictionary.opensips ${STAGEDIR}${ETCDIR}/dictionary.opensips.sample) + +.include --- /dev/null +++ net/opensips31/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1606397769 +SHA256 (opensips-3.1.1.tar.gz) = c5b59008516137f1232af60cccd74760b2f3d0ffa71bde5269495000b0169c06 +SIZE (opensips-3.1.1.tar.gz) = 13188650 --- /dev/null +++ net/opensips31/files/Makefile.conf @@ -0,0 +1,100 @@ +#aaa_radius= Radius implementation for the AAA API from the core | Radius client development library, typically radiusclient-ng 0.5.0 or higher +#auth_jwt= JWT auth support | JWT client development library, libjwt-dev +#b2b_logic= Logic engine of B2BUA, responsible of actually implementing the B2BUA services | xml parsing development library, typically libxml2-dev +#cachedb_cassandra= Implementation of a cache system designed to work with Cassandra servers | thrift 0.6.1 +#cachedb_couchbase= Implementation of a cache system designed to work with CouchBase servers | libcouchbase >= 2.0 +#cachedb_memcached= Implementation of a cache system designed to work with a memcached server. | Memcached client library, typically libmemcached +#cachedb_mongodb= Implementation of a cache system designed to work with a MongoDB server. | libjson and the mongo-c-driver +#cachedb_redis= Implementation of a cache system designed to work with Redis servers | Redis client library, hiredis +#carrierroute= Provides routing, balancing and blacklisting capabilities. | libconfuse, a configuration file parser library +#cgrates= Provides integration with the CGRateS billing/rating engine. | JSON library, libjson +#compression= Implements SIP message compression/decompression and base64 encoding | zlib dev library, typically zlib1g-dev +#cpl_c= Implements a CPL (Call Processing Language) interpreter | library for parsing XML files, typically libxml2 and libxml2-devel +#db_berkeley= Integrates the Berkeley DB into OpenSIPS | Berkeley embedded database +#db_http= Provides access to a database that is implemented as a HTTP server. | CURL library - libcurl +#db_mysql= Provides MySQL connectivity for OpenSIPS | development libraries of mysql-client , typically libmysqlclient-dev +#db_oracle= Provides Oracle connectivity for OpenSIPS. | Development library of OCI, typically instantclient-sdk-10.2.0.3 +#db_perlvdb= Provides a virtualization framework for OpenSIPS's database access. | Perl library development files, typically libperl-dev +#db_postgres= Provides Postgres connectivity for OpenSIPS | PostgreSQL library and development library - typically libpq5 and libpq-dev +#db_sqlite= Provides SQLite connectivity for OpenSIPS | SQLite library and development library - typically libsqlite3 and libsqlite3-dev +#db_unixodbc= Allows to use the unixodbc package with OpenSIPS | ODBC library and ODBC development library +#dialplan= Implements generic string translations based on matching and replacement rules | PCRE development library, typically libpcre-dev +#emergency= Provides emergency call treatment for OpenSIPS | CURL dev library - typically libcurl4-openssl-dev +#event_rabbitmq= Provides the implementation of a RabbitMQ client for the Event Interface | RabbitMQ development library, librabbitmq-dev +#h350= Enables access to SIP account data stored in an LDAP [RFC4510] directory containing H.350 commObjects | OpenLDAP library & development files, typically libldap and libldap-dev +#regex= Offers matching operations against regular expressions using the powerful PCRE library. | Development library for PCRE, typically libpcre-dev +#identity= Adds support for SIP Identity (see RFC 4474). | SSL library, typically libssl +#jabber= Integrates XODE XML parser for parsing Jabber messages | Expat library. +#json= Introduces a new type of variable that provides both serialization and de-serialization from JSON format. | JSON library, libjson +#ldap= Implements an LDAP search interface for OpenSIPS | OpenLDAP library & development files, typically libldap and libldap-dev +#lua= Easily implement your own OpenSIPS extensions in Lua | liblua5.1-0-dev, libmemcache-dev and libmysqlclient-dev +#httpd= Provides an HTTP transport layer implementation for OpenSIPS. | libmicrohttpd +#mi_xmlrpc_ng= New version of the xmlrpc server that handles xmlrpc requests and generates xmlrpc responses. | parsing/building XML library, typically libxml +#mmgeoip= Lightweight wrapper for the MaxMind GeoIP API | libGeoIP +#osp= Enables OpenSIPS to support secure, multi-lateral peering using the OSP standard | OSP development kit, typically osptoolkit +#perl= Easily implement your own OpenSIPS extensions in Perl | Perl library development files, typically libperl-dev +#pi_http= Provides a simple web database provisioning interface | XML parsing & building library, typically libxml-dev +#rabbitmq= Provides functions to publish messages to a RabbitMQ server | RabbitMQ development library, librabbitmq-dev +#rabbitmq_consumer= Receive AMQP messages which will be delivered by triggering events | RabbitMQ development library, librabbitmq-dev +#proto_sctp= Provides support for SCTP listeners in OpenSIPS | SCTP development library, typically libsctp-dev +#proto_tls= Provides support for TLS listeners in OpenSIPS | SSL development library, typically libssl-dev +#proto_wss= Provides support for Secure WebSocket listeners in OpenSIPS | SSL development library, typically libssl-dev +#presence= Handles PUBLISH and SUBSCRIBE messages and generates NOTIFY messages in a general, event independent way | XML parsing & Building library, typically libxml-dev +#presence_dialoginfo= Enables the handling of "Event: dialog" (as defined in RFC 4235) | XML parsing & building library, typically libxml-dev +#presence_mwi= Does specific handling for notify-subscribe message-summary (message waiting indication) events as specified in RFC 3842 | XML parsing & building library, typically libxml-dev +#presence_xml= Does specific handling for notify-subscribe events using xml bodies. | XML parsing & building library, typically libxml-dev +#presence_dfks = Does specific handling for DFKS (as-feature-event) events. | XML parsing & building library, typically libxml-dev +#pua= Offers the functionality of a presence user agent client, sending Subscribe and Publish messages. | XML parsing & building library, typically libxml-dev +#pua_bla= Enables Bridged Line Appearances support according | XML parsing & building library, typically libxml-dev +#pua_dialoginfo= Retrieves dialog state information from the dialog module and PUBLISHes the dialog-information using the pua module. | XML parsing & building library,typically libxml-dev +#pua_mi= Offers the possibility to publish presence information and subscribe to presence information via MI transports. | XML parsing & building library,typically libxml-dev +#pua_usrloc= Connector between usrloc and pua modules. | XML parsing & building library,typically libxml-dev +#pua_xmpp= Gateway for presence between SIP and XMPP. | XML parsing & building library,typically libxml-dev +#python= Easily implement your own OpenSIPS extensions in Python | Shared Python runtime library, libpython +#rest_client= Simple HTTP client | CURL library - libcurl +#rls= Resource List Server implementation following the specification in RFC 4662 and RFC 4826 | parsing/building XML library, typically libxml-dev +#sngtc= Voice Transcoding using the D-series Sangoma transcoding cards | libsngtc_node +#siprec= SIP Call Recording to an external/passive recorder | uuid-dev +#snmpstats= Provides an SNMP management interface to OpenSIPS | NetSNMP v5.3 +#tls_mgm= Provides a TLS interface to manage certificates for OpenSIPS | SSL development library, typically libssl-dev +#xcap= XCAP utility functions for OpenSIPS. | libxml-dev +#xcap_client= XCAP client for OpenSIPS.It fetches XCAP elements, either documents or part of them, by sending HTTP GET requests | libxml-dev and libcurl-dev +#xml= Introduces a new type of variable that provides both serialization and de-serialization from XML format. | XML library, libxml2-dev +#xmpp= Gateway between OpenSIPS and a jabber server. It enables the exchange of IMs between SIP clients and XMPP(jabber) clients. | parsing/building XML files, typically libexpat1-devel +#uuid= UUID generator | uuid-dev + +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 + +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 + +DEFS+= -DPKG_MALLOC #Use a faster malloc +DEFS+= -DSHM_MMAP #Use mmap instead of SYSV shared memory +DEFS+= -DUSE_MCAST #Compile in support for IP Multicast +DEFS+= -DDISABLE_NAGLE #Disable the TCP NAgle Algorithm ( lower delay ) +DEFS+= -DSTATISTICS #Enable the statistics manager +DEFS+= -DHAVE_RESOLV_RES #Support for changing some of the resolver parameters +# Specifying exactly 1 allocator will cause it to be inlined (fastest) +DEFS+= -DF_MALLOC #Fast memory allocator with minimal runtime overhead +DEFS+= -DQ_MALLOC #Quality assurance memory allocator with runtime safety checks +DEFS+= -DHP_MALLOC #High performance allocator with fine-grained locking +DEFS+= -DDBG_MALLOC #Include additional, debug-enabled allocator flavors +#DEFS+= -DNO_DEBUG #Compile out all debug messages +#DEFS+= -DNO_LOG #Compile out all logging +#DEFS_GROUP_START +#DEFS+= -DFAST_LOCK #Use fast architecture specific locking +#DEFS+= -DUSE_SYSV_SEM #Use SYSV sems for locking ( slower & limited number of locks +#DEFS+= -DUSE_PTHREAD_MUTEX #Use pthread mutexes for locking +DEFS+= -DUSE_UMUTEX #Use FreeBSD-specific low-level mutexes for locking +#DEFS+= -DUSE_POSIX_SEM #Use POSIX sems for locking +#DEFS_GROUP_END +#DEFS+= -DUSE_FUTEX #Use linux futexes with fast architecture specific locking +#DEFS+= -DBUSY_WAIT #Use busy waiting on the lock +#DEFS+= -DDBG_LOCK #Attach debug info to all lock structures +#DEFS+= -DDBG_STRUCT_HIST #Include support for struct history logging +#DEFS+= -DDBG_TCPCON #Attach struct history info to all TCP connections +#DEFS+= -DNOSMP #Do not use SMP compliant locking. Faster but won't work on SMP machines +#DEFS+= -DEXTRA_DEBUG #Compile in some extra debugging code +#DEFS+= -DCC_O0 #Zero compiler optimizations (FAST compile, SLOW code. For devs) +#DEFS+= -DORACLE_USRLOC #Use Oracle compatible queries for USRLOC +#DEFS+= -DSHM_EXTRA_STATS #Provide tools to get extra statistics for the shared memory used +#DEFS+= -DUNIT_TESTS #Include unit testing code into opensips and modules --- /dev/null +++ net/opensips31/files/opensips31.in @@ -0,0 +1,35 @@ +#!/bin/sh +# +# $FreeBSD: net/opensips/files/opensips.in +# +# PROVIDE: opensips31 +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf to enable this service +# at system startup: +# +# opensips_enable (bool): Set to NO by default. +# Set it to YES to enable opensips. +# + +prefix=/usr/local + +. /etc/rc.subr + +name=opensips31 +rcvar=`set_rcvar` + +load_rc_config opensips31 + +opensips_enable=${opensips_enable:-"NO"} +opensips_shmem_size=${opensips_shmem_size:-"64"} +opensips_pkmem_size=${opensips_pkmem_size:-"4"} +opensips_user=${opensips_user:-"opensips"} +opensips_group=${opensips_group:-"opensips"} + +command="${prefix}/sbin/opensips31" +command_args="-m ${opensips_shmem_size} -M ${opensips_pkmem_size}" +required_files="${prefix}/etc/opensips31/opensips.cfg" + +run_rc_command "${1}" --- /dev/null +++ net/opensips31/files/patch-Makefile @@ -0,0 +1,63 @@ +--- Makefile.orig 2020-11-17 13:37:23 UTC ++++ Makefile +@@ -502,16 +502,16 @@ mk-install-dirs: $(cfg_prefix)/$(cfg_dir) $(bin_prefix + + # note: on solaris 8 sed: ? or \(...\)* (a.s.o) do not work + install-cfg: $(cfg_prefix)/$(cfg_dir) +- sed -e "s#/usr/.*lib/$(NAME)/modules/#$(modules_target)#g" \ +- < etc/$(NAME).cfg > $(cfg_prefix)/$(cfg_dir)$(NAME).cfg.sample0 +- umask 0077; sed -e "s#/usr/.*etc/$(NAME)/tls/#$(cfg_target)tls/#g" \ +- < $(cfg_prefix)/$(cfg_dir)$(NAME).cfg.sample0 \ +- > $(cfg_prefix)/$(cfg_dir)$(NAME).cfg.sample +- rm -fr $(cfg_prefix)/$(cfg_dir)$(NAME).cfg.sample0 ++ sed -e "s#/usr/.*lib/opensips/modules/#$(modules_target)#g" \ ++ < etc/opensips.cfg > $(cfg_prefix)/$(cfg_dir)opensips.cfg.sample0 ++ umask 0077; sed -e "s#/usr/.*etc/opensips/tls/#$(cfg_target)tls/#g" \ ++ < $(cfg_prefix)/$(cfg_dir)opensips.cfg.sample0 \ ++ > $(cfg_prefix)/$(cfg_dir)opensips.cfg.sample ++ rm -fr $(cfg_prefix)/$(cfg_dir)opensips.cfg.sample0 + if [ -z "${skip_cfg_install}" -a \ +- ! -f $(cfg_prefix)/$(cfg_dir)$(NAME).cfg ]; then \ +- mv -f $(cfg_prefix)/$(cfg_dir)$(NAME).cfg.sample \ +- $(cfg_prefix)/$(cfg_dir)$(NAME).cfg; \ ++ ! -f $(cfg_prefix)/$(cfg_dir)opensips.cfg ]; then \ ++ cp $(cfg_prefix)/$(cfg_dir)opensips.cfg.sample \ ++ $(cfg_prefix)/$(cfg_dir)opensips.cfg; \ + fi + + install-bin: app $(bin_prefix)/$(bin_dir) opensipsmc utils +@@ -520,7 +520,7 @@ install-bin: app $(bin_prefix)/$(bin_dir) opensipsmc u + $(INSTALL_BIN) $(NAME) $(bin_prefix)/$(bin_dir) + # install opensips menuconfig + $(INSTALL_TOUCH) $(bin_prefix)/$(bin_dir)/osipsconfig +- $(INSTALL_BIN) menuconfig/configure $(bin_prefix)/$(bin_dir)/osipsconfig ++ $(INSTALL_BIN) menuconfig/configure $(bin_prefix)/$(bin_dir)/osipsconfig$(NAME_SUFFIX) + + .PHONY: utils + utils: +@@ -571,17 +571,17 @@ install-modules-doc: $(doc_prefix)/$(doc_dir) + + + install-man: $(man_prefix)/$(man_dir)/man8 $(man_prefix)/$(man_dir)/man5 +- sed -e "s#/etc/$(NAME)/$(NAME)\.cfg#$(cfg_target)$(NAME).cfg#g" \ ++ sed -e "s#/etc/opensips/opensips\.cfg#$(cfg_target)opensips.cfg#g" \ + -e "s#/usr/sbin/#$(bin-target)#g" \ +- -e "s#/usr/lib/$(NAME)/modules/#$(modules_target)#g" \ +- -e "s#/usr/share/doc/$(NAME)/#$(doc-target)#g" \ +- < $(NAME).8 > $(man_prefix)/$(man_dir)/man8/$(NAME).8 ++ -e "s#/usr/lib/opensips/modules/#$(modules_target)#g" \ ++ -e "s#/usr/share/doc/opensips/#$(doc-target)#g" \ ++ < opensips.8 > $(man_prefix)/$(man_dir)/man8/$(NAME).8 + chmod 644 $(man_prefix)/$(man_dir)/man8/$(NAME).8 +- sed -e "s#/etc/$(NAME)/$(NAME)\.cfg#$(cfg_target)$(NAME).cfg#g" \ ++ sed -e "s#/etc/opensips/opensips\.cfg#$(cfg_target)opensips.cfg#g" \ + -e "s#/usr/sbin/#$(bin-target)#g" \ +- -e "s#/usr/lib/$(NAME)/modules/#$(modules_target)#g" \ +- -e "s#/usr/share/doc/$(NAME)/#$(doc-target)#g" \ +- < $(NAME).cfg.5 > $(man_prefix)/$(man_dir)/man5/$(NAME).cfg.5 ++ -e "s#/usr/lib/opensips/modules/#$(modules_target)#g" \ ++ -e "s#/usr/share/doc/opensips/#$(doc-target)#g" \ ++ < opensips.cfg.5 > $(man_prefix)/$(man_dir)/man5/$(NAME).cfg.5 + chmod 644 $(man_prefix)/$(man_dir)/man5/$(NAME).cfg.5 + + install-modules-docbook: $(doc_prefix)/$(doc_dir) --- /dev/null +++ net/opensips31/files/patch-Makefile.defs @@ -0,0 +1,54 @@ +--- Makefile.defs.orig 2020-11-17 13:43:46 UTC ++++ Makefile.defs +@@ -57,15 +57,16 @@ else + makefile_defs=1 + export makefile_defs + +-# main binary name +-MAIN_NAME=opensips +- + #version number + VERSION_MAJOR = 3 + VERSION_MINOR = 1 + VERSION_SUBMINOR = 1 + VERSION_BUILD = + ++# main binary name ++NAME_SUFFIX=$(VERSION_MAJOR)$(VERSION_MINOR) ++MAIN_NAME=opensips$(NAME_SUFFIX) ++ + ifneq (,$(VERSION_BUILD)) + RELEASE=$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_SUBMINOR)-$(VERSION_BUILD) + else +@@ -449,11 +450,11 @@ endif + + INSTALL_TOUCH = touch # used to create the file first (good to + # make solaris install work) +-INSTALL_CFG = $(INSTALL) -m 644 +-INSTALL_BIN = $(INSTALL) -m 755 +-INSTALL_MODULES = $(INSTALL) -m 755 +-INSTALL_DOC = $(INSTALL) -m 644 +-INSTALL_MAN = $(INSTALL) -m 644 ++INSTALL_CFG ?= $(INSTALL) -m 644 ++INSTALL_BIN ?= $(INSTALL) -m 755 ++INSTALL_MODULES ?= $(INSTALL) -m 755 ++INSTALL_DOC ?= $(INSTALL) -m 644 ++INSTALL_MAN ?= $(INSTALL) -m 644 + + + ifeq ($(VERSIONTYPE),) +@@ -810,13 +811,13 @@ ifeq ($(CC_NAME), clang) + CC_OPTIMIZE_FLAG?=-O3 + endif + ++ifeq ($(mode), release) + ifeq (,$(CFLAGS)) + + #common stuff + CFLAGS+=$(DEBUGSYM) + + # setting more CFLAGS +-ifeq ($(mode), release) + + #if i386 + ifeq ($(ARCH), i386) --- /dev/null +++ net/opensips31/files/patch-Makefile.rules @@ -0,0 +1,11 @@ +--- Makefile.rules.orig 2020-07-22 09:42:09 UTC ++++ Makefile.rules +@@ -27,7 +27,7 @@ endif + $(Q)$(CC) $(CFLAGS) $(DEFS) -c $< -o $@ + + %.d: %.c $(ALLDEP) +- @set -e; $(MKDEP) $(DEFS) $< \ ++ @set -e; $(MKDEP) $(CFLAGS) $(DEFS) $< \ + | sed 's#\(\($*D)\)\?$(*F)\)\.o[ :]*#$*.o $@ : #g' > $@; \ + [ -s $@ ] || rm -f $@ + --- /dev/null +++ net/opensips31/files/patch-modules_aaa__radius_Makefile @@ -0,0 +1,21 @@ +--- modules/aaa_radius/Makefile.orig 2020-07-22 09:42:09 UTC ++++ modules/aaa_radius/Makefile +@@ -12,10 +12,15 @@ ETC_DIR?=../../etc/ + + # Find the radius library we shall use + # ++ifeq ($(OS), freebsd) ++ LDCONFIG=ldconfig -r ++else ++ LDCONFIG=ldconfig -p ++endif + ifeq ($(RADIUSCLIENT),) +-RADIUSCLIENT=$(shell if [ -n "`ldconfig -p | grep radcli`" ]; then echo "RADCLI"; \ +- elif [ -n "`ldconfig -p | grep freeradius`" ]; then echo "FREERADIUS"; \ +- elif [ -n "`ldconfig -p | grep radiusclient-ng`" ];then echo "RADIUSCLIENT"; fi) ++RADIUSCLIENT=$(shell if [ -n "`${LDCONFIG} | grep radcli`" ]; then echo "RADCLI"; \ ++ elif [ -n "`${LDCONFIG} | grep freeradius`" ]; then echo "FREERADIUS"; \ ++ elif [ -n "`${LDCONFIG} | grep radiusclient-ng`" ];then echo "RADIUSCLIENT"; fi) + endif + + --- /dev/null +++ net/opensips31/files/patch-modules_presence_Makefile @@ -0,0 +1,17 @@ +--- modules/presence/Makefile.orig 2020-07-22 09:42:09 UTC ++++ modules/presence/Makefile +@@ -10,8 +10,12 @@ auto_gen= + NAME=presence.so + + ifeq ($(CROSS_COMPILE),) +-LIBS=-lxml2 +-DEFS+=-I$(SYSBASE)/include/libxml2 ++HAS_XML2CFG=$(shell if which xml2-config >/dev/null 2>/dev/null;then echo YES; fi) ++endif ++ ++ifeq ($(HAS_XML2CFG),YES) ++LIBS=$(shell xml2-config --libs) ++DEFS+=$(shell xml2-config --cflags) + else + DEFS+=-I$(SYSBASE)/include/libxml2 -I$(LOCALBASE)/include/libxml2 \ + -I$(LOCALBASE)/include --- /dev/null +++ net/opensips31/files/patch-modules_presence__dfks_Makefile @@ -0,0 +1,17 @@ +--- modules/presence_dfks/Makefile.orig 2020-10-15 10:22:35 UTC ++++ modules/presence_dfks/Makefile +@@ -6,8 +6,12 @@ auto_gen= + NAME=presence_dfks.so + + ifeq ($(CROSS_COMPILE),) +-LIBS=-lxml2 +-DEFS+=-I$(SYSBASE)/include/libxml2 ++HAS_XML2CFG=$(shell if which xml2-config >/dev/null 2>/dev/null;then echo YES; fi) ++endif ++ ++ifeq ($(HAS_XML2CFG),YES) ++LIBS=$(shell xml2-config --libs) ++DEFS+=$(shell xml2-config --cflags) + else + DEFS+=-I$(SYSBASE)/include/libxml2 -I$(LOCALBASE)/include/libxml2 \ + -I$(LOCALBASE)/include --- /dev/null +++ net/opensips31/files/patch-modules_presence__xml_Makefile @@ -0,0 +1,17 @@ +--- modules/presence_xml/Makefile.orig 2020-07-22 09:42:09 UTC ++++ modules/presence_xml/Makefile +@@ -10,8 +10,12 @@ auto_gen= + NAME=presence_xml.so + + ifeq ($(CROSS_COMPILE),) +-LIBS=-lxml2 +-DEFS+=-I$(SYSBASE)/include/libxml2 ++HAS_XML2CFG=$(shell if which xml2-config >/dev/null 2>/dev/null;then echo YES; fi) ++endif ++ ++ifeq ($(HAS_XML2CFG),YES) ++LIBS=$(shell xml2-config --libs) ++DEFS+=$(shell xml2-config --cflags) + else + DEFS+=-I$(SYSBASE)/include/libxml2 -I$(LOCALBASE)/include/libxml2 \ + -I$(LOCALBASE)/include --- /dev/null +++ net/opensips31/files/patch-modules_pua__dialoginfo_Makefile @@ -0,0 +1,17 @@ +--- modules/pua_dialoginfo/Makefile.orig 2020-07-22 09:42:09 UTC ++++ modules/pua_dialoginfo/Makefile +@@ -10,8 +10,12 @@ auto_gen= + NAME=pua_dialoginfo.so + + ifeq ($(CROSS_COMPILE),) +-LIBS=-lxml2 +-DEFS+=-I$(SYSBASE)/include/libxml2 ++HAS_XML2CFG=$(shell if which xml2-config >/dev/null 2>/dev/null;then echo YES; fi) ++endif ++ ++ifeq ($(HAS_XML2CFG),YES) ++LIBS=$(shell xml2-config --libs) ++DEFS+=$(shell xml2-config --cflags) + else + DEFS+=-I$(SYSBASE)/include/libxml2 -I$(LOCALBASE)/include/libxml2 \ + -I$(LOCALBASE)/include --- /dev/null +++ net/opensips31/files/patch-modules_xml_Makefile @@ -0,0 +1,17 @@ +--- modules/xml/Makefile.orig 2020-07-22 09:42:09 UTC ++++ modules/xml/Makefile +@@ -5,8 +5,12 @@ auto_gen= + NAME=xml.so + + ifeq ($(CROSS_COMPILE),) +-LIBS=-lxml2 +-DEFS+=-I$(SYSBASE)/include/libxml2 ++HAS_XML2CFG=$(shell if which xml2-config >/dev/null 2>/dev/null;then echo YES; fi) ++endif ++ ++ifeq ($(HAS_XML2CFG),YES) ++LIBS=$(shell xml2-config --libs) ++DEFS+=$(shell xml2-config --cflags) + else + DEFS+=-I$(SYSBASE)/include/libxml2 -I$(LOCALBASE)/include/libxml2 \ + -I$(LOCALBASE)/include --- /dev/null +++ net/opensips31/pkg-descr @@ -0,0 +1,12 @@ +OpenSIPS (Open SIP Server) is a mature Open Source implementation +of a SIP server. + +It includes application-level functionalities and is the core component +of any SIP-based VoIP solution. With a very flexible and customizable +routing engine, OpenSIPS unifies voice, video, IM and presence +services in a highly efficient way, thanks to its scalable (modular) +design. + +It is reliable and fast, for enterprise or carrier-grade use cases. + +WWW: https://www.opensips.org/ --- /dev/null +++ net/opensips31/pkg-message @@ -0,0 +1,18 @@ +############################################################################### + +OpenSIPS was installed. + +For further installation and configuration instructions, +visit the following web page: + +http://www.opensips.org/Documentation/Manual-2-2 + +For migrating from a previous major release, visit the following web page: + +http://www.opensips.org/Documentation/Migration + + +An rtpproxy server will most likely be needed, running on an accessible host. +It may be worth looking at net/rtpproxy. + +############################################################################## --- /dev/null +++ net/opensips31/pkg-plist @@ -0,0 +1,351 @@ +%%TLS%%%%ETCDIR%%/tls/README +%%TLS%%%%ETCDIR%%/tls/ca.conf +%%TLS%%%%ETCDIR%%/tls/request.conf +%%TLS%%%%ETCDIR%%/tls/rootCA/cacert.pem +%%TLS%%%%ETCDIR%%/tls/rootCA/certs/01.pem +%%TLS%%%%ETCDIR%%/tls/rootCA/index.txt +%%TLS%%%%ETCDIR%%/tls/rootCA/private/cakey.pem +%%TLS%%%%ETCDIR%%/tls/rootCA/serial +%%TLS%%%%ETCDIR%%/tls/user.conf +%%TLS%%%%ETCDIR%%/tls/user/user-calist.pem +%%TLS%%%%ETCDIR%%/tls/user/user-cert.pem +%%TLS%%%%ETCDIR%%/tls/user/user-cert_req.pem +%%TLS%%%%ETCDIR%%/tls/user/user-privkey.pem +%%RADIUS%%%%LIBDIR%%/modules/aaa_radius.so +%%LIBDIR%%/modules/auth_jwt.so +%%LIBDIR%%/modules/acc.so +%%LIBDIR%%/modules/alias_db.so +%%LIBDIR%%/modules/auth.so +%%LIBDIR%%/modules/auth_aaa.so +%%LIBDIR%%/modules/auth_db.so +%%LIBDIR%%/modules/avpops.so +%%LIBDIR%%/modules/b2b_entities.so +%%LIBDIR%%/modules/b2b_logic.so +%%LIBDIR%%/modules/b2b_sca.so +%%LIBDIR%%/modules/benchmark.so +%%LIBDIR%%/modules/cachedb_local.so +%%MEMCACHED%%%%LIBDIR%%/modules/cachedb_memcached.so +%%LIBDIR%%/modules/cachedb_redis.so +%%LIBDIR%%/modules/cachedb_sql.so +%%LIBDIR%%/modules/call_center.so +%%LIBDIR%%/modules/call_control.so +%%LIBDIR%%/modules/carrierroute.so +%%LIBDIR%%/modules/cfgutils.so +%%LIBDIR%%/modules/cgrates.so +%%LIBDIR%%/modules/clusterer.so +%%LIBDIR%%/modules/compression.so +%%LIBDIR%%/modules/cpl_c.so +%%LIBDIR%%/modules/db_cachedb.so +%%LIBDIR%%/modules/db_flatstore.so +%%LIBDIR%%/modules/db_http.so +%%MYSQL%%%%LIBDIR%%/modules/db_mysql.so +%%LIBDIR%%/modules/db_perlvdb.so +%%PGSQL%%%%LIBDIR%%/modules/db_postgres.so +%%SQLITE%%%%LIBDIR%%/modules/db_sqlite.so +%%LIBDIR%%/modules/db_text.so +%%UNIXODBC%%%%LIBDIR%%/modules/db_unixodbc.so +%%LIBDIR%%/modules/db_virtual.so +%%LIBDIR%%/modules/dialog.so +%%LIBDIR%%/modules/dialplan.so +%%LIBDIR%%/modules/dispatcher.so +%%LIBDIR%%/modules/diversion.so +%%LIBDIR%%/modules/dns_cache.so +%%LIBDIR%%/modules/domain.so +%%LIBDIR%%/modules/domainpolicy.so +%%LIBDIR%%/modules/drouting.so +%%LIBDIR%%/modules/enum.so +%%LIBDIR%%/modules/event_datagram.so +%%LIBDIR%%/modules/event_flatstore.so +%%LIBDIR%%/modules/event_rabbitmq.so +%%LIBDIR%%/modules/event_route.so +%%LIBDIR%%/modules/event_routing.so +%%LIBDIR%%/modules/event_stream.so +%%LIBDIR%%/modules/event_virtual.so +%%LIBDIR%%/modules/event_xmlrpc.so +%%LIBDIR%%/modules/exec.so +%%LIBDIR%%/modules/fraud_detection.so +%%LIBDIR%%/modules/gflags.so +%%LIBDIR%%/modules/group.so +%%LDAP%%%%LIBDIR%%/modules/h350.so +%%HTTP%%%%LIBDIR%%/modules/httpd.so +%%LIBDIR%%/modules/identity.so +%%LIBDIR%%/modules/imc.so +%%LIBDIR%%/modules/jabber.so +%%LIBDIR%%/modules/json.so +%%LIBDIR%%/modules/jsonrpc.so +%%LDAP%%%%LIBDIR%%/modules/ldap.so +%%LIBDIR%%/modules/load_balancer.so +%%LIBDIR%%/modules/mangler.so +%%LIBDIR%%/modules/mathops.so +%%LIBDIR%%/modules/maxfwd.so +%%LIBDIR%%/modules/mediaproxy.so +%%LIBDIR%%/modules/mi_datagram.so +%%LIBDIR%%/modules/mi_fifo.so +%%LIBDIR%%/modules/mi_html.so +%%LIBDIR%%/modules/mi_http.so +%%LIBDIR%%/modules/mi_xmlrpc_ng.so +%%LIBDIR%%/modules/mid_registrar.so +%%LIBDIR%%/modules/msilo.so +%%LIBDIR%%/modules/nat_traversal.so +%%LIBDIR%%/modules/nathelper.so +%%LIBDIR%%/modules/options.so +%%LIBDIR%%/modules/path.so +%%LIBDIR%%/modules/peering.so +%%LIBDIR%%/modules/perl.so +%%LIBDIR%%/modules/permissions.so +%%LIBDIR%%/modules/pi_http.so +%%LIBDIR%%/modules/pike.so +%%LIBDIR%%/modules/presence.so +%%LIBDIR%%/modules/presence_callinfo.so +%%LIBDIR%%/modules/presence_dialoginfo.so +%%LIBDIR%%/modules/presence_mwi.so +%%LIBDIR%%/modules/presence_xcapdiff.so +%%LIBDIR%%/modules/presence_xml.so +%%LIBDIR%%/modules/proto_bin.so +%%LIBDIR%%/modules/proto_hep.so +%%TLS%%%%LIBDIR%%/modules/proto_tls.so +%%LIBDIR%%/modules/proto_ws.so +%%TLS%%%%LIBDIR%%/modules/proto_wss.so +%%LIBDIR%%/modules/pua.so +%%LIBDIR%%/modules/pua_bla.so +%%LIBDIR%%/modules/pua_dialoginfo.so +%%LIBDIR%%/modules/pua_mi.so +%%LIBDIR%%/modules/pua_usrloc.so +%%LIBDIR%%/modules/pua_xmpp.so +%%LIBDIR%%/modules/python.so +%%LIBDIR%%/modules/qos.so +%%LIBDIR%%/modules/rabbitmq.so +%%LIBDIR%%/modules/rabbitmq_consumer.so +%%LIBDIR%%/modules/ratelimit.so +%%LIBDIR%%/modules/regex.so +%%LIBDIR%%/modules/registrar.so +%%LIBDIR%%/modules/rest_client.so +%%LIBDIR%%/modules/rls.so +%%LIBDIR%%/modules/rr.so +%%LIBDIR%%/modules/rtpengine.so +%%LIBDIR%%/modules/rtpproxy.so +%%LIBDIR%%/modules/script_helper.so +%%LIBDIR%%/modules/signaling.so +%%LIBDIR%%/modules/sip_i.so +%%LIBDIR%%/modules/sipcapture.so +%%LIBDIR%%/modules/sipmsgops.so +%%LIBDIR%%/modules/siprec.so +%%LIBDIR%%/modules/sl.so +%%LIBDIR%%/modules/speeddial.so +%%LIBDIR%%/modules/sql_cacher.so +%%LIBDIR%%/modules/sst.so +%%LIBDIR%%/modules/statistics.so +%%LIBDIR%%/modules/stir_shaken.so +%%LIBDIR%%/modules/stun.so +%%LIBDIR%%/modules/textops.so +%%TLS%%%%LIBDIR%%/modules/tls_mgm.so +%%LIBDIR%%/modules/tm.so +%%LIBDIR%%/modules/topology_hiding.so +%%LIBDIR%%/modules/tracer.so +%%LIBDIR%%/modules/uac.so +%%LIBDIR%%/modules/uac_auth.so +%%LIBDIR%%/modules/uac_redirect.so +%%LIBDIR%%/modules/uac_registrant.so +%%LIBDIR%%/modules/userblacklist.so +%%LIBDIR%%/modules/usrloc.so +%%LIBDIR%%/modules/uuid.so +%%LIBDIR%%/modules/xcap.so +%%LIBDIR%%/modules/xcap_client.so +%%LIBDIR%%/modules/xml.so +%%LIBDIR%%/modules/xmpp.so +%%LIBDIR%%/perl/OpenSIPS.pm +%%LIBDIR%%/perl/OpenSIPS/Constants.pm +%%LIBDIR%%/perl/OpenSIPS/LDAPUtils/LDAPConf.pm +%%LIBDIR%%/perl/OpenSIPS/LDAPUtils/LDAPConnection.pm +%%LIBDIR%%/perl/OpenSIPS/Message.pm +%%LIBDIR%%/perl/OpenSIPS/Utils/Debug.pm +%%LIBDIR%%/perl/OpenSIPS/Utils/PhoneNumbers.pm +%%LIBDIR%%/perl/OpenSIPS/VDB.pm +%%LIBDIR%%/perl/OpenSIPS/VDB/Adapter/AccountingSIPtrace.pm +%%LIBDIR%%/perl/OpenSIPS/VDB/Adapter/Alias.pm +%%LIBDIR%%/perl/OpenSIPS/VDB/Adapter/Auth.pm +%%LIBDIR%%/perl/OpenSIPS/VDB/Adapter/Describe.pm +%%LIBDIR%%/perl/OpenSIPS/VDB/Adapter/Speeddial.pm +%%LIBDIR%%/perl/OpenSIPS/VDB/Adapter/TableVersions.pm +%%LIBDIR%%/perl/OpenSIPS/VDB/Column.pm +%%LIBDIR%%/perl/OpenSIPS/VDB/Pair.pm +%%LIBDIR%%/perl/OpenSIPS/VDB/ReqCond.pm +%%LIBDIR%%/perl/OpenSIPS/VDB/Result.pm +%%LIBDIR%%/perl/OpenSIPS/VDB/VTab.pm +%%LIBDIR%%/perl/OpenSIPS/VDB/Value.pm +man/man5/opensips31.cfg.5.gz +man/man8/opensips31.8.gz +sbin/opensips31 +sbin/osipsconfig31 +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README-MODULES +%%RADIUS%%%%PORTDOCS%%%%DOCSDIR%%/README.aaa_radius +%%PORTDOCS%%%%DOCSDIR%%/README.acc +%%PORTDOCS%%%%DOCSDIR%%/README.alias_db +%%PORTDOCS%%%%DOCSDIR%%/README.auth +%%PORTDOCS%%%%DOCSDIR%%/README.auth_aaa +%%PORTDOCS%%%%DOCSDIR%%/README.auth_db +%%PORTDOCS%%%%DOCSDIR%%/README.avpops +%%PORTDOCS%%%%DOCSDIR%%/README.b2b_entities +%%PORTDOCS%%%%DOCSDIR%%/README.b2b_logic +%%PORTDOCS%%%%DOCSDIR%%/README.b2b_sca +%%PORTDOCS%%%%DOCSDIR%%/README.benchmark +%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_local +%%MEMCACHED%%%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_memcached +%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_redis +%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_sql +%%PORTDOCS%%%%DOCSDIR%%/README.call_center +%%PORTDOCS%%%%DOCSDIR%%/README.call_control +%%PORTDOCS%%%%DOCSDIR%%/README.carrierroute +%%PORTDOCS%%%%DOCSDIR%%/README.cfgutils +%%PORTDOCS%%%%DOCSDIR%%/README.clusterer +%%PORTDOCS%%%%DOCSDIR%%/README.cpl_c +%%PORTDOCS%%%%DOCSDIR%%/README.db_cachedb +%%PORTDOCS%%%%DOCSDIR%%/README.db_flatstore +%%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/README.db_mysql +%%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/README.db_postgres +%%SQLITE%%%%PORTDOCS%%%%DOCSDIR%%/README.db_sqlite +%%PORTDOCS%%%%DOCSDIR%%/README.db_text +%%UNIXODBC%%%%PORTDOCS%%%%DOCSDIR%%/README.db_unixodbc +%%PORTDOCS%%%%DOCSDIR%%/README.db_virtual +%%PORTDOCS%%%%DOCSDIR%%/README.dialog +%%PORTDOCS%%%%DOCSDIR%%/README.dialplan +%%PORTDOCS%%%%DOCSDIR%%/README.dispatcher +%%PORTDOCS%%%%DOCSDIR%%/README.diversion +%%PORTDOCS%%%%DOCSDIR%%/README.dns_cache +%%PORTDOCS%%%%DOCSDIR%%/README.domain +%%PORTDOCS%%%%DOCSDIR%%/README.domainpolicy +%%PORTDOCS%%%%DOCSDIR%%/README.drouting +%%PORTDOCS%%%%DOCSDIR%%/README.enum +%%PORTDOCS%%%%DOCSDIR%%/README.event_datagram +%%PORTDOCS%%%%DOCSDIR%%/README.event_flatstore +%%PORTDOCS%%%%DOCSDIR%%/README.event_rabbitmq +%%PORTDOCS%%%%DOCSDIR%%/README.event_route +%%PORTDOCS%%%%DOCSDIR%%/README.event_virtual +%%PORTDOCS%%%%DOCSDIR%%/README.event_xmlrpc +%%PORTDOCS%%%%DOCSDIR%%/README.exec +%%PORTDOCS%%%%DOCSDIR%%/README.fraud_detection +%%PORTDOCS%%%%DOCSDIR%%/README.gflags +%%PORTDOCS%%%%DOCSDIR%%/README.group +%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/README.h350 +%%HTTP%%%%PORTDOCS%%%%DOCSDIR%%/README.httpd +%%PORTDOCS%%%%DOCSDIR%%/README.identity +%%PORTDOCS%%%%DOCSDIR%%/README.imc +%%PORTDOCS%%%%DOCSDIR%%/README.jabber +%%PORTDOCS%%%%DOCSDIR%%/README.json +%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/README.ldap +%%PORTDOCS%%%%DOCSDIR%%/README.load_balancer +%%PORTDOCS%%%%DOCSDIR%%/README.mangler +%%PORTDOCS%%%%DOCSDIR%%/README.mathops +%%PORTDOCS%%%%DOCSDIR%%/README.maxfwd +%%PORTDOCS%%%%DOCSDIR%%/README.mediaproxy +%%PORTDOCS%%%%DOCSDIR%%/README.mi_datagram +%%PORTDOCS%%%%DOCSDIR%%/README.mi_fifo +%%PORTDOCS%%%%DOCSDIR%%/README.mi_http +%%PORTDOCS%%%%DOCSDIR%%/README.mi_xmlrpc_ng +%%PORTDOCS%%%%DOCSDIR%%/README.msilo +%%PORTDOCS%%%%DOCSDIR%%/README.nat_traversal +%%PORTDOCS%%%%DOCSDIR%%/README.nathelper +%%PORTDOCS%%%%DOCSDIR%%/README.options +%%PORTDOCS%%%%DOCSDIR%%/README.path +%%PORTDOCS%%%%DOCSDIR%%/README.peering +%%PORTDOCS%%%%DOCSDIR%%/README.perl +%%PORTDOCS%%%%DOCSDIR%%/README.permissions +%%PORTDOCS%%%%DOCSDIR%%/README.pi_http +%%PORTDOCS%%%%DOCSDIR%%/README.pike +%%PORTDOCS%%%%DOCSDIR%%/README.presence +%%PORTDOCS%%%%DOCSDIR%%/README.presence_callinfo +%%PORTDOCS%%%%DOCSDIR%%/README.presence_dialoginfo +%%PORTDOCS%%%%DOCSDIR%%/README.presence_mwi +%%PORTDOCS%%%%DOCSDIR%%/README.presence_xcapdiff +%%PORTDOCS%%%%DOCSDIR%%/README.presence_xml +%%PORTDOCS%%%%DOCSDIR%%/README.proto_bin +%%PORTDOCS%%%%DOCSDIR%%/README.proto_hep +%%TLS%%%%PORTDOCS%%%%DOCSDIR%%/README.proto_tls +%%PORTDOCS%%%%DOCSDIR%%/README.proto_ws +%%PORTDOCS%%%%DOCSDIR%%/README.proto_wss +%%PORTDOCS%%%%DOCSDIR%%/README.pua +%%PORTDOCS%%%%DOCSDIR%%/README.pua_bla +%%PORTDOCS%%%%DOCSDIR%%/README.pua_dialoginfo +%%PORTDOCS%%%%DOCSDIR%%/README.pua_mi +%%PORTDOCS%%%%DOCSDIR%%/README.pua_usrloc +%%PORTDOCS%%%%DOCSDIR%%/README.pua_xmpp +%%PORTDOCS%%%%DOCSDIR%%/README.python +%%PORTDOCS%%%%DOCSDIR%%/README.qos +%%PORTDOCS%%%%DOCSDIR%%/README.ratelimit +%%PORTDOCS%%%%DOCSDIR%%/README.regex +%%PORTDOCS%%%%DOCSDIR%%/README.registrar +%%PORTDOCS%%%%DOCSDIR%%/README.rest_client +%%PORTDOCS%%%%DOCSDIR%%/README.rls +%%PORTDOCS%%%%DOCSDIR%%/README.rr +%%PORTDOCS%%%%DOCSDIR%%/README.rtpengine +%%PORTDOCS%%%%DOCSDIR%%/README.rtpproxy +%%PORTDOCS%%%%DOCSDIR%%/README.script_helper +%%PORTDOCS%%%%DOCSDIR%%/README.signaling +%%PORTDOCS%%%%DOCSDIR%%/README.sipcapture +%%PORTDOCS%%%%DOCSDIR%%/README.sipmsgops +%%PORTDOCS%%%%DOCSDIR%%/README.sl +%%PORTDOCS%%%%DOCSDIR%%/README.speeddial +%%PORTDOCS%%%%DOCSDIR%%/README.sql_cacher +%%PORTDOCS%%%%DOCSDIR%%/README.sst +%%PORTDOCS%%%%DOCSDIR%%/README.statistics +%%PORTDOCS%%%%DOCSDIR%%/README.stun +%%PORTDOCS%%%%DOCSDIR%%/README.textops +%%PORTDOCS%%%%DOCSDIR%%/README.tls_mgm +%%PORTDOCS%%%%DOCSDIR%%/README.tm +%%PORTDOCS%%%%DOCSDIR%%/README.topology_hiding +%%PORTDOCS%%%%DOCSDIR%%/README.uac +%%PORTDOCS%%%%DOCSDIR%%/README.uac_auth +%%PORTDOCS%%%%DOCSDIR%%/README.uac_redirect +%%PORTDOCS%%%%DOCSDIR%%/README.uac_registrant +%%PORTDOCS%%%%DOCSDIR%%/README.userblacklist +%%PORTDOCS%%%%DOCSDIR%%/README.usrloc +%%PORTDOCS%%%%DOCSDIR%%/README.xcap +%%PORTDOCS%%%%DOCSDIR%%/README.xcap_client +%%PORTDOCS%%%%DOCSDIR%%/README.xmpp +%%EXAMPLES%%%%EXAMPLES_DIR%%/acc-mysql.cfg +%%EXAMPLES%%%%EXAMPLES_DIR%%/acc.cfg +%%EXAMPLES%%%%EXAMPLES_DIR%%/ctd.sh +%%EXAMPLES%%%%EXAMPLES_DIR%%/exec_s3.cfg +%%EXAMPLES%%%%EXAMPLES_DIR%%/exec_s4.cfg +%%EXAMPLES%%%%EXAMPLES_DIR%%/exec_s5.cfg +%%EXAMPLES%%%%EXAMPLES_DIR%%/flag_reply.cfg +%%EXAMPLES%%%%EXAMPLES_DIR%%/fork.cfg +%%HTTP%%%%EXAMPLES%%%%EXAMPLES_DIR%%/httpd.cfg +%%EXAMPLES%%%%EXAMPLES_DIR%%/logging.cfg +%%EXAMPLES%%%%EXAMPLES_DIR%%/msilo.cfg +%%EXAMPLES%%%%EXAMPLES_DIR%%/nathelper.cfg +%%EXAMPLES%%%%EXAMPLES_DIR%%/pi_framework.xml +%%EXAMPLES%%%%EXAMPLES_DIR%%/pstn.cfg +%%EXAMPLES%%%%EXAMPLES_DIR%%/redirect.cfg +%%EXAMPLES%%%%EXAMPLES_DIR%%/replicate.cfg +%%EXAMPLES%%%%EXAMPLES_DIR%%/serial_183.cfg +%%EXAMPLES%%%%EXAMPLES_DIR%%/web_im/README +%%EXAMPLES%%%%EXAMPLES_DIR%%/web_im/click_to_dial.html +%%EXAMPLES%%%%EXAMPLES_DIR%%/web_im/click_to_dial.php +%%EXAMPLES%%%%EXAMPLES_DIR%%/web_im/send_im.html +%%EXAMPLES%%%%EXAMPLES_DIR%%/web_im/send_im.php +@comment share/licenses/opensips-3.1.1/GPLv2 +@comment share/licenses/opensips-3.1.1/LICENSE +@comment share/licenses/opensips-3.1.1/catalog.mk +%%DATADIR%%/menuconfig_templates/opensips_loadbalancer.m4 +%%DATADIR%%/menuconfig_templates/opensips_loadbalancer.m4-e +%%DATADIR%%/menuconfig_templates/opensips_loadbalancer_def.m4 +%%DATADIR%%/menuconfig_templates/opensips_loadbalancer_def.m4-e +%%DATADIR%%/menuconfig_templates/opensips_residential.m4 +%%DATADIR%%/menuconfig_templates/opensips_residential.m4-e +%%DATADIR%%/menuconfig_templates/opensips_residential_def.m4 +%%DATADIR%%/menuconfig_templates/opensips_residential_def.m4-e +%%DATADIR%%/menuconfig_templates/opensips_trunking.m4 +%%DATADIR%%/menuconfig_templates/opensips_trunking.m4-e +%%DATADIR%%/menuconfig_templates/opensips_trunking_def.m4 +%%DATADIR%%/menuconfig_templates/opensips_trunking_def.m4-e +@mode 600 +%%RADIUS%%@sample %%ETCDIR%%/dictionary.opensips.sample +@owner opensips +@group opensips +@sample %%ETCDIR%%/opensips.cfg.sample +@mode 755