Commit graph

331 commits

Author SHA1 Message Date
Jiri Slachta
967c9df8b2
Merge pull request #619 from neheb/cxx
treewide: remove uClibc++ support
2021-03-09 17:33:20 +01:00
Sebastian Kemper
6d6dd129aa 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>
2021-03-07 12:24:06 +01:00
Sebastian Kemper
f7fe759fe2 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>
2021-03-07 12:21:42 +01:00
Rosen Penev
13fd0a5ab9 treewide: remove uClibc++ support
This is in preparation for removing the whole thing from base.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-06 14:45:47 -08:00
Sebastian Kemper
89a23c4340 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>
2021-02-20 12:09:33 +01:00
Ilya Lipnitskiy
ea67943314 dahdi-linux: patch to compile with linux >= 5.6
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-01 11:07:49 -08:00
Sebastian Kemper
951a4a3dae 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>
2020-12-31 16:17:28 +01:00
micmac1
87b94aa79d
Merge pull request #577 from micmac1/dah-310
dahdi: bump and cleanups
2020-12-26 11:48:17 +01:00
Jiri Slachta
de86a47df7
Merge pull request #578 from micmac1/osip512
libosip2: minor version bump
2020-11-29 23:38:30 +01:00
Jiri Slachta
c8931b6886
Merge pull request #579 from micmac1/srtp-clean-bump
libsrtp(2): cleanup and bump
2020-11-23 21:49:52 +01:00
Jiri Slachta
3eea28d8ab
Merge pull request #576 from micmac1/bsip-1.0.0
re+baresip: bump to 1.0.0
2020-10-30 01:00:07 +01:00
Rosen Penev
7a9cc85b22
libpri: remove Werror
Fixes compilation under musl 1.2.x where time_t is 64-bit.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-09 02:31:31 -07:00
Sebastian Kemper
a85ce8450a 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>
2020-10-03 19:00:01 +02:00
Sebastian Kemper
a16e2d69db 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>
2020-10-03 18:54:32 +02:00
Sebastian Kemper
a216aba1f5 libosip2: bump to 5.1.2
This also removes two configure args that are no longer available.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-03 18:51:03 +02:00
Sebastian Kemper
69d744a85f dahdi-tools: bump to 3.1.0
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-03 18:48:17 +02:00
Sebastian Kemper
8eea873217 dahdi-linux: clean up deps, remove unused var
The kernel versions are no longer supported by OpenWrt. And the variable
is never used.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-03 18:47:00 +02:00
Sebastian Kemper
3907f7f2e4 re: bump to 1.0.0
- remove 010-openssl-deprecated.patch as it does not apply anymore and
  upstream seems to have fixed the issue
- upstream closed down the server http://www.creytiv.com/ so this
  changes URLs

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-03 10:32:36 +02:00
Sebastian Kemper
6abadea9a0 spandsp3: prevent host include search paths
Note the host include path for libxml2 below. This shouldn't cause an
issue because libxml2 is never used. But better safe than sorry as the
configure script probes other host include paths as well.

/bin/sh ../libtool  --tag=CC   --mode=compile ccache_cc -DHAVE_CONFIG_H -I.  -I.. -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-10.2.0_musl/usr/include -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-10.2.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-10.2.0_musl/include  -I/usr/include/libxml2 -DNDEBUG -Wunused-but-set-variable -std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -DHAVE_VISIBILITY=1  -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/openwrt/build_dir/target-mips_24kc_musl/spandsp3-2020-08-14-6ec23e5a=spandsp3-2020-08-14-6ec23e5a -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro   -MT dds_float.lo -MD -MP -MF .deps/dds_float.Tpo -c -o dds_float.lo dds_float.c

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-09-20 13:41:17 +02:00
Jiri Slachta
7d53cdccdf
Merge pull request #566 from dhewg/ast
asterisk-16.x: bump to 16.13.0
2020-09-17 20:16:40 +02:00
micmac1
60c39f1283
Merge pull request #564 from micmac1/fs1105
freeswitch + sofia-sip: version bumps
2020-09-06 11:53:29 +02:00
micmac1
44e91cd20b
Merge pull request #555 from neheb/ks
libks: fix compilation without deprecated OpenSSL APIs
2020-09-06 11:47:31 +02:00
Andre Heider
a71a6666d2 pjproject: bump to version 2.10
Sync with asterisk v16.13.0:
* update to v2.10
* update config_site.h settings
* sync patches

