Created attachment 230192 [details] Initial patch The attached patch updates net/kamailio to 5.5.3. I also added SQLite as an option. The new patch that is created (patch-src_Makefile.groups) has been upstreamed, but has not made it to an actual release yet. Once 5.5.4 lands, it can be removed.
^Triage: If there is a changelog or release notes URL available for this version, please add it to the URL field Thanks!
The attached patch contains several controversial changes, I'm working on a more complex port improvement that will include sqlite. Also testing the 5.5 branch, I haven't finished yet.
(In reply to Dmitry Wagin from comment #2) Thanks Dmitry. I'll wait until there is a new patch available. Feel free to ping me should I not reply. Changing the state to Open in the meantime.
Created attachment 230745 [details] kamailio.diff Update to 5.5.3 Also, removed KEMIX option as already used. Added EVAPI (Network event broadcast API), JWT (JSON Web Token generation and validation), KAFKA (Produces and sends messages to a Kafka server), LWSC (Websocket client connector using libwebsockets), MQTT (MQTT connector for bi-directional publish-subscribe communication), SECSIPID (Secure SIP/Telephony Identity (STIR/SHAKEN) extensions), and SQLITE (SQLite database support) options.
Fails to build in current amd64 with the following: LD (cc) [kamailio] kamailio LD (cc) [M db_sqlite.so] db_sqlite.so ld: error: undefined symbol: yyparse >>> referenced by main.c:2482 >>> main.o:(main) ld: error: undefined symbol: yylval >>> referenced by cfg.lex:586 (core/cfg.lex:586) >>> core/lex.yy.o:(yylex) >>> referenced by cfg.lex:587 (core/cfg.lex:587) >>> core/lex.yy.o:(yylex) >>> referenced by cfg.lex:588 (core/cfg.lex:588) >>> core/lex.yy.o:(yylex) >>> referenced 313 more times cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [Makefile.rules:191: kamailio] Error 1 gmake[2]: *** Waiting for unfinished jobs.... Can you reproduce it?
(In reply to Fernando Apesteguía from comment #5) On 12-STABLE poudriere testport - ok On 13-STABLE poudriere testport - ok On CURRENT not test yet (no build environment).
Builds fine under poudriere on HardenedBSD 14-CURRENT also.
(In reply to Dustin Marquess from comment #7) Still fails for me. Host is main-n252058-5e6a2d6eb22 and jail is 1400046 5e6a2d6eb2. I'll update both of them and try again.
Committed, I updated bot host and poudriere to latest current and the port builds fine. Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=981ee3f931b42baa9391a8b7b264f3e05e7a0535 commit 981ee3f931b42baa9391a8b7b264f3e05e7a0535 Author: Dmitry Wagin <dmitry.wagin@ya.ru> AuthorDate: 2022-01-06 12:54:38 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-01-08 20:02:00 +0000 net/kamailio: update to 5.5.3 ChangeLog: https://www.kamailio.org/pub/kamailio/5.5.3/ChangeLog Added multiple options and option KEMIX removed. PR: 260486 Reported by: jailbird@fdf.net net/kamailio/Makefile | 52 +++++++++++++------ net/kamailio/distinfo | 6 +-- net/kamailio/files/patch-src_Makefile.defs | 2 +- net/kamailio/files/patch-src_core_ip__addr.h | 6 +-- net/kamailio/pkg-plist | 78 +++++++++++++++++++++++++--- 5 files changed, 114 insertions(+), 30 deletions(-)