#### 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
- [X] Related to issue #3091
#### Description
`module_group_standard` and `slack` are not build 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/3130
-- Commit Summary --
* Makefile.groups: renamed malloc_test to misctest
* slack: Makefile - support for FreeBSD build
-- File Changes --
M src/Makefile.groups (2)
M src/modules/slack/Makefile (16)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3130.patchhttps://github.com/kamailio/kamailio/pull/3130.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3130
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3130(a)github.com>
```
[root@logan-0a kamailio]# make -C src/modules/outbound install
make: Entering directory '/root/kamailio/src/modules/outbound'
CC (gcc) [M outbound.so] config.o
CC (gcc) [M outbound.so] outbound_mod.o
outbound_mod.c: In function ‘mod_init’:
outbound_mod.c:112:25: warning: pointer targets in passing argument 1 of ‘SHA1’ differ in signedness [-Wpointer-sign]
SHA1(flow_token_secret.s, flow_token_secret.len, ob_key.s);
~~~~~~~~~~~~~~~~~^~
In file included from outbound_mod.c:28:
/usr/include/openssl/sha.h:44:16: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md);
^~~~
outbound_mod.c:112:58: warning: pointer targets in passing argument 3 of ‘SHA1’ differ in signedness [-Wpointer-sign]
SHA1(flow_token_secret.s, flow_token_secret.len, ob_key.s);
~~~~~~^~
In file included from outbound_mod.c:28:
/usr/include/openssl/sha.h:44:16: note: expected ‘unsigned char *’ but argument is of type ‘char *’
unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md);
^~~~
LD (gcc) [M outbound.so] outbound.so
touch /usr/local/lib64/kamailio//modules/outbound.so
install -m 755 outbound.so /usr/local/lib64/kamailio//modules
make: Leaving directory '/root/kamailio/src/modules/outbound'
```
Build on CentOS 8 Stream
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3128
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3128(a)github.com>
Module: kamailio
Branch: master
Commit: 80c941bd083854c4b55bd4af218cb65d06040d94
URL: https://github.com/kamailio/kamailio/commit/80c941bd083854c4b55bd4af218cb65…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2022-05-31T10:16:16+02:00
modules: readme files regenerated - ims_ipsec_pcscf ... [skip ci]
---
Modified: src/modules/ims_ipsec_pcscf/README
---
Diff: https://github.com/kamailio/kamailio/commit/80c941bd083854c4b55bd4af218cb65…
Patch: https://github.com/kamailio/kamailio/commit/80c941bd083854c4b55bd4af218cb65…
---
diff --git a/src/modules/ims_ipsec_pcscf/README b/src/modules/ims_ipsec_pcscf/README
index f02167fb7e..dbbf9c55d5 100644
--- a/src/modules/ims_ipsec_pcscf/README
+++ b/src/modules/ims_ipsec_pcscf/README
@@ -302,13 +302,15 @@ ipsec_create("location", "1");
* domain - Logical domain within the registrar. If a database is used
then this must be name of the table which stores the contacts.
flags - bitwise flag:
- + 0x01 - set force socket for request messages. Useful for ipsec
- and TCP.
- + 0x02 - reverse search for a contact in the memory. Useful when
- contact alias is disabled.
- + 0x04 - use destination URI for IPSec tunnel search. Useful for
- routing requests within dialog.
- + 0x08 - use new R-URI for IPSec tunnel search.
+ + 0x01 (1) - set force socket for request messages. Useful for
+ ipsec and TCP.
+ + 0x02 (2) - reverse search for a contact in the memory. Useful
+ when contact alias is disabled.
+ + 0x04 (4) - use destination URI for IPSec tunnel search. Useful
+ for routing requests within dialog.
+ + 0x08 (8) - use new R-URI for IPSec tunnel search.
+ + 0x10 (16) - do not look for alias parameter to set received
+ details.
This is an optional parameter, default value - 0.
Example 1.12. ipsec_forward