358 Commits

Author SHA1 Message Date
Sebastian Kemper
38addaa2c7 sofia-sip: version bump
Includes fix that buildroot submitted upstream.

This introduces a variable to make following upstream versions a bit
easier.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-09-03 19:45:13 +02:00
Sebastian Kemper
2bcd4e23c6 spandsp3: new package
This commit adds an updated spandsp library. This is not a drop-in
replacement for the "old" spandsp library. Applications that want to use
it need to be updated a bit, according to upstream info [1].

In an effort to not cause any problems for OpenWrt, this package
installs the library and headers in the staging directory into
non-standard paths:

Library: $(STAGING_DIR/usr/lib/spandsp3/lib
Headers: $(STAGING_DIR/usr/lib/spandsp3/include

This way they are hidden aways from all normal users (like asterisk,
baresip etc.) and won't interfere.

To use the new spandsp library users can look for the spandsp3
pkg-config file (the regular spandsp installs spandsp.pc, this package
installs spandsp3.pc). This should be enough. The first such user will
likely be the freeswitch package, once it gets updated to 1.10.5.

[1] https://github.com/freeswitch/spandsp/issues/5

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-19 22:07:29 +02:00
micmac1
061140e8ec Merge pull request #559 from micmac1/fs1104
freeswitch: bump to 1.10.4
2020-08-10 22:58:07 +02:00
micmac1
a973ea2bb1 Merge pull request #553 from micmac1/dah-to-gcc10
dahdi-tools: add -fcommon workaround for gcc10
2020-08-07 21:06:53 +02:00
Sebastian Kemper
27447dad3a sofia-sip: new package
FreeSWITCH 1.10.4 split out the sofia-sip library. So here's it's added
as a separate package.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-07 20:57:50 +02:00
Rosen Penev
9e5c3877ed re: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-05 14:31:20 -07:00
Rosen Penev
69e7f4748d libks: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-05 14:29:35 -07:00
Sebastian Kemper
82b795dcc0 dahdi-tools: add -fcommon workaround for gcc10
This works around the build failure with gcc-10 until there is a patch
for dahdi-tools that is reviewed and acknowledged by upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-02 12:28:34 +02:00
Rosen Penev
f5627507d5 libsrtp2: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-19 14:54:24 -07:00
Sebastian Kemper
80d0fbd405 pjproject: add two patches from Asterisk 16.10.0
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-14 21:40:05 +02:00
Sebastian Kemper
3c203fe568 signalwire-client-c: bump to 1.3.0
Use regular releases from now on.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-12 19:32:17 +02:00
Sebastian Kemper
b67ac87e16 libks: bump to 1.6.0
Use regular releases from now on.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-12 19:30:26 +02:00
Sebastian Kemper
86dd09fcbe dahdi-linux: add patch to fix 32bit targets
On some 32 bit targets dahdi-linux currently fails to build.

Examples:

ERROR: "__divdi3" [/builder/shared-workdir/build/sdk/build_dir/target-powerpc_8540_musl/linux-mpc85xx_generic/dahdi-linux-3.1.0/drivers/dahdi/xpp/xpp_usb.ko] undefined!
ERROR: "__udivdi3" [/builder/shared-workdir/build/sdk/build_dir/target-powerpc_8540_musl/linux-mpc85xx_generic/dahdi-linux-3.1.0/drivers/dahdi/xpp/xpp_usb.ko] undefined!
ERROR: "__moddi3" [/builder/shared-workdir/build/sdk/build_dir/target-powerpc_8540_musl/linux-mpc85xx_generic/dahdi-linux-3.1.0/drivers/dahdi/xpp/xpp.ko] undefined!
ERROR: "__divdi3" [/builder/shared-workdir/build/sdk/build_dir/target-powerpc_8540_musl/linux-mpc85xx_generic/dahdi-linux-3.1.0/drivers/dahdi/xpp/xpp.ko] undefined!

or

ERROR: "__aeabi_ldivmod" [/store/buildbot/slave/shared-workdir/build/sdk/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-bcm27xx_bcm2708/dahdi-linux-3.1.0/drivers/dahdi/xpp/xpp_usb.ko] undefined!
ERROR: "__aeabi_uldivmod" [/store/buildbot/slave/shared-workdir/build/sdk/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-bcm27xx_bcm2708/dahdi-linux-3.1.0/drivers/dahdi/xpp/xpp_usb.ko] undefined!
ERROR: "__aeabi_ldivmod" [/store/buildbot/slave/shared-workdir/build/sdk/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-bcm27xx_bcm2708/dahdi-linux-3.1.0/drivers/dahdi/xpp/xpp.ko] undefined!

Problem was reported to upstream already by third party ([1]). Patch
attached to bug report is not sufficient.

This commit adds a patch from PLD Linux ([2]) to address the build
failures.

[1] https://issues.asterisk.org/jira/browse/DAHLIN-371
[2] https://github.com/pld-linux/dahdi-linux/blob/master/math64.patch

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-04-24 20:59:31 +02:00
Sebastian Kemper
416d1f6c24 dahdi-linux: bump to version 3.1.0
This commit provides compatibility with kernel 5.4.

Except for the version bump this commit updates the HFC-S PCI driver to
not rely on the macro "dahdi_pci_module" anymore, because it has been
removed upstream in commit 4af6f69.

Also, a patch is added that makes the include of "<linux/pci-aspm.h>"
conditional on the kernel version, because starting with kernel 5.4 this
header has been removed and its contents merged into "pci.h".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-03-19 18:39:22 +01:00
Sebastian Kemper
8087789e67 signalwire-client-c: new package
signalwire-client-c is a dependency of mod-signalwire.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-17 18:49:39 +01:00
Sebastian Kemper
03e2d08245 libks: new package
libks is a dependency of signalwire-client-c.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-17 18:49:39 +01:00
Sebastian Kemper
93e08d1ad9 pjproject: fix pkg-config file
The .pc file uses hard-coded paths:

prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib
includedir=/usr/include

It also pushes "-I/usr/include" into CFLAGS. This commit amends all of
that.

Resolve: #483

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-11-04 20:25:15 +01:00
Sebastian Kemper
5cc8a67196 pjproject: sync patches with Asterisk 16.6.1
Quote from Asterisk commit e6cc1f5083bbb85a76280e4bbada7be265b0a106:

"Issues in pjproject 2.9 caused us to revert some of their changes as a
work around. This introduced another issue where pjproject wouldn't
build with older gcc versions such as that found on CentOS 6. This
commit replaces the reverts with the official fixes for the original
issues and allows pjproject to be built on CentOS 6 again."

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-24 23:22:27 +02:00
Jiri Slachta
ec7d9d339f Merge pull request #466 from micmac1/libosip2-up-abi
libosip2: bump to 5.1.0
2019-10-16 15:47:06 +02:00
Jiri Slachta
2cf7ee50a7 Merge pull request #471 from micmac1/pj29
pjproject: bump to version 2.9
2019-10-16 15:46:22 +02:00
Sebastian Kemper
0ca5bbc688 rem: allow parallel build
Adds "PKG_BUILD_PARALLEL:=1".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-12 21:20:53 +02:00
Sebastian Kemper
a9fbe4ff4f re: bump to 0.6.1
Also adds "PKG_BUILD_PARALLEL:=1".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-12 21:19:37 +02:00
Sebastian Kemper
9ea4a8b49b pjproject: bump to version 2.9
Version bump as preparation for Asterisk update.

In other news:

- upgrades ULRs to https
- adds new configure switch --disable-darwin-ssl (doesn't apply to
  OpenWrt, but disable it explicitly anyway)
- use INSTALL_DATA for pkg-config file
- patch naming changed to be in line with Asterisk's patch naming,
  making maintenance easier
- drops some patches, adds some new ones from Asterisk (mainly reverts
  of some pjproject commits which turned out to cause memory leaks)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-11 18:06:20 +02:00
Sebastian Kemper
4ff6d20fdf libosip2: bump to 5.1.0
Version bump.

- add ABI_VERSION as per OpenWrt package policies [1]
- don't package version-less symlink also as per [1]
- add --disable-silent-rules to keep build verbose
- remove leftover whitespace
- drop patch now included in tarball

[1] https://openwrt.org/docs/guide-developer/package-policies

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-05 17:06:39 +02:00
Sebastian Kemper
ba72495f4d bcg729: add pkg-config file
Patch from upstream.

With the .pc file available we can drop a hack in rtpproxy's Makefile.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-02 20:48:37 +02:00
Sebastian Kemper
183ad6c145 dahdi-linux: bump to 3.0.0
This commit goes back from using a git checkout to using a regular
upstream tarball. Version bumped to 3.0.0 which works with kernels
equal to or greater than 4.15. Patches refreshed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-06-18 20:10:39 +02:00
Andre Heider
a7280b6114 pjproject: add patches from asterisk's bundled pjproject
"check whether UPDATE is supported on outgoing calls", commit 5de36abd:

In ASTERISK-27095 an issue had been fixed because of which chan_pjsip was not
trying to send UPDATE messages when connected_line_method was set to invite.
However this only solved the issue for incoming INVITES. For outgoing INVITES
(important when transferring calls) the options variable needs to be updated
at a different place.

"Add patch for double free issue in timer heap", commit 9c11399b:

Fixed #2172: Avoid double reference counter decrements in
timer in the scenario of race condition between
pj_timer_heap_cancel() and pj_timer_heap_poll().

"Add timer patch from pjproject r5934", commit d4cd2a97.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-05-02 10:50:59 +02:00
Sebastian Kemper
9b4f78d799 dahdi-tools: rework patch
Currently builds for ARC are failing, causing follow-up breakage. It
seems that uclibc defines __GLIBC__ on the build bots.

This commit adds a test for execinfo.h to the configure script. The
result of the test is then used in xpp/xtalk/debug.c.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-01-27 16:00:56 +01:00
Jiri Slachta
94b5f50026 Merge pull request #399 from micmac1/srtp2
libsrtp2: update to 2.2.0
2019-01-05 09:47:09 +01:00
Jiri Slachta
dd1e954b2c Merge pull request #400 from micmac1/bsip
baresip: update to 0.6.0
2019-01-05 09:45:17 +01:00
Sebastian Kemper
032e2bd36e dahdi-tools: add PKG_BUILD_PARALLEL & PKG_INSTALL
Cleans up the install sections while replacing PKG_BUILD_DIR with
PKG_INSTALL_DIR, too.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-29 11:44:58 +01:00
Sebastian Kemper
aad0887281 dahdi-tools: use default Build/Compile template
Add two patches to fix general compile issues. The first masks out some
glibc specific extensions if using a different libc.

The second fixes a compile issue with newer compilers.

Like this it's possible to easily add more executables to the packages
should the need (or wish) arise. This also gets rid of the following
warnings:

cc1: note: someone does not honour COPTS correctly, passed 2 times

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-29 11:36:53 +01:00
Sebastian Kemper
f4239da2a9 rem: update to 0.6.0
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-26 19:09:52 +01:00
Sebastian Kemper
dfd9ed688d rem: fix copyright
In a previous commit I updated the copyright message. But that was not
correct as I am not affiliated with OpenWrt. This commit reverts the
change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-26 19:08:54 +01:00
Sebastian Kemper
2e2e59938e re: update to 0.6.0
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-26 19:08:03 +01:00
Sebastian Kemper
0c3107e968 re: fix copyright
In a previous commit I updated the copyright message. But that was not
correct as I am not affiliated with OpenWrt. This commit reverts the
change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-26 19:06:42 +01:00
Sebastian Kemper
0358d4b5c2 libsrtp2: update to 2.2.0
Upstream fixed dependency on libpcap. The lib does not link to it
anymore as it does not need it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-26 19:02:02 +01:00
Sebastian Kemper
2f77859b3b dahdi-tools: update to 3.0.0
Version bump. New version does not have too many changes, but upstream
cleaned up the autoconf files. As a result autoreconf is now needed to
get the configure script.

This commit adds a configure switch to get the make output as verbose as
in the past.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-26 18:07:03 +01:00
Sebastian Kemper
31e95d12c1 dahdi-tools: fix copyright
In a previous commit I updated the copyright message. But that was not
correct as I am not affiliated with OpenWrt. This commit reverts the
change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-26 18:03:41 +01:00
Andre Heider
48af9ec67b pjproject: update to 2.8
Update to the current release, see [0].

Get rid of the dropped --without-oss configure switch.

Add an upstream patch to fix building without SRTP support[1],
and refresh the rest.

[0] https://trac.pjsip.org/repos/milestone/release-2.8
[1] https://trac.pjsip.org/repos/changeset/5891/

Signed-off-by: Andre Heider <a.heider@gmail.com>
2018-12-16 12:14:51 +01:00
Andre Heider
ef17798ecf pjproject: update config_site.h
Sync asterisk settings, see [0].

[0] https://github.com/asterisk/asterisk/blob/master/third-party/pjproject/patches/config_site.h

Signed-off-by: Andre Heider <a.heider@gmail.com>
2018-10-08 12:12:17 +02:00
Sebastian Kemper
a8535f28fd rem: bump to 0.5.3
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 14:01:02 +02:00
Sebastian Kemper
624a5c7a00 re: bump to 0.5.8
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 13:58:52 +02:00
Alexander Ryzhov
293db0d867 iksemel: use Google Storage API to get sources from former Googlecode
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
2018-03-16 09:28:50 +03:00
Sebastian Kemper
522ca0de75 pjproject: use preferred standard C++ lib
Currently libstdc++ is hardcoded. Change that and use whatever standard
C++ lib has preference.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-13 12:04:38 +01:00
Jiri Slachta
b8e322b281 Merge pull request #292 from micmac1/pkg_conf_dep_pjsip
pjproject: add PKG_CONFIG_DEPENDS
2018-03-13 08:41:07 +01:00
Sebastian Kemper
a07b149ab7 libctb: use preferred standard C++ lib
Currently libstdc++ is hardcoded. Change that and use whatever standard
C++ lib has preference.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-11 23:25:44 +01:00
Sebastian Kemper
04e8f8d1f1 gsmlib: use preferred standard C++ lib
Currently libstdc++ is hardcoded. Change that and use whatever standard
C++ lib has preference.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-11 23:20:14 +01:00
Sebastian Kemper
186a6063aa pjproject: add PKG_CONFIG_DEPENDS
It is unlikely that SOFT_FLOAT is toggled, but add it to
PKG_CONFIG_DEPENDS for completeness' sake anyway.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-08 16:07:48 +01:00
Jiri Slachta
e0c576c18b Merge pull request #279 from micmac1/libosip2-flags
Libosip2 flags and defines
2018-03-03 10:51:53 +01:00