aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndriy <bambyster@gmail.com>2021-09-05 18:29:35 +0000
committerDaniel Engberg <diizzy@FreeBSD.org>2021-09-05 18:42:00 +0000
commit4e429139a01d479d0d29e0813cb9ac90b63229dd (patch)
treede7a5228002e42c5c6627ff5183de4a2c86ef14d
parent1a28b418860fea77ad55c8164d70a014df78190e (diff)
downloadports-4e429139a01d479d0d29e0813cb9ac90b63229dd.tar.gz
ports-4e429139a01d479d0d29e0813cb9ac90b63229dd.zip
net/opensips31: New port: Open SIP Server
Includes additional changes on top of submitters patch to improve port PR: 253844 Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D31765
-rw-r--r--net/Makefile1
-rw-r--r--net/opensips31/Makefile104
-rw-r--r--net/opensips31/distinfo3
-rw-r--r--net/opensips31/files/Makefile.conf100
-rw-r--r--net/opensips31/files/opensips31.in35
-rw-r--r--net/opensips31/files/patch-Makefile65
-rw-r--r--net/opensips31/files/patch-Makefile.defs21
-rw-r--r--net/opensips31/files/patch-Makefile.rules11
-rw-r--r--net/opensips31/files/patch-modules_aaa__radius_Makefile21
-rw-r--r--net/opensips31/files/patch-modules_presence_Makefile17
-rw-r--r--net/opensips31/files/patch-modules_presence__dfks_Makefile17
-rw-r--r--net/opensips31/files/patch-modules_presence__xml_Makefile17
-rw-r--r--net/opensips31/files/patch-modules_pua__dialoginfo_Makefile17
-rw-r--r--net/opensips31/files/patch-modules_xml_Makefile17
-rw-r--r--net/opensips31/pkg-descr12
-rw-r--r--net/opensips31/pkg-message23
-rw-r--r--net/opensips31/pkg-plist734
17 files changed, 1215 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 446583ca23f7..0ea1cf03a895 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -555,6 +555,7 @@
SUBDIR += openpgm
SUBDIR += openradius
SUBDIR += openrsync
+ SUBDIR += opensips31
SUBDIR += openslp
SUBDIR += opentracker
SUBDIR += openvswitch
diff --git a/net/opensips31/Makefile b/net/opensips31/Makefile
new file mode 100644
index 000000000000..6424b8772a4c
--- /dev/null
+++ b/net/opensips31/Makefile
@@ -0,0 +1,104 @@
+PORTNAME= opensips31
+DISTVERSION= 3.1.2
+CATEGORIES= net
+MASTER_SITES= https://opensips.org/pub/opensips/${DISTVERSION}/
+DISTNAME= opensips-${DISTVERSION}
+
+MAINTAINER= bambyster@gmail.com
+COMMENT= Open SIP Server
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= gm4:devel/m4
+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
+
+USES= gettext-runtime gmake gnome localbase:ldflags ncurses perl5 \
+ pkgconfig python shebangfix ssl
+USE_GNOME= libxml2
+SHEBANG_GLOB= *.pl *.sh
+
+USE_RC_SUBR= ${PORTNAME}
+
+USERS= opensips
+GROUPS= opensips
+
+CFLAGS+= -pthread
+CXXFLAGS+= -pthread
+LDFLAGS+= -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}
+
+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
+
+HTTP_LIB_DEPENDS= libmicrohttpd.so:www/libmicrohttpd
+HTTP_VARS= EXTRA_MODULES+=httpd
+
+LDAP_USE= OPENLDAP=yes
+LDAP_VARS= EXTRA_MODULES+="ldap h350"
+
+MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached
+MEMCACHED_VARS= EXTRA_MODULES+=cachedb_memcached
+
+MYSQL_USES= mysql:client
+MYSQL_VARS= EXTRA_MODULES+=db_mysql
+
+PGSQL_BUILD_DEPENDS= p5-DBD-Pg>=3.4:databases/p5-DBD-Pg
+PGSQL_USES= pgsql
+WANT_PGSQL= client
+PGSQL_VARS= EXTRA_MODULES+=db_postgres
+
+RADIUS_LIB_DEPENDS= libradiusclient-ng.so:net/radiusclient
+RADIUS_VARS= EXTRA_MODULES+=aaa_radius
+
+SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3
+SQLITE_VARS= EXTRA_MODULES+=db_sqlite
+
+TLS_VARS= EXTRA_MODULES+="proto_tls proto_wss tls_mgm"
+
+UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC
+UNIXODBC_VARS= EXTRA_MODULES+=db_unixodbc
+
+.include <bsd.port.options.mk>
+
+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}
+
+do-install-EXAMPLES-on:
+ ${CP} -r ${WRKSRC}/examples ${STAGEDIR}${PREFIX}/share/examples/${PORTNAME}
+
+post-install-RADIUS-on:
+ ${MV} ${STAGEDIR}${ETCDIR}/dictionary.opensips ${STAGEDIR}${ETCDIR}/dictionary.opensips.sample
+
+.include <bsd.port.mk>
diff --git a/net/opensips31/distinfo b/net/opensips31/distinfo
new file mode 100644
index 000000000000..c5c80d20c68d
--- /dev/null
+++ b/net/opensips31/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1622537802
+SHA256 (opensips-3.1.2.tar.gz) = 557b33db1436d8212ac122f299481bee3f2957f060a2bc0b4256430faf8b3bbc
+SIZE (opensips-3.1.2.tar.gz) = 6362581
diff --git a/net/opensips31/files/Makefile.conf b/net/opensips31/files/Makefile.conf
new file mode 100644
index 000000000000..89e65bc94ae1
--- /dev/null
+++ b/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
diff --git a/net/opensips31/files/opensips31.in b/net/opensips31/files/opensips31.in
new file mode 100644
index 000000000000..aa4cb2a37da2
--- /dev/null
+++ b/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}"
diff --git a/net/opensips31/files/patch-Makefile b/net/opensips31/files/patch-Makefile
new file mode 100644
index 000000000000..863fdf4f5fc1
--- /dev/null
+++ b/net/opensips31/files/patch-Makefile
@@ -0,0 +1,65 @@
+--- 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
+@@ -519,8 +519,8 @@ install-bin: app $(bin_prefix)/$(bin_dir) opensipsmc u
+ $(INSTALL_TOUCH) $(bin_prefix)/$(bin_dir)/$(NAME)
+ $(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_TOUCH) $(bin_prefix)/$(bin_dir)/osipsconfig$(NAME_SUFFIX)
++ $(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)
diff --git a/net/opensips31/files/patch-Makefile.defs b/net/opensips31/files/patch-Makefile.defs
new file mode 100644
index 000000000000..28575700e48c
--- /dev/null
+++ b/net/opensips31/files/patch-Makefile.defs
@@ -0,0 +1,21 @@
+--- Makefile.defs.orig
++++ Makefile.defs
+@@ -57,14 +57,15 @@
+ makefile_defs=1
+ export makefile_defs
+
+-# main binary name
+-MAIN_NAME=opensips
+-
+ #version number
+ VERSION_MAJOR = 3
+ VERSION_MINOR = 1
+ VERSION_SUBMINOR = 2
+ 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)
diff --git a/net/opensips31/files/patch-Makefile.rules b/net/opensips31/files/patch-Makefile.rules
new file mode 100644
index 000000000000..01ba1853f09a
--- /dev/null
+++ b/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 $@
+
diff --git a/net/opensips31/files/patch-modules_aaa__radius_Makefile b/net/opensips31/files/patch-modules_aaa__radius_Makefile
new file mode 100644
index 000000000000..fb168acbd365
--- /dev/null
+++ b/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
+
+
diff --git a/net/opensips31/files/patch-modules_presence_Makefile b/net/opensips31/files/patch-modules_presence_Makefile
new file mode 100644
index 000000000000..08343d582a06
--- /dev/null
+++ b/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
diff --git a/net/opensips31/files/patch-modules_presence__dfks_Makefile b/net/opensips31/files/patch-modules_presence__dfks_Makefile
new file mode 100644
index 000000000000..17c42acb6687
--- /dev/null
+++ b/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
diff --git a/net/opensips31/files/patch-modules_presence__xml_Makefile b/net/opensips31/files/patch-modules_presence__xml_Makefile
new file mode 100644
index 000000000000..870ecd155648
--- /dev/null
+++ b/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
diff --git a/net/opensips31/files/patch-modules_pua__dialoginfo_Makefile b/net/opensips31/files/patch-modules_pua__dialoginfo_Makefile
new file mode 100644
index 000000000000..eaf1b1aef1b4
--- /dev/null
+++ b/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
diff --git a/net/opensips31/files/patch-modules_xml_Makefile b/net/opensips31/files/patch-modules_xml_Makefile
new file mode 100644
index 000000000000..2fc23be5aff3
--- /dev/null
+++ b/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
diff --git a/net/opensips31/pkg-descr b/net/opensips31/pkg-descr
new file mode 100644
index 000000000000..3d5aebb69e25
--- /dev/null
+++ b/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/
diff --git a/net/opensips31/pkg-message b/net/opensips31/pkg-message
new file mode 100644
index 000000000000..475da66be675
--- /dev/null
+++ b/net/opensips31/pkg-message
@@ -0,0 +1,23 @@
+[
+{ type: install
+ message: <<EOM
+###############################################################################
+
+OpenSIPS was installed.
+
+For further installation and configuration instructions,
+visit the following web page:
+
+http://www.opensips.org/Documentation/Manual-3-1
+
+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.
+
+##############################################################################
+EOM
+}
+]
diff --git a/net/opensips31/pkg-plist b/net/opensips31/pkg-plist
new file mode 100644
index 000000000000..259b0dddc803
--- /dev/null
+++ b/net/opensips31/pkg-plist
@@ -0,0 +1,734 @@
+%%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%%lib/opensips31/modules/aaa_radius.so
+lib/opensips31/modules/auth_jwt.so
+lib/opensips31/modules/acc.so
+lib/opensips31/modules/alias_db.so
+lib/opensips31/modules/auth.so
+lib/opensips31/modules/auth_aaa.so
+lib/opensips31/modules/auth_db.so
+lib/opensips31/modules/avpops.so
+lib/opensips31/modules/b2b_entities.so
+lib/opensips31/modules/b2b_logic.so
+lib/opensips31/modules/b2b_sca.so
+lib/opensips31/modules/benchmark.so
+lib/opensips31/modules/cachedb_local.so
+%%MEMCACHED%%lib/opensips31/modules/cachedb_memcached.so
+lib/opensips31/modules/cachedb_redis.so
+lib/opensips31/modules/cachedb_sql.so
+lib/opensips31/modules/call_center.so
+lib/opensips31/modules/call_control.so
+lib/opensips31/modules/callops.so
+lib/opensips31/modules/carrierroute.so
+lib/opensips31/modules/cfgutils.so
+lib/opensips31/modules/cgrates.so
+lib/opensips31/modules/clusterer.so
+lib/opensips31/modules/compression.so
+lib/opensips31/modules/cpl_c.so
+lib/opensips31/modules/db_cachedb.so
+lib/opensips31/modules/db_flatstore.so
+lib/opensips31/modules/db_http.so
+%%MYSQL%%lib/opensips31/modules/db_mysql.so
+lib/opensips31/modules/db_perlvdb.so
+%%PGSQL%%lib/opensips31/modules/db_postgres.so
+%%SQLITE%%lib/opensips31/modules/db_sqlite.so
+lib/opensips31/modules/db_text.so
+%%UNIXODBC%%lib/opensips31/modules/db_unixodbc.so
+lib/opensips31/modules/db_virtual.so
+lib/opensips31/modules/dialog.so
+lib/opensips31/modules/dialplan.so
+lib/opensips31/modules/dispatcher.so
+lib/opensips31/modules/diversion.so
+lib/opensips31/modules/dns_cache.so
+lib/opensips31/modules/domain.so
+lib/opensips31/modules/domainpolicy.so
+lib/opensips31/modules/drouting.so
+lib/opensips31/modules/enum.so
+lib/opensips31/modules/event_datagram.so
+lib/opensips31/modules/event_flatstore.so
+lib/opensips31/modules/event_rabbitmq.so
+lib/opensips31/modules/event_route.so
+lib/opensips31/modules/event_routing.so
+lib/opensips31/modules/event_stream.so
+lib/opensips31/modules/event_virtual.so
+lib/opensips31/modules/event_xmlrpc.so
+lib/opensips31/modules/exec.so
+lib/opensips31/modules/fraud_detection.so
+lib/opensips31/modules/freeswitch.so
+lib/opensips31/modules/freeswitch_scripting.so
+lib/opensips31/modules/gflags.so
+lib/opensips31/modules/group.so
+%%LDAP%%lib/opensips31/modules/h350.so
+%%HTTP%%lib/opensips31/modules/httpd.so
+lib/opensips31/modules/identity.so
+lib/opensips31/modules/imc.so
+lib/opensips31/modules/jabber.so
+lib/opensips31/modules/json.so
+lib/opensips31/modules/jsonrpc.so
+%%LDAP%%lib/opensips31/modules/ldap.so
+lib/opensips31/modules/load_balancer.so
+lib/opensips31/modules/mangler.so
+lib/opensips31/modules/mathops.so
+lib/opensips31/modules/maxfwd.so
+lib/opensips31/modules/media_exchange.so
+lib/opensips31/modules/mediaproxy.so
+lib/opensips31/modules/mi_datagram.so
+lib/opensips31/modules/mi_fifo.so
+lib/opensips31/modules/mi_html.so
+lib/opensips31/modules/mi_http.so
+lib/opensips31/modules/mi_xmlrpc_ng.so
+lib/opensips31/modules/mid_registrar.so
+lib/opensips31/modules/msilo.so
+lib/opensips31/modules/nat_traversal.so
+lib/opensips31/modules/nathelper.so
+lib/opensips31/modules/options.so
+lib/opensips31/modules/path.so
+lib/opensips31/modules/peering.so
+lib/opensips31/modules/perl.so
+lib/opensips31/modules/permissions.so
+lib/opensips31/modules/pi_http.so
+lib/opensips31/modules/pike.so
+lib/opensips31/modules/presence.so
+lib/opensips31/modules/presence_callinfo.so
+lib/opensips31/modules/presence_dialoginfo.so
+lib/opensips31/modules/presence_mwi.so
+lib/opensips31/modules/presence_xcapdiff.so
+lib/opensips31/modules/presence_xml.so
+lib/opensips31/modules/proto_bin.so
+lib/opensips31/modules/proto_hep.so
+lib/opensips31/modules/proto_smpp.so
+%%TLS%%lib/opensips31/modules/proto_tls.so
+lib/opensips31/modules/proto_ws.so
+%%TLS%%lib/opensips31/modules/proto_wss.so
+lib/opensips31/modules/pua.so
+lib/opensips31/modules/pua_bla.so
+lib/opensips31/modules/pua_dialoginfo.so
+lib/opensips31/modules/pua_mi.so
+lib/opensips31/modules/pua_usrloc.so
+lib/opensips31/modules/pua_xmpp.so
+lib/opensips31/modules/python.so
+lib/opensips31/modules/qos.so
+lib/opensips31/modules/qrouting.so
+lib/opensips31/modules/rabbitmq.so
+lib/opensips31/modules/rabbitmq_consumer.so
+lib/opensips31/modules/rate_cacher.so
+lib/opensips31/modules/ratelimit.so
+lib/opensips31/modules/regex.so
+lib/opensips31/modules/registrar.so
+lib/opensips31/modules/rest_client.so
+lib/opensips31/modules/rls.so
+lib/opensips31/modules/rr.so
+lib/opensips31/modules/rtpengine.so
+lib/opensips31/modules/rtpproxy.so
+lib/opensips31/modules/script_helper.so
+lib/opensips31/modules/signaling.so
+lib/opensips31/modules/sip_i.so
+lib/opensips31/modules/sipcapture.so
+lib/opensips31/modules/sipmsgops.so
+lib/opensips31/modules/siprec.so
+lib/opensips31/modules/sl.so
+lib/opensips31/modules/speeddial.so
+lib/opensips31/modules/sql_cacher.so
+lib/opensips31/modules/sst.so
+lib/opensips31/modules/statistics.so
+lib/opensips31/modules/stir_shaken.so
+lib/opensips31/modules/stun.so
+lib/opensips31/modules/textops.so
+%%TLS%%lib/opensips31/modules/tls_mgm.so
+lib/opensips31/modules/tm.so
+lib/opensips31/modules/topology_hiding.so
+lib/opensips31/modules/tracer.so
+lib/opensips31/modules/uac.so
+lib/opensips31/modules/uac_auth.so
+lib/opensips31/modules/uac_redirect.so
+lib/opensips31/modules/uac_registrant.so
+lib/opensips31/modules/userblacklist.so
+lib/opensips31/modules/usrloc.so
+lib/opensips31/modules/uuid.so
+lib/opensips31/modules/xcap.so
+lib/opensips31/modules/xcap_client.so
+lib/opensips31/modules/xml.so
+lib/opensips31/modules/xmpp.so
+lib/opensips31/perl/OpenSIPS.pm
+lib/opensips31/perl/OpenSIPS/Constants.pm
+lib/opensips31/perl/OpenSIPS/LDAPUtils/LDAPConf.pm
+lib/opensips31/perl/OpenSIPS/LDAPUtils/LDAPConnection.pm
+lib/opensips31/perl/OpenSIPS/Message.pm
+lib/opensips31/perl/OpenSIPS/Utils/Debug.pm
+lib/opensips31/perl/OpenSIPS/Utils/PhoneNumbers.pm
+lib/opensips31/perl/OpenSIPS/VDB.pm
+lib/opensips31/perl/OpenSIPS/VDB/Adapter/AccountingSIPtrace.pm
+lib/opensips31/perl/OpenSIPS/VDB/Adapter/Alias.pm
+lib/opensips31/perl/OpenSIPS/VDB/Adapter/Auth.pm
+lib/opensips31/perl/OpenSIPS/VDB/Adapter/Describe.pm
+lib/opensips31/perl/OpenSIPS/VDB/Adapter/Speeddial.pm
+lib/opensips31/perl/OpenSIPS/VDB/Adapter/TableVersions.pm
+lib/opensips31/perl/OpenSIPS/VDB/Column.pm
+lib/opensips31/perl/OpenSIPS/VDB/Pair.pm
+lib/opensips31/perl/OpenSIPS/VDB/ReqCond.pm
+lib/opensips31/perl/OpenSIPS/VDB/Result.pm
+lib/opensips31/perl/OpenSIPS/VDB/VTab.pm
+lib/opensips31/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.auth_jwt
+%%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.callops
+%%PORTDOCS%%%%DOCSDIR%%/README.carrierroute
+%%PORTDOCS%%%%DOCSDIR%%/README.cfgutils
+%%PORTDOCS%%%%DOCSDIR%%/README.cgrates
+%%PORTDOCS%%%%DOCSDIR%%/README.clusterer
+%%PORTDOCS%%%%DOCSDIR%%/README.compression
+%%PORTDOCS%%%%DOCSDIR%%/README.cpl_c
+%%PORTDOCS%%%%DOCSDIR%%/README.db_cachedb
+%%PORTDOCS%%%%DOCSDIR%%/README.db_flatstore
+%%PORTDOCS%%%%DOCSDIR%%/README.db_http
+%%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/README.db_mysql
+%%PORTDOCS%%%%DOCSDIR%%/README.db_perlvdb
+%%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_routing
+%%PORTDOCS%%%%DOCSDIR%%/README.event_stream
+%%PORTDOCS%%%%DOCSDIR%%/README.event_virtual
+%%PORTDOCS%%%%DOCSDIR%%/README.event_xmlrpc
+%%PORTDOCS%%%%DOCSDIR%%/README.exec
+%%PORTDOCS%%%%DOCSDIR%%/README.fraud_detection
+%%PORTDOCS%%%%DOCSDIR%%/README.freeswitch
+%%PORTDOCS%%%%DOCSDIR%%/README.freeswitch_scripting
+%%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
+%%PORTDOCS%%%%DOCSDIR%%/README.jsonrpc
+%%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.media_exchange
+%%PORTDOCS%%%%DOCSDIR%%/README.mediaproxy
+%%PORTDOCS%%%%DOCSDIR%%/README.mi_datagram
+%%PORTDOCS%%%%DOCSDIR%%/README.mi_fifo
+%%PORTDOCS%%%%DOCSDIR%%/README.mi_html
+%%PORTDOCS%%%%DOCSDIR%%/README.mi_http
+%%PORTDOCS%%%%DOCSDIR%%/README.mi_xmlrpc_ng
+%%PORTDOCS%%%%DOCSDIR%%/README.mid_registrar
+%%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
+%%PORTDOCS%%%%DOCSDIR%%/README.proto_smpp
+%%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.qrouting
+%%PORTDOCS%%%%DOCSDIR%%/README.rabbitmq
+%%PORTDOCS%%%%DOCSDIR%%/README.rabbitmq_consumer
+%%PORTDOCS%%%%DOCSDIR%%/README.rate_cacher
+%%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.sip_i
+%%PORTDOCS%%%%DOCSDIR%%/README.sipcapture
+%%PORTDOCS%%%%DOCSDIR%%/README.sipmsgops
+%%PORTDOCS%%%%DOCSDIR%%/README.siprec
+%%PORTDOCS%%%%DOCSDIR%%/README.sl
+%%PORTDOCS%%%%DOCSDIR%%/README.speeddial
+%%PORTDOCS%%%%DOCSDIR%%/README.sql_cacher
+%%PORTDOCS%%%%DOCSDIR%%/README.sst
+%%PORTDOCS%%%%DOCSDIR%%/README.statistics
+%%PORTDOCS%%%%DOCSDIR%%/README.stir_shaken
+%%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.tracer
+%%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.uuid
+%%PORTDOCS%%%%DOCSDIR%%/README.xcap
+%%PORTDOCS%%%%DOCSDIR%%/README.xcap_client
+%%PORTDOCS%%%%DOCSDIR%%/README.xml
+%%PORTDOCS%%%%DOCSDIR%%/README.xmpp
+%%EXAMPLES%%share/examples/opensips31/acc-mysql.cfg
+%%EXAMPLES%%share/examples/opensips31/acc.cfg
+%%EXAMPLES%%share/examples/opensips31/ctd.sh
+%%EXAMPLES%%share/examples/opensips31/exec_s3.cfg
+%%EXAMPLES%%share/examples/opensips31/exec_s4.cfg
+%%EXAMPLES%%share/examples/opensips31/exec_s5.cfg
+%%EXAMPLES%%share/examples/opensips31/flag_reply.cfg
+%%EXAMPLES%%share/examples/opensips31/fork.cfg
+%%HTTP%%%%EXAMPLES%%share/examples/opensips31/httpd.cfg
+%%EXAMPLES%%share/examples/opensips31/logging.cfg
+%%EXAMPLES%%share/examples/opensips31/msilo.cfg
+%%EXAMPLES%%share/examples/opensips31/nathelper.cfg
+%%EXAMPLES%%share/examples/opensips31/pi_framework.xml
+%%EXAMPLES%%share/examples/opensips31/pstn.cfg
+%%EXAMPLES%%share/examples/opensips31/redirect.cfg
+%%EXAMPLES%%share/examples/opensips31/replicate.cfg
+%%EXAMPLES%%share/examples/opensips31/serial_183.cfg
+%%EXAMPLES%%share/examples/opensips31/web_im/README
+%%EXAMPLES%%share/examples/opensips31/web_im/click_to_dial.html
+%%EXAMPLES%%share/examples/opensips31/web_im/click_to_dial.php
+%%EXAMPLES%%share/examples/opensips31/web_im/send_im.html
+%%EXAMPLES%%share/examples/opensips31/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%%/dbtext/opensips/acc
+%%DATADIR%%/dbtext/opensips/active_watchers
+%%DATADIR%%/dbtext/opensips/address
+%%DATADIR%%/dbtext/opensips/aliases
+%%DATADIR%%/dbtext/opensips/b2b_entities
+%%DATADIR%%/dbtext/opensips/b2b_logic
+%%DATADIR%%/dbtext/opensips/b2b_sca
+%%DATADIR%%/dbtext/opensips/cachedb
+%%DATADIR%%/dbtext/opensips/carrierfailureroute
+%%DATADIR%%/dbtext/opensips/carrierroute
+%%DATADIR%%/dbtext/opensips/cc_agents
+%%DATADIR%%/dbtext/opensips/cc_calls
+%%DATADIR%%/dbtext/opensips/cc_cdrs
+%%DATADIR%%/dbtext/opensips/cc_flows
+%%DATADIR%%/dbtext/opensips/closeddial
+%%DATADIR%%/dbtext/opensips/clusterer
+%%DATADIR%%/dbtext/opensips/cpl
+%%DATADIR%%/dbtext/opensips/dbaliases
+%%DATADIR%%/dbtext/opensips/dialog
+%%DATADIR%%/dbtext/opensips/dialplan
+%%DATADIR%%/dbtext/opensips/dispatcher
+%%DATADIR%%/dbtext/opensips/domain
+%%DATADIR%%/dbtext/opensips/domainpolicy
+%%DATADIR%%/dbtext/opensips/dr_carriers
+%%DATADIR%%/dbtext/opensips/dr_gateways
+%%DATADIR%%/dbtext/opensips/dr_groups
+%%DATADIR%%/dbtext/opensips/dr_partitions
+%%DATADIR%%/dbtext/opensips/dr_rules
+%%DATADIR%%/dbtext/opensips/emergency_report
+%%DATADIR%%/dbtext/opensips/emergency_routing
+%%DATADIR%%/dbtext/opensips/emergency_service_provider
+%%DATADIR%%/dbtext/opensips/fraud_detection
+%%DATADIR%%/dbtext/opensips/freeswitch
+%%DATADIR%%/dbtext/opensips/freeswitch_scripting
+%%DATADIR%%/dbtext/opensips/globalblacklist
+%%DATADIR%%/dbtext/opensips/grp
+%%DATADIR%%/dbtext/opensips/imc_members
+%%DATADIR%%/dbtext/opensips/imc_rooms
+%%DATADIR%%/dbtext/opensips/jwt_profiles
+%%DATADIR%%/dbtext/opensips/jwt_secrets
+%%DATADIR%%/dbtext/opensips/load_balancer
+%%DATADIR%%/dbtext/opensips/location
+%%DATADIR%%/dbtext/opensips/missed_calls
+%%DATADIR%%/dbtext/opensips/presentity
+%%DATADIR%%/dbtext/opensips/pua
+%%DATADIR%%/dbtext/opensips/qr_profiles
+%%DATADIR%%/dbtext/opensips/rc_clients
+%%DATADIR%%/dbtext/opensips/rc_demo_ratesheet
+%%DATADIR%%/dbtext/opensips/rc_ratesheets
+%%DATADIR%%/dbtext/opensips/rc_vendors
+%%DATADIR%%/dbtext/opensips/re_grp
+%%DATADIR%%/dbtext/opensips/registrant
+%%DATADIR%%/dbtext/opensips/rls_presentity
+%%DATADIR%%/dbtext/opensips/rls_watchers
+%%DATADIR%%/dbtext/opensips/route_tree
+%%DATADIR%%/dbtext/opensips/rtpengine
+%%DATADIR%%/dbtext/opensips/rtpproxy_sockets
+%%DATADIR%%/dbtext/opensips/silo
+%%DATADIR%%/dbtext/opensips/sip_trace
+%%DATADIR%%/dbtext/opensips/smpp
+%%DATADIR%%/dbtext/opensips/speed_dial
+%%DATADIR%%/dbtext/opensips/subscriber
+%%DATADIR%%/dbtext/opensips/tls_mgm
+%%DATADIR%%/dbtext/opensips/uri
+%%DATADIR%%/dbtext/opensips/userblacklist
+%%DATADIR%%/dbtext/opensips/usr_preferences
+%%DATADIR%%/dbtext/opensips/version
+%%DATADIR%%/dbtext/opensips/watchers
+%%DATADIR%%/dbtext/opensips/xcap
+%%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
+%%MYSQL%%%%DATADIR%%/mysql/acc-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/alias_db-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/auth_db-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/authjwt-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/avpops-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/b2b-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/b2b_sca-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/cachedb_sql-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/call_center-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/carrierroute-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/closeddial-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/clusterer-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/cpl-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/db-migrate.sql
+%%MYSQL%%%%DATADIR%%/mysql/dialog-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/dialplan-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/dispatcher-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/domain-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/domainpolicy-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/drouting-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/emergency-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/fraud_detection-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/freeswitch_scripting-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/group-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/imc-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/load_balancer-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/msilo-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/permissions-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/presence-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/qrouting-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/ratecacher-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/registrant-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/rls-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/rtpengine-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/rtpproxy-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/smpp-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/speeddial-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/standard-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/table-migrate.sql
+%%MYSQL%%%%DATADIR%%/mysql/tls_mgm-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/tracer-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/userblacklist-create.sql
+%%MYSQL%%%%DATADIR%%/mysql/usrloc-create.sql
+%%DATADIR%%/pi_http/acc-mod
+%%DATADIR%%/pi_http/acc-table
+%%DATADIR%%/pi_http/alias_db-mod
+%%DATADIR%%/pi_http/alias_db-table
+%%DATADIR%%/pi_http/auth_db-mod
+%%DATADIR%%/pi_http/auth_db-table
+%%DATADIR%%/pi_http/authjwt-mod
+%%DATADIR%%/pi_http/authjwt-table
+%%DATADIR%%/pi_http/avpops-mod
+%%DATADIR%%/pi_http/avpops-table
+%%DATADIR%%/pi_http/b2b-mod
+%%DATADIR%%/pi_http/b2b-table
+%%DATADIR%%/pi_http/b2b_sca-mod
+%%DATADIR%%/pi_http/b2b_sca-table
+%%DATADIR%%/pi_http/cachedb_sql-mod
+%%DATADIR%%/pi_http/cachedb_sql-table
+%%DATADIR%%/pi_http/call_center-mod
+%%DATADIR%%/pi_http/call_center-table
+%%DATADIR%%/pi_http/carrierroute-mod
+%%DATADIR%%/pi_http/carrierroute-table
+%%DATADIR%%/pi_http/closeddial-mod
+%%DATADIR%%/pi_http/closeddial-table
+%%DATADIR%%/pi_http/clusterer-mod
+%%DATADIR%%/pi_http/clusterer-table
+%%DATADIR%%/pi_http/cpl-mod
+%%DATADIR%%/pi_http/cpl-table
+%%DATADIR%%/pi_http/dialog-mod
+%%DATADIR%%/pi_http/dialog-table
+%%DATADIR%%/pi_http/dialplan-mod
+%%DATADIR%%/pi_http/dialplan-table
+%%DATADIR%%/pi_http/dispatcher-mod
+%%DATADIR%%/pi_http/dispatcher-table
+%%DATADIR%%/pi_http/domain-mod
+%%DATADIR%%/pi_http/domain-table
+%%DATADIR%%/pi_http/domainpolicy-mod
+%%DATADIR%%/pi_http/domainpolicy-table
+%%DATADIR%%/pi_http/drouting-mod
+%%DATADIR%%/pi_http/drouting-table
+%%DATADIR%%/pi_http/emergency-mod
+%%DATADIR%%/pi_http/emergency-table
+%%DATADIR%%/pi_http/fraud_detection-mod
+%%DATADIR%%/pi_http/fraud_detection-table
+%%DATADIR%%/pi_http/freeswitch_scripting-mod
+%%DATADIR%%/pi_http/freeswitch_scripting-table
+%%DATADIR%%/pi_http/group-mod
+%%DATADIR%%/pi_http/group-table
+%%DATADIR%%/pi_http/imc-mod
+%%DATADIR%%/pi_http/imc-table
+%%DATADIR%%/pi_http/load_balancer-mod
+%%DATADIR%%/pi_http/load_balancer-table
+%%DATADIR%%/pi_http/msilo-mod
+%%DATADIR%%/pi_http/msilo-table
+%%DATADIR%%/pi_http/permissions-mod
+%%DATADIR%%/pi_http/permissions-table
+%%DATADIR%%/pi_http/pi_framework-00
+%%DATADIR%%/pi_http/pi_framework-01
+%%DATADIR%%/pi_http/pi_framework-02
+%%DATADIR%%/pi_http/pi_framework.xml
+%%DATADIR%%/pi_http/pi_framework_example.xml
+%%DATADIR%%/pi_http/presence-mod
+%%DATADIR%%/pi_http/presence-table
+%%DATADIR%%/pi_http/qrouting-mod
+%%DATADIR%%/pi_http/qrouting-table
+%%DATADIR%%/pi_http/ratecacher-mod
+%%DATADIR%%/pi_http/ratecacher-table
+%%DATADIR%%/pi_http/registrant-mod
+%%DATADIR%%/pi_http/registrant-table
+%%DATADIR%%/pi_http/rls-mod
+%%DATADIR%%/pi_http/rls-table
+%%DATADIR%%/pi_http/rtpengine-mod
+%%DATADIR%%/pi_http/rtpengine-table
+%%DATADIR%%/pi_http/rtpproxy-mod
+%%DATADIR%%/pi_http/rtpproxy-table
+%%DATADIR%%/pi_http/smpp-mod
+%%DATADIR%%/pi_http/smpp-table
+%%DATADIR%%/pi_http/speeddial-mod
+%%DATADIR%%/pi_http/speeddial-table
+%%DATADIR%%/pi_http/standard-mod
+%%DATADIR%%/pi_http/standard-table
+%%DATADIR%%/pi_http/tls_mgm-mod
+%%DATADIR%%/pi_http/tls_mgm-table
+%%DATADIR%%/pi_http/tracer-mod
+%%DATADIR%%/pi_http/tracer-table
+%%DATADIR%%/pi_http/userblacklist-mod
+%%DATADIR%%/pi_http/userblacklist-table
+%%DATADIR%%/pi_http/usrloc-mod
+%%DATADIR%%/pi_http/usrloc-table
+%%PGSQL%%%%DATADIR%%/postgres/acc-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/alias_db-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/auth_db-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/authjwt-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/avpops-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/b2b-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/b2b_sca-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/cachedb_sql-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/call_center-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/carrierroute-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/closeddial-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/clusterer-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/cpl-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/dialog-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/dialplan-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/dispatcher-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/domain-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/domainpolicy-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/drouting-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/emergency-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/fraud_detection-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/freeswitch_scripting-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/group-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/imc-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/load_balancer-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/msilo-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/permissions-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/presence-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/qrouting-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/ratecacher-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/registrant-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/rls-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/rtpengine-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/rtpproxy-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/smpp-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/speeddial-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/standard-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/tls_mgm-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/tracer-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/userblacklist-create.sql
+%%PGSQL%%%%DATADIR%%/postgres/usrloc-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/acc-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/alias_db-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/auth_db-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/authjwt-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/avpops-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/b2b-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/b2b_sca-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/cachedb_sql-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/call_center-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/carrierroute-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/closeddial-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/clusterer-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/cpl-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/dialog-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/dialplan-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/dispatcher-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/domain-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/domainpolicy-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/drouting-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/emergency-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/fraud_detection-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/freeswitch_scripting-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/group-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/imc-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/load_balancer-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/msilo-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/permissions-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/presence-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/qrouting-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/ratecacher-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/registrant-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/rls-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/rtpengine-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/rtpproxy-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/smpp-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/speeddial-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/standard-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/tls_mgm-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/tracer-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/userblacklist-create.sql
+%%SQLITE%%%%DATADIR%%/sqlite/usrloc-create.sql
+%%TESTS%%tests/opensips31/1.sh
+%%TESTS%%tests/opensips31/11.cfg
+%%TESTS%%tests/opensips31/11.sh
+%%TESTS%%tests/opensips31/12.cfg
+%%TESTS%%tests/opensips31/12.sh
+%%TESTS%%tests/opensips31/13.cfg
+%%TESTS%%tests/opensips31/13.sh
+%%TESTS%%tests/opensips31/14.cfg
+%%TESTS%%tests/opensips31/14.sh
+%%TESTS%%tests/opensips31/15.sh
+%%TESTS%%tests/opensips31/16.sh
+%%TESTS%%tests/opensips31/18.sh
+%%TESTS%%tests/opensips31/19.cfg
+%%TESTS%%tests/opensips31/19.sh
+%%TESTS%%tests/opensips31/2.cfg
+%%TESTS%%tests/opensips31/2.sh
+%%TESTS%%tests/opensips31/20.cfg
+%%TESTS%%tests/opensips31/20.sh
+%%TESTS%%tests/opensips31/21.cfg
+%%TESTS%%tests/opensips31/21.sh
+%%TESTS%%tests/opensips31/22.sh
+%%TESTS%%tests/opensips31/23.sh
+%%TESTS%%tests/opensips31/25.cfg
+%%TESTS%%tests/opensips31/25.sh
+%%TESTS%%tests/opensips31/26.cfg
+%%TESTS%%tests/opensips31/26.sh
+%%TESTS%%tests/opensips31/27.sh
+%%TESTS%%tests/opensips31/28.cfg
+%%TESTS%%tests/opensips31/28.sh
+%%TESTS%%tests/opensips31/29.sh
+%%TESTS%%tests/opensips31/30.cfg
+%%TESTS%%tests/opensips31/30.sh
+%%TESTS%%tests/opensips31/31.sh
+%%TESTS%%tests/opensips31/32.sh
+%%TESTS%%tests/opensips31/33.cfg
+%%TESTS%%tests/opensips31/33.sh
+%%TESTS%%tests/opensips31/34.cfg
+%%TESTS%%tests/opensips31/34.sh
+%%TESTS%%tests/opensips31/35.cfg
+%%TESTS%%tests/opensips31/35.sh
+%%TESTS%%tests/opensips31/4.sh
+%%TESTS%%tests/opensips31/5.cfg
+%%TESTS%%tests/opensips31/5.sh
+%%TESTS%%tests/opensips31/6.sh
+%%TESTS%%tests/opensips31/7.cfg
+%%TESTS%%tests/opensips31/7.sh
+%%TESTS%%tests/opensips31/Makefile
+%%TESTS%%tests/opensips31/README
+%%TESTS%%tests/opensips31/carrierroute-2.cfg
+%%TESTS%%tests/opensips31/carrierroute.cfg
+%%TESTS%%tests/opensips31/cpl_ignore.xml
+%%TESTS%%tests/opensips31/cpl_test.xml
+%%TESTS%%tests/opensips31/failure_route.xml
+%%TESTS%%tests/opensips31/include/common
+%%TESTS%%tests/opensips31/include/require
+%%TESTS%%tests/opensips31/inv_auth.xml
+%%TESTS%%tests/opensips31/presence.cfg
+%%TESTS%%tests/opensips31/publish.csv
+%%TESTS%%tests/opensips31/publish_scenario.xml
+%%TESTS%%tests/opensips31/reg_auth.xml
+%%TESTS%%tests/opensips31/register.sip
+%%TESTS%%tests/opensips31/subscribe_notify.csv
+%%TESTS%%tests/opensips31/subscribe_notify_scenario.xml
+%%TESTS%%tests/opensips31/test_ut.c
+%%TESTS%%tests/opensips31/test_ut.h
+%%TESTS%%tests/opensips31/unit_tests.c
+%%TESTS%%tests/opensips31/unit_tests.h
+%%TESTS%%tests/opensips31/unregister.sip
+%%TESTS%%tests/opensips31/ut.c
+%%TESTS%%tests/opensips31/ut.h
+@mode 600
+@owner opensips
+@group opensips
+%%RADIUS%%@sample %%ETCDIR%%/dictionary.opensips.sample
+%%ETCDIR%%/scenario_callcenter.xml
+@sample %%ETCDIR%%/opensips.cfg.sample