Signed-off-by: Andre Heider <a.heider@gmail.com>
2020-09-04 17:09:31 +02:00
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
Jiri Slachta
ae94c3bbb6
Merge pull request #282 from micmac1/spandsp-flags
Spandsp flags
2018-03-03 10:50:50 +01:00
Sebastian Kemper
58f093a0bd gsmlib: update PKG_BUILD_DEPENDS
gettext-full/host is not enough. We need m4 files from gettext-full as
well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-27 20:24:18 +01:00
Jiri Slachta
04e2400f43
Merge pull request #277 from micmac1/bcg729-flags
Bcg729 flags
2018-02-27 09:22:04 +01:00
Jiri Slachta
b47c5d58b9
Merge pull request #278 from micmac1/dahdi-linux-flags
Dahdi flags and defines
2018-02-27 09:21:38 +01:00
Jiri Slachta
a9d27c93db
Merge pull request #280 from micmac1/libpri-symlink
libpri: update install defines
2018-02-27 08:34:52 +01:00
Jiri Slachta
3f50399cef
Merge pull request #281 from micmac1/libsrtp-flags
Libsrtp flags and missing symlink
2018-02-27 08:34:31 +01:00
Sebastian Kemper
744f27072c pjproject: bump to 2.7.2
Includes security fixes:

2094: Crash when receiving SDP with invalid fmtp attribute
2095: Crash when parsing SDP with an invalid media format description

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-26 22:33:33 +01:00
Sebastian Kemper
55c4bf9f78 spandsp: use $(INSTALL_DATA) for regular files
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 11:01:56 +01:00
Sebastian Kemper
f0b4c4638e spandsp: remove $(FPIC) from TARGET_CFLAGS
spandsp already makes sure that the compiler emits position-independent
code. Adding $(FPIC) makes no difference. In addition the spandsp build
system puts its own flag behind the CFLAGS, overriding whatever was set
before.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:56:15 +01:00
Sebastian Kemper
07bd27da77 libsrtp: install additional symlink
Makes sure that the libsrtp.so symlink gets installed on the target
devices as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:51:19 +01:00
Sebastian Kemper
4c8e052374 libsrtp: remove $(FPIC) from TARGET_CFLAGS
bgg729 already makes sure that the compiler emits position-independent
code. Adding $(FPIC) makes no difference. In addition the libsrtp build
system puts its own flag behind the CFLAGS, overriding whatever was set
before.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:49:45 +01:00
Sebastian Kemper
f808a0b76c libpri: update install defines
- Use $(INSTALL_DATA) for the header file.

- Make sure that also the libpri.so symlink gets installed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:46:34 +01:00
Sebastian Kemper
c228dd21b1 libosip2: simplify install define
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:37:25 +01:00
Sebastian Kemper
0791cc6f49 libosip2: remove $(FPIC) from TARGET_CFLAGS
libosip2 already makes sure that the compiler emits position-independent
code. Adding $(FPIC) makes no difference. In addition the libosip2 build
system puts its own flag behind the CFLAGS, overriding whatever was set
before.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:35:37 +01:00
Sebastian Kemper
babc530fc7 dahdi-tools: update install defines
- use $(INSTALL_BIN) and $(INSTALL_DATA) where possible.
- instead of creating symlinks manually just copy them.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:28:15 +01:00
Sebastian Kemper
e124b74296 bcg729: fix a typo
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:23:27 +01:00
Sebastian Kemper
b05e390a84 dahdi-tools: clean up make flags, remove $(FPIC)
- Remove all flags/variables that are not used at all.

