Sebastian Kemper [Sat, 8 May 2021 15:04:30 +0000 (17:04 +0200)]
kamailio: update to version 5.5.0
Added new module lrkproxy. Module "userblacklist" was renamed upstream
to "userblocklist".
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Wed, 5 May 2021 17:07:59 +0000 (19:07 +0200)]
Merge pull request #641 from micmac1/pcapsipv6
pcapsipdump: update to svn revision r157
Sebastian Kemper [Sat, 1 May 2021 09:27:35 +0000 (11:27 +0200)]
pcapsipdump: update to svn revision r157
Upstream implemented or updated IPv6 support.
This commit also updates the package title and fixes some
spelling/grammar in the package's description.
PKG_MIRRIR_HASH removed from Makefile as per suggestion in [1] (svn
checkouts aren't reproducible).
[1] https://openwrt.org/docs/guide-developer/packages
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Mon, 19 Apr 2021 11:42:33 +0000 (13:42 +0200)]
Merge pull request #639 from dhewg/bcg729
bcg729: update to v1.1.1
Andre Heider [Mon, 22 Mar 2021 14:27:36 +0000 (15:27 +0100)]
bcg729: update to v1.1.1
The removed patch has been merged upstream.
Signed-off-by: Andre Heider <a.heider@gmail.com>
micmac1 [Sun, 18 Apr 2021 09:57:32 +0000 (11:57 +0200)]
Merge pull request #637 from micmac1/rtpe-lts-8533
rtpengine: bump to 8.5.3.3
Sebastian Kemper [Thu, 15 Apr 2021 10:07:56 +0000 (12:07 +0200)]
rtpengine: bump to 8.5.3.3
Contains upstream fix for G.729 recording with bcg729.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Thu, 8 Apr 2021 20:01:38 +0000 (22:01 +0200)]
Merge pull request #634 from micmac1/fs-modmake-patch
freeswitch: fix 003-modmake-fix.patch
Sebastian Kemper [Wed, 7 Apr 2021 18:50:44 +0000 (20:50 +0200)]
freeswitch: fix 003-modmake-fix.patch
Somehow this white space change slipped in unintentionally.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Sat, 27 Mar 2021 07:44:39 +0000 (08:44 +0100)]
Merge pull request #630 from micmac1/fs-1106
freeswitch: update to 1.10.6
Sebastian Kemper [Fri, 26 Mar 2021 21:22:18 +0000 (22:22 +0100)]
freeswitch: rework init & hotplug
This adds a term_timeout uci option which can be used to change the
default timeout that procd uses while waiting for freeswitch to exit
once the TERM signal is sent. freeswitch may take a bit longer to exit,
so adding this option is likely appreciated. By default procd's default
is used, though.
Logging is updated in init script and hotplug script. The used facility
is changed from user to daemon, for instance.
An issue was fixed in the parsing of the ntpq output. In case a positive
offset was printed the parsing failed. Apparently ntpq is now adding a
'+', so this is now accounted for.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 26 Mar 2021 21:15:42 +0000 (22:15 +0100)]
freeswitch: update to 1.10.6
- patches which are now upstream were removed
- some patches were refreshed
- 003-modmake-fix.patch was amended a bit because of upstream commit
91f12b5 (it changed tests/unit/Makefile.am so that it doesn't
redefine AM_CFLAGS and AM_CPPFLAGS, which results in duplicated flags)
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Sun, 14 Mar 2021 18:42:30 +0000 (19:42 +0100)]
Merge pull request #625 from micmac1/rem-circci
CI: remove .circleci folder
Jiri Slachta [Sun, 14 Mar 2021 18:42:11 +0000 (19:42 +0100)]
Merge pull request #626 from micmac1/ast1822
asterisk: bump to 18.2.2
Sebastian Kemper [Sun, 14 Mar 2021 17:14:41 +0000 (18:14 +0100)]
asterisk: update to 18.2.2
Patches removed because uclibc was dropped:
001-disable-semaphores-on-uclibc-otherwise-allow.patch
002-configure-fix-detection-of-re-entrant-resolver-funct.patch
Patches updated/refreshed:
100-build-reproducibly.patch
140-use-default-lua.patch
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 14 Mar 2021 17:14:30 +0000 (18:14 +0100)]
pjproject: sync patches with asterisk 18.2.2
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Sun, 14 Mar 2021 09:38:44 +0000 (10:38 +0100)]
Merge pull request #624 from micmac1/sng148
sngrep: bump to 1.4.8
Sebastian Kemper [Sat, 13 Mar 2021 09:57:21 +0000 (10:57 +0100)]
CI: remove .circleci folder
This CI has been removed from the hooks.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 13 Mar 2021 09:52:30 +0000 (10:52 +0100)]
sngrep: bump to 1.4.8
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Paul Spooren [Fri, 5 Mar 2021 07:50:15 +0000 (21:50 -1000)]
CI: add GitHub testing of Pull Requests
Perform formal checks and see if packages compile on multiple
architectures.
Signed-off-by: Paul Spooren <mail@aparcar.org>
micmac1 [Fri, 12 Mar 2021 18:37:40 +0000 (19:37 +0100)]
Merge pull request #623 from micmac1/fr-uc
freeswitch updates
Sebastian Kemper [Fri, 12 Mar 2021 17:01:50 +0000 (18:01 +0100)]
spandsp3: bump to 2020-10-19
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 12 Mar 2021 16:59:18 +0000 (17:59 +0100)]
sofia-sip: bump to 1.13.3
Upstream now provides a release tarball. Use that instead of a git
checkout.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 12 Mar 2021 16:57:06 +0000 (17:57 +0100)]
libks: bump to 1.7.0
Drops 05-openssl-deprecated.patch as included upstream.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 12 Mar 2021 16:54:43 +0000 (17:54 +0100)]
freeswitch-mod-bcg729: use PKG_SOURCE_DATE
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Tue, 9 Mar 2021 20:44:27 +0000 (21:44 +0100)]
freeswitch: clean up after uclibc* removal
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Tue, 9 Mar 2021 16:33:20 +0000 (17:33 +0100)]
Merge pull request #619 from neheb/cxx
treewide: remove uClibc++ support
Jiri Slachta [Tue, 9 Mar 2021 16:30:37 +0000 (17:30 +0100)]
Merge pull request #621 from micmac1/pjp-ast-5
pjproject: add fix for AST-2021-005 + brush up our Makefile
Sebastian Kemper [Sun, 7 Mar 2021 11:22:45 +0000 (12:22 +0100)]
pjproject: drop autoreconf, run make dep
Neither configure.ac nor configure.in exists, so autoreconf is a no-op.
This commit drops it.
Also, run "make dep" as advertised by the README and the configure
script.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 7 Mar 2021 11:21:40 +0000 (12:21 +0100)]
pjproject: add patch for AST-2021-005
https://downloads.asterisk.org/pub/security/AST-2021-005.html
https://issues.asterisk.org/jira/browse/ASTERISK-29196
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Rosen Penev [Sat, 6 Mar 2021 22:44:13 +0000 (14:44 -0800)]
treewide: remove uClibc++ support
This is in preparation for removing the whole thing from base.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
micmac1 [Fri, 26 Feb 2021 18:19:26 +0000 (19:19 +0100)]
Merge pull request #615 from micmac1/dah-li-symvers
dahdi-linux: fix Module.symvers handling
micmac1 [Fri, 26 Feb 2021 18:18:49 +0000 (19:18 +0100)]
Merge pull request #614 from micmac1/rpte-symvers
rtpengine: fix Module.symvers handling
Jiri Slachta [Wed, 24 Feb 2021 22:37:23 +0000 (23:37 +0100)]
Merge pull request #602 from neheb/a
asterisk: fix compilation with 1.2.x
Rosen Penev [Fri, 11 Dec 2020 04:02:36 +0000 (20:02 -0800)]
asterisk: fix compilation with 1.2.x
Needs _DECLS and __P definitions.
Refreshed other patches.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Sebastian Kemper [Sat, 20 Feb 2021 11:04:12 +0000 (12:04 +0100)]
dahdi-linux: fix Module.symvers handling
This sets PKG_EXTMOD_SUBDIRS so kernel.mk can find the DAHDI
Module.symvers file.
Also, this puts KERNEL_MAKE_FLAGS into the make flags. This way
Module.symvers files of other modules are made available, plus there is
no need anymore to specify ARCH and CROSS_COMPILE, as KERNEL_MAKE_FLAGS
already takes care of that.
TARGET_CONFIGURE_OPTS is dropped because this seems out of place
(configure vs. compile).
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 20 Feb 2021 10:45:49 +0000 (11:45 +0100)]
rtpengine: fix Module.symvers handling
This sets PKG_EXTMOD_SUBDIRS so kernel.mk can find the rtpengine
Module.symvers file.
Also, this puts KERNEL_MAKE_FLAGS into the make flags used to compile
the kernel module. This way Module.symvers files of other modules are
made available, plus there is no need anymore to specify ARCH and
CROSS_COMPILE, as KERNEL_MAKE_FLAGS already takes care of that.
While updating make flags this also adds PKG_JOBS for completeness'
sake.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 20 Feb 2021 10:41:27 +0000 (11:41 +0100)]
rtpengine: build in BUILD_DIR
rtpengine is not primarily about kernel modules. It's an application
(which also offers a kernel module). So build it in BUILD_DIR instead of
KERNEL_BUILD_DIR.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Sun, 14 Feb 2021 21:07:58 +0000 (22:07 +0100)]
Merge pull request #612 from micmac1/glib-rtpen-bump
rtpengine: update to 8.5.3.2
Sebastian Kemper [Sun, 14 Feb 2021 09:29:49 +0000 (10:29 +0100)]
rtpengine: update to 8.5.3.2
02-pcap.patch no longer needed, it's included in upstream release.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Mon, 1 Feb 2021 19:14:21 +0000 (20:14 +0100)]
Merge pull request #610 from lipnitsk/master
dahdi-linux: patch to compile with linux >= 5.6
Ilya Lipnitskiy [Mon, 1 Feb 2021 03:20:25 +0000 (19:20 -0800)]
dahdi-linux: patch to compile with linux >= 5.6
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Jiri Slachta [Wed, 27 Jan 2021 13:49:34 +0000 (14:49 +0100)]
Merge pull request #609 from BKPepe/asterisk-uriparser-disable
asterisk: disable uriparser
Josef Schlehofer [Wed, 27 Jan 2021 09:50:15 +0000 (10:50 +0100)]
asterisk: disable uriparser
Uriparser is a compliant URI parsing and handling library for RFC 3986.
For now, this is not included in OpenWrt feeds, but in Turris OS
uriparser is used as dependency for Updater-ng.
When Asterisk finds in build system there is uriparser or anything else mentioned in configure,
it tries to enable it by default. This applies to every package in
OpenWrt and because of that new packages which are added to OpenWrt tries to disable almost
everything by default. Because if someone adds library, some packages
are not compiled or tested.
Fixes:
Package asterisk is missing dependencies for the following libraries:
liburiparser.so.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
micmac1 [Mon, 25 Jan 2021 21:32:22 +0000 (22:32 +0100)]
Merge pull request #607 from micmac1/rtpe-up
rtpengine: bump to 8.5.3.1
micmac1 [Mon, 25 Jan 2021 21:28:59 +0000 (22:28 +0100)]
Merge pull request #608 from guidosarducci/master-fix-uid-error
siproxd: fix UID variable conflict in init
Tony Ambardar [Sun, 24 Jan 2021 08:00:01 +0000 (00:00 -0800)]
siproxd: fix UID variable conflict in init
Variable 'UID' is set readonly in some calling contexts, yielding errors
during e.g. ImageBuilder usage:
Enabling rpcd
./etc/init.d/siproxd: line 14: UID: readonly variable
Enabling siproxd
Enabling sysctl
Rename UID and GID variables as SIPROXD_UID and SIPROXD_GID.
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Sebastian Kemper [Sat, 23 Jan 2021 11:05:09 +0000 (12:05 +0100)]
rtpengine: bump to 8.5.3.1
In other news:
- removes "mr" from version
- refreshes patches/02-pcap.patch
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Fri, 15 Jan 2021 20:45:59 +0000 (21:45 +0100)]
Merge pull request #606 from micmac1/aster-sup
asterisk: revert commit + add missing dep
Sebastian Kemper [Fri, 15 Jan 2021 18:59:47 +0000 (19:59 +0100)]
asterisk: add dependency to asterisk-chan-rtp
This commit makes asterisk-chan-rtp depend on
asterisk-res-rtp-multicast. Without the res-rtp-multicast module
chan-rtp cannot be loaded:
OpenWrt*CLI> module load chan_rtp.so
Unable to load module chan_rtp.so
Command 'module load chan_rtp.so' failed.
[Jan 9 08:51:01] ERROR[16337]: loader.c:281 module_load_error: Error loading module 'chan_rtp.so': Error relocating /usr/lib/asterisk/modules/chan_rtp.so: ast_multicast_rtp_create_options: symbol not found
This issue was mentioned in the OpenWrt forum ([1]).
[1] https://forum.openwrt.org/t/asterisk-makes-a-problem-with-loading/84816
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 15 Jan 2021 18:51:02 +0000 (19:51 +0100)]
Revert "asterisk: link in libdl when linking to liblua"
This reverts commit
150b85ab350844f1481b9a9d49984b3e16cddd40.
OpenWrt upstream updated the lua package so that liblua now is linked
to libdl.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Fri, 15 Jan 2021 18:20:14 +0000 (19:20 +0100)]
Merge pull request #605 from neheb/r
rtpengine: fix compilation with newer pcap
Rosen Penev [Mon, 4 Jan 2021 02:55:59 +0000 (18:55 -0800)]
rtpengine: fix compilation with newer pcap
Backport upstream patch fixing this issue.
Remove uClibc-ng patch as it's no longer in the tree.
Refresh patches.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Jiri Slachta [Sun, 3 Jan 2021 19:17:00 +0000 (20:17 +0100)]
Merge pull request #604 from micmac1/ast-lua
asterisk: link in libdl when linking to liblua
Sebastian Kemper [Sun, 3 Jan 2021 17:20:02 +0000 (18:20 +0100)]
asterisk: link in libdl when linking to liblua
Currently building for archs target against glibc fails:
checking for mandatory modules: CAP GSM ILBC LIBEDIT LIBXML2 LUA PJPROJECT SQLITE3 SRTP ZLIB... fail
configure: ***
configure: *** The LUA installation appears to be missing or broken.
Checking config.log reveals:
/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlopen'
/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlclose'
/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlerror'
/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlsym'
This commit adds "-ldl" to lua linker flags so compilation against glibc
works. This has no ill effect on musl where libdl is just an empty
library archive.
This is not something that should be sent upstream, as they maybe
support non-Linux platforms as well.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Fri, 1 Jan 2021 22:05:15 +0000 (23:05 +0100)]
Merge pull request #599 from micmac1/dahto-fix-patch
dahdi-tools: remove broken patch, disable unused features
micmac1 [Fri, 1 Jan 2021 22:03:01 +0000 (23:03 +0100)]
Merge pull request #603 from neheb/f
freeswitch: fix compilation with musl 1.2.0
Rosen Penev [Fri, 9 Oct 2020 09:26:49 +0000 (02:26 -0700)]
freeswitch: fix compilation with CentOS 7
Fix patch 230 as it's a patch of a patch with fuzz and wrong offsets.
It seems something on CentOS 7 doesn't like fuzz.
The AC_TRY_RUN section was removed as upstream added a check whether or
not cross compilation is being done, making it no/op.
Refresh other patches.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Sebastian Kemper [Thu, 31 Dec 2020 11:20:04 +0000 (12:20 +0100)]
dahdi-tools: remove broken patch, disable unused
The patch "010-fix-non-glibc-builds.patch" is broken. The test for
HAVE_EXECINFO_H must happen after including "<autoconfig.h>".
Instead of fixing the patch this commit removes it. In lieu,
CONFIGURES_ARGS are added to the Makefile. These disable the building of
some tools that are not packaged anyway. Like this, "xpp/xtalk/debug.c"
is avoided, hence the patch becomes irrelevant.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Sun, 27 Dec 2020 20:33:50 +0000 (21:33 +0100)]
Merge pull request #596 from micmac1/ast-AST03-04
asterisk: micro version bump to 18.1.1
Sebastian Kemper [Sun, 27 Dec 2020 15:35:26 +0000 (16:35 +0100)]
asterisk: add res_timing_timerfd to base package
This is a response to [1] and [2]. In short, since upstream commit
"channel.c: Resolve issue with receiving SIP INFO packets for DTMF" a
segmentation fault occurs during DTMF when no timing module is loaded.
This commit adds the timerfd timing module to the asterisk base package.
Other possibilities would have been res_timing_pthread and
res_timing_dahdi, but timerfd is the obvious choice because it's
efficient and OpenWrt offers the required kernel support (see [3] for
more details).
Note: even without any timing module the segmentation fault should not
occur according to upstream. Upstream is still working on that. But in
general it makes sense to have a timing module available (loaded) and
the module is tiny anyway.
[1] https://github.com/openwrt/telephony/issues/597
[2] https://issues.asterisk.org/jira/browse/ASTERISK-28800
[3] https://wiki.asterisk.org/wiki/display/AST/Timing+Interfaces
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Sat, 26 Dec 2020 11:24:35 +0000 (12:24 +0100)]
Merge pull request #580 from neheb/frees
freeswitch: fix compilation with musl 1.2.0
micmac1 [Sat, 26 Dec 2020 10:48:17 +0000 (11:48 +0100)]
Merge pull request #577 from micmac1/dah-310
dahdi: bump and cleanups
Sebastian Kemper [Wed, 23 Dec 2020 17:16:28 +0000 (18:16 +0100)]
asterisk: micro version bump to 18.1.1
This addresses CVE-2020-35652 as described in:
https://downloads.asterisk.org/pub/security/AST-2020-003.html
https://downloads.asterisk.org/pub/security/AST-2020-004.html
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Wed, 23 Dec 2020 17:01:13 +0000 (18:01 +0100)]
Merge pull request #593 from micmac1/kam-up542
kamailio: minor bump + drop 5.x suffix
Jiri Slachta [Wed, 23 Dec 2020 16:44:57 +0000 (17:44 +0100)]
Merge pull request #595 from dkgroot/master
asterisk-chan-sccp: update to v4.3.3 release
Diederik de Groot [Sat, 19 Dec 2020 12:35:19 +0000 (13:35 +0100)]
asterisk-chan-sccp: Update to v4.3.3 release
update PKG_MIRROR_HASH
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
micmac1 [Thu, 17 Dec 2020 18:53:52 +0000 (19:53 +0100)]
Merge pull request #594 from micmac1/rtpe8527
rtpengine: minor bump to mr8.5.2.7
Sebastian Kemper [Sun, 13 Dec 2020 15:34:43 +0000 (16:34 +0100)]
rtpengine: minor bump to mr8.5.2.7
05-support-kernels-greater-equal-5.9.9.patch removed as included in tar
ball.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 12 Dec 2020 22:55:34 +0000 (23:55 +0100)]
kamailio: minor bump + drop 5.x suffix
Bumps kamailio to version 5.4.2 and removes the suffix, as there is only
one kamailio version at a time anyway.
Also:
- Replaces a few $(PKG_NAME) uses with simply "kamailio"
- Drops the use of variable PKG_VARIANT (was not set anyway)
- Drops 160-openssl-deprecated.patch (upstream first accepted the
patch, then dropped it again after crashes were reported, see [1])
[1] https://github.com/kamailio/kamailio/issues/2466
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Mon, 7 Dec 2020 08:34:48 +0000 (09:34 +0100)]
Merge pull request #592 from micmac1/kam-build-fixes
kamailio-5.x: build fixes
Sebastian Kemper [Sat, 5 Dec 2020 11:42:20 +0000 (12:42 +0100)]
kamailio-5.x: fix build for new MIPS 4kec target
Recently support for target rtl838x was added to OpenWrt. It uses 4kec,
which is MIPS32. The Kamailio build system doesn't detect this and
treats it as MIPS I, adding -march=r3000 to the flags, which clashes
with -mips32r2.
mips-openwrt-linux-musl-gcc -mfp32 -march=r3000 -ftree-vectorize -fno-strict-overflow -pthread -DKSR_PTHREAD_MUTEX_SHARED -Wall -Os -pipe -mno-branch-likely -mips32r2 -mtune=4kec -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/lib/libiconv-stub/include -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/lib/libintl-stub/include -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/kamailio5-5.4.0=kamailio5-5.4.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DVERSION_NODATE=1 -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_4kec_gcc-8.4.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_4kec_gcc-8.4.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_4kec_gcc-8.4.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/lib/libiconv-stub/include -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/lib/libintl-stub/include -DNAME='"kamailio"' -DVERSION='"5.4.0"' -DARCH='"mips"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"mips-openwrt-linux-musl-gcc 8.4.0"' -D__CPU_mips -D__OS_linux -DVERSIONVAL=
5004000 -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_BLACKLIST -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 -DMIPS_HAS_LLSC -DNOSMP -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 -DUSE_PTHREAD_MUTEX -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT -DMODS_DIR='"/usr/lib/kamailio/modules"' -c main.c -o main.o -MMD -MP
cc1: error: '-mips32r2' conflicts with the other architecture options, which specify a mips1 processor
Assembler messages:
Error: -mips32r2 conflicts with the other architecture options, which imply -mips1
Makefile.rules:100: recipe for target 'main.o' failed
make[5]: *** [main.o] Error 1
This commit fixes this by forcing ARCH to mips2 for 4kec CPUs as well
(Kamailio only differentiates between mips, mips2 and mips64).
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 5 Dec 2020 11:37:01 +0000 (12:37 +0100)]
kamailio-5.x: fix erlang build
The Erlang module build checks for libs and includes using the erl tool.
This is a hostpkg tool providing paths into the staging/hostpkg.
Of course this fails:
arc-openwrt-linux-uclibc-gcc -shared -Wl,-O2 -Wl,-E -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-8.4.0_uClibc/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-8.4.0_uClibc/lib -L/builder/shared-workdir/build/sdk/staging_dir/target-arc_arc700_uClibc/usr/lib/libiconv-stub/lib -Wl,-rpath-link=/builder/shared-workdir/build/sdk/staging_dir/target-arc_arc700_uClibc/usr/lib/libiconv-stub/lib -L/builder/shared-workdir/build/sdk/staging_dir/target-arc_arc700_uClibc/usr/lib/libintl-stub/lib -Wl,-rpath-link=/builder/shared-workdir/build/sdk/staging_dir/target-arc_arc700_uClibc/usr/lib/libintl-stub/lib -znow -zrelro -pthread -rdynamic "-ldl" -Wl,-Bsymbolic-functions handle_emsg.o pv_xbuff.o cnode.o erl_api.o epmd.o erl_helpers.o pv_ref.o pv_pid.o pv_atom.o worker.o handle_rpc.o pv_list.o pv_tuple.o erlang_mod.o -L/builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/erlang/lib/erl_interface-4.0/lib -lei -lpthread -o erlang.so
/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-8.4.0_uClibc/bin/../lib/gcc/arc-openwrt-linux-uclibc/8.4.0/../../../../arc-openwrt-linux-uclibc/bin/ld: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/erlang/lib/erl_interface-4.0/lib/libei.a: error adding symbols: file format not recognized
collect2: error: ld returned 1 exit status
../../Makefile.rules:191: recipe for target 'erlang.so' failed
make[6]: *** [erlang.so] Error 1
This patch prevents this by relying on the standard paths, where Erlang
resides in OpenWrt.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Sun, 29 Nov 2020 22:38:30 +0000 (23:38 +0100)]
Merge pull request #578 from micmac1/osip512
libosip2: minor version bump
Jiri Slachta [Sun, 29 Nov 2020 07:03:23 +0000 (08:03 +0100)]
Merge pull request #586 from micmac1/ast18
asterisk: add Asterisk 18 LTS
Jiri Slachta [Mon, 23 Nov 2020 21:02:10 +0000 (22:02 +0100)]
Merge pull request #582 from neheb/miax
miax: fix compilation errors under uClibc-ng and musl
Jiri Slachta [Mon, 23 Nov 2020 20:49:52 +0000 (21:49 +0100)]
Merge pull request #579 from micmac1/srtp-clean-bump
libsrtp(2): cleanup and bump
micmac1 [Mon, 23 Nov 2020 18:14:12 +0000 (19:14 +0100)]
Merge pull request #591 from micmac1/rtpe-kern2
rtpengine: bump to 8.5.2.3 + add build fix
Sebastian Kemper [Mon, 23 Nov 2020 17:39:31 +0000 (18:39 +0100)]
rtpengine: bump to 8.5.2.3 + add build fix
Patch from upstream fixes builds on recent kernels.
Closes #590
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 6 Nov 2020 18:05:34 +0000 (19:05 +0100)]
asterisk: bump to 18.1.0
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 1 Nov 2020 10:59:01 +0000 (11:59 +0100)]
asterisk-chan-lantiq: update for Asterisk 18 LTS
Also use PKG_SOURCE_DATE now to proper things up. And use INSTALL_DATA
for the configuration file.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 1 Nov 2020 10:58:03 +0000 (11:58 +0100)]
asterisk-chan-sccp: update for Asterisk 18 LTS
- Bump commit as upstream recently added some bits to support Asterisk 18.
- Switch to INSTALL_DATA for configuration file.
- Remove VARIANT-related bits as we only have one Asterisk version.
- Remove dep on app_voicemail as chan-sccp has no hard dependency on it.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 1 Nov 2020 10:57:27 +0000 (11:57 +0100)]
asterisk-chan-dongle: update for Asterisk 18 LTS
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 1 Nov 2020 10:56:43 +0000 (11:56 +0100)]
asterisk-g72x: update for Asterisk 18 LTS
Removes VARIANT-related bits as we only have one Asterisk version.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 1 Nov 2020 10:56:02 +0000 (11:56 +0100)]
asterisk-opus: update for Asterisk 18 LTS
Removes VARIANT-related bits as we only have one Asterisk version.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 1 Nov 2020 08:37:44 +0000 (09:37 +0100)]
asterisk: upgrade to Asterisk 18 LTS
- Bump to new LTS release.
- Move to folder asterisk and remove AST_MAJOR_VERSION variable, as we
only have one version anyway.
- Add new modules.
- Rename voicemail to app-voicemail.
- Remove deps of voicemail on res-adsi and res-smdi as they are
optional.
- Use INSTALL_DATA for headers.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Fri, 30 Oct 2020 00:00:07 +0000 (01:00 +0100)]
Merge pull request #576 from micmac1/bsip-1.0.0
re+baresip: bump to 1.0.0
Jiri Slachta [Thu, 29 Oct 2020 23:58:47 +0000 (00:58 +0100)]
Merge pull request #558 from neheb/kama
kamailio-5.x: fix compilation without deprecated OpenSSL APIs
micmac1 [Sun, 25 Oct 2020 08:35:04 +0000 (09:35 +0100)]
Merge pull request #585 from micmac1/rtpe8.5.2
rtpengine: bump to 8.5.2.1 LTS
Sebastian Kemper [Sat, 24 Oct 2020 10:15:27 +0000 (12:15 +0200)]
rtpengine: bump to 8.5.2.1 LTS
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Daniel Golle [Sat, 17 Oct 2020 13:18:30 +0000 (14:18 +0100)]
Merge pull request #581 from neheb/pri
libpri: remove Werror
micmac1 [Sat, 17 Oct 2020 12:07:18 +0000 (14:07 +0200)]
Merge pull request #584 from micmac1/sipp361
sipp: bump to 3.6.1
Sebastian Kemper [Mon, 12 Oct 2020 07:49:52 +0000 (09:49 +0200)]
sipp: bump to 3.6.1
Upstream dropped autotools support, so this converts the build to use
cmake. Adds a simple include fix as well as a fix for older c++
compilers (the latter is a patch from upstream).
Support for pcaps is now also compiled in, to follow what upstream
considers a "common" build.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Rosen Penev [Fri, 9 Oct 2020 09:26:49 +0000 (02:26 -0700)]
freeswitch: fix compilation with musl 1.2.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Sun, 30 Aug 2020 21:02:54 +0000 (14:02 -0700)]
miax: fix compilation errors under uClibc-ng and musl
usleep is deprecated. So are bcopy and bzero.
Added extra needed headers.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Sun, 30 Aug 2020 21:04:32 +0000 (14:04 -0700)]
libpri: remove Werror
Fixes compilation under musl 1.2.x where time_t is 64-bit.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Sebastian Kemper [Sun, 4 Oct 2020 13:44:43 +0000 (15:44 +0200)]
restund: remove postinst script
There are no secrets in /etc/restund.conf. Remove the postinstall script
and install the file with regular permissions.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 4 Oct 2020 13:23:05 +0000 (15:23 +0200)]
baresip: use FILE_MODES instead of postinst
We can now set permissions directly thanks to OpenWrt having added
fakeroot support.. This also changes the permissions of /etc/baresip so
that baresip can write to this directory. For instance it wants to write
the file /etc/baresip/current_contact for which it needs the appropriate
permissions (baresip is started by user baresip).
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 3 Oct 2020 16:58:03 +0000 (18:58 +0200)]
libsrtp2: move folder, bump to 2.3.0
Bump to upstream release 2.3.0. Move folder and change PKG_NAME so that
we don't have to deal with how github names the tar.gz archive.
Also, don't install the libsrtp2.so symlink anymore on target, as it is
not required and only used in staging.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 3 Oct 2020 16:54:29 +0000 (18:54 +0200)]
libsrtp: remove
Nothing in this repo nor in packages depends on libsrtp anymore. This
removes it from the tree.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>