kamailio-4.x: update to 4.4.0

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
This commit is contained in:
Jiri Slachta 2016-04-07 14:53:40 +02:00 committed by Zoltan HERPAI
parent f33a4041c9
commit ae5c14a774
4 changed files with 33 additions and 30 deletions

View file

@ -1,5 +1,6 @@
# #
# Copyright (C) 2015 OpenWrt.org # Copyright (C) 2016 OpenWrt.org
# Copyright (C) 2013-2016 CESNET,z.s.p.o.
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -8,12 +9,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=kamailio4 PKG_NAME:=kamailio4
PKG_VERSION:=4.3.0 PKG_VERSION:=4.4.0
PKG_RELEASE:=2 PKG_RELEASE:=1
PKG_SOURCE_URL:=http://www.kamailio.org/pub/kamailio/$(PKG_VERSION)/src/ PKG_SOURCE_URL:=http://www.kamailio.org/pub/kamailio/$(PKG_VERSION)/src/
PKG_SOURCE:=kamailio-$(PKG_VERSION)$(PKG_VARIANT)_src.tar.gz PKG_SOURCE:=kamailio-$(PKG_VERSION)$(PKG_VARIANT)_src.tar.gz
PKG_MD5SUM:=4a6bd2f70f14d94a4ed9a8e6b18f89d7 PKG_MD5SUM:=e9fa206f67346a6b01c015d76ec2db9d
PKG_USE_MIPS16:=0 PKG_USE_MIPS16:=0
PKG_LICENSE:=GPL-2.0+ PKG_LICENSE:=GPL-2.0+

View file

