Date: Sun, 6 May 2018 06:57:59 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469180 - in head/net/kamailio: . files Message-ID: <201805060657.w466vxJS070784@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Sun May 6 06:57:59 2018 New Revision: 469180 URL: https://svnweb.freebsd.org/changeset/ports/469180 Log: net/kamailio: update 5.0.1 -> 5.1.3 - lots of changes PR: 227677 Submitted by: Ben Hood <ben@relops.com> Relnotes: https://www.kamailio.org/w/kamailio-v5-1-0-release-notes/ https://www.kamailio.org/pub/kamailio/5.1.3/ChangeLog https://www.kamailio.org/pub/kamailio/5.1.2/ChangeLog https://www.kamailio.org/pub/kamailio/5.1.1/ChangeLog https://www.kamailio.org/pub/kamailio/5.1.0/ChangeLog https://www.kamailio.org/pub/kamailio/5.0.6/ChangeLog Security: CVE-2018-8828 Modified: head/net/kamailio/Makefile head/net/kamailio/distinfo head/net/kamailio/files/patch-src_Makefile head/net/kamailio/files/patch-src_Makefile.defs head/net/kamailio/files/patch-src_core_ip__addr.h head/net/kamailio/files/patch-src_main.c head/net/kamailio/files/patch-src_modules_ctl_ctl.c head/net/kamailio/files/patch-src_modules_ctl_ctl__defaults.h head/net/kamailio/files/patch-src_modules_db__berkeley_Makefile head/net/kamailio/files/patch-src_modules_db__oracle_Makefile head/net/kamailio/files/patch-src_modules_db__sqlite_Makefile head/net/kamailio/files/patch-src_modules_tls_Makefile head/net/kamailio/files/patch-src_modules_tls_sip-router__cert.sh head/net/kamailio/files/patch-src_modules_websocket_ws__frame.c head/net/kamailio/files/patch-utils_kamctl_Makefile head/net/kamailio/pkg-plist Modified: head/net/kamailio/Makefile ============================================================================== --- head/net/kamailio/Makefile Sun May 6 06:44:24 2018 (r469179) +++ head/net/kamailio/Makefile Sun May 6 06:57:59 2018 (r469180) @@ -2,8 +2,8 @@ # $FreeBSD$ PORTNAME= kamailio -PORTVERSION= 5.0.1 -PORTREVISION= 1 +PORTVERSION= 5.1.3 + CATEGORIES= net MASTER_SITES= http://www.kamailio.org/pub/kamailio/${PORTVERSION}/src/ DISTNAME= ${PORTNAME}-${PORTVERSION}_src Modified: head/net/kamailio/distinfo ============================================================================== --- head/net/kamailio/distinfo Sun May 6 06:44:24 2018 (r469179) +++ head/net/kamailio/distinfo Sun May 6 06:57:59 2018 (r469180) @@ -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 = 1525555079 +SHA256 (kamailio-5.1.3_src.tar.gz) = b2266e15ec8ffa62be66b44989155f26a31d137f06f81fb3841aad8315315a14 +SIZE (kamailio-5.1.3_src.tar.gz) = 12015322 Modified: head/net/kamailio/files/patch-src_Makefile ============================================================================== --- head/net/kamailio/files/patch-src_Makefile Sun May 6 06:44:24 2018 (r469179) +++ head/net/kamailio/files/patch-src_Makefile Sun May 6 06:57:59 2018 (r469180) @@ -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) Modified: head/net/kamailio/files/patch-src_Makefile.defs ============================================================================== --- head/net/kamailio/files/patch-src_Makefile.defs Sun May 6 06:44:24 2018 (r469179) +++ head/net/kamailio/files/patch-src_Makefile.defs Sun May 6 06:57:59 2018 (r469180) @@ -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) Modified: head/net/kamailio/files/patch-src_core_ip__addr.h ============================================================================== --- head/net/kamailio/files/patch-src_core_ip__addr.h Sun May 6 06:44:24 2018 (r469179) +++ head/net/kamailio/files/patch-src_core_ip__addr.h Sun May 6 06:57:59 2018 (r469180) @@ -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 */ Modified: head/net/kamailio/files/patch-src_main.c ============================================================================== --- head/net/kamailio/files/patch-src_main.c Sun May 6 06:44:24 2018 (r469179) +++ head/net/kamailio/files/patch-src_main.c Sun May 6 06:57:59 2018 (r469180) @@ -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; Modified: head/net/kamailio/files/patch-src_modules_ctl_ctl.c ============================================================================== --- head/net/kamailio/files/patch-src_modules_ctl_ctl.c Sun May 6 06:44:24 2018 (r469179) +++ head/net/kamailio/files/patch-src_modules_ctl_ctl.c Sun May 6 06:57:59 2018 (r469180) @@ -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); Modified: head/net/kamailio/files/patch-src_modules_ctl_ctl__defaults.h ============================================================================== --- head/net/kamailio/files/patch-src_modules_ctl_ctl__defaults.h Sun May 6 06:44:24 2018 (r469179) +++ head/net/kamailio/files/patch-src_modules_ctl_ctl__defaults.h Sun May 6 06:57:59 2018 (r469180) @@ -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" Modified: head/net/kamailio/files/patch-src_modules_db__berkeley_Makefile ============================================================================== --- head/net/kamailio/files/patch-src_modules_db__berkeley_Makefile Sun May 6 06:44:24 2018 (r469179) +++ head/net/kamailio/files/patch-src_modules_db__berkeley_Makefile Sun May 6 06:57:59 2018 (r469180) @@ -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 Modified: head/net/kamailio/files/patch-src_modules_db__oracle_Makefile ============================================================================== --- head/net/kamailio/files/patch-src_modules_db__oracle_Makefile Sun May 6 06:44:24 2018 (r469179) +++ head/net/kamailio/files/patch-src_modules_db__oracle_Makefile Sun May 6 06:57:59 2018 (r469180) @@ -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) Modified: head/net/kamailio/files/patch-src_modules_db__sqlite_Makefile ============================================================================== --- head/net/kamailio/files/patch-src_modules_db__sqlite_Makefile Sun May 6 06:44:24 2018 (r469179) +++ head/net/kamailio/files/patch-src_modules_db__sqlite_Makefile Sun May 6 06:57:59 2018 (r469180) @@ -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 Modified: head/net/kamailio/files/patch-src_modules_tls_Makefile ============================================================================== --- head/net/kamailio/files/patch-src_modules_tls_Makefile Sun May 6 06:44:24 2018 (r469179) +++ head/net/kamailio/files/patch-src_modules_tls_Makefile Sun May 6 06:57:59 2018 (r469180) @@ -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= Modified: head/net/kamailio/files/patch-src_modules_tls_sip-router__cert.sh ============================================================================== --- head/net/kamailio/files/patch-src_modules_tls_sip-router__cert.sh Sun May 6 06:44:24 2018 (r469179) +++ head/net/kamailio/files/patch-src_modules_tls_sip-router__cert.sh Sun May 6 06:57:59 2018 (r469180) @@ -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 Modified: head/net/kamailio/files/patch-src_modules_websocket_ws__frame.c ============================================================================== --- head/net/kamailio/files/patch-src_modules_websocket_ws__frame.c Sun May 6 06:44:24 2018 (r469179) +++ head/net/kamailio/files/patch-src_modules_websocket_ws__frame.c Sun May 6 06:57:59 2018 (r469180) @@ -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 Modified: head/net/kamailio/files/patch-utils_kamctl_Makefile ============================================================================== --- head/net/kamailio/files/patch-utils_kamctl_Makefile Sun May 6 06:44:24 2018 (r469179) +++ head/net/kamailio/files/patch-utils_kamctl_Makefile Sun May 6 06:57:59 2018 (r469180) @@ -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) Modified: head/net/kamailio/pkg-plist ============================================================================== --- head/net/kamailio/pkg-plist Sun May 6 06:44:24 2018 (r469179) +++ head/net/kamailio/pkg-plist Sun May 6 06:57:59 2018 (r469180) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805060657.w466vxJS070784>