[sr-dev] git:master:87e60ca5: github: [skip ci]: bump tj-actions/changed-files from 43 to 44
Module: kamailio Branch: master Commit: 87e60ca580f327d1d34f6881cda1048e5658a94b URL: https://github.com/kamailio/kamailio/commit/87e60ca580f327d1d34f6881cda1048e5658a94b Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Committer: Victor Seva Date: 2024-04-02T03:30:26+02:00 github: [skip ci]: bump tj-actions/changed-files from 43 to 44 Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 43 to 44. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](https://github.com/tj-actions/changed-files/compare/v43...v44) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Modified: .github/workflows/devcontainer.yaml --- Diff: https://github.com/kamailio/kamailio/commit/87e60ca580f327d1d34f6881cda1048e5658a94b.diff Patch: https://github.com/kamailio/kamailio/commit/87e60ca580f327d1d34f6881cda1048e5658a94b.patch --- diff --git a/.github/workflows/devcontainer.yaml b/.github/workflows/devcontainer.yaml index a237e2a0338..e70f646891c 100644 --- a/.github/workflows/devcontainer.yaml +++ b/.github/workflows/devcontainer.yaml @@ -33,14 +33,14 @@ jobs: - name: Get changed files if: ${{ ! inputs.force }} id: changed-files -uses: tj-actions/changed-files@v43 +uses: tj-actions/changed-files@v44 with: since_last_remote_commit: true - name: changes in relevant files if: ${{ ! inputs.force }} id: changed-files-builder -uses: tj-actions/changed-files@v43 +uses: tj-actions/changed-files@v44 with: files: | .devcontainer/** ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] github: [skip ci]: bump tj-actions/changed-files from 43 to 44 (PR #3801)
Merged #3801 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3801#event-12317893880 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] RFC: move app_lua_sr to kamailio-archive
Hi, I would like to move app_lua_sr to kamailio-archive but I would like to hear if anyone out there has a solid reason not to do it. Since we have app_lua as KEMI for a long time I think is time to retire the old remains of app_lua Cheers -- - | ,''`. Victor Seva | | : :' : linuxman...@torreviejawireless.org | | `. `' PGP: 8F19 CADC D42A 42D4 5563 730C 51A0 9B18 CF5A 5068 | |`- Debian Developer | - OpenPGP_signature.asc Description: PGP signature OpenPGP_0x7D7B65C42A0EC8B2.asc Description: application/pgp-keys ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:a03dd2fd: dmq: improve debug logs related to locks
Module: kamailio Branch: master Commit: a03dd2fdb6ac30937f29fe63cabbe09902ad8300 URL: https://github.com/kamailio/kamailio/commit/a03dd2fdb6ac30937f29fe63cabbe09902ad8300 Author: Victor Seva Committer: Victor Seva Date: 2024-03-23T01:13:39+01:00 dmq: improve debug logs related to locks * dmq_node_list->lock * dmq_worker->lock unreleased and some info inside worker_loop() --- Modified: src/modules/dmq/dmq_funcs.c Modified: src/modules/dmq/dmqnode.c Modified: src/modules/dmq/notification_peer.c Modified: src/modules/dmq/worker.c --- Diff: https://github.com/kamailio/kamailio/commit/a03dd2fdb6ac30937f29fe63cabbe09902ad8300.diff Patch: https://github.com/kamailio/kamailio/commit/a03dd2fdb6ac30937f29fe63cabbe09902ad8300.patch ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:5.5:fa08fabe: dmq: fix inter-lock on error
Module: kamailio Branch: 5.5 Commit: fa08fabebb0640d4fe6907b06c78f5154321e5c5 URL: https://github.com/kamailio/kamailio/commit/fa08fabebb0640d4fe6907b06c78f5154321e5c5 Author: Victor Seva Committer: Victor Seva Date: 2024-03-23T00:12:51+01:00 dmq: fix inter-lock on error triggered by intermittent DNS resolution error. dmq workers were getting locked at dmq_notification_callback_f() due to this missing lock_release() (cherry picked from commit 0d240e4e0dc3184ef37d338ba6872d295d6b16f2) (cherry picked from commit 814f5bdc9ee5d4594ffb0fd72843bca7b5fa79ea) (cherry picked from commit 0a96c9f4fb3bf179d417b0188d619afd7d9096ef) (cherry picked from commit 3ad3a61a901192290344bd4fadd724f61b8a) --- Modified: src/modules/dmq/notification_peer.c --- Diff: https://github.com/kamailio/kamailio/commit/fa08fabebb0640d4fe6907b06c78f5154321e5c5.diff Patch: https://github.com/kamailio/kamailio/commit/fa08fabebb0640d4fe6907b06c78f5154321e5c5.patch --- diff --git a/src/modules/dmq/notification_peer.c b/src/modules/dmq/notification_peer.c index d40fd2cac2e..b04d0fa6d30 100644 --- a/src/modules/dmq/notification_peer.c +++ b/src/modules/dmq/notification_peer.c @@ -402,8 +402,10 @@ int extract_node_list(dmq_node_list_t *update_list, struct sip_msg *msg) /* trim the \r, \n and \0's */ trim_r(tmp_uri); find = build_dmq_node(_uri, 0); - if(find == NULL) - return -1; + if(find == NULL) { + LM_ERR("error building dmq node\n"); + goto error; + } ret = find_dmq_node(update_list, find); if(!ret) { LM_DBG("found new node %.*s\n", STR_FMT(_uri)); ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:5.6:3ad3a61a: dmq: fix inter-lock on error
Module: kamailio Branch: 5.6 Commit: 3ad3a61a901192290344bd4fadd724f61b8a URL: https://github.com/kamailio/kamailio/commit/3ad3a61a901192290344bd4fadd724f61b8a Author: Victor Seva Committer: Victor Seva Date: 2024-03-23T00:11:40+01:00 dmq: fix inter-lock on error triggered by intermittent DNS resolution error. dmq workers were getting locked at dmq_notification_callback_f() due to this missing lock_release() (cherry picked from commit 0d240e4e0dc3184ef37d338ba6872d295d6b16f2) (cherry picked from commit 814f5bdc9ee5d4594ffb0fd72843bca7b5fa79ea) (cherry picked from commit 0a96c9f4fb3bf179d417b0188d619afd7d9096ef) --- Modified: src/modules/dmq/notification_peer.c --- Diff: https://github.com/kamailio/kamailio/commit/3ad3a61a901192290344bd4fadd724f61b8a.diff Patch: https://github.com/kamailio/kamailio/commit/3ad3a61a901192290344bd4fadd724f61b8a.patch --- diff --git a/src/modules/dmq/notification_peer.c b/src/modules/dmq/notification_peer.c index b2470d5ff86..c62eefb1855 100644 --- a/src/modules/dmq/notification_peer.c +++ b/src/modules/dmq/notification_peer.c @@ -405,8 +405,10 @@ int extract_node_list(dmq_node_list_t *update_list, struct sip_msg *msg) /* trim the \r, \n and \0's */ trim_r(tmp_uri); find = build_dmq_node(_uri, 0); - if(find == NULL) - return -1; + if(find == NULL) { + LM_ERR("error building dmq node\n"); + goto error; + } ret = find_dmq_node(update_list, find); if(!ret) { LM_DBG("found new node %.*s\n", STR_FMT(_uri)); ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:5.7:0a96c9f4: dmq: fix inter-lock on error
Module: kamailio Branch: 5.7 Commit: 0a96c9f4fb3bf179d417b0188d619afd7d9096ef URL: https://github.com/kamailio/kamailio/commit/0a96c9f4fb3bf179d417b0188d619afd7d9096ef Author: Victor Seva Committer: Victor Seva Date: 2024-03-23T00:10:01+01:00 dmq: fix inter-lock on error triggered by intermittent DNS resolution error. dmq workers were getting locked at dmq_notification_callback_f() due to this missing lock_release() (cherry picked from commit 0d240e4e0dc3184ef37d338ba6872d295d6b16f2) (cherry picked from commit 814f5bdc9ee5d4594ffb0fd72843bca7b5fa79ea) --- Modified: src/modules/dmq/notification_peer.c --- Diff: https://github.com/kamailio/kamailio/commit/0a96c9f4fb3bf179d417b0188d619afd7d9096ef.diff Patch: https://github.com/kamailio/kamailio/commit/0a96c9f4fb3bf179d417b0188d619afd7d9096ef.patch --- diff --git a/src/modules/dmq/notification_peer.c b/src/modules/dmq/notification_peer.c index b2470d5ff86..c62eefb1855 100644 --- a/src/modules/dmq/notification_peer.c +++ b/src/modules/dmq/notification_peer.c @@ -405,8 +405,10 @@ int extract_node_list(dmq_node_list_t *update_list, struct sip_msg *msg) /* trim the \r, \n and \0's */ trim_r(tmp_uri); find = build_dmq_node(_uri, 0); - if(find == NULL) - return -1; + if(find == NULL) { + LM_ERR("error building dmq node\n"); + goto error; + } ret = find_dmq_node(update_list, find); if(!ret) { LM_DBG("found new node %.*s\n", STR_FMT(_uri)); ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:5.8:814f5bdc: dmq: fix inter-lock on error
Module: kamailio Branch: 5.8 Commit: 814f5bdc9ee5d4594ffb0fd72843bca7b5fa79ea URL: https://github.com/kamailio/kamailio/commit/814f5bdc9ee5d4594ffb0fd72843bca7b5fa79ea Author: Victor Seva Committer: Victor Seva Date: 2024-03-23T00:09:22+01:00 dmq: fix inter-lock on error triggered by intermittent DNS resolution error. dmq workers were getting locked at dmq_notification_callback_f() due to this missing lock_release() (cherry picked from commit 0d240e4e0dc3184ef37d338ba6872d295d6b16f2) --- Modified: src/modules/dmq/notification_peer.c --- Diff: https://github.com/kamailio/kamailio/commit/814f5bdc9ee5d4594ffb0fd72843bca7b5fa79ea.diff Patch: https://github.com/kamailio/kamailio/commit/814f5bdc9ee5d4594ffb0fd72843bca7b5fa79ea.patch --- diff --git a/src/modules/dmq/notification_peer.c b/src/modules/dmq/notification_peer.c index 6189acf5359..5e9452a51f3 100644 --- a/src/modules/dmq/notification_peer.c +++ b/src/modules/dmq/notification_peer.c @@ -405,8 +405,10 @@ int extract_node_list(dmq_node_list_t *update_list, struct sip_msg *msg) /* trim the \r, \n and \0's */ trim_r(tmp_uri); find = build_dmq_node(_uri, 0); - if(find == NULL) - return -1; + if(find == NULL) { + LM_ERR("error building dmq node\n"); + goto error; + } ret = find_dmq_node(update_list, find); if(!ret) { ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:0d240e4e: dmq: fix inter-lock on error
Module: kamailio Branch: master Commit: 0d240e4e0dc3184ef37d338ba6872d295d6b16f2 URL: https://github.com/kamailio/kamailio/commit/0d240e4e0dc3184ef37d338ba6872d295d6b16f2 Author: Victor Seva Committer: Victor Seva Date: 2024-03-23T00:00:44+01:00 dmq: fix inter-lock on error triggered by intermittent DNS resolution error. dmq workers were getting locked at dmq_notification_callback_f() due to this missing lock_release() --- Modified: src/modules/dmq/notification_peer.c --- Diff: https://github.com/kamailio/kamailio/commit/0d240e4e0dc3184ef37d338ba6872d295d6b16f2.diff Patch: https://github.com/kamailio/kamailio/commit/0d240e4e0dc3184ef37d338ba6872d295d6b16f2.patch --- diff --git a/src/modules/dmq/notification_peer.c b/src/modules/dmq/notification_peer.c index 6189acf5359..5e9452a51f3 100644 --- a/src/modules/dmq/notification_peer.c +++ b/src/modules/dmq/notification_peer.c @@ -405,8 +405,10 @@ int extract_node_list(dmq_node_list_t *update_list, struct sip_msg *msg) /* trim the \r, \n and \0's */ trim_r(tmp_uri); find = build_dmq_node(_uri, 0); - if(find == NULL) - return -1; + if(find == NULL) { + LM_ERR("error building dmq node\n"); + goto error; + } ret = find_dmq_node(update_list, find); if(!ret) { ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] github: [skip ci]: bump tj-actions/changed-files from 42 to 43 (PR #3789)
Merged #3789 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3789#event-12159886821 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:9ae99b3d: github: [skip ci]: bump tj-actions/changed-files from 42 to 43
Module: kamailio Branch: master Commit: 9ae99b3dfc6eb538ea93d6775a283096fe17384c URL: https://github.com/kamailio/kamailio/commit/9ae99b3dfc6eb538ea93d6775a283096fe17384c Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Committer: Victor Seva Date: 2024-03-18T22:47:14+01:00 github: [skip ci]: bump tj-actions/changed-files from 42 to 43 Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 42 to 43. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](https://github.com/tj-actions/changed-files/compare/v42...v43) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Modified: .github/workflows/devcontainer.yaml --- Diff: https://github.com/kamailio/kamailio/commit/9ae99b3dfc6eb538ea93d6775a283096fe17384c.diff Patch: https://github.com/kamailio/kamailio/commit/9ae99b3dfc6eb538ea93d6775a283096fe17384c.patch --- diff --git a/.github/workflows/devcontainer.yaml b/.github/workflows/devcontainer.yaml index 2da1e56c742..a237e2a0338 100644 --- a/.github/workflows/devcontainer.yaml +++ b/.github/workflows/devcontainer.yaml @@ -33,14 +33,14 @@ jobs: - name: Get changed files if: ${{ ! inputs.force }} id: changed-files -uses: tj-actions/changed-files@v42 +uses: tj-actions/changed-files@v43 with: since_last_remote_commit: true - name: changes in relevant files if: ${{ ! inputs.force }} id: changed-files-builder -uses: tj-actions/changed-files@v42 +uses: tj-actions/changed-files@v43 with: files: | .devcontainer/** ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:5392dbf8: pkg/kamailio/obs: Allow builders to disable wolfssl module [skip ci]
Module: kamailio Branch: master Commit: 5392dbf8070abf36734d9c857924df91186bc2dd URL: https://github.com/kamailio/kamailio/commit/5392dbf8070abf36734d9c857924df91186bc2dd Author: Oded Arbel Committer: Victor Seva Date: 2024-03-14T11:01:53+01:00 pkg/kamailio/obs: Allow builders to disable wolfssl module [skip ci] Building the WolfSSL module should be optional, even if it is on by default, builders should be able to choose to not need to install 4th party repositories. fixes #3781 --- Modified: pkg/kamailio/obs/kamailio.spec --- Diff: https://github.com/kamailio/kamailio/commit/5392dbf8070abf36734d9c857924df91186bc2dd.diff Patch: https://github.com/kamailio/kamailio/commit/5392dbf8070abf36734d9c857924df91186bc2dd.patch --- diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec index 59f7360f9e2..8bbe77b63dd 100644 --- a/pkg/kamailio/obs/kamailio.spec +++ b/pkg/kamailio/obs/kamailio.spec @@ -29,6 +29,7 @@ %bcond_without sctp %bcond_without websocket %bcond_without xmlrpc +%bcond_without wolfssl %endif %if 0%{?rhel} == 7 @@ -65,6 +66,7 @@ %bcond_without sctp %bcond_without websocket %bcond_without xmlrpc +%bcond_without wolfssl %endif %if 0%{?rhel} == 8 @@ -111,6 +113,7 @@ %bcond_without sctp %bcond_without websocket %bcond_without xmlrpc +%bcond_without wolfssl %endif %if 0%{?rhel} == 9 @@ -157,6 +160,7 @@ %bcond_without sctp %bcond_without websocket %bcond_without xmlrpc +%bcond_without wolfssl %endif %if 0%{?suse_version} @@ -186,6 +190,7 @@ %bcond_without sctp %bcond_without websocket %bcond_without xmlrpc +%bcond_without wolfssl %endif # build with openssl 1.1.1 on RHEL 7 based dists @@ -1037,6 +1042,7 @@ BuildRequires: openssl-devel TLS transport for Kamailio. +%if %{with wolfssl} %packagetls_wolfssl Summary:TLS transport for Kamailio based on wolfSSL Group: %{PKGGROUP} @@ -1044,6 +1050,7 @@ BuildRequires: pkgconfig(wolfssl) %descriptiontls_wolfssl TLS transport for Kamailio based on wolfSSL +%endif %packagetcpops @@ -1291,7 +1298,11 @@ make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \ %if "%{?_unitdir}" != "" ksystemd \ %endif -ktls ktls_wolfssl kunixodbc kutils \ +ktls \ +%if %{with wolfssl} +ktls_wolfssl \ +%endif +kunixodbc kutils \ %if %{with websocket} kwebsocket \ %endif @@ -1400,7 +1411,11 @@ make install-modules-all skip_modules="app_mono db_cassandra db_oracle \ %if "%{?_unitdir}" != "" ksystemd \ %endif -ktls ktls_wolfssl kunixodbc kutils \ +ktls \ +%if %{with wolfssl} +ktls_wolfssl \ +%endif +kunixodbc kutils \ %if %{with websocket} kwebsocket \ %endif @@ -2337,10 +2352,12 @@ fi %{_libdir}/kamailio/modules/tls.so +%if %{with wolfssl} %files tls_wolfssl %defattr(-,root,root) %doc %{_docdir}/kamailio/modules/README.tls_wolfssl %{_libdir}/kamailio/modules/tls_wolfssl.so +%endif %files tcpops ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] Allow builders to disable wolfssl module (PR #3781)
Thanks -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3781#issuecomment-1997077147 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:5.8:f9b1cca3: pkg/kamailio/obs: Allow builders to disable wolfssl module [skip ci]
Module: kamailio Branch: 5.8 Commit: f9b1cca33a45560f06b2708975c624da9728b6f5 URL: https://github.com/kamailio/kamailio/commit/f9b1cca33a45560f06b2708975c624da9728b6f5 Author: Oded Arbel Committer: Victor Seva Date: 2024-03-14T11:04:48+01:00 pkg/kamailio/obs: Allow builders to disable wolfssl module [skip ci] Building the WolfSSL module should be optional, even if it is on by default, builders should be able to choose to not need to install 4th party repositories. fixes #3781 (cherry picked from commit 5392dbf8070abf36734d9c857924df91186bc2dd) --- Modified: pkg/kamailio/obs/kamailio.spec --- Diff: https://github.com/kamailio/kamailio/commit/f9b1cca33a45560f06b2708975c624da9728b6f5.diff Patch: https://github.com/kamailio/kamailio/commit/f9b1cca33a45560f06b2708975c624da9728b6f5.patch --- diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec index 3d83430e9dc..d8811a2d1f9 100644 --- a/pkg/kamailio/obs/kamailio.spec +++ b/pkg/kamailio/obs/kamailio.spec @@ -29,6 +29,7 @@ %bcond_without sctp %bcond_without websocket %bcond_without xmlrpc +%bcond_without wolfssl %endif %if 0%{?rhel} == 7 @@ -65,6 +66,7 @@ %bcond_without sctp %bcond_without websocket %bcond_without xmlrpc +%bcond_without wolfssl %endif %if 0%{?rhel} == 8 @@ -111,6 +113,7 @@ %bcond_without sctp %bcond_without websocket %bcond_without xmlrpc +%bcond_without wolfssl %endif %if 0%{?rhel} == 9 @@ -157,6 +160,7 @@ %bcond_without sctp %bcond_without websocket %bcond_without xmlrpc +%bcond_without wolfssl %endif %if 0%{?suse_version} @@ -186,6 +190,7 @@ %bcond_without sctp %bcond_without websocket %bcond_without xmlrpc +%bcond_without wolfssl %endif # build with openssl 1.1.1 on RHEL 7 based dists @@ -1037,6 +1042,7 @@ BuildRequires: openssl-devel TLS transport for Kamailio. +%if %{with wolfssl} %packagetls_wolfssl Summary:TLS transport for Kamailio based on wolfSSL Group: %{PKGGROUP} @@ -1044,6 +1050,7 @@ BuildRequires: pkgconfig(wolfssl) %descriptiontls_wolfssl TLS transport for Kamailio based on wolfSSL +%endif %packagetcpops @@ -1291,7 +1298,11 @@ make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \ %if "%{?_unitdir}" != "" ksystemd \ %endif -ktls ktls_wolfssl kunixodbc kutils \ +ktls \ +%if %{with wolfssl} +ktls_wolfssl \ +%endif +kunixodbc kutils \ %if %{with websocket} kwebsocket \ %endif @@ -1400,7 +1411,11 @@ make install-modules-all skip_modules="app_mono db_cassandra db_oracle \ %if "%{?_unitdir}" != "" ksystemd \ %endif -ktls ktls_wolfssl kunixodbc kutils \ +ktls \ +%if %{with wolfssl} +ktls_wolfssl \ +%endif +kunixodbc kutils \ %if %{with websocket} kwebsocket \ %endif @@ -2337,10 +2352,12 @@ fi %{_libdir}/kamailio/modules/tls.so +%if %{with wolfssl} %files tls_wolfssl %defattr(-,root,root) %doc %{_docdir}/kamailio/modules/README.tls_wolfssl %{_libdir}/kamailio/modules/tls_wolfssl.so +%endif %files tcpops ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] Allow builders to disable wolfssl module (PR #3781)
Closed #3781 via 5392dbf8070abf36734d9c857924df91186bc2dd. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3781#event-12115678322 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:5.8:50a0f82e: pkg/kamailio/deb: version set 5.8.0 [skip ci]
Module: kamailio Branch: 5.8 Commit: 50a0f82eab0a1f9dc5738f022231eba349a46a3a URL: https://github.com/kamailio/kamailio/commit/50a0f82eab0a1f9dc5738f022231eba349a46a3a Author: Victor Seva Committer: Victor Seva Date: 2024-03-07T11:42:06+01:00 pkg/kamailio/deb: version set 5.8.0 [skip ci] --- Modified: pkg/kamailio/deb/bionic/changelog Modified: pkg/kamailio/deb/bookworm/changelog Modified: pkg/kamailio/deb/bullseye/changelog Modified: pkg/kamailio/deb/buster/changelog Modified: pkg/kamailio/deb/debian/changelog Modified: pkg/kamailio/deb/focal/changelog Modified: pkg/kamailio/deb/jammy/changelog Modified: pkg/kamailio/deb/jessie/changelog Modified: pkg/kamailio/deb/precise/changelog Modified: pkg/kamailio/deb/sid/changelog Modified: pkg/kamailio/deb/stretch/changelog Modified: pkg/kamailio/deb/trusty/changelog Modified: pkg/kamailio/deb/wheezy/changelog Modified: pkg/kamailio/deb/xenial/changelog --- Diff: https://github.com/kamailio/kamailio/commit/50a0f82eab0a1f9dc5738f022231eba349a46a3a.diff Patch: https://github.com/kamailio/kamailio/commit/50a0f82eab0a1f9dc5738f022231eba349a46a3a.patch ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] Hello I am Facing issue while Installing Kamilio from Herulspreet brach. It is showing multiple definitions under CDP module. (Issue #3769)
Closed #3769 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3769#event-11935799135 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] Hello I am Facing issue while Installing Kamilio from Herulspreet brach. It is showing multiple definitions under CDP module. (Issue #3769)
Kamailio Project uses GitHub Issues only for bugs in the code or feature requests. Please use this template only for bug reports. If you have questions about using Kamailio or related to its configuration file, ask on sr-users mailing list: * https://lists.kamailio.org/mailman3/postorius/lists/sr-users.lists.kamailio.org/ If you have questions about developing extensions to Kamailio or its existing C code, ask on sr-dev mailing list: * https://lists.kamailio.org/mailman3/postorius/lists/sr-dev.lists.kamailio.org/ -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3769#issuecomment-1966470872 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] Kamailio 5.6 (and 5.7) core dumps with uac_req_send() from uac module (Issue #3725)
There are dbgsym packages available in the repo -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3725#issuecomment-1965516681 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:5.8:5af33b2e: pkg/docker: set branch 5.8 and refresh [skip ci]
Module: kamailio Branch: 5.8 Commit: 5af33b2e0ddc1098919008d44ab91959bc7dfb80 URL: https://github.com/kamailio/kamailio/commit/5af33b2e0ddc1098919008d44ab91959bc7dfb80 Author: Victor Seva Committer: Victor Seva Date: 2024-02-23T21:24:19+01:00 pkg/docker: set branch 5.8 and refresh [skip ci] --- Modified: .gitmodules Modified: pkg/docker --- Diff: https://github.com/kamailio/kamailio/commit/5af33b2e0ddc1098919008d44ab91959bc7dfb80.diff Patch: https://github.com/kamailio/kamailio/commit/5af33b2e0ddc1098919008d44ab91959bc7dfb80.patch --- diff --git a/.gitmodules b/.gitmodules index 1d8f99966ed..9ea3c41fd05 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,7 @@ [submodule "pkg/docker"] path = pkg/docker url = https://github.com/kamailio/kamailio-ci.git + branch = 5.8 [submodule "src/modules/tls_wolfssl/lib/wolfssl"] path = misc/external/wolfssl/wolfssl url = https://github.com/wolfSSL/wolfssl.git diff --git a/pkg/docker b/pkg/docker index cf48a82c5f9..969a5dd0d65 16 --- a/pkg/docker +++ b/pkg/docker @@ -1 +1 @@ -Subproject commit cf48a82c5f9df67813d14e6619cc9a41ec9a683b +Subproject commit 969a5dd0d65dadce47049dc5e0dd145e9aff47b8 ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:5.8:fbdca3da: github: set branch to 5.8 [skip ci]
Module: kamailio Branch: 5.8 Commit: fbdca3da6293aba548989e3ab9d600be338199b2 URL: https://github.com/kamailio/kamailio/commit/fbdca3da6293aba548989e3ab9d600be338199b2 Author: Victor Seva Committer: Victor Seva Date: 2024-02-23T20:43:33+01:00 github: set branch to 5.8 [skip ci] --- Modified: .devcontainer/devcontainer.json Modified: .github/workflows/devcontainer.yaml Modified: .github/workflows/main.yml --- Diff: https://github.com/kamailio/kamailio/commit/fbdca3da6293aba548989e3ab9d600be338199b2.diff Patch: https://github.com/kamailio/kamailio/commit/fbdca3da6293aba548989e3ab9d600be338199b2.patch --- diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 2a0413eae4d..9a3e3a47449 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -4,7 +4,7 @@ */ "name": "Debian", "build": { -"cacheFrom": "ghcr.io/kamailio/kamailio-master-devcontainer", +"cacheFrom": "ghcr.io/kamailio/kamailio-5.8-devcontainer", "context": "../pkg/kamailio/deb", "dockerfile": "Dockerfile" }, diff --git a/.github/workflows/devcontainer.yaml b/.github/workflows/devcontainer.yaml index 2da1e56c742..f1549a9bca8 100644 --- a/.github/workflows/devcontainer.yaml +++ b/.github/workflows/devcontainer.yaml @@ -4,7 +4,7 @@ name: build devcontainer image 'on': push: branches: - - master + - 5.8 # Allows you to run this workflow manually from the Actions tab workflow_dispatch: inputs: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8b7ae03a271..145e9f8548f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,7 +3,7 @@ name: build 'on': push: branches: - - master + - 5.8 # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:5.8:3566edd0: pkg/kamailio/deb: version set 5.8.0~rc0
Module: kamailio Branch: 5.8 Commit: 3566edd00ea729bb187b160a80b54fe92e2bbe4d URL: https://github.com/kamailio/kamailio/commit/3566edd00ea729bb187b160a80b54fe92e2bbe4d Author: Victor Seva Committer: Victor Seva Date: 2024-02-23T20:05:34+01:00 pkg/kamailio/deb: version set 5.8.0~rc0 --- Modified: pkg/kamailio/deb/bionic/changelog Modified: pkg/kamailio/deb/bookworm/changelog Modified: pkg/kamailio/deb/bullseye/changelog Modified: pkg/kamailio/deb/buster/changelog Modified: pkg/kamailio/deb/debian/changelog Modified: pkg/kamailio/deb/focal/changelog Modified: pkg/kamailio/deb/jammy/changelog Modified: pkg/kamailio/deb/jessie/changelog Modified: pkg/kamailio/deb/precise/changelog Modified: pkg/kamailio/deb/sid/changelog Modified: pkg/kamailio/deb/stretch/changelog Modified: pkg/kamailio/deb/trusty/changelog Modified: pkg/kamailio/deb/wheezy/changelog Modified: pkg/kamailio/deb/xenial/changelog --- Diff: https://github.com/kamailio/kamailio/commit/3566edd00ea729bb187b160a80b54fe92e2bbe4d.diff Patch: https://github.com/kamailio/kamailio/commit/3566edd00ea729bb187b160a80b54fe92e2bbe4d.patch ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] microhttpd: fixed typo in the documentation (PR #3761)
merged manually with small change in commit message. Thanks! -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3761#issuecomment-1959039317 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] microhttpd: fixed typo in the documentation (PR #3761)
Closed #3761. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3761#event-11888359436 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:ff8229b5: microhttpd: fixed typo in the documentation [skip ci]
Module: kamailio Branch: master Commit: ff8229b58d6f91bae527bc2f5912c7d291c55268 URL: https://github.com/kamailio/kamailio/commit/ff8229b58d6f91bae527bc2f5912c7d291c55268 Author: falshunov <37283637+falshu...@users.noreply.github.com> Committer: Victor Seva Date: 2024-02-22T10:28:11+01:00 microhttpd: fixed typo in the documentation [skip ci] --- Modified: src/modules/microhttpd/doc/microhttpd_admin.xml --- Diff: https://github.com/kamailio/kamailio/commit/ff8229b58d6f91bae527bc2f5912c7d291c55268.diff Patch: https://github.com/kamailio/kamailio/commit/ff8229b58d6f91bae527bc2f5912c7d291c55268.patch --- diff --git a/src/modules/microhttpd/doc/microhttpd_admin.xml b/src/modules/microhttpd/doc/microhttpd_admin.xml index a50edb79818..1967c845b82 100644 --- a/src/modules/microhttpd/doc/microhttpd_admin.xml +++ b/src/modules/microhttpd/doc/microhttpd_admin.xml @@ -43,7 +43,7 @@ - libmicrohhtpd - libmicrohttpd library + libmicrohttpd - libmicrohttpd library ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] tools/kemi: fix bug in mock (PR #3760)
Merged #3760 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3760#event-11872017748 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:e54152e0: tools/kemi: fix bug in mock
Module: kamailio Branch: master Commit: e54152e06e4a097ac17522e282f26b277ecae4da URL: https://github.com/kamailio/kamailio/commit/e54152e06e4a097ac17522e282f26b277ecae4da Author: Torrey Searle Committer: Victor Seva Date: 2024-02-21T08:28:20+01:00 tools/kemi: fix bug in mock remove stray debug print statement that results in generated code being invalid --- Modified: misc/tools/kemi/python_mock/kemi_mock.py --- Diff: https://github.com/kamailio/kamailio/commit/e54152e06e4a097ac17522e282f26b277ecae4da.diff Patch: https://github.com/kamailio/kamailio/commit/e54152e06e4a097ac17522e282f26b277ecae4da.patch --- diff --git a/misc/tools/kemi/python_mock/kemi_mock.py b/misc/tools/kemi/python_mock/kemi_mock.py index a755ae4a7c0..48a73efa232 100755 --- a/misc/tools/kemi/python_mock/kemi_mock.py +++ b/misc/tools/kemi/python_mock/kemi_mock.py @@ -82,7 +82,6 @@ def printFunction(module_name, func, indent): log_format_params = "%s" param_list = [] -print("func['params']=%s" % func['params']) if func['params'] is not None and func['params'] != "none": param_list = func['params'].split(", ") i = 0 ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:5.7:bf40176e: core/rthreads.h: use global ksr_tls_threads_mode to constrain thread
Module: kamailio Branch: 5.7 Commit: bf40176e34e869b567a0f36eab28739508797080 URL: https://github.com/kamailio/kamailio/commit/bf40176e34e869b567a0f36eab28739508797080 Author: S-P Chan Committer: Victor Seva Date: 2024-02-12T07:52:26+01:00 core/rthreads.h: use global ksr_tls_threads_mode to constrain thread wrapping - 0: run wrapped function directly - 1: run wrapped function in thread for process#0 else run directly - 2: always run wrapped function in thread --- Modified: src/core/rthreads.h --- Diff: https://github.com/kamailio/kamailio/commit/bf40176e34e869b567a0f36eab28739508797080.diff Patch: https://github.com/kamailio/kamailio/commit/bf40176e34e869b567a0f36eab28739508797080.patch --- diff --git a/src/core/rthreads.h b/src/core/rthreads.h index fa60ccef071..e96f45c9395 100644 --- a/src/core/rthreads.h +++ b/src/core/rthreads.h @@ -27,6 +27,7 @@ */ #include +#include "./globals.h" /* * prototype: void *fn(void *arg) { ... } */ @@ -39,9 +40,11 @@ static void *run_threadP(_thread_proto fn, void *arg) pthread_t tid; void *ret; - if(likely(process_no)) { + if(likely(ksr_tls_threads_mode == 0 + || (ksr_tls_threads_mode == 1 && process_no > 0))) { return fn(arg); } + pthread_create(, NULL, fn, arg); pthread_join(tid, ); @@ -73,7 +76,9 @@ static void *run_threadPI(_thread_protoPI fn, void *arg1, int arg2) #ifdef USE_TLS pthread_t tid; void *ret; - if(likely(process_no)) { + + if(likely(ksr_tls_threads_mode == 0 + || (ksr_tls_threads_mode == 1 && process_no > 0))) { return fn(arg1, arg2); } @@ -84,7 +89,7 @@ static void *run_threadPI(_thread_protoPI fn, void *arg1, int arg2) return ret; #else return fn(arg1, arg2); -#endif /* USE_TLS */ +#endif } #endif @@ -107,18 +112,19 @@ static void run_threadV(_thread_protoV fn) { #ifdef USE_TLS pthread_t tid; - if(likely(process_no)) { + + if(likely(ksr_tls_threads_mode == 0 + || (ksr_tls_threads_mode == 1 && process_no > 0))) { fn(); return; } - pthread_create(, NULL, (_thread_proto)run_thread_wrapV, &(struct _thread_argsV){fn}); pthread_join(tid, NULL); #else fn(); -#endif /* USE_TLS */ +#endif } #endif @@ -146,10 +152,10 @@ static int run_thread4PP(_thread_proto4PP fn, void *arg1, void *arg2) pthread_t tid; int ret; - if(likely(process_no)) { + if(likely(ksr_tls_threads_mode == 0 + || (ksr_tls_threads_mode == 1 && process_no > 0))) { return fn(arg1, arg2); } - pthread_create(, NULL, (_thread_proto)run_thread_wrap4PP, &(struct _thread_args4PP){fn, arg1, arg2, }); pthread_join(tid, NULL); @@ -182,17 +188,17 @@ static void run_thread0P(_thread_proto0P fn, void *arg1) #ifdef USE_TLS pthread_t tid; - if(likely(process_no)) { + if(likely(ksr_tls_threads_mode == 0 + || (ksr_tls_threads_mode == 1 && process_no > 0))) { fn(arg1); return; } - pthread_create(, NULL, (_thread_proto)run_thread_wrap0P, &(struct _thread_args0P){fn, arg1}); pthread_join(tid, NULL); #else - fn(arg1); -#endif /* USE_TLS */ + fn(arg1) +#endif } #endif @@ -234,7 +240,8 @@ static int run_thread4P5I2P2(_thread_proto4P5I2P2 fn, void *arg1, void *arg2, pthread_t tid; int ret; - if(likely(process_no)) { + if(likely(ksr_tls_threads_mode == 0 + || (ksr_tls_threads_mode == 1 && process_no > 0))) { return fn(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); } pthread_create(, NULL, (_thread_proto)run_thread_wrap4P5I2P2, ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:5.7:253f13f1: tls: restore default to bypass thread guards
Module: kamailio Branch: 5.7 Commit: 253f13f18ec6853764d950d58f467c331d03425a URL: https://github.com/kamailio/kamailio/commit/253f13f18ec6853764d950d58f467c331d03425a Author: S-P Chan Committer: Victor Seva Date: 2024-02-12T07:52:26+01:00 tls: restore default to bypass thread guards - restore <= 5.7.3 behaviour - require user to opt-in to libssl thread-guards with tls_threads_mode = 1|2 --- Modified: src/modules/tls/tls_mod.c --- Diff: https://github.com/kamailio/kamailio/commit/253f13f18ec6853764d950d58f467c331d03425a.diff Patch: https://github.com/kamailio/kamailio/commit/253f13f18ec6853764d950d58f467c331d03425a.patch --- diff --git a/src/modules/tls/tls_mod.c b/src/modules/tls/tls_mod.c index beaf1b7b70b..3359aaffdcc 100644 --- a/src/modules/tls/tls_mod.c +++ b/src/modules/tls/tls_mod.c @@ -451,9 +451,9 @@ static int mod_child(int rank) #if OPENSSL_VERSION_NUMBER >= 0x010101000L /* * OpenSSL 3.x/1.1.1: create shared SSL_CTX* in worker to avoid init of - * libssl in rank 0(thread#1) + * libssl in rank 0(thread#1). Requires tls_threads_mode = 1 config. */ -if(rank == PROC_SIPINIT) { +if((rank == PROC_SIPINIT && ksr_tls_threads_mode) || (rank == PROC_INIT && !ksr_tls_threads_mode)) { #else if(rank == PROC_INIT) { #endif ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:5.7:2f0cca81: Sample etc/kamailio.cfg: global var tls_threads_mode
Module: kamailio Branch: 5.7 Commit: 2f0cca81bfc47783098e4c869b038229cd3e4ed0 URL: https://github.com/kamailio/kamailio/commit/2f0cca81bfc47783098e4c869b038229cd3e4ed0 Author: S-P Chan Committer: Victor Seva Date: 2024-02-12T07:52:26+01:00 Sample etc/kamailio.cfg: global var tls_threads_mode - load tls first if used - global var tls_threads_mode --- Modified: etc/kamailio.cfg --- Diff: https://github.com/kamailio/kamailio/commit/2f0cca81bfc47783098e4c869b038229cd3e4ed0.diff Patch: https://github.com/kamailio/kamailio/commit/2f0cca81bfc47783098e4c869b038229cd3e4ed0.patch --- diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg old mode 100644 new mode 100755 index fe7b111a012..a95a652b935 --- a/etc/kamailio.cfg +++ b/etc/kamailio.cfg @@ -220,6 +220,13 @@ enable_tls=yes /* upper limit for TLS connections */ tls_max_connections=2048 + +/* For OpenSSL 3 integration + * functions calling libssl3 can be invoked in a transient thread + * 0: disable threaded calls + * 1: use threads for process#0 only + * 2: use threads for all processes */ +tls_threads_mode=1 #!endif /* set it to yes to enable sctp and load sctp.so module */ @@ -257,6 +264,12 @@ voicemail.srv_port = "5060" desc "VoiceMail Port" /* set paths to location of modules */ # mpath="/usr/local/lib/kamailio/modules/" +# when using TLS with OpenSSL it is recommended to load this module +# first so that OpenSSL is initialized correctly +#!ifdef WITH_TLS +loadmodule "tls.so" +#!endif + #!ifdef WITH_MYSQL loadmodule "db_mysql.so" #!endif @@ -319,10 +332,6 @@ loadmodule "rtpproxy.so" #!endif #!endif -#!ifdef WITH_TLS -loadmodule "tls.so" -#!endif - #!ifdef WITH_HTABLE loadmodule "htable.so" #!endif ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] [5.7] Restore libssl default behaviour on stable; opt-in to libssl thread-guards required (PR #3754)
Merged #3754 into 5.7. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3754#event-11770580624 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:5.7:3697d763: core: added tls_threads_mode global parameter
Module: kamailio Branch: 5.7 Commit: 3697d763e340b7e88532a8b1920b0088c08fbc72 URL: https://github.com/kamailio/kamailio/commit/3697d763e340b7e88532a8b1920b0088c08fbc72 Author: Daniel-Constantin Mierla Committer: Victor Seva Date: 2024-02-12T07:52:26+01:00 core: added tls_threads_mode global parameter - control how to execute functions that may be using libssl3 behind --- Modified: src/core/cfg.lex Modified: src/core/cfg.y Modified: src/core/globals.h Modified: src/main.c --- Diff: https://github.com/kamailio/kamailio/commit/3697d763e340b7e88532a8b1920b0088c08fbc72.diff Patch: https://github.com/kamailio/kamailio/commit/3697d763e340b7e88532a8b1920b0088c08fbc72.patch --- diff --git a/src/core/cfg.lex b/src/core/cfg.lex index 82278d5447a..d342aa5143d 100644 --- a/src/core/cfg.lex +++ b/src/core/cfg.lex @@ -439,6 +439,7 @@ TCP_WAIT_DATA "tcp_wait_data" TCP_SCRIPT_MODE"tcp_script_mode" DISABLE_TLS"disable_tls"|"tls_disable" ENABLE_TLS "enable_tls"|"tls_enable" +TLS_THREADS_MODE "tls_threads_mode" TLSLOG "tlslog"|"tls_log" TLS_PORT_NO"tls_port_no" TLS_METHOD "tls_method" @@ -953,6 +954,7 @@ IMPORTFILE "import_file" {TCP_SCRIPT_MODE} { count(); yylval.strval=yytext; return TCP_SCRIPT_MODE; } {DISABLE_TLS} { count(); yylval.strval=yytext; return DISABLE_TLS; } {ENABLE_TLS} { count(); yylval.strval=yytext; return ENABLE_TLS; } +{TLS_THREADS_MODE}{ count(); yylval.strval=yytext; return TLS_THREADS_MODE; } {TLSLOG} { count(); yylval.strval=yytext; return TLS_PORT_NO; } {TLS_PORT_NO} { count(); yylval.strval=yytext; return TLS_PORT_NO; } {TLS_METHOD} { count(); yylval.strval=yytext; return TLS_METHOD; } diff --git a/src/core/cfg.y b/src/core/cfg.y index 1f2ad7fb3fa..412fe5dece4 100644 --- a/src/core/cfg.y +++ b/src/core/cfg.y @@ -469,6 +469,7 @@ extern char *default_routename; %token TCP_SCRIPT_MODE %token DISABLE_TLS %token ENABLE_TLS +%token TLS_THREADS_MODE %token TLSLOG %token TLS_PORT_NO %token TLS_METHOD @@ -1440,6 +1441,14 @@ assign_stm: #endif } | ENABLE_TLS EQUAL error { yyerror("boolean value expected"); } + | TLS_THREADS_MODE EQUAL NUMBER { + #ifdef USE_TLS + ksr_tls_threads_mode = $3; + #else + warn("tls support not compiled in"); + #endif + } + | TLS_THREADS_MODE EQUAL error { yyerror("int value expected"); } | TLSLOG EQUAL NUMBER { #ifdef CORE_TLS tls_log=$3; diff --git a/src/core/globals.h b/src/core/globals.h index 207205c9957..0487a3114eb 100644 --- a/src/core/globals.h +++ b/src/core/globals.h @@ -108,6 +108,7 @@ extern int ksr_tcp_script_mode; #ifdef USE_TLS extern int tls_disable; extern unsigned short tls_port_no; +extern int ksr_tls_threads_mode; #endif #ifdef USE_SCTP extern int sctp_disable; diff --git a/src/main.c b/src/main.c index 8e34285fde2..f7cb643ea34 100644 --- a/src/main.c +++ b/src/main.c @@ -326,8 +326,9 @@ int tcp_disable = 0; /* 1 if tcp is disabled */ int tls_disable = 0; /* tls enabled by default */ #else int tls_disable = 1; /* tls disabled by default */ -#endif /* CORE_TLS */ -#endif /* USE_TLS */ +#endif /* CORE_TLS */ +int ksr_tls_threads_mode = 0; /* threads execution mode for tls with libssl */ +#endif /* USE_TLS */ #ifdef USE_SCTP int sctp_children_no = 0; int sctp_disable = 2; /* 1 if sctp is disabled, 2 if auto mode, 0 enabled */ ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:8bdd9ca4: outbound: fix build on xenial
Module: kamailio Branch: master Commit: 8bdd9ca4b3c3d4f9f2f201b0a9e0ad9a61eee41d URL: https://github.com/kamailio/kamailio/commit/8bdd9ca4b3c3d4f9f2f201b0a9e0ad9a61eee41d Author: Victor Seva Committer: Victor Seva Date: 2024-02-03T10:53:33+01:00 outbound: fix build on xenial > outbound_mod.c: In function 'mod_init': > outbound_mod.c:122:2: error: too many arguments to function 'mod_init_openssl' > mod_init_openssl(NULL); > ^ > outbound_mod.c:82:13: note: declared here > static void mod_init_openssl(void) ^ --- Modified: src/modules/outbound/outbound_mod.c --- Diff: https://github.com/kamailio/kamailio/commit/8bdd9ca4b3c3d4f9f2f201b0a9e0ad9a61eee41d.diff Patch: https://github.com/kamailio/kamailio/commit/8bdd9ca4b3c3d4f9f2f201b0a9e0ad9a61eee41d.patch --- diff --git a/src/modules/outbound/outbound_mod.c b/src/modules/outbound/outbound_mod.c index 24d7a54cd71..e5ed1712607 100644 --- a/src/modules/outbound/outbound_mod.c +++ b/src/modules/outbound/outbound_mod.c @@ -119,7 +119,7 @@ static int mod_init(void) ob_key.len = OB_KEY_LEN; #if OPENSSL_VERSION_NUMBER < 0x010101000L - mod_init_openssl(NULL); + mod_init_openssl(); #else run_threadV(mod_init_openssl); #endif ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:b8c0a375: db_mysql: fix build for stretch
Module: kamailio Branch: master Commit: b8c0a3757eb282ddb9e4878deb7120c4efd7f571 URL: https://github.com/kamailio/kamailio/commit/b8c0a3757eb282ddb9e4878deb7120c4efd7f571 Author: Victor Seva Committer: Victor Seva Date: 2024-02-03T10:41:43+01:00 db_mysql: fix build for stretch * mysql_optionsv is not there. We still use the deprecated flavour * MYSQL_OPT_SSL_ENFORCE is not there --- Modified: src/modules/db_mysql/km_my_con.c --- Diff: https://github.com/kamailio/kamailio/commit/b8c0a3757eb282ddb9e4878deb7120c4efd7f571.diff Patch: https://github.com/kamailio/kamailio/commit/b8c0a3757eb282ddb9e4878deb7120c4efd7f571.patch --- diff --git a/src/modules/db_mysql/km_my_con.c b/src/modules/db_mysql/km_my_con.c index 88c950417a6..b4c4dca33b0 100644 --- a/src/modules/db_mysql/km_my_con.c +++ b/src/modules/db_mysql/km_my_con.c @@ -129,10 +129,14 @@ struct my_con *db_mysql_new_connection(const struct db_id *id) case 2: /* SSL_MODE_PREFERRED */ case 3: /* SSL_MODE_REQUIRED */ case 4: /* SSL_MODE_VERIFY_CA */ - mysql_optionsv(ptr->con, MYSQL_OPT_SSL_ENFORCE, (void *)&(int){1}); +#if MYSQL_VERSION_ID >= 100339 + mysql_options(ptr->con, MYSQL_OPT_SSL_ENFORCE, (void *)&(int){1}); +#else + LM_WARN("ssl mode not supported by %s\n", MARIADB_BASE_VERSION); +#endif break; case 5: /* SSL_MODE_VERIFY_IDENTITY */ - mysql_optionsv(ptr->con, MYSQL_OPT_SSL_VERIFY_SERVER_CERT, + mysql_options(ptr->con, MYSQL_OPT_SSL_VERIFY_SERVER_CERT, (void *)&(int){1}); break; default: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:2cb2e5c9: Revert "db_mysql: fix build for older releases"
Module: kamailio Branch: master Commit: 2cb2e5c99c3e565762820ef702404ae5ec59a6c9 URL: https://github.com/kamailio/kamailio/commit/2cb2e5c99c3e565762820ef702404ae5ec59a6c9 Author: Victor Seva Committer: Victor Seva Date: 2024-02-03T09:47:46+01:00 Revert "db_mysql: fix build for older releases" it doesn't fix anything This reverts commit f0e73eabee3be198dbad2e50752d9889e4aa8e5f. --- Modified: src/modules/db_mysql/km_my_con.c --- Diff: https://github.com/kamailio/kamailio/commit/2cb2e5c99c3e565762820ef702404ae5ec59a6c9.diff Patch: https://github.com/kamailio/kamailio/commit/2cb2e5c99c3e565762820ef702404ae5ec59a6c9.patch --- diff --git a/src/modules/db_mysql/km_my_con.c b/src/modules/db_mysql/km_my_con.c index 7a5d090352d..88c950417a6 100644 --- a/src/modules/db_mysql/km_my_con.c +++ b/src/modules/db_mysql/km_my_con.c @@ -117,7 +117,6 @@ struct my_con *db_mysql_new_connection(const struct db_id *id) mysql_options(ptr->con, MYSQL_OPT_WRITE_TIMEOUT, (const void *)_mysql_timeout_interval); -#if MYSQL_VERSION_ID > 50710 #ifdef MARIADB_BASE_VERSION /* * emulate SSL_MODE_ from MySQL @@ -142,6 +141,7 @@ struct my_con *db_mysql_new_connection(const struct db_id *id) break; } #else +#if MYSQL_VERSION_ID > 50710 if(db_mysql_opt_ssl_mode != 0) { unsigned int optuint = 0; if(db_mysql_opt_ssl_mode == 1) { @@ -155,7 +155,6 @@ struct my_con *db_mysql_new_connection(const struct db_id *id) } mysql_options(ptr->con, MYSQL_OPT_SSL_MODE, (const void *)); } -#endif /* MARIADB_BASE_VERSION */ #else if(db_mysql_opt_ssl_mode != 0) { LM_WARN("ssl mode not supported by mysql version (value %u) - " @@ -163,6 +162,7 @@ struct my_con *db_mysql_new_connection(const struct db_id *id) (unsigned int)db_mysql_opt_ssl_mode); } #endif /* MYSQL_VERSION_ID */ +#endif /* MARIADB_BASE_VERSION */ #if MYSQL_VERSION_ID > 50012 /* set reconnect flag if enabled */ ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:015da378: pkg/kamailio/deb: no libpcre2-dev on older releases
Module: kamailio Branch: master Commit: 015da378ab8b4ce5ced8b05f9c51e809ec11e53e URL: https://github.com/kamailio/kamailio/commit/015da378ab8b4ce5ced8b05f9c51e809ec11e53e Author: Victor Seva Committer: Victor Seva Date: 2024-02-02T15:21:39+01:00 pkg/kamailio/deb: no libpcre2-dev on older releases --- Modified: pkg/kamailio/deb/debian/backports/jessie Modified: pkg/kamailio/deb/debian/backports/precise Modified: pkg/kamailio/deb/debian/backports/trusty Modified: pkg/kamailio/deb/debian/backports/wheezy Modified: pkg/kamailio/deb/jessie/control Modified: pkg/kamailio/deb/precise/control Modified: pkg/kamailio/deb/trusty/control Modified: pkg/kamailio/deb/wheezy/control --- Diff: https://github.com/kamailio/kamailio/commit/015da378ab8b4ce5ced8b05f9c51e809ec11e53e.diff Patch: https://github.com/kamailio/kamailio/commit/015da378ab8b4ce5ced8b05f9c51e809ec11e53e.patch ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:f0e73eab: db_mysql: fix build for older releases
Module: kamailio Branch: master Commit: f0e73eabee3be198dbad2e50752d9889e4aa8e5f URL: https://github.com/kamailio/kamailio/commit/f0e73eabee3be198dbad2e50752d9889e4aa8e5f Author: Victor Seva Committer: Victor Seva Date: 2024-02-02T15:21:39+01:00 db_mysql: fix build for older releases > km_my_con.c: In function 'db_mysql_new_connection': > km_my_con.c:132:4: warning: implicit declaration of function 'mysql_optionsv' > [-Wimplicit-function-declaration] > mysql_optionsv(ptr->con, MYSQL_OPT_SSL_ENFORCE, (void *)&(int){1}); > ^~ > km_my_con.c:132:29: error: 'MYSQL_OPT_SSL_ENFORCE' undeclared (first use in > this function) > mysql_optionsv(ptr->con, MYSQL_OPT_SSL_ENFORCE, (void *)&(int){1}); > ^ > km_my_con.c:132:29: note: each undeclared identifier is reported only once > for each function it appears in > ../../Makefile.rules:100: recipe for target 'km_my_con.o' failed --- Modified: src/modules/db_mysql/km_my_con.c --- Diff: https://github.com/kamailio/kamailio/commit/f0e73eabee3be198dbad2e50752d9889e4aa8e5f.diff Patch: https://github.com/kamailio/kamailio/commit/f0e73eabee3be198dbad2e50752d9889e4aa8e5f.patch --- diff --git a/src/modules/db_mysql/km_my_con.c b/src/modules/db_mysql/km_my_con.c index 88c950417a6..7a5d090352d 100644 --- a/src/modules/db_mysql/km_my_con.c +++ b/src/modules/db_mysql/km_my_con.c @@ -117,6 +117,7 @@ struct my_con *db_mysql_new_connection(const struct db_id *id) mysql_options(ptr->con, MYSQL_OPT_WRITE_TIMEOUT, (const void *)_mysql_timeout_interval); +#if MYSQL_VERSION_ID > 50710 #ifdef MARIADB_BASE_VERSION /* * emulate SSL_MODE_ from MySQL @@ -141,7 +142,6 @@ struct my_con *db_mysql_new_connection(const struct db_id *id) break; } #else -#if MYSQL_VERSION_ID > 50710 if(db_mysql_opt_ssl_mode != 0) { unsigned int optuint = 0; if(db_mysql_opt_ssl_mode == 1) { @@ -155,6 +155,7 @@ struct my_con *db_mysql_new_connection(const struct db_id *id) } mysql_options(ptr->con, MYSQL_OPT_SSL_MODE, (const void *)); } +#endif /* MARIADB_BASE_VERSION */ #else if(db_mysql_opt_ssl_mode != 0) { LM_WARN("ssl mode not supported by mysql version (value %u) - " @@ -162,7 +163,6 @@ struct my_con *db_mysql_new_connection(const struct db_id *id) (unsigned int)db_mysql_opt_ssl_mode); } #endif /* MYSQL_VERSION_ID */ -#endif /* MARIADB_BASE_VERSION */ #if MYSQL_VERSION_ID > 50012 /* set reconnect flag if enabled */ ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:80214d2f: pkg/kamailio/deb: version set 5.8.0~pre0
Module: kamailio Branch: master Commit: 80214d2f878b3f2d7547060c9d4bd578a9e1a837 URL: https://github.com/kamailio/kamailio/commit/80214d2f878b3f2d7547060c9d4bd578a9e1a837 Author: Victor Seva Committer: Victor Seva Date: 2024-02-02T15:21:39+01:00 pkg/kamailio/deb: version set 5.8.0~pre0 --- Modified: pkg/kamailio/deb/bionic/changelog Modified: pkg/kamailio/deb/bookworm/changelog Modified: pkg/kamailio/deb/bullseye/changelog Modified: pkg/kamailio/deb/buster/changelog Modified: pkg/kamailio/deb/debian/changelog Modified: pkg/kamailio/deb/focal/changelog Modified: pkg/kamailio/deb/jammy/changelog Modified: pkg/kamailio/deb/jessie/changelog Modified: pkg/kamailio/deb/precise/changelog Modified: pkg/kamailio/deb/sid/changelog Modified: pkg/kamailio/deb/stretch/changelog Modified: pkg/kamailio/deb/trusty/changelog Modified: pkg/kamailio/deb/wheezy/changelog Modified: pkg/kamailio/deb/xenial/changelog --- Diff: https://github.com/kamailio/kamailio/commit/80214d2f878b3f2d7547060c9d4bd578a9e1a837.diff Patch: https://github.com/kamailio/kamailio/commit/80214d2f878b3f2d7547060c9d4bd578a9e1a837.patch ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:976670db: pkg/kamailio/deb: remove mono from wheezy
Module: kamailio Branch: master Commit: 976670db1313e96a859009288abbf1ea97583357 URL: https://github.com/kamailio/kamailio/commit/976670db1313e96a859009288abbf1ea97583357 Author: Victor Seva Committer: Victor Seva Date: 2024-02-02T15:21:39+01:00 pkg/kamailio/deb: remove mono from wheezy --- Modified: pkg/kamailio/deb/debian/backports/wheezy Modified: pkg/kamailio/deb/wheezy/control Modified: pkg/kamailio/deb/wheezy/rules --- Diff: https://github.com/kamailio/kamailio/commit/976670db1313e96a859009288abbf1ea97583357.diff Patch: https://github.com/kamailio/kamailio/commit/976670db1313e96a859009288abbf1ea97583357.patch --- diff --git a/pkg/kamailio/deb/debian/backports/wheezy b/pkg/kamailio/deb/debian/backports/wheezy index 611883fbe46..4afb1f3dfea 100755 --- a/pkg/kamailio/deb/debian/backports/wheezy +++ b/pkg/kamailio/deb/debian/backports/wheezy @@ -121,6 +121,12 @@ sed -i -e '/--EXCLUDED--/i EXTRA_EXCLUDED_MODULES += nats' ${DIST}/rules # no libpcre2-dev sed -i -e 's/libpcre2-dev/libpcre3-dev/' ${DIST}/control +# no libmono-2.0-dev +sed -i -e '/libmono-2.0-dev/d' -e '/^Package: kamailio-mono-modules/,/^$/d' \ + ${DIST}/control +sed -i -e '/^PACKAGE_GROUPS += mono/d' ${DIST}/rules +sed -i -e '/--EXCLUDED--/i EXTRA_EXCLUDED_MODULES += mono' ${DIST}/rules + # libwolfssl-dev < 5.2 sed -i -e '/^ libwolfssl-dev,/d' \ -e '/^Package: kamailio-wolftls-modules/,/^$/d' \ diff --git a/pkg/kamailio/deb/wheezy/control b/pkg/kamailio/deb/wheezy/control index 16719f80988..ed5f1aa50d0 100644 --- a/pkg/kamailio/deb/wheezy/control +++ b/pkg/kamailio/deb/wheezy/control @@ -26,7 +26,6 @@ Build-Depends: libmemcached-dev, libmicrohttpd-dev, libmnl-dev, - libmono-2.0-dev [amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 ppc64 ppc64el s390x], libmysqlclient-dev, libncurses5-dev, libpcre3-dev, @@ -219,23 +218,6 @@ Description: The app_lua module for Kamailio Lua support execute embedded Lua applications within the configuration file as well as writing the entire configuration file in Lua. -Package: kamailio-mono-modules -Architecture: any -Multi-Arch: same -Pre-Depends: - ${misc:Pre-Depends}, -Depends: - kamailio (= ${binary:Version}), - ${misc:Depends}, - ${shlibs:Depends}, -Description: The app_mono module for the Kamailio SIP server - Kamailio is a very fast and flexible SIP (RFC3261) - server. Written entirely in C, Kamailio can handle thousands calls - per second even on low-budget hardware. - . - This package provides the app_mono module, an extension allowing to - execute embedded Mono applications within the Kamailio SIP routing script. - Package: kamailio-python-modules Architecture: any Multi-Arch: same diff --git a/pkg/kamailio/deb/wheezy/rules b/pkg/kamailio/deb/wheezy/rules index 6bd8a12ab2b..e30d2b13810 100755 --- a/pkg/kamailio/deb/wheezy/rules +++ b/pkg/kamailio/deb/wheezy/rules @@ -49,6 +49,7 @@ EXTRA_EXCLUDED_MODULES += mqtt EXTRA_EXCLUDED_MODULES += secsipid EXTRA_EXCLUDED_MODULES += lwsc EXTRA_EXCLUDED_MODULES += nats +EXTRA_EXCLUDED_MODULES += mono EXTRA_EXCLUDED_MODULES += tls_wolfssl ## --EXCLUDED-- @@ -78,7 +79,6 @@ PACKAGE_GROUPS += python PACKAGE_GROUPS += geoip PACKAGE_GROUPS += sqlite PACKAGE_GROUPS += json -PACKAGE_GROUPS += mono PACKAGE_GROUPS += ims PACKAGE_GROUPS += sctp PACKAGE_GROUPS += java ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:d772b4c2: db_mysql: enable TLS when building with mariadb-connector-c
Module: kamailio Branch: master Commit: d772b4c24a3a4995b93287ccf8eac9b80d1a5bac URL: https://github.com/kamailio/kamailio/commit/d772b4c24a3a4995b93287ccf8eac9b80d1a5bac Author: S-P Chan Committer: Victor Seva Date: 2024-01-30T14:28:26+01:00 db_mysql: enable TLS when building with mariadb-connector-c - mariadb-connector-c requires at least one non-NULL configuration value to use TLS - emulate MySQL SSL_MODE_ options --- Modified: src/modules/db_mysql/km_my_con.c --- Diff: https://github.com/kamailio/kamailio/commit/d772b4c24a3a4995b93287ccf8eac9b80d1a5bac.diff Patch: https://github.com/kamailio/kamailio/commit/d772b4c24a3a4995b93287ccf8eac9b80d1a5bac.patch --- diff --git a/src/modules/db_mysql/km_my_con.c b/src/modules/db_mysql/km_my_con.c index d3f57108886..b415ff87655 100644 --- a/src/modules/db_mysql/km_my_con.c +++ b/src/modules/db_mysql/km_my_con.c @@ -116,7 +116,32 @@ struct my_con *db_mysql_new_connection(const struct db_id *id) (const void *)_mysql_timeout_interval); mysql_options(ptr->con, MYSQL_OPT_WRITE_TIMEOUT, (const void *)_mysql_timeout_interval); -#if MYSQL_VERSION_ID > 50710 && !defined(MARIADB_BASE_VERSION) + +#ifdef MARIADB_BASE_VERSION + /* +* emulate SSL_MODE_ from MySQL +*/ + + switch(db_mysql_opt_ssl_mode) { + case 0: /* opt_ssl_mode = 0(off) */ + case 1: /* SSL_MODE_DISABLED */ + break; + case 2: /* SSL_MODE_PREFERRED */ + case 3: /* SSL_MODE_REQUIRED */ + case 4: /* SSL_MODE_VERIFY_CA */ + mysql_optionsv(ptr->con, MYSQL_OPT_SSL_ENFORCE, (void *)&(int){1}); + break; + case 5: /* SSL_MODE_VERIFY_IDENTITY */ + mysql_optionsv(ptr->con, MYSQL_OPT_SSL_VERIFY_SERVER_CERT, + (void *)&(int){1}); + break; + default: + LM_WARN("opt_ssl_mode = %d not supported by MariaDB Connector/C\n", + db_mysql_opt_ssl_mode); + break; + } +#else +#ifdef MYSQL_VERSION_ID> 50710 if(db_mysql_opt_ssl_mode != 0) { unsigned int optuint = 0; if(db_mysql_opt_ssl_mode == 1) { @@ -136,7 +161,8 @@ struct my_con *db_mysql_new_connection(const struct db_id *id) "ignoring\n", (unsigned int)db_mysql_opt_ssl_mode); } -#endif +#endif /* MYSQL_VERSION_ID */ +#endif /* MARIADB_BASE_VERSION */ #if MYSQL_VERSION_ID > 50012 /* set reconnect flag if enabled */ ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:2bcc32a1: db_mysql: update docs for MariaDB Connector/C builds
Module: kamailio Branch: master Commit: 2bcc32a14e63d895077071715b0321fbdcdb8a33 URL: https://github.com/kamailio/kamailio/commit/2bcc32a14e63d895077071715b0321fbdcdb8a33 Author: S-P Chan Committer: Victor Seva Date: 2024-01-30T14:28:26+01:00 db_mysql: update docs for MariaDB Connector/C builds --- Modified: src/modules/db_mysql/doc/db_mysql_admin.xml --- Diff: https://github.com/kamailio/kamailio/commit/2bcc32a14e63d895077071715b0321fbdcdb8a33.diff Patch: https://github.com/kamailio/kamailio/commit/2bcc32a14e63d895077071715b0321fbdcdb8a33.patch --- diff --git a/src/modules/db_mysql/doc/db_mysql_admin.xml b/src/modules/db_mysql/doc/db_mysql_admin.xml index 51c9b5b728d..f1ff53df0ed 100644 --- a/src/modules/db_mysql/doc/db_mysql_admin.xml +++ b/src/modules/db_mysql/doc/db_mysql_admin.xml @@ -46,6 +46,7 @@ mysql - the development libraries for the MySQL database. In some Linux distributions named "libmysqlclient-dev". + MariaDB - the development libraries for the MariaDB database. In some Linux distributions named "libmariadbclient-dev". @@ -198,7 +199,10 @@ modparam("db_mysql", "update_affected_found", 1) defined. - Note: this option is supported only by libmysqlclient, not by libmariadbclient. +MariaDB client configuration uses the following values: 0, 1 use plain, 2/3/4 for MYSQL_OPT_SSL_ENFORCE, +5 for MYSQL_OPT_SSL_VERIFY_SERVER_CERT (see MariaDB Connector/C documentation) + +Other values are ignored. @@ -298,4 +302,3 @@ default-character-set = utf8 - ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] db_mysql: enable TLS when building with mariadb-connector-c (PR #3734)
Merged #3734 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3734#event-11641771032 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] db_mysql: enable TLS when building with mariadb-connector-c (PR #3734)
Much better now @space88man . Thanks for taking care. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3734#issuecomment-1916847351 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] extented haproxy protocol support (PR #3731)
I was thinking. Could we have something generic that abstracts the rcv parameter of the message? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3731#issuecomment-1916629196 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:e470f67c: github: [skip ci] enable dependabot for devcontainers
Module: kamailio Branch: master Commit: e470f67c9aaaeb2dc39f49a1b5abb3352b45ad13 URL: https://github.com/kamailio/kamailio/commit/e470f67c9aaaeb2dc39f49a1b5abb3352b45ad13 Author: Victor Seva Committer: Victor Seva Date: 2024-01-30T10:44:19+01:00 github: [skip ci] enable dependabot for devcontainers --- Modified: .github/dependabot.yml --- Diff: https://github.com/kamailio/kamailio/commit/e470f67c9aaaeb2dc39f49a1b5abb3352b45ad13.diff Patch: https://github.com/kamailio/kamailio/commit/e470f67c9aaaeb2dc39f49a1b5abb3352b45ad13.patch --- diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 775cd546581..06afaf16847 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,3 +7,9 @@ updates: interval: "weekly" commit-message: prefix: "github: [skip ci]" + - package-ecosystem: "devcontainers" +directory: "/" +schedule: + interval: weekly +commit-message: + prefix: "github: [skip ci]" ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] db_mysql: enable TLS when building with mariadb-connector-c (PR #3734)
But then, is the connection still possible without TLS or are we forcing that the server would support TLS? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3734#issuecomment-1916429032 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] tls_wolfssl: clean-up; remove OpenSSL-isms (3d0e752)
This broke the build on jammy https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=amd64,distribution=jammy/2586/display/redirect **libwolfssl32_5.2.0-2_amd64.deb** ``` gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -pthread -DKSR_PTHREAD_MUTEX_SHARED -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/kamailio-5.8.0~dev2+ubuntu22.04.20240130005413.2609=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -DVERSION_NODATE -DNAME='"kamailio"' -DVERSION='"5.8.0-dev2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 11.4.0"' -D__CPU_x86_64 -D__OS_linux -DVERSIONVAL=5008000 -DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLOCKLIST -DUSE_NAPTR -DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKAROUND -DUSE_FUTEX -DHAVE_SELECT -DMOD_NAME='"tls_wolfssl"' -DMOD_NAMEID='tls_wolfssl' -c tls_domain.c -o tls_domain.o -MMD -MP tls_domain.c: In function 'set_ssl_options': tls_domain.c:731:19: error: 'WOLFSSL_OP_ALL' undeclared (first use in this function); did you mean 'SSL_OP_ALL'? 731 | options = WOLFSSL_OP_ALL; /* all the bug workarounds by default */ | ^~ | SSL_OP_ALL tls_domain.c:731:19: note: each undeclared identifier is reported only once for each function it appears in tls_domain.c:732:20: error: 'WOLFSSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION' undeclared (first use in this function); did you mean 'SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION'? 732 | options |= WOLFSSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION |^ |SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION make[3]: *** [../../Makefile.rules:100: tls_domain.o] Error 1 make[2]: *** [Makefile:508: modules] Error 1 make[2]: Leaving directory '/build/kamailio-5.8.0~dev2+ubuntu22.04.20240130005413.2609/src' make[1]: *** [Makefile:34: every-module] Error 2 make[1]: Leaving directory '/build/kamailio-5.8.0~dev2+ubuntu22.04.20240130005413.2609' make: *** [debian/rules:133: build_tls_wolfssl] Error 2 ``` -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/commit/3d0e7521c6de4023b6595685fc306129ef57b8ac#r138041657 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] github: [skip ci]: bump ammaraskar/gcc-problem-matcher from 0.2.0 to 0.3.0 (PR #3733)
Merged #3733 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3733#event-11637088182 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] github: [skip ci]: bump wolletd/clang-format-checker from 1.10 to 1.11 (PR #3732)
Merged #3732 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3732#event-11637092136 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:520b9dce: github: [skip ci]: bump ammaraskar/gcc-problem-matcher
Module: kamailio Branch: master Commit: 520b9dce03d695cd1d95432e6bf52ed47d046cd4 URL: https://github.com/kamailio/kamailio/commit/520b9dce03d695cd1d95432e6bf52ed47d046cd4 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Committer: Victor Seva Date: 2024-01-30T07:40:57+01:00 github: [skip ci]: bump ammaraskar/gcc-problem-matcher Bumps [ammaraskar/gcc-problem-matcher](https://github.com/ammaraskar/gcc-problem-matcher) from 0.2.0 to 0.3.0. - [Release notes](https://github.com/ammaraskar/gcc-problem-matcher/releases) - [Commits](https://github.com/ammaraskar/gcc-problem-matcher/compare/0.2.0...0.3.0) --- updated-dependencies: - dependency-name: ammaraskar/gcc-problem-matcher dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Modified: .github/workflows/main.yml Modified: .github/workflows/pull_request.yml --- Diff: https://github.com/kamailio/kamailio/commit/520b9dce03d695cd1d95432e6bf52ed47d046cd4.diff Patch: https://github.com/kamailio/kamailio/commit/520b9dce03d695cd1d95432e6bf52ed47d046cd4.patch --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 86b05df1822..8b7ae03a271 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,7 +34,7 @@ jobs: compilier: clang steps: - uses: actions/checkout@v4 - - uses: ammaraskar/gcc-problem-matcher@0.2.0 + - uses: ammaraskar/gcc-problem-matcher@0.3.0 - name: build run: | cd /code diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index cda04d04389..e17814b8481 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -39,7 +39,7 @@ jobs: compilier: clang steps: - uses: actions/checkout@v4 - - uses: ammaraskar/gcc-problem-matcher@0.2.0 + - uses: ammaraskar/gcc-problem-matcher@0.3.0 - name: build run: | cd /code ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:8e2a1a36: github: [skip ci]: bump wolletd/clang-format-checker from 1.10 to 1.11
Module: kamailio Branch: master Commit: 8e2a1a36f14a18834d1a98e8483b4595a533abff URL: https://github.com/kamailio/kamailio/commit/8e2a1a36f14a18834d1a98e8483b4595a533abff Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Committer: Victor Seva Date: 2024-01-30T07:41:30+01:00 github: [skip ci]: bump wolletd/clang-format-checker from 1.10 to 1.11 Bumps [wolletd/clang-format-checker](https://github.com/wolletd/clang-format-checker) from 1.10 to 1.11. - [Release notes](https://github.com/wolletd/clang-format-checker/releases) - [Commits](https://github.com/wolletd/clang-format-checker/compare/v1.10...v1.11) --- updated-dependencies: - dependency-name: wolletd/clang-format-checker dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Modified: .github/workflows/pull_request.yml --- Diff: https://github.com/kamailio/kamailio/commit/8e2a1a36f14a18834d1a98e8483b4595a533abff.diff Patch: https://github.com/kamailio/kamailio/commit/8e2a1a36f14a18834d1a98e8483b4595a533abff.patch --- diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index e17814b8481..543f7c05238 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -13,7 +13,7 @@ jobs: contents: read # to fetch code (actions/checkout) steps: - uses: actions/checkout@v4 - - uses: wolletd/clang-format-checker@v1.10 + - uses: wolletd/clang-format-checker@v1.11 with: target-ref: master build: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:247e6164: pkg/kamailio/deb: restore tls_wolfssl for bookworm and jammy
Module: kamailio Branch: master Commit: 247e6164cbacdcc5d260e98c1085c84ad93957ee URL: https://github.com/kamailio/kamailio/commit/247e6164cbacdcc5d260e98c1085c84ad93957ee Author: Victor Seva Committer: Victor Seva Date: 2024-01-26T09:05:50+01:00 pkg/kamailio/deb: restore tls_wolfssl for bookworm and jammy fixed build error at 43ec11a7e0a37dfdaead873d555b26cb65589bd1 --- Modified: pkg/kamailio/deb/bookworm/control Modified: pkg/kamailio/deb/bookworm/rules Modified: pkg/kamailio/deb/debian/backports/bookworm Modified: pkg/kamailio/deb/debian/backports/jammy Modified: pkg/kamailio/deb/jammy/control Modified: pkg/kamailio/deb/jammy/rules --- Diff: https://github.com/kamailio/kamailio/commit/247e6164cbacdcc5d260e98c1085c84ad93957ee.diff Patch: https://github.com/kamailio/kamailio/commit/247e6164cbacdcc5d260e98c1085c84ad93957ee.patch ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] tls_wolfssl: clean-up; continue to remove OpenSSL-isms (5d3c11c)
Hi, On 25/1/24 11:32, space88man via sr-dev wrote: > What are the configure flags for the nightly builds? Is this using a system > libwolfssl-dev or the submodule. > > The module expects wolfssl ~ v5.6.6-stable which is equivalent to > libwolfssl42(5.6.6-1.2) libwolfssl-dev_5.6.6. > For RPM based-distros I build the module both with the in-tree submodule and > external package wolfssl42-5.6.6. I think all the latest backports to 5.7 related to tls_wolfssl broke the idea of "stable" release since we are changing the expected version dependency of the module, no? > commit 8e915d440293df2ba3b2700e5a4705123925be9a (origin/5.7, 5.7) > Author: S-P Chan > Date: Wed Jan 24 16:30:48 2024 +0800 > > tls_wolfssl: clean-up; continue to remove OpenSSL-isms > > (cherry-pick from 5d3c11c5e0854ce74424a10a88b0cca4453cee75) > > commit 893e9ea4364f60c32a5477c5b75bdc24b619dd52 > Author: S-P Chan > Date: Tue Jan 23 23:13:08 2024 +0800 > > tls_wolfssl: clean-up; remove OpenSSL-isms > > (cherry-pick from 3d0e7521c6de4023b6595685fc306129ef57b8ac) > > commit 4240cbc1bdbf9eb5d8b3f7473fbf4ee9d4d90650 > Author: S-P Chan > Date: Sun Jan 21 18:17:37 2024 +0800 > > tls_wolfssl: refactor custom BIO > > - remove use of custom BIO at the expense of some memory copies > > (cherry-pick from 32089e134413200bf5d1a97f207378b7d10e65a2) > > commit 8e7df1345c828eeb6b999c30069e75ccdd440200 > Author: S-P Chan > Date: Fri Jan 19 12:16:01 2024 +0800 > > tls_wolfssl: use shared WOLFSSL_CTX > > (cherry-pick from 88f27e2b89142652ea1b8f133df1ff403f9f61b2) > > commit 0a481501024b0e85bde8fa74cde1df2bebaa167b > Author: S-P Chan > Date: Thu Jan 18 12:38:09 2024 +0800 > > tls_wolfssl: clean-up OpenSSL compatibility > > - remove unneeded OpenSSL-isms > > (cherry-pick from 255e563e94e9536f0e541c3baeec45cbc68fac5b) > > commit 3b79c1ef3cc6c1019fe7cb99ff77e0c51d8e789a > Author: S-P Chan > Date: Thu Jan 18 06:21:55 2024 +0800 > > tls_wolfssl: clean-up—using wolfSSL native naming for functions / structs > > (cherry-pick from 5bbb224fdad1770150dd2fc37c69393aeda96d40) There were no impact in the deb builds process since tls_wolfssl is not in the list of modules built for 5.7. -- - | ,''`. Victor Seva | | : :' : linuxman...@torreviejawireless.org | | `. `' PGP: 8F19 CADC D42A 42D4 5563 730C 51A0 9B18 CF5A 5068 | |`- Debian Developer | - OpenPGP_signature.asc Description: PGP signature OpenPGP_0x7D7B65C42A0EC8B2.asc Description: application/pgp-keys ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:aaa3b102: pkg/kamailio/deb: remove support for tls_wolfssl on bookworm/jammy
Module: kamailio Branch: master Commit: aaa3b102c62af9ac0abe1aaac12876abaa7ad351 URL: https://github.com/kamailio/kamailio/commit/aaa3b102c62af9ac0abe1aaac12876abaa7ad351 Author: Victor Seva Committer: Victor Seva Date: 2024-01-25T12:23:47+01:00 pkg/kamailio/deb: remove support for tls_wolfssl on bookworm/jammy > module expects wolfssl ~ v5.6.6-stable which is equivalent to > libwolfssl42(5.6.6-1.2) libwolfssl-dev_5.6.6 --- Modified: pkg/kamailio/deb/bookworm/control Modified: pkg/kamailio/deb/bookworm/rules Modified: pkg/kamailio/deb/debian/backports/bookworm Modified: pkg/kamailio/deb/debian/backports/jammy Modified: pkg/kamailio/deb/jammy/control Modified: pkg/kamailio/deb/jammy/rules --- Diff: https://github.com/kamailio/kamailio/commit/aaa3b102c62af9ac0abe1aaac12876abaa7ad351.diff Patch: https://github.com/kamailio/kamailio/commit/aaa3b102c62af9ac0abe1aaac12876abaa7ad351.patch ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] tls_wolfssl: clean-up; continue to remove OpenSSL-isms (5d3c11c)
Sorry but bookworm has 5.5.4-2 [libwolfssl35](https://packages.debian.org/bookworm/libwolfssl35) and jammy has 5.2.0-2 [libwolfssl32](https://packages.ubuntu.com/jammy/libwolfssl32) I will remove the support for bookworm and jammy for tls_wolfssl then -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/commit/5d3c11c5e0854ce74424a10a88b0cca4453cee75#commitcomment-137782904 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] tls_wolfssl: clean-up; continue to remove OpenSSL-isms (5d3c11c)
This broke the nightly build: https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=amd64,distribution=bookworm/2583/consoleText ``` tls_wolfssl_mod.c: In function 'ki_is_peer_verified': tls_wolfssl_mod.c:456:26: error: 'WOLFSSL_X509_V_OK' undeclared (first use in this function); did you mean 'WOLFSSL_X509_V3'? 456 | if(ssl_verify != WOLFSSL_X509_V_OK) { | ^ | WOLFSSL_X509_V3 tls_wolfssl_mod.c:456:26: note: each undeclared identifier is reported only once for each function it appears in ``` And the test build failed too: https://github.com/kamailio/kamailio/actions/runs/7647318901/job/20838004797 -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/commit/5d3c11c5e0854ce74424a10a88b0cca4453cee75#r137775133 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] Dialog DMQ sync: Timer needs fixing, firing on wrong node! (Issue #3656)
@hb9eue did you test the proposed fix? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3656#issuecomment-1905909309 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] github: [skip ci]: bump tj-actions/changed-files from 41 to 42 (PR #3724)
Merged #3724 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3724#event-11563362666 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:100d96bf: github: [skip ci]: bump tj-actions/changed-files from 41 to 42
Module: kamailio Branch: master Commit: 100d96bf3819082ac38f8a4fae1f3c64c8d0c5e1 URL: https://github.com/kamailio/kamailio/commit/100d96bf3819082ac38f8a4fae1f3c64c8d0c5e1 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Committer: Victor Seva Date: 2024-01-23T01:06:07+01:00 github: [skip ci]: bump tj-actions/changed-files from 41 to 42 Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 41 to 42. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](https://github.com/tj-actions/changed-files/compare/v41...v42) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Modified: .github/workflows/devcontainer.yaml --- Diff: https://github.com/kamailio/kamailio/commit/100d96bf3819082ac38f8a4fae1f3c64c8d0c5e1.diff Patch: https://github.com/kamailio/kamailio/commit/100d96bf3819082ac38f8a4fae1f3c64c8d0c5e1.patch --- diff --git a/.github/workflows/devcontainer.yaml b/.github/workflows/devcontainer.yaml index 1c2a584ed84..2da1e56c742 100644 --- a/.github/workflows/devcontainer.yaml +++ b/.github/workflows/devcontainer.yaml @@ -33,14 +33,14 @@ jobs: - name: Get changed files if: ${{ ! inputs.force }} id: changed-files -uses: tj-actions/changed-files@v41 +uses: tj-actions/changed-files@v42 with: since_last_remote_commit: true - name: changes in relevant files if: ${{ ! inputs.force }} id: changed-files-builder -uses: tj-actions/changed-files@v41 +uses: tj-actions/changed-files@v42 with: files: | .devcontainer/** ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] Debian package build fails for Kamailio 5.7.4 (Issue #3722)
Closed #3722 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3722#event-11554684420 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] Debian package build fails for Kamailio 5.7.4 (Issue #3722)
simple test Makefile: ``` #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/dpkg/architecture.mk # Name of libdir in the path for libraries (e.g., the multiarch triplet). export LIBDIR ?= lib/$(DEB_HOST_MULTIARCH) all: @echo LIBDIR=$(LIBDIR) ``` ```shell make echo LIBDIR=lib/x86_64-linux-gnu LIBDIR=lib/x86_64-linux-gnu ``` -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3722#issuecomment-1903682814 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] Debian package build fails for Kamailio 5.7.4 (Issue #3722)
>From >https://kamailio.sipwise.com/view/kam5.7/job/kamailio57-binaries/architecture=amd64,distribution=bookworm/5/consoleText ``` gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -pthread -DKSR_PTHREAD_MUTEX_SHARED -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/kamailio-5.7.4+bpo12=. -fstack-protector-strong -Wformat -Werror=format-security -DVERSION_NODATE -DNAME='"kamailio"' -DVERSION='"5.7.4"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 12.2.0"' -D__CPU_x86_64 -D__OS_linux -DVERSIONVAL=5007004 -DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLOCKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKAROUND -DUSE_FUTEX -DHAVE_SELECT -DKSR_LIBSSL_STATIC -I/usr/lib/x86_64-linux-gnu/include -DMOD_NAME='"tlsa"' -c tls_bio.c -o tls_bio.o -MMD -MP ``` so it's using the proper path : ``` -DKSR_LIBSSL_STATIC -I/usr/lib/x86_64-linux-gnu/include -DMOD_NAME='"tlsa"' ``` -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3722#issuecomment-1903571256 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] ASYNC functions in event_route[xhttp:request] don't work (Issue #3720)
https://www.kamailio.org/docs/modules/stable/modules/async.html#idm20: > This module provides asynchronous operations for handling **SIP** requests in > the configuration file. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3720#issuecomment-1902259248 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:2f7b7a57: github: remove cleanup workflow [skip ci]
Module: kamailio Branch: master Commit: 2f7b7a5750815814bedb4b2a6b3716ea72e4d904 URL: https://github.com/kamailio/kamailio/commit/2f7b7a5750815814bedb4b2a6b3716ea72e4d904 Author: Victor Seva Committer: Victor Seva Date: 2024-01-19T15:41:15+01:00 github: remove cleanup workflow [skip ci] it's removing untagged images that are layers of the tagged ones --- Removed: .github/workflows/cleanup.yml --- Diff: https://github.com/kamailio/kamailio/commit/2f7b7a5750815814bedb4b2a6b3716ea72e4d904.diff Patch: https://github.com/kamailio/kamailio/commit/2f7b7a5750815814bedb4b2a6b3716ea72e4d904.patch --- diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml deleted file mode 100644 index 47818602368..000 --- a/.github/workflows/cleanup.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: cleanup packages -on: - schedule: -- cron: '0 5 * * *' - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: -jobs: - x86_64: -runs-on: ubuntu-latest -permissions: - packages: write -strategy: - matrix: -image_name: - - kamailio - - kamailio-ci - - kamailio-master-devcontainer - - pkg-kamailio-docker -steps: -- name: Delete untagged images - uses: camargo/delete-untagged-action@v1 - with: -github-token: ${{ secrets.CLEAN_PACKAGES }} -package-name: ${{ matrix.image_name }} ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: auto build failure
Hello, On 16/1/24 8:38, "Henning Westerholt via sr-dev" wrote: > Hello, > > the kamailio auto build is failing, I noticed after my last commit. But it > seems to be related to some docker issue: > > […] refreshed the images and commited a possible fix for registry login. Now it seems to work fine. Cheers ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:4df93942: github: add default registry credentials [skip ci]
Module: kamailio Branch: master Commit: 4df939428555f8c4fde67f7b8638809aca56c9f2 URL: https://github.com/kamailio/kamailio/commit/4df939428555f8c4fde67f7b8638809aca56c9f2 Author: Victor Seva Committer: Victor Seva Date: 2024-01-16T09:34:38+01:00 github: add default registry credentials [skip ci] > https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idcontainercredentials --- Modified: .github/workflows/main.yml Modified: .github/workflows/pull_request.yml --- Diff: https://github.com/kamailio/kamailio/commit/4df939428555f8c4fde67f7b8638809aca56c9f2.diff Patch: https://github.com/kamailio/kamailio/commit/4df939428555f8c4fde67f7b8638809aca56c9f2.patch --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8f1d028cda8..86b05df1822 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,6 +13,9 @@ jobs: contents: read # to fetch code (actions/checkout) container: image: ghcr.io/kamailio/pkg-kamailio-docker:${{ github.ref_name }}-${{ matrix.distribution }} + credentials: +username: ${{ github.actor }} +password: ${{ secrets.GITHUB_TOKEN }} volumes: - ${{ github.workspace }}:/code env: diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index a2fc539ddfc..cda04d04389 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -22,6 +22,9 @@ jobs: contents: read # to fetch code (actions/checkout) container: image: ghcr.io/kamailio/pkg-kamailio-docker:master-${{ matrix.distribution }} + credentials: +username: ${{ github.actor }} +password: ${{ secrets.GITHUB_TOKEN }} volumes: - ${{ github.workspace }}:/code env: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:aa67092e: github: fix cleanup matrix definition [skip ci]
Module: kamailio Branch: master Commit: aa67092e6ea7d8581e11970993607511771c1be6 URL: https://github.com/kamailio/kamailio/commit/aa67092e6ea7d8581e11970993607511771c1be6 Author: Victor Seva Committer: Victor Seva Date: 2024-01-15T15:23:55+01:00 github: fix cleanup matrix definition [skip ci] --- Modified: .github/workflows/cleanup.yml --- Diff: https://github.com/kamailio/kamailio/commit/aa67092e6ea7d8581e11970993607511771c1be6.diff Patch: https://github.com/kamailio/kamailio/commit/aa67092e6ea7d8581e11970993607511771c1be6.patch --- diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index 6488a7b4bcd..47818602368 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -12,12 +12,11 @@ jobs: packages: write strategy: matrix: -include: - image_name: -- kamailio -- kamailio-ci -- kamailio-master-devcontainer -- pkg-kamailio-docker +image_name: + - kamailio + - kamailio-ci + - kamailio-master-devcontainer + - pkg-kamailio-docker steps: - name: Delete untagged images uses: camargo/delete-untagged-action@v1 ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:f3b4f2fe: github: add all packages images to cleanup
Module: kamailio Branch: master Commit: f3b4f2fe2b88a06cdc49ba473e4b3fc3fbbfd8bf URL: https://github.com/kamailio/kamailio/commit/f3b4f2fe2b88a06cdc49ba473e4b3fc3fbbfd8bf Author: Victor Seva Committer: Victor Seva Date: 2024-01-15T15:21:06+01:00 github: add all packages images to cleanup --- Modified: .github/workflows/cleanup.yml --- Diff: https://github.com/kamailio/kamailio/commit/f3b4f2fe2b88a06cdc49ba473e4b3fc3fbbfd8bf.diff Patch: https://github.com/kamailio/kamailio/commit/f3b4f2fe2b88a06cdc49ba473e4b3fc3fbbfd8bf.patch --- diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index 37d8e9fe2e5..6488a7b4bcd 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -5,18 +5,22 @@ on: - cron: '0 5 * * *' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - -env: - IMAGE_NAME: kamailio-ci - jobs: x86_64: runs-on: ubuntu-latest permissions: packages: write +strategy: + matrix: +include: + image_name: +- kamailio +- kamailio-ci +- kamailio-master-devcontainer +- pkg-kamailio-docker steps: - name: Delete untagged images uses: camargo/delete-untagged-action@v1 with: github-token: ${{ secrets.CLEAN_PACKAGES }} -package-name: ${{ env.IMAGE_NAME }} +package-name: ${{ matrix.image_name }} ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:cb520baa: github: use CLEAN_PACKAGES secret at cleanup workflow
Module: kamailio Branch: master Commit: cb520baa9349f86fc104e2c1eed633ea59157b1b URL: https://github.com/kamailio/kamailio/commit/cb520baa9349f86fc104e2c1eed633ea59157b1b Author: Victor Seva Committer: Victor Seva Date: 2024-01-15T15:03:15+01:00 github: use CLEAN_PACKAGES secret at cleanup workflow kamailio-sync PAT with delete:packages permissions as described > https://github.com/camargo/delete-untagged-action --- Modified: .github/workflows/cleanup.yml --- Diff: https://github.com/kamailio/kamailio/commit/cb520baa9349f86fc104e2c1eed633ea59157b1b.diff Patch: https://github.com/kamailio/kamailio/commit/cb520baa9349f86fc104e2c1eed633ea59157b1b.patch --- diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index bea47fa30dc..37d8e9fe2e5 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -18,5 +18,5 @@ jobs: - name: Delete untagged images uses: camargo/delete-untagged-action@v1 with: -github-token: ${{ secrets.GITHUB_TOKEN }} +github-token: ${{ secrets.CLEAN_PACKAGES }} package-name: ${{ env.IMAGE_NAME }} ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] error in install tls-wolfssh modul (Issue #3712)
Closed #3712 as not planned. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3712#event-11482047022 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] src/Makefile.defs: recognize GCC 14 as recent ⇔ not too old compiler (PR #3711)
Merged #3711 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3711#event-11478552605 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:42b9fe97: src/Makefile.defs: recognize GCC 14 as recent ?????? not too old compiler
Module: kamailio Branch: master Commit: 42b9fe9781e6805436227e0e7b88db73767a94b1 URL: https://github.com/kamailio/kamailio/commit/42b9fe9781e6805436227e0e7b88db73767a94b1 Author: Committer: Victor Seva Date: 2024-01-13T18:51:06+01:00 src/Makefile.defs: recognize GCC 14 as recent ?? not too old compiler similar to 87ed3d9c3ae3ecfabe6 --- Modified: src/Makefile.defs --- Diff: https://github.com/kamailio/kamailio/commit/42b9fe9781e6805436227e0e7b88db73767a94b1.diff Patch: https://github.com/kamailio/kamailio/commit/42b9fe9781e6805436227e0e7b88db73767a94b1.patch --- diff --git a/src/Makefile.defs b/src/Makefile.defs index 68225943982..7a4b7418670 100644 --- a/src/Makefile.defs +++ b/src/Makefile.defs @@ -307,8 +307,8 @@ ifneq (,$(findstring gcc, $(CC_LONGVER))) -e 's/8\.[0-9]$$/8.0+/' \ -e 's/9\.[0-9]\..*/9.0+/' \ -e 's/9\.[0-9]$$/9.0+/' \ - -e 's/1[0-3]\.[0-9]\..*/9.0+/' \ - -e 's/1[0-3]\.[0-9]$$/9.0+/') + -e 's/1[0-4]\.[0-9]\..*/9.0+/' \ + -e 's/1[0-4]\.[0-9]$$/9.0+/') ifeq (,$(strip $(filter-out 3.0 3.4 4.x 4.2+ 4.5+ 5.0+ 6.0+ 7.0+ 8.0+ 9.0+,$(CC_SHORTVER # dependencies can be generated on-the-fly while compiling *.c CC_MKDEP_OPTS=-MMD -MP ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:1aec0c13: rtpengine/docs: Add codec-consume docs
Module: kamailio Branch: master Commit: 1aec0c1397e4230e52f2b9427fdb32b10f649ecb URL: https://github.com/kamailio/kamailio/commit/1aec0c1397e4230e52f2b9427fdb32b10f649ecb Author: Xenofon Karamanos Committer: Victor Seva Date: 2024-01-11T17:04:07+01:00 rtpengine/docs: Add codec-consume docs --- Modified: src/modules/rtpengine/doc/rtpengine_admin.xml --- Diff: https://github.com/kamailio/kamailio/commit/1aec0c1397e4230e52f2b9427fdb32b10f649ecb.diff Patch: https://github.com/kamailio/kamailio/commit/1aec0c1397e4230e52f2b9427fdb32b10f649ecb.patch --- diff --git a/src/modules/rtpengine/doc/rtpengine_admin.xml b/src/modules/rtpengine/doc/rtpengine_admin.xml index 1e394453493..fea67a665a2 100644 --- a/src/modules/rtpengine/doc/rtpengine_admin.xml +++ b/src/modules/rtpengine/doc/rtpengine_admin.xml @@ -2746,6 +2746,11 @@ rtpengine_offer(); version of what the `always transcode` flag does. + + codec-consume=... - Identical to mask but enables the transcoding engine even if no other transcoding + related options are given. + + T.38=decode - If the offered contains a media section advertising T.38 over UDPTL, translate it to a regular audio media section ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] rtpengine: Add support for codec-accept and codec-consume flags (PR #3710)
Merged #3710 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3710#event-11458613293 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:a40d5b7d: rtpengine: Add support for codec-accept and codec-consume
Module: kamailio Branch: master Commit: a40d5b7d65394606f2200a5932284b874e196063 URL: https://github.com/kamailio/kamailio/commit/a40d5b7d65394606f2200a5932284b874e196063 Author: Xenofon Karamanos Committer: Victor Seva Date: 2024-01-11T17:04:07+01:00 rtpengine: Add support for codec-accept and codec-consume --- Modified: src/modules/rtpengine/rtpengine.c --- Diff: https://github.com/kamailio/kamailio/commit/a40d5b7d65394606f2200a5932284b874e196063.diff Patch: https://github.com/kamailio/kamailio/commit/a40d5b7d65394606f2200a5932284b874e196063.patch --- diff --git a/src/modules/rtpengine/rtpengine.c b/src/modules/rtpengine/rtpengine.c index 11745d6b863..e3e4c6e1d50 100644 --- a/src/modules/rtpengine/rtpengine.c +++ b/src/modules/rtpengine/rtpengine.c @@ -126,7 +126,8 @@ struct ng_flags_parse { int via, to, packetize, transport, directional; bencode_item_t *dict, *flags, *direction, *replace, *rtcp_mux, *sdes, *t38, *received_from, *codec, *codec_strip, *codec_offer, - *codec_transcode, *codec_mask, *codec_set, *codec_except; + *codec_transcode, *codec_mask, *codec_set, *codec_except, *codec_accept, + *codec_consume; str call_id, from_tag, to_tag; }; @@ -2735,6 +2736,12 @@ static int parse_flags(struct ng_flags_parse *ng_flags, struct sip_msg *msg, if(parse_codec_flag(ng_flags, , , "codec-except", NULL, "except", _flags->codec_except)) goto next; + if(parse_codec_flag(ng_flags, , , "codec-accept", NULL, + "accept", _flags->codec_accept)) + goto next; + if(parse_codec_flag(ng_flags, , , "codec-consume", NULL, + "consume", _flags->codec_consume)) + goto next; /* check for specially handled items */ switch(key.len) { ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] error on make cdp module (Issue #3701)
You are missing lib dependencies. Please use user mailing list for questions. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3701#issuecomment-1882711653 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] error on make cdp module (Issue #3701)
Closed #3701 as not planned. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3701#event-11427714757 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] github: [skip ci]: bump tj-actions/changed-files from 40 to 41 (PR #3693)
Merged #3693 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3693#event-11337900402 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:439d451a: github: [skip ci]: bump tj-actions/changed-files from 40 to 41
Module: kamailio Branch: master Commit: 439d451ab3172c1a22f88fd4ba0756ede2318191 URL: https://github.com/kamailio/kamailio/commit/439d451ab3172c1a22f88fd4ba0756ede2318191 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Committer: Victor Seva Date: 2023-12-26T08:44:50+01:00 github: [skip ci]: bump tj-actions/changed-files from 40 to 41 Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 40 to 41. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](https://github.com/tj-actions/changed-files/compare/v40...v41) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Modified: .github/workflows/devcontainer.yaml --- Diff: https://github.com/kamailio/kamailio/commit/439d451ab3172c1a22f88fd4ba0756ede2318191.diff Patch: https://github.com/kamailio/kamailio/commit/439d451ab3172c1a22f88fd4ba0756ede2318191.patch --- diff --git a/.github/workflows/devcontainer.yaml b/.github/workflows/devcontainer.yaml index bfecd095f55..1c2a584ed84 100644 --- a/.github/workflows/devcontainer.yaml +++ b/.github/workflows/devcontainer.yaml @@ -33,14 +33,14 @@ jobs: - name: Get changed files if: ${{ ! inputs.force }} id: changed-files -uses: tj-actions/changed-files@v40 +uses: tj-actions/changed-files@v41 with: since_last_remote_commit: true - name: changes in relevant files if: ${{ ! inputs.force }} id: changed-files-builder -uses: tj-actions/changed-files@v40 +uses: tj-actions/changed-files@v41 with: files: | .devcontainer/** ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] Fixed saving dialogs on shutdown that are already loaded at startup in db_mode 3 (PR #3688)
You have to squash them in one single commit and push force it -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3688#issuecomment-1868245637 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:90df7449: pv: fix build warning
Module: kamailio Branch: master Commit: 90df744978ee2a83700d36ef88161f00b2220acb URL: https://github.com/kamailio/kamailio/commit/90df744978ee2a83700d36ef88161f00b2220acb Author: Victor Seva Committer: Victor Seva Date: 2023-12-22T10:00:32+01:00 pv: fix build warning > CC (gcc) [M pv.so]pv_xavp.o > pv_core.c: In function 'pv_get_cnt': > pv_core.c:2841:61: warning: 'ravp' may be used uninitialized > [-Wmaybe-uninitialized] > 2841 | if(ravp && ravp->val.type == > SR_XTYPE_XAVP) { > |~^ > pv_core.c:2776:36: note: 'ravp' was declared here > 2776 | sr_xavp_t *ravp, *sub_avp; > |^~~~ --- Modified: src/modules/pv/pv_core.c --- Diff: https://github.com/kamailio/kamailio/commit/90df744978ee2a83700d36ef88161f00b2220acb.diff Patch: https://github.com/kamailio/kamailio/commit/90df744978ee2a83700d36ef88161f00b2220acb.patch --- diff --git a/src/modules/pv/pv_core.c b/src/modules/pv/pv_core.c index 03d025bba2f..d98abbf975d 100644 --- a/src/modules/pv/pv_core.c +++ b/src/modules/pv/pv_core.c @@ -2773,7 +2773,7 @@ int pv_get_cnt(struct sip_msg *msg, pv_param_t *param, pv_value_t *res) * But this would be less intuitive in our case for counting. */ pv_xavp_name_t *xname, *xname_sub; - sr_xavp_t *ravp, *sub_avp; + sr_xavp_t *ravp = NULL, *sub_avp = NULL; int root_idxf, root_idx_spec, root_idx; int sub_idxf, sub_idx_spec, sub_idx; int count; ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:86c57ef7: db_text: fix build warning
Module: kamailio Branch: master Commit: 86c57ef77848513e3224c73a6d2889e8a2bd6fc3 URL: https://github.com/kamailio/kamailio/commit/86c57ef77848513e3224c73a6d2889e8a2bd6fc3 Author: Victor Seva Committer: Victor Seva Date: 2023-12-22T09:58:39+01:00 db_text: fix build warning > CC (gcc) [M db_text.so] dbt_raw_query.o > dbt_raw_query.c:23: warning: "_GNU_SOURCE" redefined >23 | #define _GNU_SOURCE > | > : note: this is the location of the previous definition --- Modified: src/modules/db_text/dbt_raw_query.c --- Diff: https://github.com/kamailio/kamailio/commit/86c57ef77848513e3224c73a6d2889e8a2bd6fc3.diff Patch: https://github.com/kamailio/kamailio/commit/86c57ef77848513e3224c73a6d2889e8a2bd6fc3.patch --- diff --git a/src/modules/db_text/dbt_raw_query.c b/src/modules/db_text/dbt_raw_query.c index a6dc37a69b7..ede61fe3525 100644 --- a/src/modules/db_text/dbt_raw_query.c +++ b/src/modules/db_text/dbt_raw_query.c @@ -19,8 +19,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ - +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include #include "../../core/str.h" ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:8bfd6580: cfgt: fix build warning
Module: kamailio Branch: master Commit: 8bfd6580533b6d6005cd257632a5c0e575f75e39 URL: https://github.com/kamailio/kamailio/commit/8bfd6580533b6d6005cd257632a5c0e575f75e39 Author: Victor Seva Committer: Victor Seva Date: 2023-12-22T09:57:25+01:00 cfgt: fix build warning > CC (gcc) [M cfgt.so] cfgt_mod.o > cfgt_int.c:22: warning: "_GNU_SOURCE" redefined >22 | #define _GNU_SOURCE > | > : note: this is the location of the previous definition --- Modified: src/modules/cfgt/cfgt_int.c --- Diff: https://github.com/kamailio/kamailio/commit/8bfd6580533b6d6005cd257632a5c0e575f75e39.diff Patch: https://github.com/kamailio/kamailio/commit/8bfd6580533b6d6005cd257632a5c0e575f75e39.patch --- diff --git a/src/modules/cfgt/cfgt_int.c b/src/modules/cfgt/cfgt_int.c index f1357bb87aa..f74c044b83b 100644 --- a/src/modules/cfgt/cfgt_int.c +++ b/src/modules/cfgt/cfgt_int.c @@ -19,7 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include #include #include ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:9d4d9c0a: auth_identity: fix build warning
Module: kamailio Branch: master Commit: 9d4d9c0afce10d00f65eccb3c9bfd3c508bac336 URL: https://github.com/kamailio/kamailio/commit/9d4d9c0afce10d00f65eccb3c9bfd3c508bac336 Author: Victor Seva Committer: Victor Seva Date: 2023-12-22T09:51:28+01:00 auth_identity: fix build warning > CC (gcc) [M auth_identity.so] auth_dynstr.o > auth_crypt.c:29: warning: "_GNU_SOURCE" redefined > 29 | #define _GNU_SOURCE > | > : note: this is the location of the previous definition --- Modified: src/modules/auth_identity/auth_crypt.c --- Diff: https://github.com/kamailio/kamailio/commit/9d4d9c0afce10d00f65eccb3c9bfd3c508bac336.diff Patch: https://github.com/kamailio/kamailio/commit/9d4d9c0afce10d00f65eccb3c9bfd3c508bac336.patch --- diff --git a/src/modules/auth_identity/auth_crypt.c b/src/modules/auth_identity/auth_crypt.c index 934c9cca347..4cc55a38fda 100644 --- a/src/modules/auth_identity/auth_crypt.c +++ b/src/modules/auth_identity/auth_crypt.c @@ -25,8 +25,9 @@ * Module: \ref auth-identity */ - +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include #include #include ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:c413392a: jansson: fix build warning
Module: kamailio Branch: master Commit: c413392a3bae1efdc40671b11da83bec173caff5 URL: https://github.com/kamailio/kamailio/commit/c413392a3bae1efdc40671b11da83bec173caff5 Author: Victor Seva Committer: Victor Seva Date: 2023-12-22T09:53:16+01:00 jansson: fix build warning > CC (gcc) [M jansson.so] jansson_utils.o > jansson_utils.c:23: warning: "_GNU_SOURCE" redefined >23 | #define _GNU_SOURCE > | > : note: this is the location of the previous definition --- Modified: src/modules/jansson/jansson_utils.c --- Diff: https://github.com/kamailio/kamailio/commit/c413392a3bae1efdc40671b11da83bec173caff5.diff Patch: https://github.com/kamailio/kamailio/commit/c413392a3bae1efdc40671b11da83bec173caff5.patch --- diff --git a/src/modules/jansson/jansson_utils.c b/src/modules/jansson/jansson_utils.c index c5e9a1560c2..61a9377c474 100644 --- a/src/modules/jansson/jansson_utils.c +++ b/src/modules/jansson/jansson_utils.c @@ -19,8 +19,9 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ - +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include #include #include ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:84f6ca9b: main: fix build warning
Module: kamailio Branch: master Commit: 84f6ca9b453b33dba321c11e12a0ebc0b9b8dab4 URL: https://github.com/kamailio/kamailio/commit/84f6ca9b453b33dba321c11e12a0ebc0b9b8dab4 Author: Victor Seva Committer: Victor Seva Date: 2023-12-22T09:49:43+01:00 main: fix build warning > CC (gcc) [kamailio] core/atomic_ops.o > main.c:34: warning: "_GNU_SOURCE" redefined > 34 | #define _GNU_SOURCE > | > : note: this is the location of the previous definition --- Modified: src/main.c --- Diff: https://github.com/kamailio/kamailio/commit/84f6ca9b453b33dba321c11e12a0ebc0b9b8dab4.diff Patch: https://github.com/kamailio/kamailio/commit/84f6ca9b453b33dba321c11e12a0ebc0b9b8dab4.patch --- diff --git a/src/main.c b/src/main.c index 3aa79b73d91..c107f354672 100644 --- a/src/main.c +++ b/src/main.c @@ -31,7 +31,9 @@ */ #ifdef KSR_PTHREAD_MUTEX_SHARED +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include #include #endif ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:7562aed2: benchmark: fix build warning
Module: kamailio Branch: master Commit: 7562aed2b1c33942b508c6cae9aa7db5ab75196e URL: https://github.com/kamailio/kamailio/commit/7562aed2b1c33942b508c6cae9aa7db5ab75196e Author: Victor Seva Committer: Victor Seva Date: 2023-12-22T09:56:08+01:00 benchmark: fix build warning > CC (gcc) [M benchmark.so] benchmark.o > benchmark.c:41: warning: "_GNU_SOURCE" redefined >41 | #define _GNU_SOURCE > | > : note: this is the location of the previous definition --- Modified: src/modules/benchmark/benchmark.c --- Diff: https://github.com/kamailio/kamailio/commit/7562aed2b1c33942b508c6cae9aa7db5ab75196e.diff Patch: https://github.com/kamailio/kamailio/commit/7562aed2b1c33942b508c6cae9aa7db5ab75196e.patch --- diff --git a/src/modules/benchmark/benchmark.c b/src/modules/benchmark/benchmark.c index d28f8ea38a8..45cbe38c329 100644 --- a/src/modules/benchmark/benchmark.c +++ b/src/modules/benchmark/benchmark.c @@ -37,8 +37,9 @@ * configuration sections. * */ - +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include #include #include ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:61efad28: seas: fix build warning
Module: kamailio Branch: master Commit: 61efad28eeb84d8b8f80fe7fd38d7bbb634717f4 URL: https://github.com/kamailio/kamailio/commit/61efad28eeb84d8b8f80fe7fd38d7bbb634717f4 Author: Victor Seva Committer: Victor Seva Date: 2023-12-22T10:06:29+01:00 seas: fix build warning > CC (gcc) [M seas.so] encode_contact.o > encode_allow.c:40: warning: "_GNU_SOURCE" redefined >40 | #define _GNU_SOURCE > | > : note: this is the location of the previous definition --- Modified: src/modules/seas/encode_allow.c Modified: src/modules/seas/encode_contact.c Modified: src/modules/seas/encode_content_disposition.c Modified: src/modules/seas/encode_content_length.c Modified: src/modules/seas/encode_content_type.c Modified: src/modules/seas/encode_cseq.c Modified: src/modules/seas/encode_digest.c Modified: src/modules/seas/encode_expires.c Modified: src/modules/seas/encode_header.c Modified: src/modules/seas/encode_msg.c Modified: src/modules/seas/encode_parameters.c Modified: src/modules/seas/encode_route.c Modified: src/modules/seas/encode_to_body.c Modified: src/modules/seas/encode_uri.c Modified: src/modules/seas/encode_via.c Modified: src/modules/seas/utils.c --- Diff: https://github.com/kamailio/kamailio/commit/61efad28eeb84d8b8f80fe7fd38d7bbb634717f4.diff Patch: https://github.com/kamailio/kamailio/commit/61efad28eeb84d8b8f80fe7fd38d7bbb634717f4.patch ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:5ebe1758: ims_qos: fix build warning
Module: kamailio Branch: master Commit: 5ebe1758fb3ff03e3a035e7121f40e2539eb2c9c URL: https://github.com/kamailio/kamailio/commit/5ebe1758fb3ff03e3a035e7121f40e2539eb2c9c Author: Victor Seva Committer: Victor Seva Date: 2023-12-22T09:32:10+01:00 ims_qos: fix build warning > CC (gcc) [M ims_qos.so] rx_avp.o > [...] > /usr/include/fortify/stdio.h:122:16: warning: 'int_port_rctp_a' may be used > uninitialized [-Wmaybe-uninitialized] > [...] > /usr/include/fortify/stdio.h:122:16: warning: 'int_port_rctp_b' may be used > uninitialized [-Wmaybe-uninitialized] --- Modified: src/modules/ims_qos/rx_avp.c --- Diff: https://github.com/kamailio/kamailio/commit/5ebe1758fb3ff03e3a035e7121f40e2539eb2c9c.diff Patch: https://github.com/kamailio/kamailio/commit/5ebe1758fb3ff03e3a035e7121f40e2539eb2c9c.patch --- diff --git a/src/modules/ims_qos/rx_avp.c b/src/modules/ims_qos/rx_avp.c index d7d6abd9bc2..7a64d5e9713 100644 --- a/src/modules/ims_qos/rx_avp.c +++ b/src/modules/ims_qos/rx_avp.c @@ -670,7 +670,7 @@ AAA_AVP *rx_create_media_subcomponent_avp(int number, str *proto, str *ipA, str data; int len, len2; - int int_port_rctp_a, int_port_rctp_b; + int int_port_rctp_a = 0, int_port_rctp_b = 0; str port_rtcp_a = STR_NULL, port_rtcp_b = STR_NULL; AAA_AVP *flow_description1 = 0, *flow_description2 = 0, *flow_description3 = 0, *flow_description4 = 0, *flow_number = 0; ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:59dc9b1b: core: fix build warning
Module: kamailio Branch: master Commit: 59dc9b1ba93d4e6a06f87deabf136787a3ab1cf1 URL: https://github.com/kamailio/kamailio/commit/59dc9b1ba93d4e6a06f87deabf136787a3ab1cf1 Author: Victor Seva Committer: Victor Seva Date: 2023-12-22T09:27:01+01:00 core: fix build warning > core/parser/parse_diversion.c: In function 'parse_diversion_body': > core/parser/parse_diversion.c:60:18: warning: the comparison will always > evaluate as 'false' for the address of 'uri_b' will never be NULL [-Waddress] > 60 | if(uri_b == NULL) { > | ^~ > core/parser/parse_diversion.c:51:26: note: 'uri_b' declared here > 51 | static to_body_t uri_b[NUM_DIVERSION_BODIES]; /* > Temporary storage */ > | --- Modified: src/core/parser/parse_diversion.c --- Diff: https://github.com/kamailio/kamailio/commit/59dc9b1ba93d4e6a06f87deabf136787a3ab1cf1.diff Patch: https://github.com/kamailio/kamailio/commit/59dc9b1ba93d4e6a06f87deabf136787a3ab1cf1.patch --- diff --git a/src/core/parser/parse_diversion.c b/src/core/parser/parse_diversion.c index 539f6a7bc44..d60d0cbdd1f 100644 --- a/src/core/parser/parse_diversion.c +++ b/src/core/parser/parse_diversion.c @@ -55,12 +55,7 @@ int parse_diversion_body(char *buf, int len, diversion_body_t **body) int i; to_param_t *params; - /* Reserves memory max NUM_DIVERSION_BODIES times */ memset(uri_b, 0, NUM_DIVERSION_BODIES * sizeof(to_body_t)); - if(uri_b == NULL) { - LM_ERR("Error allocating memory for uri_b\n"); - return -1; - } tmp = parse_addr_spec(buf, buf + len, _b[num_uri], 1); if(uri_b[num_uri].error == PARSE_ERROR) { ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:268147a7: core: fix build warning
Module: kamailio Branch: master Commit: 268147a7a7bcf68689a913a94faecc87128187fb URL: https://github.com/kamailio/kamailio/commit/268147a7a7bcf68689a913a94faecc87128187fb Author: Victor Seva Committer: Victor Seva Date: 2023-12-22T09:00:08+01:00 core: fix build warning > CC (gcc) [M jansson.so] jansson_utils.o > jansson_utils.c:23: warning: "_GNU_SOURCE" redefined >23 | #define _GNU_SOURCE > | > : note: this is the location of the previous definition --- Modified: src/core/io_wait.h --- Diff: https://github.com/kamailio/kamailio/commit/268147a7a7bcf68689a913a94faecc87128187fb.diff Patch: https://github.com/kamailio/kamailio/commit/268147a7a7bcf68689a913a94faecc87128187fb.patch --- diff --git a/src/core/io_wait.h b/src/core/io_wait.h index 8a60ae280fa..14d93f5937f 100644 --- a/src/core/io_wait.h +++ b/src/core/io_wait.h @@ -47,7 +47,9 @@ #include /* sigprocmask, sigwait a.s.o */ #endif +#ifndef _GNU_SOURCE #define _GNU_SOURCE /* for POLLRDHUP on linux */ +#endif #include #include ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:ed0f2e77: pkg/kamailio/alpine: remove app_sqlang module [skip ci]
Module: kamailio Branch: master Commit: ed0f2e77b80a2719957b1ac43a96dfc57b88f98e URL: https://github.com/kamailio/kamailio/commit/ed0f2e77b80a2719957b1ac43a96dfc57b88f98e Author: Victor Seva Committer: Victor Seva Date: 2023-12-22T09:13:28+01:00 pkg/kamailio/alpine: remove app_sqlang module [skip ci] module was moved to kamailio-archive repository --- Modified: pkg/kamailio/alpine/APKBUILD --- Diff: https://github.com/kamailio/kamailio/commit/ed0f2e77b80a2719957b1ac43a96dfc57b88f98e.diff Patch: https://github.com/kamailio/kamailio/commit/ed0f2e77b80a2719957b1ac43a96dfc57b88f98e.patch --- diff --git a/pkg/kamailio/alpine/APKBUILD b/pkg/kamailio/alpine/APKBUILD index c69e4dca7fe..b3d5c4d64bd 100644 --- a/pkg/kamailio/alpine/APKBUILD +++ b/pkg/kamailio/alpine/APKBUILD @@ -227,9 +227,6 @@ _mod_list_jansson="acc_json jansson janssonrpcc" # - modules depending on libm _mod_list_jsdt="app_jsdt" -# - modules depending on sqlang -_mod_list_sqlang="app_sqlang" - # - modules depending on rabbitmq _mod_list_rabbitmq="rabbitmq" @@ -251,7 +248,7 @@ for _i in db postgres sqlite dbtext mysql \ cpl xml unixodbc snmpstats xmpp carrierroute \ ldap utils tls presence lua ims outbound debugger \ extras json websocket authephemeral mongodb\ - uuid ev memcached redis geoip2 jansson sqlang sipdump \ + uuid ev memcached redis geoip2 jansson sipdump \ jsdt http_async kazoo rabbitmq sctp radius perl \ python3 ruby; do @@ -557,11 +554,6 @@ ruby() { "$_mod_list_ruby" } -sqlang() { - _generic_pkg "Squirrel Language (SQLang) for Kamailio" \ - "$_mod_list_sqlang" -} - rabbitmq() { _generic_pkg "RabbitMQ related modules for Kamailio" \ "$_mod_list_rabbitmq" ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:16302854: db_redis: replace use of grep -P
Module: kamailio Branch: master Commit: 163028549df3abd3173a7c0ac8a9dc666c0e4879 URL: https://github.com/kamailio/kamailio/commit/163028549df3abd3173a7c0ac8a9dc666c0e4879 Author: Victor Seva Committer: Victor Seva Date: 2023-12-22T08:53:32+01:00 db_redis: replace use of grep -P PCRE option is been removed in BusyBox #3686 --- Modified: src/modules/db_redis/Makefile --- Diff: https://github.com/kamailio/kamailio/commit/163028549df3abd3173a7c0ac8a9dc666c0e4879.diff Patch: https://github.com/kamailio/kamailio/commit/163028549df3abd3173a7c0ac8a9dc666c0e4879.patch --- diff --git a/src/modules/db_redis/Makefile b/src/modules/db_redis/Makefile index 815cd056b9d..85d9b9a956f 100644 --- a/src/modules/db_redis/Makefile +++ b/src/modules/db_redis/Makefile @@ -30,7 +30,7 @@ else HIREDISLIBS = $(shell $(HIREDIS_BUILDER) --libs) HIREDISLIBSPATH = $(shell $(HIREDIS_BUILDER) --libs-only-L | cut -c 3-) ifeq ($(HIREDISLIBSPATH),) -GCCSEARCHDIRS = $(shell $(CC) -print-search-dirs | grep -Po '^.*libraries: =.*' | cut -d "=" -f2- | tr : ' ') +GCCSEARCHDIRS = $(shell $(CC) -print-search-dirs | grep -Eo '^.*libraries: =.*' | cut -d "=" -f2- | tr : ' ') ifneq ($(shell find $(GCCSEARCHDIRS) -name libhiredis_ssl.so 2>/dev/null),) HIREDISDEFS += -DWITH_SSL HIREDISLIBS += -lhiredis_ssl ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:ca450901: ndb_redis: replace use of grep -P
Module: kamailio Branch: master Commit: ca4509013a123f02d6d9c09d016fce3fea3e3dbe URL: https://github.com/kamailio/kamailio/commit/ca4509013a123f02d6d9c09d016fce3fea3e3dbe Author: Victor Seva Committer: Victor Seva Date: 2023-12-22T08:53:45+01:00 ndb_redis: replace use of grep -P PCRE option is been removed in BusyBox #3686 --- Modified: src/modules/ndb_redis/Makefile --- Diff: https://github.com/kamailio/kamailio/commit/ca4509013a123f02d6d9c09d016fce3fea3e3dbe.diff Patch: https://github.com/kamailio/kamailio/commit/ca4509013a123f02d6d9c09d016fce3fea3e3dbe.patch --- diff --git a/src/modules/ndb_redis/Makefile b/src/modules/ndb_redis/Makefile index ba085ca2735..429b69d6ea3 100644 --- a/src/modules/ndb_redis/Makefile +++ b/src/modules/ndb_redis/Makefile @@ -24,7 +24,7 @@ else HIREDISLIBS = $(shell $(HIREDIS_BUILDER) --libs) HIREDISLIBSPATH = $(shell $(HIREDIS_BUILDER) --libs-only-L | cut -c 3-) ifeq ($(HIREDISLIBSPATH),) -GCCSEARCHDIRS = $(shell $(CC) -print-search-dirs | grep -Po '^.*libraries: =.*' | cut -d "=" -f2- | tr : ' ') +GCCSEARCHDIRS = $(shell $(CC) -print-search-dirs | grep -Eo '^.*libraries: =.*' | cut -d "=" -f2- | tr : ' ') ifneq ($(shell find $(GCCSEARCHDIRS) -name libhiredis_ssl.so 2>/dev/null),) HIREDISDEFS += -DWITH_SSL HIREDISLIBS += -lhiredis_ssl ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] build error on Alpine: grep -P not supported in BusyBox anymore (Issue #3686)
Closed #3686 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3686#event-11323919412 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] [kamailio/kamailio] build error on Alpine: grep -P not supported in BusyBox anymore (Issue #3686)
### Description It seems PCRE is not supported anymore ``` make[2]: --libs: No such file or directory grep: unrecognized option: P BusyBox v1.36.1 (2023-12-20 14:59:51 UTC) multi-call binary. ``` -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3686 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] github: [skip ci]: bump actions/upload-artifact from 3 to 4 (PR #3681)
Merged #3681 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3681#event-11285395294 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:68f653bf: github: [skip ci]: bump actions/upload-artifact from 3 to 4
Module: kamailio Branch: master Commit: 68f653bfc66d8f4ff2e11f5fc9348f4d2632fe8b URL: https://github.com/kamailio/kamailio/commit/68f653bfc66d8f4ff2e11f5fc9348f4d2632fe8b Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Committer: Victor Seva Date: 2023-12-19T07:43:10+01:00 github: [skip ci]: bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Modified: .github/workflows/cifuzz.yml --- Diff: https://github.com/kamailio/kamailio/commit/68f653bfc66d8f4ff2e11f5fc9348f4d2632fe8b.diff Patch: https://github.com/kamailio/kamailio/commit/68f653bfc66d8f4ff2e11f5fc9348f4d2632fe8b.patch --- diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index bb1b712cb5b..3ee2f6ef37f 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -27,7 +27,7 @@ jobs: dry-run: false language: c - name: Upload Crash - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() && steps.build.outcome == 'success' with: name: artifacts ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] Re: [kamailio/kamailio] github: [skip ci]: bump github/codeql-action from 2 to 3 (PR #3680)
Merged #3680 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3680#event-11285386943 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
[sr-dev] git:master:b2f1cd6e: github: [skip ci]: bump github/codeql-action from 2 to 3
Module: kamailio Branch: master Commit: b2f1cd6ed2cd5da84fe8ff48db688fc41f129ccb URL: https://github.com/kamailio/kamailio/commit/b2f1cd6ed2cd5da84fe8ff48db688fc41f129ccb Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Committer: Victor Seva Date: 2023-12-19T07:42:08+01:00 github: [skip ci]: bump github/codeql-action from 2 to 3 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v2...v3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Modified: .github/workflows/codeql.yml --- Diff: https://github.com/kamailio/kamailio/commit/b2f1cd6ed2cd5da84fe8ff48db688fc41f129ccb.diff Patch: https://github.com/kamailio/kamailio/commit/b2f1cd6ed2cd5da84fe8ff48db688fc41f129ccb.patch --- diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 62fe2dc5c04..aa6d9194b07 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -41,13 +41,13 @@ jobs: run: export PKG_CONFIG_PATH=$RUNNER_TEMP/usr/lib/pkgconfig:$PKG_CONFIG_PATH && echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH" >> $GITHUB_ENV - name: Initialize CodeQL -uses: github/codeql-action/init@v2 +uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} queries: +security-and-quality - name: Autobuild -uses: github/codeql-action/autobuild@v2 +uses: github/codeql-action/autobuild@v3 if: ${{ matrix.language == 'javascript' || matrix.language == 'python' }} - name: Build cpp @@ -55,6 +55,6 @@ jobs: run: make all - name: Perform CodeQL Analysis -uses: github/codeql-action/analyze@v2 +uses: github/codeql-action/analyze@v3 with: category: "/language:${{ matrix.language }}" ___ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org