diff --git net/kamailio/Makefile net/kamailio/Makefile index 4f5c993bb1e7..5a779e04a9b1 100644 --- net/kamailio/Makefile +++ net/kamailio/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= kamailio -PORTVERSION= 5.0.1 +PORTVERSION= 5.1.2 PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.kamailio.org/pub/kamailio/${PORTVERSION}/src/ diff --git net/kamailio/distinfo net/kamailio/distinfo index 3f850d675673..2426795cd70d 100644 --- net/kamailio/distinfo +++ net/kamailio/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1492762108 -SHA256 (kamailio-5.0.1_src.tar.gz) = b26a719a3c1fccb717e6bb009601ccbad32c5c5b6569e2a322fe12cd7d5b7c00 -SIZE (kamailio-5.0.1_src.tar.gz) = 11614011 +TIMESTAMP = 1524242380 +SHA256 (kamailio-5.1.2_src.tar.gz) = 6ec9cefa1fa0b7e2090e41f34172db511dafa27c0c11e2b8c2140bc875b16b5d +SIZE (kamailio-5.1.2_src.tar.gz) = 12010615 diff --git net/kamailio/files/patch-src_Makefile net/kamailio/files/patch-src_Makefile index ea050ea4903d..faa1630af042 100644 --- net/kamailio/files/patch-src_Makefile +++ net/kamailio/files/patch-src_Makefile @@ -1,4 +1,4 @@ ---- src/Makefile.orig 2017-04-21 12:46:05 UTC +--- src/Makefile.orig 2018-03-01 16:24:06 UTC +++ src/Makefile @@ -34,7 +34,7 @@ err_fail?=1 # whether or not to install $(MAIN_NAME).cfg or just $(MAIN_NAME).cfg.default @@ -9,7 +9,7 @@ #extra modules to exclude skip_modules?= -@@ -649,7 +649,7 @@ sunpkg: +@@ -651,7 +651,7 @@ sunpkg: .PHONY: install install: mk_params="compile_for_install=yes" install: install-bin install-every-module install-cfg \ @@ -18,18 +18,3 @@ .PHONY: dbinstall dbinstall: -@@ -764,10 +764,10 @@ install-cfg: $(cfg_prefix)/$(cfg_dir) - fi ; \ - fi ; \ - : ; done; true -- @# radius dictionary -- @$(INSTALL_TOUCH) $(cfg_prefix)/$(cfg_dir)/dictionary.$(CFG_NAME) -- @$(INSTALL_CFG) ../etc/dictionary.$(CFG_NAME) $(cfg_prefix)/$(cfg_dir) -- @echo "config files installed" -+ # radius dictionary -+ $(INSTALL_TOUCH) $(cfg_prefix)/$(cfg_dir)/dictionary.$(CFG_NAME).sample -+ $(INSTALL_CFG) ../etc/dictionary.$(CFG_NAME) $(cfg_prefix)/$(cfg_dir)/dictionary.$(CFG_NAME).sample -+ echo "config files installed" - - install-bin: $(bin_prefix)/$(bin_dir) $(NAME) - $(INSTALL_TOUCH) $(bin_prefix)/$(bin_dir)/$(NAME) diff --git net/kamailio/files/patch-src_Makefile.defs net/kamailio/files/patch-src_Makefile.defs index ac730a0ad841..2a8b4a506a29 100644 --- net/kamailio/files/patch-src_Makefile.defs +++ net/kamailio/files/patch-src_Makefile.defs @@ -1,4 +1,4 @@ ---- src/Makefile.defs.orig 2017-04-21 13:52:06 UTC +--- src/Makefile.defs.orig 2018-03-01 16:24:11 UTC +++ src/Makefile.defs @@ -208,7 +208,7 @@ YACC := $(shell echo "$${YACC}") @@ -18,7 +18,7 @@ RPAREN=) CC_VER:=$(word 1,$(CC)) $(shell $(CC) - --version|head -n 1|\ sed -e 's/([^$(RPAREN)]*)//g' \ -@@ -386,7 +386,7 @@ LIBDIR ?= +@@ -390,7 +390,7 @@ LIBDIR ?= ifeq ($(LIBDIR),) ARCHBSZ= $(shell echo $(ARCH) | sed -e 's/.*64.*/64b/') ifeq ($(ARCHBSZ),64b) @@ -27,7 +27,7 @@ else LIBDIR = lib endif -@@ -460,7 +460,7 @@ doxygen_dir=doc/doxygen +@@ -464,7 +464,7 @@ doxygen_dir=doc/doxygen BASEDIR ?= $(DESTDIR) basedir = $(BASEDIR) @@ -36,7 +36,7 @@ runbasedir = $(RUNBASEDIR) # install location -@@ -1722,7 +1722,7 @@ ifeq ($(YACC),) +@@ -1743,7 +1743,7 @@ ifeq ($(YACC),) endif YACC_FLAGS=-d -b core/cfg # on solaris add -lxnet (e.g. LIBS= -lxnet) diff --git net/kamailio/files/patch-src_core_ip__addr.h net/kamailio/files/patch-src_core_ip__addr.h index eb5b5a5b5e75..5116eb1ec2ad 100644 --- net/kamailio/files/patch-src_core_ip__addr.h +++ net/kamailio/files/patch-src_core_ip__addr.h @@ -1,6 +1,6 @@ ---- src/core/ip_addr.h.orig 2017-04-21 12:46:05 UTC +--- src/core/ip_addr.h.orig 2018-03-01 16:24:06 UTC +++ src/core/ip_addr.h -@@ -49,6 +49,10 @@ enum sip_protos { PROTO_NONE, PROTO_UDP, PROTO_TCP, PR +@@ -49,6 +49,10 @@ enum sip_protos { PROTO_NONE, PROTO_UDP, enum comp_methods { COMP_NONE, COMP_SIGCOMP, COMP_SERGZ }; #endif @@ -8,6 +8,6 @@ +#define INADDR_LOOPBACK (u_int32_t)0x7f000001 +#endif + - struct ip_addr{ - unsigned int af; /* address family: AF_INET6 or AF_INET */ - unsigned int len; /* address len, 16 or 4 */ + typedef struct ip_addr { + unsigned int af; /* address family: AF_INET6 or AF_INET */ + unsigned int len; /* address len, 16 or 4 */ diff --git net/kamailio/files/patch-src_main.c net/kamailio/files/patch-src_main.c index eacdb2737810..61adc641ab15 100644 --- net/kamailio/files/patch-src_main.c +++ net/kamailio/files/patch-src_main.c @@ -1,4 +1,4 @@ ---- src/main.c.orig 2017-04-21 12:46:05 UTC +--- src/main.c.orig 2018-03-01 16:24:07 UTC +++ src/main.c @@ -362,7 +362,7 @@ int received_dns = 0; int sr_auto_aliases=1; diff --git net/kamailio/files/patch-src_modules_ctl_ctl.c net/kamailio/files/patch-src_modules_ctl_ctl.c index 1a2103c7c21f..a0dc3ac9b622 100644 --- net/kamailio/files/patch-src_modules_ctl_ctl.c +++ net/kamailio/files/patch-src_modules_ctl_ctl.c @@ -1,6 +1,6 @@ ---- src/modules/ctl/ctl.c.orig 2017-04-21 13:48:39 UTC +--- src/modules/ctl/ctl.c.orig 2018-03-01 16:24:09 UTC +++ src/modules/ctl/ctl.c -@@ -238,8 +238,7 @@ static int mod_init(void) +@@ -240,8 +240,7 @@ static int mod_init(void) return -1; } strcpy(ctl_socket_path, DEFAULT_CTL_SOCKET_PROTO); diff --git net/kamailio/files/patch-src_modules_ctl_ctl__defaults.h net/kamailio/files/patch-src_modules_ctl_ctl__defaults.h index 4455b720a77f..1a728691494a 100644 --- net/kamailio/files/patch-src_modules_ctl_ctl__defaults.h +++ net/kamailio/files/patch-src_modules_ctl_ctl__defaults.h @@ -1,4 +1,4 @@ ---- src/modules/ctl/ctl_defaults.h.orig 2017-04-21 12:46:05 UTC +--- src/modules/ctl/ctl_defaults.h.orig 2018-03-01 16:24:09 UTC +++ src/modules/ctl/ctl_defaults.h @@ -13,7 +13,7 @@ #define DEFAULT_CTL_SOCKET_NAME NAME "_ctl" diff --git net/kamailio/files/patch-src_modules_db__berkeley_Makefile net/kamailio/files/patch-src_modules_db__berkeley_Makefile index 30ad791748ba..30b192316dff 100644 --- net/kamailio/files/patch-src_modules_db__berkeley_Makefile +++ net/kamailio/files/patch-src_modules_db__berkeley_Makefile @@ -1,4 +1,4 @@ ---- src/modules/db_berkeley/Makefile.orig 2017-04-21 12:46:05 UTC +--- src/modules/db_berkeley/Makefile.orig 2018-03-01 16:24:09 UTC +++ src/modules/db_berkeley/Makefile @@ -25,7 +25,7 @@ ifeq ($(INSTALL_FLAVOUR),kamailio) # extra install for kamailio diff --git net/kamailio/files/patch-src_modules_db__oracle_Makefile net/kamailio/files/patch-src_modules_db__oracle_Makefile index a1cdef378659..b52f69b9ab59 100644 --- net/kamailio/files/patch-src_modules_db__oracle_Makefile +++ net/kamailio/files/patch-src_modules_db__oracle_Makefile @@ -1,6 +1,6 @@ ---- src/modules/db_oracle/Makefile.orig 2017-04-21 12:46:05 UTC +--- src/modules/db_oracle/Makefile.orig 2018-03-01 16:24:09 UTC +++ src/modules/db_oracle/Makefile -@@ -70,7 +70,7 @@ ifeq ($(INSTALL_FLAVOUR),kamailio) +@@ -19,7 +19,7 @@ ifeq ($(INSTALL_FLAVOUR),kamailio) # extra install for kamailio install-oracle-scripts: $(bin_prefix)/$(bin_dir) diff --git net/kamailio/files/patch-src_modules_db__sqlite_Makefile net/kamailio/files/patch-src_modules_db__sqlite_Makefile index 8aff7d996e54..827b1ff0cb22 100644 --- net/kamailio/files/patch-src_modules_db__sqlite_Makefile +++ net/kamailio/files/patch-src_modules_db__sqlite_Makefile @@ -1,4 +1,4 @@ ---- src/modules/db_sqlite/Makefile.orig 2017-04-21 12:46:06 UTC +--- src/modules/db_sqlite/Makefile.orig 2018-03-01 16:24:09 UTC +++ src/modules/db_sqlite/Makefile @@ -22,7 +22,7 @@ ifeq ($(INSTALL_FLAVOUR),kamailio) # extra install for kamailio diff --git net/kamailio/files/patch-src_modules_tls_Makefile net/kamailio/files/patch-src_modules_tls_Makefile index e86ac2088b84..1adf6d1ad929 100644 --- net/kamailio/files/patch-src_modules_tls_Makefile +++ net/kamailio/files/patch-src_modules_tls_Makefile @@ -1,4 +1,4 @@ ---- src/modules/tls/Makefile.orig 2017-04-21 12:46:06 UTC +--- src/modules/tls/Makefile.orig 2018-03-01 16:24:10 UTC +++ src/modules/tls/Makefile @@ -8,6 +8,8 @@ include ../../Makefile.defs auto_gen= diff --git net/kamailio/files/patch-src_modules_tls_sip-router__cert.sh net/kamailio/files/patch-src_modules_tls_sip-router__cert.sh index 859ac63c52f3..704ee26eeab9 100644 --- net/kamailio/files/patch-src_modules_tls_sip-router__cert.sh +++ net/kamailio/files/patch-src_modules_tls_sip-router__cert.sh @@ -1,4 +1,4 @@ ---- src/modules/tls/sip-router_cert.sh.orig 2017-04-21 12:46:06 UTC +--- src/modules/tls/sip-router_cert.sh.orig 2018-03-01 16:24:10 UTC +++ src/modules/tls/sip-router_cert.sh @@ -197,5 +197,6 @@ if [ $? != 0 ] ; then else diff --git net/kamailio/files/patch-src_modules_websocket_ws__frame.c net/kamailio/files/patch-src_modules_websocket_ws__frame.c index a2ccc98cf958..2d44cf2da71a 100644 --- net/kamailio/files/patch-src_modules_websocket_ws__frame.c +++ net/kamailio/files/patch-src_modules_websocket_ws__frame.c @@ -1,4 +1,4 @@ ---- src/modules/websocket/ws_frame.c.orig 2017-04-21 12:46:06 UTC +--- src/modules/websocket/ws_frame.c.orig 2018-03-01 16:24:10 UTC +++ src/modules/websocket/ws_frame.c @@ -29,7 +29,7 @@ #ifdef EMBEDDED_UTF8_DECODE diff --git net/kamailio/files/patch-utils_kamctl_Makefile net/kamailio/files/patch-utils_kamctl_Makefile index 1c660357987e..eaa9c338b431 100644 --- net/kamailio/files/patch-utils_kamctl_Makefile +++ net/kamailio/files/patch-utils_kamctl_Makefile @@ -1,4 +1,4 @@ ---- utils/kamctl/Makefile.orig 2017-04-21 12:46:06 UTC +--- utils/kamctl/Makefile.orig 2018-03-01 16:24:11 UTC +++ utils/kamctl/Makefile @@ -8,6 +8,8 @@ else kamctltmpdir = $(basedir) diff --git net/kamailio/pkg-plist net/kamailio/pkg-plist index 54395a7e83e4..9bb958b6534a 100644 --- net/kamailio/pkg-plist +++ net/kamailio/pkg-plist @@ -2,12 +2,10 @@ sbin/kamailio sbin/kamcmd sbin/kamctl sbin/kamdbctl -@sample etc/kamailio/dictionary.kamailio.sample -@sample etc/kamailio/kamailio-advanced.cfg.sample -@sample etc/kamailio/kamailio-basic.cfg.sample @sample etc/kamailio/kamailio.cfg.sample @sample etc/kamailio/kamctlrc.sample %%TLS%%@sample etc/kamailio/tls.cfg.sample +%%ETCDIR%%/dictionary.kamailio lib/kamailio/libprint.so lib/kamailio/libprint.so.1 lib/kamailio/libsrdb1.so @@ -32,9 +30,11 @@ lib/kamailio/kamctl/kamdbctl.base %%PGSQL%%lib/kamailio/kamctl/kamdbctl.pgsql %%MYSQL%%lib/kamailio/kamctl/dbtextdb/dbtextdb.py %%MYSQL%%lib/kamailio/modules/acc.so +lib/kamailio/modules/acc_diameter.so %%MYSQL%%lib/kamailio/modules/alias_db.so lib/kamailio/modules/app_jsdt.so %%PERL%%lib/kamailio/modules/app_perl.so +lib/kamailio/modules/app_sqlang.so lib/kamailio/modules/async.so lib/kamailio/modules/auth.so %%MYSQL%%lib/kamailio/modules/auth_db.so @@ -46,6 +46,7 @@ lib/kamailio/modules/avp.so lib/kamailio/modules/benchmark.so lib/kamailio/modules/blst.so lib/kamailio/modules/call_control.so +lib/kamailio/modules/call_obj.so %%MYSQL%%lib/kamailio/modules/cfg_db.so lib/kamailio/modules/cfg_rpc.so lib/kamailio/modules/cfgt.so @@ -70,12 +71,14 @@ lib/kamailio/modules/dmq_usrloc.so lib/kamailio/modules/domainpolicy.so %%MYSQL%%lib/kamailio/modules/drouting.so lib/kamailio/modules/enum.so +lib/kamailio/modules/evrexec.so lib/kamailio/modules/exec.so %%MYSQL%%lib/kamailio/modules/group.so %%MYSQL%%lib/kamailio/modules/htable.so %%MYSQL%%lib/kamailio/modules/imc.so lib/kamailio/modules/ipops.so lib/kamailio/modules/jsonrpcs.so +lib/kamailio/modules/keepalive.so lib/kamailio/modules/kex.so lib/kamailio/modules/log_custom.so lib/kamailio/modules/malloc_test.so @@ -116,6 +119,7 @@ lib/kamailio/modules/sca.so lib/kamailio/modules/sdpops.so lib/kamailio/modules/seas.so %%MYSQL%%lib/kamailio/modules/sipcapture.so +lib/kamailio/modules/sipdump.so lib/kamailio/modules/sipt.so %%MYSQL%%lib/kamailio/modules/siptrace.so lib/kamailio/modules/siputils.so @@ -335,11 +339,13 @@ lib/kamailio/modules/xprint.so %%PGSQL%%%%DATADIR%%/postgres/purple-create.sql %%PGSQL%%%%DATADIR%%/postgres/registrar-create.sql %%PGSQL%%%%DATADIR%%/postgres/rls-create.sql +%%PGSQL%%%%DATADIR%%/postgres/rtpengine-create.sql %%PGSQL%%%%DATADIR%%/postgres/rtpproxy-create.sql %%PGSQL%%%%DATADIR%%/postgres/sca-create.sql %%PGSQL%%%%DATADIR%%/postgres/siptrace-create.sql %%PGSQL%%%%DATADIR%%/postgres/speeddial-create.sql %%PGSQL%%%%DATADIR%%/postgres/standard-create.sql +%%PGSQL%%%%DATADIR%%/postgres/topos-create.sql %%PGSQL%%%%DATADIR%%/postgres/uac-create.sql %%PGSQL%%%%DATADIR%%/postgres/uid_auth_db-create.sql %%PGSQL%%%%DATADIR%%/postgres/uid_avp_db-create.sql