See <https://kamailio.sipwise.com/job/kamailio44-nightly-binaries/architecture=a…>
------------------------------------------
[...truncated 439.94 KB...]
CC (gcc) [M ims_usrloc_pcscf.so] utime.o
make[3]: `libkmi.so.1.0' is up to date.
make[3]: `libsrdb1.so.1.0' is up to date.
make[3]: `libkcore.so.1.0' is up to date.
LD (gcc) [M ims_usrloc_pcscf.so] ims_usrloc_pcscf.so
CC (gcc) [M ims_usrloc_scscf.so] bin_utils.o
CC (gcc) [M ims_usrloc_scscf.so] contact_dlg_handlers.o
CC (gcc) [M ims_usrloc_scscf.so] contact_hslot.o
CC (gcc) [M ims_usrloc_scscf.so] dlist.o
CC (gcc) [M ims_usrloc_scscf.so] hslot.o
CC (gcc) [M ims_usrloc_scscf.so] hslot_sp.o
CC (gcc) [M ims_usrloc_scscf.so] impurecord.o
impurecord.c:331: warning: 'rollback' defined but not used
impurecord.c: In function 'unlink_contact_from_impu':
impurecord.c:1103: warning: 'found_contact' may be used uninitialized in this function
CC (gcc) [M ims_usrloc_scscf.so] subscribe.o
CC (gcc) [M ims_usrloc_scscf.so] ucontact.o
ucontact.c: In function 'new_ucontact':
ucontact.c:85: warning: 'prev' may be used uninitialized in this function
CC (gcc) [M ims_usrloc_scscf.so] udomain.o
CC (gcc) [M ims_usrloc_scscf.so] ul_callback.o
CC (gcc) [M ims_usrloc_scscf.so] ul_mod.o
CC (gcc) [M ims_usrloc_scscf.so] ul_rpc.o
CC (gcc) [M ims_usrloc_scscf.so] ul_scscf_stats.o
CC (gcc) [M ims_usrloc_scscf.so] usrloc.o
CC (gcc) [M ims_usrloc_scscf.so] usrloc_db.o
usrloc_db.c: In function 'db_insert_impurecord':
usrloc_db.c:149: warning: 'bin_str.len' may be used uninitialized in this function
usrloc_db.c:149: warning: 'bin_str.s' may be used uninitialized in this function
CC (gcc) [M ims_usrloc_scscf.so] utime.o
make[3]: `libkmi.so.1.0' is up to date.
make[3]: `libsrdb1.so.1.0' is up to date.
make[3]: `libkcore.so.1.0' is up to date.
LD (gcc) [M ims_usrloc_scscf.so] ims_usrloc_scscf.so
CC (gcc) [M ims_charging.so] Ro_data.o
CC (gcc) [M ims_charging.so] ccr.o
CC (gcc) [M ims_charging.so] dialog.o
CC (gcc) [M ims_charging.so] diameter_ro.o
CC (gcc) [M ims_charging.so] ims_charging_stats.o
CC (gcc) [M ims_charging.so] ims_ro.o
CC (gcc) [M ims_charging.so] mod.o
CC (gcc) [M ims_charging.so] ro_avp.o
CC (gcc) [M ims_charging.so] ro_db_handler.o
CC (gcc) [M ims_charging.so] ro_fixup.o
CC (gcc) [M ims_charging.so] ro_session_hash.o
CC (gcc) [M ims_charging.so] ro_timer.o
make[3]: `libkcore.so.1.0' is up to date.
make[3]: `libkamailio_ims.so.0.1' is up to date.
make[3]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M ims_charging.so] ims_charging.so
make[1]: Leaving directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
/usr/bin/make every-module group_include="ktls"
make[1]: Entering directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
CC (gcc) [M auth_identity.so] auth_crypt.o
CC (gcc) [M auth_identity.so] auth_dynstr.o
CC (gcc) [M auth_identity.so] auth_hdrs.o
CC (gcc) [M auth_identity.so] auth_http.o
CC (gcc) [M auth_identity.so] auth_identity.o
CC (gcc) [M auth_identity.so] auth_tables.o
LD (gcc) [M auth_identity.so] auth_identity.so
CC (gcc) [M crypto.so] crypto_mod.o
CC (gcc) [M crypto.so] crypto_uuid.o
LD (gcc) [M crypto.so] crypto.so
CC (gcc) [M tls.so] tls_bio.o
CC (gcc) [M tls.so] tls_cfg.o
CC (gcc) [M tls.so] tls_config.o
CC (gcc) [M tls.so] tls_ct_wrq.o
CC (gcc) [M tls.so] tls_domain.o
tls_domain.c:850: warning: 'tls_ssl_ctx_set_freelist' defined but not used
tls_domain.c:873: warning: 'tls_ssl_ctx_set_max_send_fragment' defined but not used
CC (gcc) [M tls.so] tls_dump_vf.o
CC (gcc) [M tls.so] tls_init.o
tls_init.c:100:3: warning: #warning "openssl < 1.0: no TLS extensions or server name support"
CC (gcc) [M tls.so] tls_locking.o
CC (gcc) [M tls.so] tls_mod.o
CC (gcc) [M tls.so] tls_rpc.o
CC (gcc) [M tls.so] tls_select.o
CC (gcc) [M tls.so] tls_server.o
CC (gcc) [M tls.so] tls_util.o
CC (gcc) [M tls.so] tls_verify.o
LD (gcc) [M tls.so] tls.so
make[1]: Leaving directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
/usr/bin/make every-module group_include="koutbound"
make[1]: Entering directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
CC (gcc) [M outbound.so] config.o
CC (gcc) [M outbound.so] ob_mod.o
make[3]: `libkcore.so.1.0' is up to date.
make[3]: `libkmi.so.1.0' is up to date.
LD (gcc) [M outbound.so] outbound.so
make[1]: Leaving directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
/usr/bin/make every-module group_include="kwebsocket"
make[1]: Entering directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
CC (gcc) [M websocket.so] config.o
CC (gcc) [M websocket.so] ws_conn.o
CC (gcc) [M websocket.so] ws_frame.o
CC (gcc) [M websocket.so] ws_handshake.o
CC (gcc) [M websocket.so] ws_mod.o
make[3]: `libkcore.so.1.0' is up to date.
make[3]: `libkmi.so.1.0' is up to date.
LD (gcc) [M websocket.so] websocket.so
make[1]: Leaving directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
/usr/bin/make every-module group_include="kautheph"
make[1]: Entering directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
CC (gcc) [M auth_ephemeral.so] autheph_mod.o
CC (gcc) [M auth_ephemeral.so] authorize.o
CC (gcc) [M auth_ephemeral.so] checks.o
make[3]: `libkcore.so.1.0' is up to date.
make[3]: `libkmi.so.1.0' is up to date.
LD (gcc) [M auth_ephemeral.so] auth_ephemeral.so
make[1]: Leaving directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
/usr/bin/make every-module group_include="kerlang"
make[1]: Entering directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
CC (gcc) [M erlang.so] cnode.o
cnode.c: In function 'cnode_connect_to':
cnode.c:109: warning: dereferencing pointer 'addr.793' does break strict-aliasing rules
cnode.c:109: note: initialized from here
CC (gcc) [M erlang.so] epmd.o
epmd.c: In function 'handle_epmd':
epmd.c:99: warning: dereferencing pointer 'paddr.442' does break strict-aliasing rules
epmd.c:99: note: initialized from here
CC (gcc) [M erlang.so] erl_api.o
CC (gcc) [M erlang.so] erl_helpers.o
CC (gcc) [M erlang.so] handle_emsg.o
CC (gcc) [M erlang.so] handle_rpc.o
CC (gcc) [M erlang.so] mod_erlang.o
mod_erlang.c: In function 'erl_rpc':
mod_erlang.c:446: warning: 'pvn' may be used uninitialized in this function
CC (gcc) [M erlang.so] pv_atom.o
CC (gcc) [M erlang.so] pv_list.o
CC (gcc) [M erlang.so] pv_pid.o
CC (gcc) [M erlang.so] pv_ref.o
CC (gcc) [M erlang.so] pv_tuple.o
CC (gcc) [M erlang.so] pv_xbuff.o
CC (gcc) [M erlang.so] worker.o
make[3]: `libkcore.so.1.0' is up to date.
LD (gcc) [M erlang.so] erlang.so
make[1]: Leaving directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
# package all the modules in EXTRA_GROUPS in separate packages
/usr/bin/make every-module group_include="kgzcompress"
make[1]: Entering directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
CC (gcc) [M gzcompress.so] gzcompress_mod.o
LD (gcc) [M gzcompress.so] gzcompress.so
make[1]: Leaving directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
/usr/bin/make every-module group_include="kuuid"
make[1]: Entering directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
CC (gcc) [M uuid.so] uuid_mod.o
uuid_mod.c: In function 'pv_get_uuid':
uuid_mod.c:167: warning: implicit declaration of function 'uuid_generate_time_safe'
LD (gcc) [M uuid.so] uuid.so
make[1]: Leaving directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
/usr/bin/make every-module group_include="kev"
make[1]: Entering directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
CC (gcc) [M evapi.so] evapi_dispatch.o
evapi_dispatch.c: In function 'evapi_run_dispatcher':
evapi_dispatch.c:570: warning: dereferencing type-punned pointer will break strict-aliasing rules
evapi_dispatch.c:570: warning: dereferencing type-punned pointer will break strict-aliasing rules
evapi_dispatch.c:570: warning: dereferencing type-punned pointer will break strict-aliasing rules
evapi_dispatch.c:572: warning: dereferencing type-punned pointer will break strict-aliasing rules
evapi_dispatch.c:572: warning: dereferencing type-punned pointer will break strict-aliasing rules
evapi_dispatch.c:572: warning: dereferencing type-punned pointer will break strict-aliasing rules
evapi_dispatch.c:570: warning: dereferencing pointer 'io_server.685' does break strict-aliasing rules
evapi_dispatch.c:570: warning: dereferencing pointer 'io_server.685' does break strict-aliasing rules
evapi_dispatch.c:570: warning: dereferencing pointer 'io_server.685' does break strict-aliasing rules
evapi_dispatch.c:570: note: initialized from here
evapi_dispatch.c:570: warning: dereferencing pointer 'io_server.685' does break strict-aliasing rules
evapi_dispatch.c:570: note: initialized from here
evapi_dispatch.c:572: warning: dereferencing pointer 'io_notify.686' does break strict-aliasing rules
evapi_dispatch.c:572: warning: dereferencing pointer 'io_notify.686' does break strict-aliasing rules
evapi_dispatch.c:572: warning: dereferencing pointer 'io_notify.686' does break strict-aliasing rules
evapi_dispatch.c:572: note: initialized from here
evapi_dispatch.c:572: warning: dereferencing pointer 'io_notify.686' does break strict-aliasing rules
evapi_dispatch.c:572: note: initialized from here
evapi_dispatch.c: In function 'evapi_accept_client':
evapi_dispatch.c:431: warning: dereferencing pointer 'caddr.600' does break strict-aliasing rules
evapi_dispatch.c:431: note: initialized from here
CC (gcc) [M evapi.so] evapi_mod.o
make[3]: `libsrutils.so.1.0' is up to date.
make[3]: `libkcore.so.1.0' is up to date.
LD (gcc) [M evapi.so] evapi.so
make[1]: Leaving directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
/usr/bin/make every-module group_include="khttp_async"
make[1]: Entering directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
CC (gcc) [M http_async_client.so] async_http.o
async_http.c:42:26: warning: event2/event.h: No such file or directory
async_http.c: In function 'async_http_init_worker':
async_http.c:67: warning: implicit declaration of function 'event_base_new'
async_http.c:67: warning: assignment makes pointer from integer without a cast
async_http.c: In function 'async_http_run_worker':
async_http.c:84: warning: implicit declaration of function 'event_base_dispatch'
async_http.c: In function 'init_socket':
async_http.c:319: warning: implicit declaration of function 'event_new'
async_http.c:319: error: 'EV_READ' undeclared (first use in this function)
async_http.c:319: error: (Each undeclared identifier is reported only once
async_http.c:319: error: for each function it appears in.)
async_http.c:319: error: 'EV_PERSIST' undeclared (first use in this function)
async_http.c:320: warning: implicit declaration of function 'event_add'
make[2]: *** [async_http.o] Error 1
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/tmp/buildd/kamailio-4.4.6+0~20171222011415.125+squeeze'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: user script /var/cache/pbuilder/build/cow.27985/tmp/hooks/C10shell starting
┌──────────────────────────────────────────────────────────────────────────────┐
│ FTBFS - problem with building Debian package │
└──────────────────────────────────────────────────────────────────────────────┘
┌──────────────────────────────────────────────────────────────────────────────┐
│ DEB_KEEP_BUILD_ENV is not set to 'true', not keeping build environment │
└──────────────────────────────────────────────────────────────────────────────┘
I: user script /var/cache/pbuilder/build/cow.27985/tmp/hooks/C10shell finished
I: unmounting /tmp/apt-jdg_amxFRo filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
-> Cleaning COW directory
forking: rm -rf /var/cache/pbuilder/build//cow.27985
+ '[' 1 -eq 0 ']'
+ bailout 1 'Error: Failed to build with cowbuilder.'
+ '[' -n 1 ']'
+ EXIT=1
+ '[' -n 'Error: Failed to build with cowbuilder.' ']'
+ echo 'Error: Failed to build with cowbuilder.'
Error: Failed to build with cowbuilder.
+ rm -f /var/run/lock/squeeze-amd64.building.23536
+ '[' -r /var/run/lock/squeeze-amd64.update.23536 ']'
+ '[' '' = true ']'
+ echo '*** Getting rid of files in <https://kamailio.sipwise.com/job/kamailio44-nightly-binaries/architecture=a…> to avoid problems in next run. ***'
*** Getting rid of files in <https://kamailio.sipwise.com/job/kamailio44-nightly-binaries/architecture=a…> to avoid problems in next run. ***
+ rm -f '<https://kamailio.sipwise.com/job/kamailio44-nightly-binaries/architecture=a…'>
+ '[' -n /tmp/tmp.OIQd5KxTHD ']'
+ rm -rf /tmp/tmp.OIQd5KxTHD
+ '[' -n /tmp/apt-jdg_amxFRo ']'
+ sudo rm -rf /tmp/apt-jdg_amxFRo
+ '[' -n 7441 ']'
++ sed -e 's/^\([0-9]*\).*/\1/'
+ SECONDS=533
++ date
+ echo '*** Finished execution of /usr/bin/build-and-provide-package at Fri Dec 22 03:42:54 UTC 2017 [running 533 seconds] ***'
*** Finished execution of /usr/bin/build-and-provide-package at Fri Dec 22 03:42:54 UTC 2017 [running 533 seconds] ***
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts
Recording fingerprints
TAP Reports Processing: START
Looking for TAP results report in workspace using pattern: report/*.tap
Did not find any matching files.
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Module: kamailio
Branch: master
Commit: 52111974b4571e0562e8e731df80f48dbc504915
URL: https://github.com/kamailio/kamailio/commit/52111974b4571e0562e8e731df80f48…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-12-22T16:54:50+01:00
tm: handle success return code by forward_request() for e2e ACK
- forward_request() returns 0 on success, propagate 1 to config wrapper
---
Modified: src/modules/tm/t_funcs.c
---
Diff: https://github.com/kamailio/kamailio/commit/52111974b4571e0562e8e731df80f48…
Patch: https://github.com/kamailio/kamailio/commit/52111974b4571e0562e8e731df80f48…
---
diff --git a/src/modules/tm/t_funcs.c b/src/modules/tm/t_funcs.c
index 0391ea3a33..42469cb432 100644
--- a/src/modules/tm/t_funcs.c
+++ b/src/modules/tm/t_funcs.c
@@ -281,7 +281,7 @@ int t_relay_to( struct sip_msg *p_msg , struct proxy_l *proxy, int proto,
/* at this point if the msg is an ACK it is an e2e ACK and
e2e ACKs do not establish a transaction and are fwd-ed statelessly */
if ( p_msg->REQ_METHOD==METHOD_ACK) {
- LM_DBG( "forwarding ACK statelessly \n");
+ LM_DBG("forwarding ACK statelessly\n");
if (proxy==0) {
init_dest_info(&dst);
dst.proto=proto;
@@ -302,7 +302,11 @@ int t_relay_to( struct sip_msg *p_msg , struct proxy_l *proxy, int proto,
proxy2su(&dst.to, proxy);
/* dst->send_sock not set, but forward_request will take care
* of it */
- ret=forward_request( p_msg , 0, 0, &dst) ;
+ ret=forward_request(p_msg , 0, 0, &dst) ;
+ }
+ if (ret>=0) {
+ /* convert return code for cfg script */
+ ret=1;
}
goto done;
}
Module: kamailio
Branch: master
Commit: 05509f322d5b4ce23b6e5918f4d6bc4e48678202
URL: https://github.com/kamailio/kamailio/commit/05509f322d5b4ce23b6e5918f4d6bc4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-12-22T16:54:29+01:00
core: forward - add note about return code of forward_request()
---
Modified: src/core/forward.c
---
Diff: https://github.com/kamailio/kamailio/commit/05509f322d5b4ce23b6e5918f4d6bc4…
Patch: https://github.com/kamailio/kamailio/commit/05509f322d5b4ce23b6e5918f4d6bc4…
---
diff --git a/src/core/forward.c b/src/core/forward.c
index dc7e27f523..d9a778ca71 100644
--- a/src/core/forward.c
+++ b/src/core/forward.c
@@ -450,6 +450,8 @@ int check_self_port(unsigned short port, unsigned short proto)
* WARNING: don't forget to zero-fill all the unused members (a non-zero
* random id along with proto==PROTO_TCP can have bad consequences, same for
* a bogus send_socket value)
+ *
+ * return: 0 (E_OK) on success; negative (E_*) on failure
*/
int forward_request(struct sip_msg* msg, str* dst, unsigned short port,
struct dest_info* send_info)
Module: kamailio
Branch: master
Commit: 02723aa42871eb35c86361666ec9f1f6362c228e
URL: https://github.com/kamailio/kamailio/commit/02723aa42871eb35c86361666ec9f1f…
Author: Vicente Hernando <vhernando(a)systemonenoc.com>
Committer: Vicente Hernando <vhernando(a)systemonenoc.com>
Date: 2017-12-22T15:02:15+01:00
app_lua: README update
---
Modified: src/modules/app_lua/README
---
Diff: https://github.com/kamailio/kamailio/commit/02723aa42871eb35c86361666ec9f1f…
Patch: https://github.com/kamailio/kamailio/commit/02723aa42871eb35c86361666ec9f1f…
---
diff --git a/src/modules/app_lua/README b/src/modules/app_lua/README
index 2e2cb1148c..164cf70c32 100644
--- a/src/modules/app_lua/README
+++ b/src/modules/app_lua/README
@@ -46,13 +46,14 @@ Daniel-Constantin Mierla
List of Examples
- 1.1. Set load parameter
- 1.2. Set register parameter
- 1.3. Set reload parameter
- 1.4. lua_dofile usage
- 1.5. lua_dostring usage
- 1.6. lua_run usage
- 1.7. lua_runstring usage
+ 1.1. Build against LuaJIT libraries
+ 1.2. Set load parameter
+ 1.3. Set register parameter
+ 1.4. Set reload parameter
+ 1.5. lua_dofile usage
+ 1.6. lua_dostring usage
+ 1.7. lua_run usage
+ 1.8. lua_runstring usage
Chapter 1. Admin Guide
@@ -120,6 +121,18 @@ Chapter 1. Admin Guide
running Kamailio with this module loaded:
* liblua5.1-dev - Lua devel library.
+ This module can be compiled against LuaJIT compiler (instead of
+ standard Lua). Then this library is needed:
+ * libluajit-5.1-dev - LuaJIT devel library.
+
+ To enable that, LUAJIT variable has to be set.
+
+ Example 1.1. Build against LuaJIT libraries
+ E.g: $ LUAJIT="yes" make modules modules=modules/app_lua
+
+ (Warning: LuaJIT version is 5.1, so scripts prepared for higher Lua
+ versions may not work with LuaJIT)
+
3. Parameters
3.1. load (string)
@@ -134,7 +147,7 @@ Chapter 1. Admin Guide
Default value is “null”.
- Example 1.1. Set load parameter
+ Example 1.2. Set load parameter
...
modparam("app_lua", "load", "/usr/local/etc/kamailio/lua/myscript.lua")
...
@@ -178,7 +191,7 @@ modparam("app_lua", "load", "/usr/local/etc/kamailio/lua/myscript.lua")
Default value is “null”.
- Example 1.2. Set register parameter
+ Example 1.3. Set register parameter
...
modparam("app_lua", "register", "sl")
...
@@ -190,7 +203,7 @@ modparam("app_lua", "register", "sl")
Default value is “0 (off)”.
- Example 1.3. Set reload parameter
+ Example 1.4. Set reload parameter
...
modparam("app_lua", "reload", 1)
...
@@ -207,7 +220,7 @@ modparam("app_lua", "reload", 1)
Execute the Lua script stored in 'path'. The parameter can be a string
with pseudo-variables evaluated at runtime.
- Example 1.4. lua_dofile usage
+ Example 1.5. lua_dofile usage
...
lua_dofile("/usr/local/etc/kamailio/lua/myscript.lua");
...
@@ -217,7 +230,7 @@ lua_dofile("/usr/local/etc/kamailio/lua/myscript.lua");
Execute the Lua script stored in parameter. The parameter can be a
string with pseudo-variables.
- Example 1.5. lua_dostring usage
+ Example 1.6. lua_dostring usage
...
if(!lua_dostring("sr.log([[err]], [[----------- Hello World from $fU\n]])"))
{
@@ -232,7 +245,7 @@ if(!lua_dostring("sr.log([[err]], [[----------- Hello World from $fU\n]])"))
loaded at startup via parameter 'load'. Parameters can be strings with
pseudo-variables that are evaluated at runtime.
- Example 1.6. lua_run usage
+ Example 1.7. lua_run usage
...
if(!lua_run("sr_append_fu_to_reply"))
{
@@ -248,7 +261,7 @@ lua_run("lua_funcx", "$rU", "2");
string with pseudo-variables. The script is executed in Lua context
specific to loaded Lua files at startup.
- Example 1.7. lua_runstring usage
+ Example 1.8. lua_runstring usage
...
if(!lua_runstring("sr.log([[err]], [[----------- Hello World from $fU\n]])"))
{
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, ...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
Added LUAJIT variable to build app_lua module against LuaJIT compiler (version 5.1). If this variable is not set users still build app_lua module against standard Lua.
E.g: $ LUAJIT="yes" make modules modules=modules/app_lua # Build against LuaJIT
$ make modules modules=modules/app_lua # Build against standard Lua.
(Warning: LuaJIT version is 5.1 so scripts prepared for higher Lua versions may not work with LuaJIT)
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1384
-- Commit Summary --
* app_lua: LUAJIT variable to build agains LuaJIT compiler
-- File Changes --
M src/modules/app_lua/Makefile (136)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1384.patchhttps://github.com/kamailio/kamailio/pull/1384.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1384
Module: kamailio
Branch: 4.4
Commit: b19c70e5edabe5a78bdc2ef52106d609716ed5cb
URL: https://github.com/kamailio/kamailio/commit/b19c70e5edabe5a78bdc2ef52106d60…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2017-12-22T09:44:57+01:00
pkg/kamailio/deb: remove http_async_client from squeeze
---
Modified: pkg/kamailio/deb/debian/backports/squeeze
Modified: pkg/kamailio/deb/squeeze/control
Modified: pkg/kamailio/deb/squeeze/rules
---
Diff: https://github.com/kamailio/kamailio/commit/b19c70e5edabe5a78bdc2ef52106d60…
Patch: https://github.com/kamailio/kamailio/commit/b19c70e5edabe5a78bdc2ef52106d60…
---
diff --git a/pkg/kamailio/deb/debian/backports/squeeze b/pkg/kamailio/deb/debian/backports/squeeze
index fa08c1465d..b33cd3dad2 100755
--- a/pkg/kamailio/deb/debian/backports/squeeze
+++ b/pkg/kamailio/deb/debian/backports/squeeze
@@ -96,6 +96,11 @@ sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ jansson/' ${DIST}/rules
sed -i -e 's/ jansson[ ,$]*//' ${DIST}/control
sed -i -e 's/janssonrpc-c//' ${DIST}/control
+# no http_async_client module needs libevent 2
+sed -i -e 's/ http_async_client//' ${DIST}/control
+sed -i -e 's/ http_async[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ http_async/' ${DIST}/rules
+
# old mysql
sed -i -e 's/default-mysql-client/mysql-client/' \
-e 's/default-libmysqlclient-dev/libmysqlclient-dev/' ${DIST}/control
diff --git a/pkg/kamailio/deb/squeeze/control b/pkg/kamailio/deb/squeeze/control
index 7507fcd59e..8c1c040a6c 100644
--- a/pkg/kamailio/deb/squeeze/control
+++ b/pkg/kamailio/deb/squeeze/control
@@ -565,7 +565,7 @@ Description: extra modules for Kamailio
proxy server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
- This package provides: gzcompress uuid evapijanssonrpc-c http_async_client
+ This package provides: gzcompress uuid evapi
Package: kamailio-nth
Architecture: any
diff --git a/pkg/kamailio/deb/squeeze/rules b/pkg/kamailio/deb/squeeze/rules
index a514f1444e..4b5fc95dbb 100755
--- a/pkg/kamailio/deb/squeeze/rules
+++ b/pkg/kamailio/deb/squeeze/rules
@@ -24,7 +24,7 @@ EXCLUDED_MODULES=
# extra modules to skip, because they are not compilable now
# - regardless if they go to the main kamailio package or to some module package,
# they will be excluded from compile and install of all
-EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy java dnssec sctp purple redis mono kazoo cnxcc jansson
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy java dnssec sctp purple redis mono kazoo cnxcc jansson http_async
# module groups that are packaged in seperate packages
# (with the name kamailio-$(group_name)-modules)
@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
erlang
# module groups to be packaged onto kamailio-extra-modules
-EXTRA_GROUPS=gzcompress uuid ev http_async
+EXTRA_GROUPS=gzcompress uuid ev
# name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b)
export LIBDIR ?= lib/$(DEB_HOST_MULTIARCH)
Module: kamailio
Branch: master
Commit: 3a2ee9280fa8cde3b45d3e5631267287ba0b74ac
URL: https://github.com/kamailio/kamailio/commit/3a2ee9280fa8cde3b45d3e563126728…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2017-12-22T09:17:08+01:00
modules: readme files regenerated - sctp ... [skip ci]
---
Modified: src/modules/sctp/README
---
Diff: https://github.com/kamailio/kamailio/commit/3a2ee9280fa8cde3b45d3e563126728…
Patch: https://github.com/kamailio/kamailio/commit/3a2ee9280fa8cde3b45d3e563126728…
---
diff --git a/src/modules/sctp/README b/src/modules/sctp/README
index c8f5ffa46b..16d68c3223 100644
--- a/src/modules/sctp/README
+++ b/src/modules/sctp/README
@@ -120,6 +120,9 @@ Chapter 1. Admin Guide
not changed and SCTP variable is not overwritten from command line,
then the SCTP support in core is enabled.
+ Note: it is recommended to use recent versions of libsctp (>1.0.10) and
+ kernel (>4.0.0) when enabling SCTP transport.
+
2. Dependencies
2.1. Kamailio Modules