summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2017-05-31 13:23:26 +0000
committerKurt Jaeger <pi@FreeBSD.org>2017-05-31 13:23:26 +0000
commit6767e9c9afc49c6777e8b385903f303914ec2f5f (patch)
tree25acfc88d39e0e90d06182fe3b8a3463ffbb3511 /net
parentUpdate pango to 1.40.6. (diff)
net/kamailio: update 4.4.3 -> 5.0.1
This is a major release, introducing a consistent set of new features as well as improvements to existing components. Reviewed by: Alexey V. Panfilov <ports@subnets.ru> Relnotes: https://www.kamailio.org/w/kamailio-v5-0-0-release-notes/
Diffstat (limited to 'net')
-rw-r--r--net/kamailio/Makefile15
-rw-r--r--net/kamailio/distinfo6
-rw-r--r--net/kamailio/files/patch-modules__db_berkeley__Makefile11
-rw-r--r--net/kamailio/files/patch-modules__db_oracle__Makefile11
-rw-r--r--net/kamailio/files/patch-modules__db_sqlite__Makefile11
-rw-r--r--net/kamailio/files/patch-modules_app__perl_kamailioxs.xs11
-rw-r--r--net/kamailio/files/patch-modules_ctl_ctl__defaults.h15
-rw-r--r--net/kamailio/files/patch-src_Makefile (renamed from net/kamailio/files/patch-Makefile)12
-rw-r--r--net/kamailio/files/patch-src_Makefile.defs (renamed from net/kamailio/files/patch-Makefile.defs)23
-rw-r--r--net/kamailio/files/patch-src_core_ip__addr.h (renamed from net/kamailio/files/patch-ip__addr.h)8
-rw-r--r--net/kamailio/files/patch-src_main.c (renamed from net/kamailio/files/patch-main.c)6
-rw-r--r--net/kamailio/files/patch-src_modules_ctl_ctl.c12
-rw-r--r--net/kamailio/files/patch-src_modules_ctl_ctl__defaults.h11
-rw-r--r--net/kamailio/files/patch-src_modules_db__berkeley_Makefile11
-rw-r--r--net/kamailio/files/patch-src_modules_db__oracle_Makefile11
-rw-r--r--net/kamailio/files/patch-src_modules_db__sqlite_Makefile11
-rw-r--r--net/kamailio/files/patch-src_modules_tls_Makefile (renamed from net/kamailio/files/patch-modules__tls__Makefile)4
-rw-r--r--net/kamailio/files/patch-src_modules_tls_sip-router__cert.sh (renamed from net/kamailio/files/patch-modules_tls_sip-router__cert.sh)4
-rw-r--r--net/kamailio/files/patch-src_modules_websocket_ws__frame.c (renamed from net/kamailio/files/patch-modules_websocket_ws__frame.c)6
-rw-r--r--net/kamailio/files/patch-utils__kamcmd__Makefile22
-rw-r--r--net/kamailio/files/patch-utils_kamctl_Makefile (renamed from net/kamailio/files/patch-utils__kamctl__Makefile)6
-rw-r--r--net/kamailio/pkg-descr2
-rw-r--r--net/kamailio/pkg-plist21
23 files changed, 111 insertions, 139 deletions
diff --git a/net/kamailio/Makefile b/net/kamailio/Makefile
index 936efee7863c..c3c5c357bb4d 100644
--- a/net/kamailio/Makefile
+++ b/net/kamailio/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= kamailio
-PORTVERSION= 4.4.3
+PORTVERSION= 5.0.1
CATEGORIES= net
MASTER_SITES= http://www.kamailio.org/pub/kamailio/${PORTVERSION}/src/
DISTNAME= ${PORTNAME}-${PORTVERSION}_src
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash
BROKEN_powerpc64= Does not build: /bin/sh: clang: not found
-USES= gmake ncurses readline shebangfix
+USES= gmake ncurses python readline shebangfix
USE_LDCONFIG= yes
SHEBANG_FILES= utils/kamctl/dbtextdb/dbtextdb.py \
utils/kamctl/kamctl utils/kamctl/kamdbctl
@@ -33,9 +33,9 @@ USE_RC_SUBR= kamailio
USERS= kamailio
GROUPS= kamailio
-OPTIONS_DEFINE= DOCS MYSQL PGSQL PERL RADIUS JITSI JABBER SCTP TLS \
+OPTIONS_DEFINE= DOCS MYSQL PGSQL PERL RADIUS JITSI SCTP TLS \
UNIXODBC PRESENCE WEBSOCKET DIALPLAN
-OPTIONS_DEFAULT=MYSQL RADIUS JABBER TLS PRESENCE
+OPTIONS_DEFAULT=MYSQL RADIUS TLS PRESENCE
OPTIONS_SUB= YES
DIALPLAN_DESC= Dialplan support
@@ -93,10 +93,6 @@ EXTRA_MODULES+= dialplan
EXTRA_GROUPS+= radius
.endif
-.if ${PORT_OPTIONS:MJABBER}
-EXTRA_MODULES+= jabber
-.endif
-
.if ${PORT_OPTIONS:MSCTP}
EXTRA_MODULES+= sctp
.endif
@@ -173,7 +169,8 @@ do-install:
pua_dialoginfo pua_mi pua_reginfo pua_usrloc rls \
acc_radius misc_radius peering pua pua_xmpp xcap_client xcap_server \
tcpops auth_xkeys statsd dmq_usrloc rtjson websocket sctp \
- app_perl cfgt smsops log_custom topos statsc dialplan
+ app_perl cfgt smsops log_custom topos statsc dialplan \
+ ss7ops app_jsdt jsonrpcs pua_rpc
@if [ -e ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules/${i}.so ]; then \
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules/${i}.so; \
fi
diff --git a/net/kamailio/distinfo b/net/kamailio/distinfo
index 2c8c8d7c2940..3f850d675673 100644
--- a/net/kamailio/distinfo
+++ b/net/kamailio/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1475523141
-SHA256 (kamailio-4.4.3_src.tar.gz) = c3e5c312c99f15f68b201ba6c75db07b01e65199b792d4d8cf6ecfe3adc22e58
-SIZE (kamailio-4.4.3_src.tar.gz) = 11707809
+TIMESTAMP = 1492762108
+SHA256 (kamailio-5.0.1_src.tar.gz) = b26a719a3c1fccb717e6bb009601ccbad32c5c5b6569e2a322fe12cd7d5b7c00
+SIZE (kamailio-5.0.1_src.tar.gz) = 11614011
diff --git a/net/kamailio/files/patch-modules__db_berkeley__Makefile b/net/kamailio/files/patch-modules__db_berkeley__Makefile
deleted file mode 100644
index e7134aad1ce5..000000000000
--- a/net/kamailio/files/patch-modules__db_berkeley__Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- modules/db_berkeley/Makefile.orig 2015-07-20 13:16:25 UTC
-+++ modules/db_berkeley/Makefile
-@@ -24,7 +24,7 @@ ifeq ($(INSTALL_FLAVOUR),kamailio)
- # extra install for kamailio
-
- install-berkeley-scripts: $(bin_prefix)/$(bin_dir)
-- BERKELEYDBON=yes make -C ../../utils/kamctl/ install-modules
-+ BERKELEYDBON=yes $(MAKE) -C ../../utils/kamctl/ install-modules
-
- install-scripts: install-berkeley-scripts
-
diff --git a/net/kamailio/files/patch-modules__db_oracle__Makefile b/net/kamailio/files/patch-modules__db_oracle__Makefile
deleted file mode 100644
index 992f78d0583f..000000000000
--- a/net/kamailio/files/patch-modules__db_oracle__Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- modules/db_oracle/Makefile.orig 2015-07-20 13:16:25 UTC
-+++ modules/db_oracle/Makefile
-@@ -70,7 +70,7 @@ ifeq ($(INSTALL_FLAVOUR),kamailio)
- # extra install for kamailio
-
- install-oracle-scripts: $(bin_prefix)/$(bin_dir)
-- ORACLEON=yes make -C ../../utils/kamctl/ install-modules
-+ ORACLEON=yes $(MAKE) -C ../../utils/kamctl/ install-modules
-
- install-scripts: install-oracle-scripts
-
diff --git a/net/kamailio/files/patch-modules__db_sqlite__Makefile b/net/kamailio/files/patch-modules__db_sqlite__Makefile
deleted file mode 100644
index 3e484f9565a0..000000000000
--- a/net/kamailio/files/patch-modules__db_sqlite__Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- modules/db_sqlite/Makefile.orig 2015-07-20 13:16:25 UTC
-+++ modules/db_sqlite/Makefile
-@@ -22,7 +22,7 @@ ifeq ($(INSTALL_FLAVOUR),kamailio)
- # extra install for kamailio
-
- install-sqlite-scripts: $(bin_prefix)/$(bin_dir)
-- SQLITEON=yes make -C ../../utils/kamctl/ install-modules
-+ SQLITEON=yes $(MAKE) -C ../../utils/kamctl/ install-modules
-
- install-scripts: install-sqlite-scripts
-
diff --git a/net/kamailio/files/patch-modules_app__perl_kamailioxs.xs b/net/kamailio/files/patch-modules_app__perl_kamailioxs.xs
deleted file mode 100644
index 807b1474074b..000000000000
--- a/net/kamailio/files/patch-modules_app__perl_kamailioxs.xs
+++ /dev/null
@@ -1,11 +0,0 @@
---- modules/app_perl/kamailioxs.xs.orig 2015-07-20 13:16:25 UTC
-+++ modules/app_perl/kamailioxs.xs
-@@ -402,7 +402,7 @@ char *pv_sprintf(struct sip_msg *m, char
- * - strflag: flag mask to be or-applied for string match
- */
-
--inline int sv2int_str(SV *val, int_str *is,
-+static inline int sv2int_str(SV *val, int_str *is,
- unsigned short *flags, unsigned short strflag) {
- char *s;
- STRLEN len;
diff --git a/net/kamailio/files/patch-modules_ctl_ctl__defaults.h b/net/kamailio/files/patch-modules_ctl_ctl__defaults.h
deleted file mode 100644
index 294f990c8e6f..000000000000
--- a/net/kamailio/files/patch-modules_ctl_ctl__defaults.h
+++ /dev/null
@@ -1,15 +0,0 @@
---- modules/ctl/ctl_defaults.h.orig 2015-07-20 13:16:25 UTC
-+++ modules/ctl/ctl_defaults.h
-@@ -4,10 +4,10 @@
- /*listen by default on: */
- #ifdef SRNAME
- /* this is used when compiling sercmd tool */
--#define DEFAULT_CTL_SOCKET "unixs:" RUN_DIR "/" SRNAME "_ctl"
-+#define DEFAULT_CTL_SOCKET "unixs:" "/var/run/" SRNAME "_ctl"
- #else
- /* this is used when compiling sip server */
--#define DEFAULT_CTL_SOCKET "unixs:" RUN_DIR "/" NAME "_ctl"
-+#define DEFAULT_CTL_SOCKET "unixs:" "/var/run/" NAME "_ctl"
- #endif
- /* port used by default for tcp/udp if no port is explicitely specified */
- #define DEFAULT_CTL_PORT 2049
diff --git a/net/kamailio/files/patch-Makefile b/net/kamailio/files/patch-src_Makefile
index e2c4fee9a7e4..ea050ea4903d 100644
--- a/net/kamailio/files/patch-Makefile
+++ b/net/kamailio/files/patch-src_Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2015-07-20 13:16:24 UTC
-+++ Makefile
+--- src/Makefile.orig 2017-04-21 12:46:05 UTC
++++ src/Makefile
@@ -34,7 +34,7 @@ err_fail?=1
# whether or not to install $(MAIN_NAME).cfg or just $(MAIN_NAME).cfg.default
# ($(MAIN_NAME).cfg will never be overwritten by make install, this is usefull
@@ -9,7 +9,7 @@
#extra modules to exclude
skip_modules?=
-@@ -646,7 +646,7 @@ sunpkg:
+@@ -649,7 +649,7 @@ sunpkg:
.PHONY: install
install: mk_params="compile_for_install=yes"
install: install-bin install-every-module install-cfg \
@@ -18,17 +18,17 @@
.PHONY: dbinstall
dbinstall:
-@@ -761,10 +761,10 @@ install-cfg: $(cfg_prefix)/$(cfg_dir)
+@@ -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)
+- @$(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
++ $(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)
diff --git a/net/kamailio/files/patch-Makefile.defs b/net/kamailio/files/patch-src_Makefile.defs
index b801cab84589..ac730a0ad841 100644
--- a/net/kamailio/files/patch-Makefile.defs
+++ b/net/kamailio/files/patch-src_Makefile.defs
@@ -1,6 +1,6 @@
---- Makefile.defs.orig 2015-07-20 13:16:26 UTC
-+++ Makefile.defs
-@@ -197,7 +197,7 @@ YACC := $(shell echo "$${YACC}")
+--- src/Makefile.defs.orig 2017-04-21 13:52:06 UTC
++++ src/Makefile.defs
+@@ -208,7 +208,7 @@ YACC := $(shell echo "$${YACC}")
# find compiler name & version
ifeq ($(CC),)
@@ -9,7 +9,7 @@
endif
LD= $(CC)
CC_LONGVER:=$(shell if $(CC) -v 2>/dev/null; then \
-@@ -211,7 +211,7 @@ MKTAGS=ctags
+@@ -222,7 +222,7 @@ MKTAGS=ctags
#find-out the compiler's name
ifneq (,$(findstring gcc, $(CC_LONGVER)))
@@ -18,7 +18,7 @@
RPAREN=)
CC_VER:=$(word 1,$(CC)) $(shell $(CC) - --version|head -n 1|\
sed -e 's/([^$(RPAREN)]*)//g' \
-@@ -366,7 +366,7 @@ LIBDIR ?=
+@@ -386,7 +386,7 @@ LIBDIR ?=
ifeq ($(LIBDIR),)
ARCHBSZ= $(shell echo $(ARCH) | sed -e 's/.*64.*/64b/')
ifeq ($(ARCHBSZ),64b)
@@ -27,9 +27,18 @@
else
LIBDIR = lib
endif
-@@ -1693,7 +1693,7 @@ ifeq ($(YACC),)
+@@ -460,7 +460,7 @@ doxygen_dir=doc/doxygen
+
+ BASEDIR ?= $(DESTDIR)
+ basedir = $(BASEDIR)
+-RUNBASEDIR ?= $(DESTDIR)
++RUNBASEDIR ?= /
+ runbasedir = $(RUNBASEDIR)
+
+ # install location
+@@ -1722,7 +1722,7 @@ ifeq ($(YACC),)
endif
- YACC_FLAGS=-d -b cfg
+ YACC_FLAGS=-d -b core/cfg
# on solaris add -lxnet (e.g. LIBS= -lxnet)
-LIBS= -ldl -lresolv
+LIBS=
diff --git a/net/kamailio/files/patch-ip__addr.h b/net/kamailio/files/patch-src_core_ip__addr.h
index 433cc851eb26..eb5b5a5b5e75 100644
--- a/net/kamailio/files/patch-ip__addr.h
+++ b/net/kamailio/files/patch-src_core_ip__addr.h
@@ -1,7 +1,7 @@
---- ip_addr.h.orig 2015-09-05 21:17:34 UTC
-+++ ip_addr.h
-@@ -53,6 +53,10 @@ enum comp_methods { COMP_NONE, COMP_SIGC
- #define INADDR_LOOPBACK (u_int32_t)0x7f000001
+--- src/core/ip_addr.h.orig 2017-04-21 12:46:05 UTC
++++ src/core/ip_addr.h
+@@ -49,6 +49,10 @@ enum sip_protos { PROTO_NONE, PROTO_UDP, PROTO_TCP, PR
+ enum comp_methods { COMP_NONE, COMP_SIGCOMP, COMP_SERGZ };
#endif
+#ifndef INADDR_LOOPBACK
diff --git a/net/kamailio/files/patch-main.c b/net/kamailio/files/patch-src_main.c
index 4aac88f1a5b3..eacdb2737810 100644
--- a/net/kamailio/files/patch-main.c
+++ b/net/kamailio/files/patch-src_main.c
@@ -1,6 +1,6 @@
---- main.c.orig 2015-07-20 13:16:25 UTC
-+++ main.c
-@@ -353,7 +353,7 @@ int received_dns = 0;
+--- src/main.c.orig 2017-04-21 12:46:05 UTC
++++ src/main.c
+@@ -362,7 +362,7 @@ int received_dns = 0;
int sr_auto_aliases=1;
char* working_dir = 0;
char* chroot_dir = 0;
diff --git a/net/kamailio/files/patch-src_modules_ctl_ctl.c b/net/kamailio/files/patch-src_modules_ctl_ctl.c
new file mode 100644
index 000000000000..1a2103c7c21f
--- /dev/null
+++ b/net/kamailio/files/patch-src_modules_ctl_ctl.c
@@ -0,0 +1,12 @@
+--- src/modules/ctl/ctl.c.orig 2017-04-21 13:48:39 UTC
++++ src/modules/ctl/ctl.c
+@@ -238,8 +238,7 @@ static int mod_init(void)
+ return -1;
+ }
+ strcpy(ctl_socket_path, DEFAULT_CTL_SOCKET_PROTO);
+- strcat(ctl_socket_path, runtime_dir);
+- strcat(ctl_socket_path, "/");
++ strcat(ctl_socket_path, "/var/run/");
+ strcat(ctl_socket_path, DEFAULT_CTL_SOCKET_NAME);
+ add_binrpc_socket(PARAM_STRING, ctl_socket_path);
+ }
diff --git a/net/kamailio/files/patch-src_modules_ctl_ctl__defaults.h b/net/kamailio/files/patch-src_modules_ctl_ctl__defaults.h
new file mode 100644
index 000000000000..4455b720a77f
--- /dev/null
+++ b/net/kamailio/files/patch-src_modules_ctl_ctl__defaults.h
@@ -0,0 +1,11 @@
+--- src/modules/ctl/ctl_defaults.h.orig 2017-04-21 12:46:05 UTC
++++ src/modules/ctl/ctl_defaults.h
+@@ -13,7 +13,7 @@
+ #define DEFAULT_CTL_SOCKET_NAME NAME "_ctl"
+ #endif
+
+-#define DEFAULT_CTL_SOCKET DEFAULT_CTL_SOCKET_PROTO RUN_DIR "/" DEFAULT_CTL_SOCKET_NAME
++#define DEFAULT_CTL_SOCKET DEFAULT_CTL_SOCKET_PROTO "/var/run/" DEFAULT_CTL_SOCKET_NAME
+
+ /* port used by default for tcp/udp if no port is explicitely specified */
+ #define DEFAULT_CTL_PORT 2049
diff --git a/net/kamailio/files/patch-src_modules_db__berkeley_Makefile b/net/kamailio/files/patch-src_modules_db__berkeley_Makefile
new file mode 100644
index 000000000000..30ad791748ba
--- /dev/null
+++ b/net/kamailio/files/patch-src_modules_db__berkeley_Makefile
@@ -0,0 +1,11 @@
+--- src/modules/db_berkeley/Makefile.orig 2017-04-21 12:46:05 UTC
++++ src/modules/db_berkeley/Makefile
+@@ -25,7 +25,7 @@ ifeq ($(INSTALL_FLAVOUR),kamailio)
+ # extra install for kamailio
+
+ install-berkeley-scripts: $(bin_prefix)/$(bin_dir)
+- BERKELEYDBON=yes make -C ../../../utils/kamctl/ install-modules
++ BERKELEYDBON=yes $(MAKE) -C ../../../utils/kamctl/ install-modules
+
+ install-scripts: install-berkeley-scripts
+
diff --git a/net/kamailio/files/patch-src_modules_db__oracle_Makefile b/net/kamailio/files/patch-src_modules_db__oracle_Makefile
new file mode 100644
index 000000000000..a1cdef378659
--- /dev/null
+++ b/net/kamailio/files/patch-src_modules_db__oracle_Makefile
@@ -0,0 +1,11 @@
+--- src/modules/db_oracle/Makefile.orig 2017-04-21 12:46:05 UTC
++++ src/modules/db_oracle/Makefile
+@@ -70,7 +70,7 @@ ifeq ($(INSTALL_FLAVOUR),kamailio)
+ # extra install for kamailio
+
+ install-oracle-scripts: $(bin_prefix)/$(bin_dir)
+- ORACLEON=yes make -C ../../../utils/kamctl/ install-modules
++ ORACLEON=yes $(MAKE) -C ../../../utils/kamctl/ install-modules
+
+ install-scripts: install-oracle-scripts
+
diff --git a/net/kamailio/files/patch-src_modules_db__sqlite_Makefile b/net/kamailio/files/patch-src_modules_db__sqlite_Makefile
new file mode 100644
index 000000000000..8aff7d996e54
--- /dev/null
+++ b/net/kamailio/files/patch-src_modules_db__sqlite_Makefile
@@ -0,0 +1,11 @@
+--- src/modules/db_sqlite/Makefile.orig 2017-04-21 12:46:06 UTC
++++ src/modules/db_sqlite/Makefile
+@@ -22,7 +22,7 @@ ifeq ($(INSTALL_FLAVOUR),kamailio)
+ # extra install for kamailio
+
+ install-sqlite-scripts: $(bin_prefix)/$(bin_dir)
+- SQLITEON=yes make -C ../../../utils/kamctl/ install-modules
++ SQLITEON=yes $(MAKE) -C ../../../utils/kamctl/ install-modules
+
+ install-scripts: install-sqlite-scripts
+
diff --git a/net/kamailio/files/patch-modules__tls__Makefile b/net/kamailio/files/patch-src_modules_tls_Makefile
index 26ae1d581834..e86ac2088b84 100644
--- a/net/kamailio/files/patch-modules__tls__Makefile
+++ b/net/kamailio/files/patch-src_modules_tls_Makefile
@@ -1,5 +1,5 @@
---- modules/tls/Makefile.orig 2015-07-20 13:16:26 UTC
-+++ modules/tls/Makefile
+--- src/modules/tls/Makefile.orig 2017-04-21 12:46:06 UTC
++++ src/modules/tls/Makefile
@@ -8,6 +8,8 @@ include ../../Makefile.defs
auto_gen=
NAME=tls.so
diff --git a/net/kamailio/files/patch-modules_tls_sip-router__cert.sh b/net/kamailio/files/patch-src_modules_tls_sip-router__cert.sh
index 404cd62ec24c..859ac63c52f3 100644
--- a/net/kamailio/files/patch-modules_tls_sip-router__cert.sh
+++ b/net/kamailio/files/patch-src_modules_tls_sip-router__cert.sh
@@ -1,5 +1,5 @@
---- modules/tls/sip-router_cert.sh.orig 2015-07-20 13:16:26 UTC
-+++ modules/tls/sip-router_cert.sh
+--- src/modules/tls/sip-router_cert.sh.orig 2017-04-21 12:46:06 UTC
++++ src/modules/tls/sip-router_cert.sh
@@ -197,5 +197,6 @@ if [ $? != 0 ] ; then
else
echo "Private key stored in '$DIR/$KEY_FILENAME'."
diff --git a/net/kamailio/files/patch-modules_websocket_ws__frame.c b/net/kamailio/files/patch-src_modules_websocket_ws__frame.c
index e5c83ea00ff4..a2ccc98cf958 100644
--- a/net/kamailio/files/patch-modules_websocket_ws__frame.c
+++ b/net/kamailio/files/patch-src_modules_websocket_ws__frame.c
@@ -1,5 +1,5 @@
---- modules/websocket/ws_frame.c.orig 2015-09-05 21:18:25 UTC
-+++ modules/websocket/ws_frame.c
+--- src/modules/websocket/ws_frame.c.orig 2017-04-21 12:46:06 UTC
++++ src/modules/websocket/ws_frame.c
@@ -29,7 +29,7 @@
#ifdef EMBEDDED_UTF8_DECODE
#include "utf8_decode.h"
@@ -8,4 +8,4 @@
+/* #include <unistr.h> */
#endif
- #include "../../events.h"
+ #include "../../core/events.h"
diff --git a/net/kamailio/files/patch-utils__kamcmd__Makefile b/net/kamailio/files/patch-utils__kamcmd__Makefile
deleted file mode 100644
index 74a4f91faa66..000000000000
--- a/net/kamailio/files/patch-utils__kamcmd__Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
---- utils/kamcmd/Makefile.orig 2015-07-20 13:16:26 UTC
-+++ utils/kamcmd/Makefile
-@@ -12,7 +12,7 @@ else
- NAME=kamcmd
- endif
-
--readline_locations= /usr/include/readline/readline.h \
-+readline_locations= /usr/local/include/readline/readline.h \
- $(LOCALBASE)/include/readline/readline.h
-
- use_readline ?=
-@@ -72,8 +72,8 @@ endif
- endif
-
- ifeq ($(use_readline),1)
-- DEFS+=-DUSE_READLINE
-- LIBS+=-lreadline -lncurses
-+ DEFS+=-DUSE_READLINE -I${LOCALBASE}/include
-+ LIBS+=-L${LOCALBASE}/lib -lreadline -lncurses
- endif
-
-
diff --git a/net/kamailio/files/patch-utils__kamctl__Makefile b/net/kamailio/files/patch-utils_kamctl_Makefile
index 31b892dfc74c..1c660357987e 100644
--- a/net/kamailio/files/patch-utils__kamctl__Makefile
+++ b/net/kamailio/files/patch-utils_kamctl_Makefile
@@ -1,6 +1,6 @@
---- utils/kamctl/Makefile.orig 2015-07-20 13:16:26 UTC
+--- utils/kamctl/Makefile.orig 2017-04-21 12:46:06 UTC
+++ utils/kamctl/Makefile
-@@ -9,6 +9,8 @@ else
+@@ -8,6 +8,8 @@ else
kamctltmpdir = $(basedir)
endif
@@ -9,7 +9,7 @@
all:
@echo "No compilation needed for kamctl"
-@@ -21,7 +23,8 @@ install-cfg: $(cfg_prefix)/$(cfg_dir)
+@@ -20,7 +22,8 @@ install-cfg: $(cfg_prefix)/$(cfg_dir)
$(INSTALL_TOUCH) $(cfg_prefix)/$(cfg_dir)/kamctlrc.sample
$(INSTALL_CFG) kamctlrc \
$(cfg_prefix)/$(cfg_dir)/kamctlrc.sample
diff --git a/net/kamailio/pkg-descr b/net/kamailio/pkg-descr
index e02a609ce8e1..6ce343502855 100644
--- a/net/kamailio/pkg-descr
+++ b/net/kamailio/pkg-descr
@@ -8,4 +8,4 @@ Originally starting out as the SIP Express Router (SER) project by
the Fraunhofer Society in 2001, the design team got together in
2008, merged old and new source code and rebranded SER to Kamailio.
-WWW: http://www.kamailio.org/
+WWW: https://www.kamailio.org/
diff --git a/net/kamailio/pkg-plist b/net/kamailio/pkg-plist
index ef8d7c4b7483..54395a7e83e4 100644
--- a/net/kamailio/pkg-plist
+++ b/net/kamailio/pkg-plist
@@ -8,12 +8,6 @@ sbin/kamdbctl
@sample etc/kamailio/kamailio.cfg.sample
@sample etc/kamailio/kamctlrc.sample
%%TLS%%@sample etc/kamailio/tls.cfg.sample
-lib/kamailio/libbinrpc.so
-lib/kamailio/libbinrpc.so.0
-lib/kamailio/libkcore.so
-lib/kamailio/libkcore.so.1
-lib/kamailio/libkmi.so
-lib/kamailio/libkmi.so.1
lib/kamailio/libprint.so
lib/kamailio/libprint.so.1
lib/kamailio/libsrdb1.so
@@ -27,13 +21,11 @@ lib/kamailio/libsrutils.so.1
lib/kamailio/kamctl/kamctl.base
lib/kamailio/kamctl/kamctl.ctlbase
%%MYSQL%%lib/kamailio/kamctl/kamctl.dbtext
-lib/kamailio/kamctl/kamctl.fifo
%%MYSQL%%lib/kamailio/kamctl/kamctl.mysql
%%PGSQL%%lib/kamailio/kamctl/kamctl.pgsql
+lib/kamailio/kamctl/kamctl.rpcfifo
lib/kamailio/kamctl/kamctl.ser
-lib/kamailio/kamctl/kamctl.ser_mi
lib/kamailio/kamctl/kamctl.sqlbase
-lib/kamailio/kamctl/kamctl.unixsock
lib/kamailio/kamctl/kamdbctl.base
%%MYSQL%%lib/kamailio/kamctl/kamdbctl.dbtext
%%MYSQL%%lib/kamailio/kamctl/kamdbctl.mysql
@@ -41,6 +33,7 @@ lib/kamailio/kamctl/kamdbctl.base
%%MYSQL%%lib/kamailio/kamctl/dbtextdb/dbtextdb.py
%%MYSQL%%lib/kamailio/modules/acc.so
%%MYSQL%%lib/kamailio/modules/alias_db.so
+lib/kamailio/modules/app_jsdt.so
%%PERL%%lib/kamailio/modules/app_perl.so
lib/kamailio/modules/async.so
lib/kamailio/modules/auth.so
@@ -82,7 +75,7 @@ lib/kamailio/modules/exec.so
%%MYSQL%%lib/kamailio/modules/htable.so
%%MYSQL%%lib/kamailio/modules/imc.so
lib/kamailio/modules/ipops.so
-lib/kamailio/modules/jsonrpc-s.so
+lib/kamailio/modules/jsonrpcs.so
lib/kamailio/modules/kex.so
lib/kamailio/modules/log_custom.so
lib/kamailio/modules/malloc_test.so
@@ -90,9 +83,6 @@ lib/kamailio/modules/mangler.so
%%MYSQL%%lib/kamailio/modules/matrix.so
lib/kamailio/modules/maxfwd.so
lib/kamailio/modules/mediaproxy.so
-lib/kamailio/modules/mi_datagram.so
-lib/kamailio/modules/mi_fifo.so
-lib/kamailio/modules/mi_rpc.so
%%MYSQL%%lib/kamailio/modules/mohqueue.so
lib/kamailio/modules/mqueue.so
%%MYSQL%%lib/kamailio/modules/msilo.so
@@ -134,6 +124,7 @@ lib/kamailio/modules/sms.so
lib/kamailio/modules/smsops.so
%%MYSQL%%lib/kamailio/modules/speeddial.so
%%MYSQL%%lib/kamailio/modules/sqlops.so
+lib/kamailio/modules/ss7ops.so
lib/kamailio/modules/sst.so
lib/kamailio/modules/statistics.so
lib/kamailio/modules/statsc.so
@@ -163,6 +154,7 @@ lib/kamailio/modules/xprint.so
%%RADIUS%%lib/kamailio/modules/misc_radius.so
%%RADIUS%%lib/kamailio/modules/peering.so
%%PRESENCE%%lib/kamailio/modules/pua.so
+%%PRESENCE%%lib/kamailio/modules/pua_rpc.so
%%PRESENCE%%lib/kamailio/modules/pua_xmpp.so
%%PRESENCE%%lib/kamailio/modules/xcap_client.so
%%PRESENCE%%lib/kamailio/modules/xcap_server.so
@@ -175,7 +167,6 @@ lib/kamailio/modules/xprint.so
%%PRESENCE%%lib/kamailio/modules/presence_xml.so
%%PRESENCE%%lib/kamailio/modules/pua_bla.so
%%PRESENCE%%lib/kamailio/modules/pua_dialoginfo.so
-%%PRESENCE%%lib/kamailio/modules/pua_mi.so
%%PRESENCE%%lib/kamailio/modules/pua_reginfo.so
%%PRESENCE%%lib/kamailio/modules/pua_usrloc.so
%%PRESENCE%%lib/kamailio/modules/rls.so
@@ -277,7 +268,6 @@ lib/kamailio/modules/xprint.so
%%MYSQL%%%%DATADIR%%/mysql/carrierroute-create.sql
%%MYSQL%%%%DATADIR%%/mysql/cpl-create.sql
%%MYSQL%%%%DATADIR%%/mysql/dialog-create.sql
-%%MYSQL%%%%DATADIR%%/mysql/dialog_ng-create.sql
%%MYSQL%%%%DATADIR%%/mysql/dialplan-create.sql
%%MYSQL%%%%DATADIR%%/mysql/dispatcher-create.sql
%%MYSQL%%%%DATADIR%%/mysql/domain-create.sql
@@ -287,6 +277,7 @@ lib/kamailio/modules/xprint.so
%%MYSQL%%%%DATADIR%%/mysql/htable-create.sql
%%MYSQL%%%%DATADIR%%/mysql/imc-create.sql
%%MYSQL%%%%DATADIR%%/mysql/ims_charging_create.sql
+%%MYSQL%%%%DATADIR%%/mysql/ims_dialog-create.sql
%%MYSQL%%%%DATADIR%%/mysql/ims_usrloc_pcscf-create.sql
%%MYSQL%%%%DATADIR%%/mysql/ims_usrloc_scscf-create.sql
%%MYSQL%%%%DATADIR%%/mysql/lcr-create.sql