- dahdi-tools already makes sure that the compiler emits
  position-independent code for libtonezone. Adding $(FPIC) makes no
  difference. In addition the dahdi-toolsbuild system puts its own flag
  behind the CFLAGS, overriding whatever was set before. Also the
  applications should never be built with PIC, it should only be done for
  the lib.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:15:22 +01:00
Sebastian Kemper
b4392fbc2e dahdi-linux: clean up make flags
Remove all flags/variables that are not used at all. Remove some ':'
that are not needed in the context.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:10:18 +01:00
Sebastian Kemper
1d1651c7a1 bcg729: remove $(FPIC) from TARGET_CFLAGS
bgg729 already makes sure that the compiler emits position-independent
code. Adding $(FPIC) makes no difference. In addition the bcg729 build
system puts its own flag behind the CFLAGS, overriding whatever was set
before.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 09:45:25 +01:00
Sebastian Kemper
2341abf358 bcg729: add OpenWrt CPPFLAGS
Add TARGET_CPPFLAGS to TARGET_CFLAGS, otherwise OpenWrt's CPPFLAGS are
ignored (i.e. fortify-source headers are not picked up).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 09:42:54 +01:00
Jiri Slachta
9a034c9775
Merge pull request #253 from neheb/patch-1
bcg729: Remove BUILD_PATENTED.
2018-02-21 08:23:34 +01:00
Jiri Slachta
dd42a681f3
Merge pull request #270 from micmac1/dahdi-linux-uaccess-fixes
dahdi-linux: include linux/uaccess.h rather than asm/uaccess.h
2018-02-18 18:59:59 +01:00
Sebastian Kemper
3f3340a007 libs/re: bump to 0.5.7
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-16 21:45:08 +01:00
Sebastian Kemper
a3d53ad562 dahdi-linux: include linux/uaccess.h rather than asm/uaccess.h
Starting with 4.12 there are module build errors due to the
arch-specific uaccess.h using a macro defined in the generic include.
The generic include has been around since 2.6.18 and has always included
asm/uaccess.h, so switch to using the generic include for all kernels
which have it.

Example build failure:

    CC [M]  /data/bowl-builder/mips64_octeon/build/sdk/build_dir/target-mips64_octeon_64_musl/linux-octeon/dahdi-linux-2.11.1-20180111/drivers/dahdi/wcb4xxp/base.o
  In file included from ../dahdi-linux-2.11.1-20180111/drivers/dahdi/wcb4xxp/base.c:38:0:
  ./arch/mips/include/asm/uaccess.h: In function 'eva_kernel_access':
  ./arch/mips/include/asm/uaccess.h:91:9: error: implicit declaration of function 'uaccess_kernel' [-Werror=implicit-function-declaration]
    return uaccess_kernel();
           ^
  cc1: some warnings being treated as errors

The same can currently be seen on arc_archs where also kernel 4.14.18 is
used.

The patch just follows what Ubuntu's Seth Forshee suggested for openafs,
which ran into the same problem. The commit message is largely just
copied from Seth's commit message as well :)

The issue has been reported to upstream here:

https://issues.asterisk.org/jira/browse/DAHLIN-360

The same patch has been uploaded there.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-12 21:57:06 +01:00
Jiri Slachta
0f435d4ae7
Merge pull request #256 from micmac1/dahdi-linux
dahdi-linux: update source to snapshot
2018-02-03 18:18:52 +01:00
Sebastian Kemper
8006aa8ad3 libosip2: fix build with ARC toolchain
ARC toolchain exports __arc__, which clashes with a symbol of the same
name in libosip2. This commit undefines the toolchain symbol when
building the library.

The fix was found in buildroot repo. Thanks to whoever spotted this!

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 13:33:27 +01:00
Sebastian Kemper
dffb87f93b dahdi-linux: update source to snapshot
Currently dahdi-linux fails to compile on targets that use kernel 4.14.
Changes were introduced in kernels 4.11 and 4.13 that cause these build
failures.

Update to an upstream git snapshot to fix the breakage.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-01 00:47:20 +01:00