@ -1,13 +1,15 @@
--- a/utils/kamctl/kamctl diff -rupN kamailio4-4.4.0/utils/kamctl/kamctl kam4/utils/kamctl/kamctl
+++ b/utils/kamctl/kamctl --- kamailio4-4.4.0/utils/kamctl/kamctl 2016-03-30 15:56:42.000000000 +0200
+++ kam4/utils/kamctl/kamctl 2016-04-07 14:41:45.108118138 +0200
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/bin/bash -#!/bin/bash
+#!/bin/sh +#!/bin/sh
# #
# control tool for maintaining Kamailio # control tool for maintaining Kamailio
# #
--- a/utils/kamctl/kamctlrc diff -rupN kamailio4-4.4.0/utils/kamctl/kamctlrc kam4/utils/kamctl/kamctlrc
+++ b/utils/kamctl/kamctlrc --- kamailio4-4.4.0/utils/kamctl/kamctlrc 2016-03-30 15:56:42.000000000 +0200
+++ kam4/utils/kamctl/kamctlrc 2016-04-07 14:42:20.348404015 +0200
@@ -147,3 +147,6 @@ @@ -147,3 +147,6 @@
## Extra start options - default is: not set ## Extra start options - default is: not set
# example: start Kamailio with 64MB share memory: STARTOPTIONS="-m 64" # example: start Kamailio with 64MB share memory: STARTOPTIONS="-m 64"
@ -15,16 +17,18 @@
+ +
+# Disable colour printing in terminal +# Disable colour printing in terminal
+NOHLPRINT=1 +NOHLPRINT=1
--- a/utils/kamctl/kamdbctl diff -rupN kamailio4-4.4.0/utils/kamctl/kamdbctl kam4/utils/kamctl/kamdbctl
+++ b/utils/kamctl/kamdbctl --- kamailio4-4.4.0/utils/kamctl/kamdbctl 2016-03-30 15:56:42.000000000 +0200
+++ kam4/utils/kamctl/kamdbctl 2016-04-07 14:42:36.204532677 +0200
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/bin/bash -#!/bin/bash
+#!/bin/sh +#!/bin/sh
# #
# control tool for maintaining Kamailio databases # control tool for maintaining Kamailio databases
# #
--- a/utils/kamctl/kamdbctl.base diff -rupN kamailio4-4.4.0/utils/kamctl/kamdbctl.base kam4/utils/kamctl/kamdbctl.base
+++ b/utils/kamctl/kamdbctl.base --- kamailio4-4.4.0/utils/kamctl/kamdbctl.base 2016-03-30 15:56:42.000000000 +0200
+++ kam4/utils/kamctl/kamdbctl.base 2016-04-07 14:43:18.180873383 +0200
@@ -33,18 +33,18 @@ INSTALL_DBUID_TABLES=${INSTALL_DBUID_TAB @@ -33,18 +33,18 @@ INSTALL_DBUID_TABLES=${INSTALL_DBUID_TAB
# Used by dbtext and db_berkeley to define tables to be created, used by # Used by dbtext and db_berkeley to define tables to be created, used by
@ -37,7 +41,7 @@
+ grp uri speed_dial lcr_gw lcr_rule lcr_rule_target pdt subscriber \ + grp uri speed_dial lcr_gw lcr_rule lcr_rule_target pdt subscriber \
+ location location_attrs re_grp trusted address missed_calls \ + location location_attrs re_grp trusted address missed_calls \
+ usr_preferences aliases silo dialog dialog_vars dispatcher dialplan \ + usr_preferences aliases silo dialog dialog_vars dispatcher dialplan \
acc_cdrs} acc_cdrs topos_d topos_t}
-EXTRA_TABLES=${EXTRA_TABLES:-imc_members imc_rooms cpl sip_trace domainpolicy -EXTRA_TABLES=${EXTRA_TABLES:-imc_members imc_rooms cpl sip_trace domainpolicy
- carrierroute carrier_name domain_name carrierfailureroute userblacklist - carrierroute carrier_name domain_name carrierfailureroute userblacklist
- globalblacklist htable purplemap uacreg pl_pipes mtree mtrees - globalblacklist htable purplemap uacreg pl_pipes mtree mtrees
@ -61,7 +65,7 @@
- permissions registrar usrloc msilo alias_db uri_db speeddial - permissions registrar usrloc msilo alias_db uri_db speeddial
+STANDARD_MODULES=${STANDARD_MODULES:-standard acc lcr domain group \ +STANDARD_MODULES=${STANDARD_MODULES:-standard acc lcr domain group \
+ permissions registrar usrloc msilo alias_db uri_db speeddial \ + permissions registrar usrloc msilo alias_db uri_db speeddial \
avpops auth_db pdt dialog dispatcher dialplan} avpops auth_db pdt dialog dispatcher dialplan topos}
PRESENCE_MODULES=${PRESENCE_MODULES:-presence rls} PRESENCE_MODULES=${PRESENCE_MODULES:-presence rls}

View file

@ -1,6 +1,6 @@
--- a/modules/ldap/ld_session.h --- a/modules/ldap/ld_session.h
+++ b/modules/ldap/ld_session.h +++ b/modules/ldap/ld_session.h
@@ -33,6 +33,7 @@ @@ -28,6 +28,7 @@
#ifndef LD_SESSION_H #ifndef LD_SESSION_H
#define LD_SESSION_H #define LD_SESSION_H

View file

@ -1,20 +1,18 @@
Index: kamailio4-4.3.0/modules/cnxcc/Makefile diff -rupN kamailio4-4.4.0/modules/cnxcc/Makefile kam4/modules/cnxcc/Makefile
=================================================================== --- kamailio4-4.4.0/modules/cnxcc/Makefile 2016-04-07 11:26:01.186927107 +0200
--- kamailio4-4.3.0.orig/modules/cnxcc/Makefile +++ kam4/modules/cnxcc/Makefile 2016-04-07 11:25:28.370655776 +0200
+++ kamailio4-4.3.0/modules/cnxcc/Makefile @@ -45,7 +45,7 @@ else
@@ -8,7 +8,7 @@ include ../../Makefile.defs endif
auto_gen=
NAME=cnxcc.so DEFS+=$(HIREDISDEFS) $(LEVENTDEFS)
-LIBS=$(HIREDISLIBS) $(LEVENTLIBS)
+LIBS=$(HIREDISLIBS) $(LEVENTLIBS) $(EXTRA_LIBS)
-LIBS=-lhiredis -levent
+LIBS=-lhiredis -levent $(EXTRA_LIBS)
DEFS+=-DOPENSER_MOD_INTERFACE DEFS+=-DOPENSER_MOD_INTERFACE
SERLIBPATH=../../lib SERLIBPATH=../../lib
SER_LIBS+=$(SERLIBPATH)/kmi/kmi diff -rupN kamailio4-4.4.0/modules/janssonrpc-c/netstring.h kam4/modules/janssonrpc-c/netstring.h
Index: kamailio4-4.3.0/modules/janssonrpc-c/netstring.h --- kamailio4-4.4.0/modules/janssonrpc-c/netstring.h 2016-04-07 11:26:24.163117016 +0200
=================================================================== +++ kam4/modules/janssonrpc-c/netstring.h 2016-04-07 11:25:28.070653295 +0200
--- kamailio4-4.3.0.orig/modules/janssonrpc-c/netstring.h
+++ kamailio4-4.3.0/modules/janssonrpc-c/netstring.h
@@ -24,6 +24,7 @@ @@ -24,6 +24,7 @@
#define __NETSTRING_STREAM_H #define __NETSTRING_STREAM_H