#### Pre-Submission Checklist
- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, ...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [ ] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [x] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [x] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Not related to issues
#### Description
`Makefile.defs` is incorrect (`man_dir` should contain `share`) and `influxdbc` is not built (`sockaddr_in` is undefined) on FreeBSD environment.
The proposed patch fixes it and makes the module is consistent with the rest of modules.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/4099
-- Commit Summary --
* Makefile.defs: support for FreeBSD build
* influxdbc: support for FreeBSD build
-- File Changes --
M src/Makefile.defs (2)
M src/modules/influxdbc/ic.c (1)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/4099.patchhttps://github.com/kamailio/kamailio/pull/4099.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4099
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4099(a)github.com>
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, ...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [x] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [ ] Tested changes locally
- [x] Related to issue #4100
#### Description
db_schema for ims_dialog module
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/4101
-- Commit Summary --
* lib/srdb1/schema: ims_dialog definitions
* utils/kamctl: regenerate db table definitions
-- File Changes --
A src/lib/srdb1/schema/dialog_in.xml (180)
A src/lib/srdb1/schema/dialog_out.xml (116)
A src/lib/srdb1/schema/kamailio-ims_dialog.xml (14)
A utils/kamctl/db_berkeley/kamailio/dialog_in (10)
A utils/kamctl/db_berkeley/kamailio/dialog_out (10)
M utils/kamctl/db_berkeley/kamailio/version (6)
A utils/kamctl/db_redis/kamailio/dialog_in (2)
A utils/kamctl/db_redis/kamailio/dialog_out (2)
A utils/kamctl/db_sqlite/ims_dialog-create.sql (55)
A utils/kamctl/dbtext/kamailio/dialog_in (1)
A utils/kamctl/dbtext/kamailio/dialog_out (1)
M utils/kamctl/dbtext/kamailio/version (4)
A utils/kamctl/mongodb/kamailio/dialog_in.json (101)
A utils/kamctl/mongodb/kamailio/dialog_out.json (61)
M utils/kamctl/mongodb/kamailio/version-create.mongo (2)
M utils/kamctl/mysql/ims_dialog-create.sql (87)
A utils/kamctl/oracle/ims_dialog-create.sql (79)
A utils/kamctl/postgres/ims_dialog-create.sql (55)
A utils/kamctl/xhttp_pi/ims_dialog-mod (192)
A utils/kamctl/xhttp_pi/ims_dialog-table (50)
M utils/kamctl/xhttp_pi/pi_framework.xml (242)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/4101.patchhttps://github.com/kamailio/kamailio/pull/4101.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4101
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4101(a)github.com>
Module: kamailio
Branch: master
Commit: 3cda5a83cc45da2b0a9d6bb18f1b7f85849c526f
URL: https://github.com/kamailio/kamailio/commit/3cda5a83cc45da2b0a9d6bb18f1b7f8…
Author: Xenofon Karamanos <xk(a)gilawa.com>
Committer: Xenofon Karamanos <xk(a)gilawa.com>
Date: 2025-01-15T10:52:50Z
cmake: Remove LOCK_METHOD as an option
- If USE_FAST_LOCK is set to ON, try to use FAST_LOCK. If not avalaible on platoform, fallback to a platform specific one.
- If USE_FAST_LOCK is set to OFF, fallback directly to platform specific one.
- Fix wrong IF(NOT <option>) evaluation
- CMake lint files
---
Modified: cmake/defs.cmake
Modified: cmake/os-specific/darwin.cmake
Modified: cmake/os-specific/dragonfly.cmake
Modified: cmake/os-specific/freebsd.cmake
Modified: cmake/os-specific/linux.cmake
---
Diff: https://github.com/kamailio/kamailio/commit/3cda5a83cc45da2b0a9d6bb18f1b7f8…
Patch: https://github.com/kamailio/kamailio/commit/3cda5a83cc45da2b0a9d6bb18f1b7f8…
#### Pre-Submission Checklist
- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, ...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [ ] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [x] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
I've tested cmake-build in the FreeBSD environment, as requested by @miconda in #4099.
And founded some troubles.
First of all are: specific flags for FreeBSD and arch-name for FreeBSD cmake-environment. I've fixed it in the PR.
But there're some unresolved problems I want to discuss...
A `LOCK_METHOD` problem:
There's a `LOCK_METHOD` variable in defs.cmake:
https://github.com/kamailio/kamailio/blob/6b0b8cb84b7d0e965d50bdf0dfa542300…
And the explicit usage `LOCK_METHOD` as `USE_FUTEX` in a compile_definitions:
https://github.com/kamailio/kamailio/blob/6b0b8cb84b7d0e965d50bdf0dfa542300…
I suppose it's incorrect while some OSs (FreeBSD, ex.) doesn't tested with futexlock.h earlier.
A resolv-link problem:
There're an explicit links of the resolv library:
https://github.com/kamailio/kamailio/blob/6b0b8cb84b7d0e965d50bdf0dfa542300…https://github.com/kamailio/kamailio/blob/6b0b8cb84b7d0e965d50bdf0dfa542300…
I think it's incorrect while some OSs (FreeBSD, ex.) uses builtin resolv (libc, etc).
Initially сmake is built successful after the above fixes.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/4104
-- Commit Summary --
* cmake: add amd64 arch fallback
* cmake: add FreeBSD support
-- File Changes --
M cmake/compiler-specific.cmake (2)
M cmake/defs.cmake (4)
M cmake/os-specific.cmake (3)
A cmake/os-specific/freebsd.cmake (37)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/4104.patchhttps://github.com/kamailio/kamailio/pull/4104.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4104
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4104(a)github.com>