feed/telephony.git
6 years agolibosip2: fix build with ARC toolchain 258/head
Sebastian Kemper [Sat, 3 Feb 2018 12:33:24 +0000 (13:33 +0100)]
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>
6 years agoAdded patches to build for glibc.
Mazi Lo [Fri, 2 Feb 2018 02:37:39 +0000 (21:37 -0500)]
Added patches to build for glibc.

For now, these patches are basically the same for musl library build.

Signed-off-by: Mazi Lo <openwrt.forum.mazilo@recursor.net>
6 years agoFixed depencencies and also bumped to git 77d0cfbf9e9a546b4eee23d9668cf44022f5d454
Mazi Lo [Fri, 2 Feb 2018 02:32:18 +0000 (21:32 -0500)]
Fixed depencencies and also bumped to git 77d0cfbf9e9a546b4eee23d9668cf44022f5d454

Signed-off-by: Mazi Lo <openwrt.forum.mazilo@recursor.net>
6 years agoMerge pull request #255 from micmac1/fs-system-tiff
micmac1 [Sun, 28 Jan 2018 13:26:55 +0000 (14:26 +0100)]
Merge pull request #255 from micmac1/fs-system-tiff

freeswitch-stable: use system libtiff

6 years agofreeswitch-stable: use system libtiff 255/head
Sebastian Kemper [Sun, 28 Jan 2018 13:19:27 +0000 (14:19 +0100)]
freeswitch-stable: use system libtiff

The included libtiff is dated and has multiple unfixed CVEs. This commit
applies patches from upstream's master branch to use the system libtiff
instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agofreeswitch-stable: activate verbose build mode
Sebastian Kemper [Sun, 28 Jan 2018 13:16:17 +0000 (14:16 +0100)]
freeswitch-stable: activate verbose build mode

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #254 from micmac1/fs-1.6.20
micmac1 [Sat, 27 Jan 2018 13:33:31 +0000 (14:33 +0100)]
Merge pull request #254 from micmac1/fs-1.6.20

freeswitch-stable: bump to 1.6.20

6 years agofreeswitch-stable: bump to 1.6.20 254/head
Sebastian Kemper [Sat, 27 Jan 2018 13:19:02 +0000 (14:19 +0100)]
freeswitch-stable: bump to 1.6.20

Upstream seems to have updated their libtool. Instead of running
rebootstrap.sh, set PKG_FIXUP:=autoreconf. Otherwise the build would
fail due to libtool version conflicts.

This is actually nice, because now the build is a bit quicker due to
less autoconf and configure runs.

rebootstrap.sh was primarily used because it worked around some other
issues (e.g. not being able to detect how to convert files to the cross
compiler format, i.e. "func_convert_file_noop"), but that doesn't appear
to be needed anymore, which is nice.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoFixed to use local python3-package.mk
Mazi Lo [Tue, 23 Jan 2018 13:22:52 +0000 (08:22 -0500)]
Fixed to use local python3-package.mk

Signed-off-by: Mazi Lo <openwrt.forum.mazilo@recursor.net>
6 years agoMerge pull request #248 from micmac1/master-mirror-hash-jiri
Jiri Slachta [Mon, 22 Jan 2018 18:56:42 +0000 (19:56 +0100)]
Merge pull request #248 from micmac1/master-mirror-hash-jiri

Add PKG_MIRROR_HASH pt. 2

6 years agoMerge pull request #249 from micmac1/import-sipgrep-and-sngrep
micmac1 [Sun, 21 Jan 2018 18:00:27 +0000 (19:00 +0100)]
Merge pull request #249 from micmac1/import-sipgrep-and-sngrep

Import sipgrep and sngrep

6 years agosngrep: version bump 249/head
Sebastian Kemper [Sun, 21 Jan 2018 17:48:01 +0000 (18:48 +0100)]
sngrep: version bump

- use upstream release tarball instead of git checkout
- update to recently released version 1.4.5

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agosngrep: install /etc/sngreprc
Sebastian Kemper [Sun, 21 Jan 2018 17:46:54 +0000 (18:46 +0100)]
sngrep: install /etc/sngreprc

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agosngrep: add some features
Sebastian Kemper [Sun, 21 Jan 2018 17:44:59 +0000 (18:44 +0100)]
sngrep: add some features

This commit enables support for:

  - IPv6
  - Homer export
  - TLS

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agosngrep: update descriptions
Sebastian Kemper [Sun, 21 Jan 2018 17:42:00 +0000 (18:42 +0100)]
sngrep: update descriptions

- move the package to Utilities/Telephony
- title/description shamelessly copied from Debian

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agosngrep: move binary to /usr/bin
Sebastian Kemper [Sun, 21 Jan 2018 17:39:56 +0000 (18:39 +0100)]
sngrep: move binary to /usr/bin

- added PKG_INSTALL
- upstream puts the binary into /usr/bin, now OpenWrt does the same

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agosngrep: update maintainer and copyright messages
Sebastian Kemper [Sun, 21 Jan 2018 17:37:52 +0000 (18:37 +0100)]
sngrep: update maintainer and copyright messages

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agosngrep: import from openwrt/packages
Sebastian Kemper [Sun, 21 Jan 2018 17:19:34 +0000 (18:19 +0100)]
sngrep: import from openwrt/packages

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agosipgrep: update PKG_VERSION
Sebastian Kemper [Sun, 21 Jan 2018 17:16:01 +0000 (18:16 +0100)]
sipgrep: update PKG_VERSION

The source does not change, but reflect the real version (2.2.1) in
PKG_VERSION. Also move from gz to xz to shave off a few Bytes.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agosipgrep: drop ncurses dependency, add ipv6 support
Sebastian Kemper [Sun, 21 Jan 2018 17:12:42 +0000 (18:12 +0100)]
sipgrep: drop ncurses dependency, add ipv6 support

Following Debian's example, keeping it lean and mean.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agosipgrep: update descriptions
Sebastian Kemper [Sun, 21 Jan 2018 17:09:29 +0000 (18:09 +0100)]
sipgrep: update descriptions

- move the package to Utilities/Telephony
- title/description shamelessly copied from Debian

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agosipgrep: move binary to /usr/bin
Sebastian Kemper [Sun, 21 Jan 2018 17:03:07 +0000 (18:03 +0100)]
sipgrep: move binary to /usr/bin

- added PKG_INSTALL
- upstream puts the binary into /usr/bin, now OpenWrt does the same

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agosipgrep: update maintainer and copyright messages
Sebastian Kemper [Sun, 21 Jan 2018 16:58:36 +0000 (17:58 +0100)]
sipgrep: update maintainer and copyright messages

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agosipgrep: import from openwrt/packages
Sebastian Kemper [Sun, 21 Jan 2018 16:54:58 +0000 (17:54 +0100)]
sipgrep: import from openwrt/packages

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #247 from micmac1/master-mirror-hash-mine
micmac1 [Sat, 20 Jan 2018 19:32:30 +0000 (20:32 +0100)]
Merge pull request #247 from micmac1/master-mirror-hash-mine

Add PKG_MIRROR_HASH pt. 1

6 years agortpproxy: add PKG_MIRROR_HASH 248/head
Sebastian Kemper [Sat, 20 Jan 2018 19:28:18 +0000 (20:28 +0100)]
rtpproxy: add PKG_MIRROR_HASH

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-chan-sccp: add PKG_MIRROR_HASH
Sebastian Kemper [Sat, 20 Jan 2018 19:28:01 +0000 (20:28 +0100)]
asterisk-chan-sccp: add PKG_MIRROR_HASH

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-chan-dongle: add PKG_MIRROR_HASH
Sebastian Kemper [Sat, 20 Jan 2018 19:27:41 +0000 (20:27 +0100)]
asterisk-chan-dongle: add PKG_MIRROR_HASH

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agolibsrtp2: add PKG_MIRROR_HASH
Sebastian Kemper [Sat, 20 Jan 2018 19:27:21 +0000 (20:27 +0100)]
libsrtp2: add PKG_MIRROR_HASH

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agolibsrtp: add PKG_MIRROR_HASH
Sebastian Kemper [Sat, 20 Jan 2018 19:27:08 +0000 (20:27 +0100)]
libsrtp: add PKG_MIRROR_HASH

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agofreeswitch-stable-mod-bcg729: add PKG_MIRROR_HASH 247/head
Sebastian Kemper [Sat, 20 Jan 2018 19:22:26 +0000 (20:22 +0100)]
freeswitch-stable-mod-bcg729: add PKG_MIRROR_HASH

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agogsmlib: add PKG_MIRROR_HASH
Sebastian Kemper [Sat, 20 Jan 2018 19:22:03 +0000 (20:22 +0100)]
gsmlib: add PKG_MIRROR_HASH

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #246 from micmac1/freeswitch-stable
micmac1 [Sat, 20 Jan 2018 10:42:15 +0000 (11:42 +0100)]
Merge pull request #246 from micmac1/freeswitch-stable

freeswitch-stable: change how python-host.mk is included

6 years agofreeswitch-stable: change how python-host.mk is included 246/head
Sebastian Kemper [Sat, 20 Jan 2018 10:32:49 +0000 (11:32 +0100)]
freeswitch-stable: change how python-host.mk is included

This was suggested in PR #241 by @commodo. Python maintainers moved the
.mk files and also want to get rid of the include_mk construct.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #240 from micmac1/asterisk-for-master
Jiri Slachta [Mon, 15 Jan 2018 19:16:47 +0000 (20:16 +0100)]
Merge pull request #240 from micmac1/asterisk-for-master

Asterisk for master

6 years agoasterisk-15.x: bump to 15.2.0 240/head
Sebastian Kemper [Sun, 14 Jan 2018 18:18:05 +0000 (19:18 +0100)]
asterisk-15.x: bump to 15.2.0

- Remove 003-disable-ast-xml-docs.patch, it doesn't apply anymore.
  Instead change --enable-xmldoc into --disable-xmldoc in the Makefile.
- Refresh patches.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: bump to 13.19.0
Sebastian Kemper [Sun, 14 Jan 2018 18:13:22 +0000 (19:13 +0100)]
asterisk-13.x: bump to 13.19.0

- Remove 003-disable-ast-xml-docs.patch, it doesn't apply anymore.
  Instead change --enable-xmldoc into --disable-xmldoc in the Makefile.
- Remove 055-ASTERISK-24517.patch again due to multiple hunk failures.
- Refresh patches.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #235 from micmac1/libs-master
Jiri Slachta [Thu, 11 Jan 2018 18:43:26 +0000 (19:43 +0100)]
Merge pull request #235 from micmac1/libs-master

libosip2: add fix for CVE-2017-7853

6 years agoMerge pull request #236 from micmac1/gsmlib-master
micmac1 [Wed, 10 Jan 2018 19:42:32 +0000 (20:42 +0100)]
Merge pull request #236 from micmac1/gsmlib-master

gsmlib: fix sporadic build failures

6 years agogsmlib: fix sporadic build failures 236/head
Sebastian Kemper [Wed, 10 Jan 2018 19:36:48 +0000 (20:36 +0100)]
gsmlib: fix sporadic build failures

Add build-time dependency on gettext-full/host. When it is not installed
Makefile.in.in doesn't exist and the gsmlib build fails.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agolibosip2: add fix for CVE-2017-7853 235/head
Sebastian Kemper [Wed, 10 Jan 2018 19:29:52 +0000 (20:29 +0100)]
libosip2: add fix for CVE-2017-7853

Patch copied from upstream:

https://git.savannah.gnu.org/cgit/osip.git/patch/?id=1ae06daf3b2375c34af23083394a6f010be24a45

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-15.x: fix typo in dependency to res-statsd
Jiri Slachta [Sun, 7 Jan 2018 17:40:07 +0000 (18:40 +0100)]
asterisk-15.x: fix typo in dependency to res-statsd

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
6 years agoMerge pull request #232 from micmac1/gsmopen
micmac1 [Sun, 7 Jan 2018 11:32:36 +0000 (12:32 +0100)]
Merge pull request #232 from micmac1/gsmopen

New PR: add gsmlib, libctb and mod_gsmopen

6 years agoMerge pull request #233 from micmac1/freetdm
micmac1 [Thu, 4 Jan 2018 16:05:08 +0000 (17:05 +0100)]
Merge pull request #233 from micmac1/freetdm

freeswitch-stable: Add FreeTDM support

6 years agofreeswitch-stable: add FreeTDM modules 233/head
Sebastian Kemper [Thu, 4 Jan 2018 15:52:03 +0000 (16:52 +0100)]
freeswitch-stable: add FreeTDM modules

This commit adds mod_freetdm (glue between FreeSWITCH and FreeTDM) and
the following FreeTDM modules:

 - ftmod_analog
 - ftmod_analog_em
 - ftmod_libpri
 - ftmod_pritap
 - ftmod_skel
 - ftmod_zt

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agofreeswitch-stable: add FreeTDM support
Sebastian Kemper [Thu, 4 Jan 2018 15:34:36 +0000 (16:34 +0100)]
freeswitch-stable: add FreeTDM support

The OpenWrt telephony feed already has DAHDI support. This commit
enables FreeTDM so FreeSWITCH can make use of DAHDI via libpri.

This does not change the existing FreeSWITCH packages as FreeTDM is a
separate library in the FreeSWITCH distribution, hence no revision bump.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agofreeswitch-stable: add mod_gsmopen 232/head
Sebastian Kemper [Tue, 2 Jan 2018 10:21:57 +0000 (11:21 +0100)]
freeswitch-stable: add mod_gsmopen

Add mod_gsmopen to be able to use FreeSWITCH as a GSM gateway (for SMS
and voice calls).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agofreeswitch-stable: add iconv support when using uclibc
Sebastian Kemper [Tue, 2 Jan 2018 10:16:44 +0000 (11:16 +0100)]
freeswitch-stable: add iconv support when using uclibc

uclibc doesn't include iconv. This commit adds a dependency to
libiconv-full when building against uclibc. iconv can be used by the
included apr and is a hard dependency of mod_gsmopen.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agolibctb: new package
Sebastian Kemper [Tue, 2 Jan 2018 10:11:16 +0000 (11:11 +0100)]
libctb: new package

libctb is a dependency of mod_gsmopen in FreeSWITCH.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agogsmlib: new package
Sebastian Kemper [Tue, 2 Jan 2018 10:08:58 +0000 (11:08 +0100)]
gsmlib: new package

gsmlib is a dependency of mod_gsmopen in FreeSWITCH.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agofreeswitch-stable-mod-bcg729: fix upstream URL
Sebastian Kemper [Sat, 30 Dec 2017 17:27:24 +0000 (18:27 +0100)]
freeswitch-stable-mod-bcg729: fix upstream URL

- remove unused variable
- fix upstream URL

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoUpdate MAINTAINERS
Sebastian Kemper [Sat, 30 Dec 2017 17:07:32 +0000 (18:07 +0100)]
Update MAINTAINERS

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #231 from micmac1/bcg729
Jiri Slachta [Thu, 28 Dec 2017 15:07:04 +0000 (16:07 +0100)]
Merge pull request #231 from micmac1/bcg729

bcg729: fix 1.0.4 build

6 years agobcg729: fix 1.0.4 build 231/head
Sebastian Kemper [Wed, 27 Dec 2017 21:18:22 +0000 (22:18 +0100)]
bcg729: fix 1.0.4 build

- the Savannah source URI doesn't have the 1.0.4 release; switch it to
  linphone.org

- even with the source available the build fails, as the source now
  defaults to cmake for building. So switch our build process from
  autotools to cmake as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #227 from micmac1/freeswitch-stable
Jiri Slachta [Wed, 27 Dec 2017 08:45:25 +0000 (09:45 +0100)]
Merge pull request #227 from micmac1/freeswitch-stable

New PR: freeswitch-stable

6 years agoMerge pull request #229 from samm-git/patch-1
Jiri Slachta [Wed, 27 Dec 2017 08:45:03 +0000 (09:45 +0100)]
Merge pull request #229 from samm-git/patch-1

bcg729: update to the 1.0.4 version

6 years agoMerge pull request #228 from micmac1/asterisk
Jiri Slachta [Wed, 27 Dec 2017 08:44:44 +0000 (09:44 +0100)]
Merge pull request #228 from micmac1/asterisk

New PR: Asterisk

6 years agoMerge pull request #230 from micmac1/baresip
Jiri Slachta [Wed, 27 Dec 2017 08:44:23 +0000 (09:44 +0100)]
Merge pull request #230 from micmac1/baresip

New PR: Baresip suite

6 years agobaresip: add procd init script 230/head
Sebastian Kemper [Tue, 26 Dec 2017 14:21:25 +0000 (15:21 +0100)]
baresip: add procd init script

  - add procd init script
  - script starts the daemon as user "baresip" instead of root
  - add /etc/default/baresip
  - add example configuration into /etc/baresip
  - add conffiles definition
  - prevent autostart after upgrade by using ENABLE_BARESIP variable in
    /etc/default/baresip

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agorestund: add procd init script
Sebastian Kemper [Tue, 26 Dec 2017 13:58:30 +0000 (14:58 +0100)]
restund: add procd init script

- add procd init script
- script starts the daemon as user "restund" instead of root
- add /etc/default/restund
- declare /etc/init.d/restund a configuration file
- prevent autostart after upgrade by using ENABLE_RESTUND variable in
  /etc/default/restund

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agobaresip suite: improve MAKE_FLAGS
Sebastian Kemper [Tue, 26 Dec 2017 13:34:45 +0000 (14:34 +0100)]
baresip suite: improve MAKE_FLAGS

- add CROSS_COMPILE and OS to MAKE_FLAGS; this should help when
  compiling on other OSes, e.g. Darwin.
- move RELEASE up (alphabetical sort)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agobaresip + restund: delete faulty patch
Sebastian Kemper [Tue, 26 Dec 2017 13:26:45 +0000 (14:26 +0100)]
baresip + restund: delete faulty patch

The patch is wrong. It may cause errors of the "illegal instruction" variety.
The libre package fix in commit e40f0ea06fe7433eff71c4561a4776f068e97bc7 makes
this patch unnecessary anyway. Drop it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agolibre: add forgotten define
Sebastian Kemper [Tue, 26 Dec 2017 13:14:47 +0000 (14:14 +0100)]
libre: add forgotten define

"OPENWRT" needs to be defined for 001-extend-ninit-nclose-check.patch to
work.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agofreeswitch-stable: improve autostart prevention 227/head
Sebastian Kemper [Tue, 26 Dec 2017 13:05:31 +0000 (14:05 +0100)]
freeswitch-stable: improve autostart prevention

The current approach (creating a blocker file) is clumsy. Use a variable
in /etc/default/freeswitch instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agobcg729: update to the 1.0.4 version 229/head
Alex Samorukov [Tue, 26 Dec 2017 00:13:23 +0000 (01:13 +0100)]
bcg729: update to the 1.0.4 version

6 years agoasterisk-15.x: bump to 15.1.4 228/head
Sebastian Kemper [Fri, 22 Dec 2017 22:05:59 +0000 (23:05 +0100)]
asterisk-15.x: bump to 15.1.4

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-15.x: add module dependencies
Sebastian Kemper [Fri, 22 Dec 2017 22:04:11 +0000 (23:04 +0100)]
asterisk-15.x: add module dependencies

Add some dependencies to select modules. Dependencies confirmed by
menuselect.

Also fix description of res_monitor.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: bump to 13.18.4
Sebastian Kemper [Fri, 22 Dec 2017 22:02:02 +0000 (23:02 +0100)]
asterisk-13.x: bump to 13.18.4

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: add module dependencies
Sebastian Kemper [Fri, 22 Dec 2017 21:59:22 +0000 (22:59 +0100)]
asterisk-13.x: add module dependencies

Add some dependencies to select modules. Dependencies confirmed by
menuselect.

Also fix description of res_monitor.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agofreeswitch-stable: add a few autoconf_bools
Sebastian Kemper [Fri, 22 Dec 2017 21:51:56 +0000 (22:51 +0100)]
freeswitch-stable: add a few autoconf_bools

- Use autoconf_bool instead of manually calling configure switches.
- Revision bump.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agofreeswitch-stable: make libedit a hard dependency
Sebastian Kemper [Fri, 22 Dec 2017 21:46:07 +0000 (22:46 +0100)]
freeswitch-stable: make libedit a hard dependency

Remove the possibility to prevent the dependency on libedit. freeswitch
behaves very quirky without it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agofreeswitch-stable: init script update
Sebastian Kemper [Fri, 22 Dec 2017 21:37:19 +0000 (22:37 +0100)]
freeswitch-stable: init script update

- Use "-nc -nf" always. When started by procd freeswitch detects the
  console to be orphaned and disables it. So disable the interactive
  console but force freeswitch to not fork into background.
- Improve readability of command parameters.
- Minor changes.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #226 from micmac1/baresip
Jiri Slachta [Thu, 14 Dec 2017 07:33:32 +0000 (08:33 +0100)]
Merge pull request #226 from micmac1/baresip

baresip/re: build fix and a workaround

6 years agobaresip: add symbol to prevent FFmpeg dependency by default 226/head
Sebastian Kemper [Wed, 13 Dec 2017 18:37:11 +0000 (19:37 +0100)]
baresip: add symbol to prevent FFmpeg dependency by default

Currently baresip often fails to build because the FFmpeg compile was
not successful:

  CC [M]  build-mipsel/modules/avcodec/avcodec.o
modules/avcodec/avcodec.c:9:32: fatal error: libavcodec/avcodec.h: No such file or directory
compilation terminated.

Address this by adding a configuration symbol that prevents the
FFmpeg-depending modules from being selected by default, except on i386
and x86_64.

It is better having baresip packages without these video modules than
not having baresip packages at all.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agore: fix build errors on mipsel targets
Sebastian Kemper [Wed, 13 Dec 2017 18:29:01 +0000 (19:29 +0100)]
re: fix build errors on mipsel targets

On most mipsel targets re fails to build because the re Makefile adds
"-march=mips32" to CFLAGS:

Assembler messages:
Error: -mips32r2 conflicts with the other architecture options, which imply -mips32
src/sip/addr.c:1:0: error: '-mips32r2' conflicts with the other architecture options, which specify a mips32 processor
 /**
 ^
Makefile:92: recipe for target 'build-mipsel/sip/addr.o' failed

Fix this by preventing re from adding to OpenWrt CFLAGS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #225 from micmac1/baresip
Jiri Slachta [Tue, 12 Dec 2017 11:04:18 +0000 (12:04 +0100)]
Merge pull request #225 from micmac1/baresip

baresip: fix build failure on 32bit x86 targets

6 years agoMerge pull request #224 from lynxis/rb_kamailio
Jiri Slachta [Fri, 8 Dec 2017 07:53:54 +0000 (08:53 +0100)]
Merge pull request #224 from lynxis/rb_kamailio

kamailio-5.x: remove build timestamp

6 years agobaresip: fix build failure on 32bit x86 targets 225/head
Sebastian Kemper [Thu, 7 Dec 2017 20:32:45 +0000 (21:32 +0100)]
baresip: fix build failure on 32bit x86 targets

re and baresip builds for 32bit x86 targets are currently failing:

build-i386/sip/auth.o: In function `sip_auth_encode':
/build/lede-snapshots/i386_pentium/build/sdk/build_dir/target-i386_pentium_musl/re-0.5.6/src/sip/auth.c:279: undefined reference to `__stack_chk_fail_local'

The undefined references occur because there is no linking done to ssp.
Fix this by setting LD to TARGET_CC, so ld is not called directly. This
also means one patch is not needed anymore.

Do the same for rem and restund as they basically all share the same
build system.

Compile-tested for x86, x86_64 and mips.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agokamailio-5.x: remove build timestamp 224/head
Alexander Couzens [Thu, 7 Dec 2017 14:05:13 +0000 (15:05 +0100)]
kamailio-5.x: remove build timestamp

Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
6 years agoMerge pull request #223 from lynxis/rb_asterisk
Jiri Slachta [Thu, 7 Dec 2017 05:40:40 +0000 (06:40 +0100)]
Merge pull request #223 from lynxis/rb_asterisk

asterisk: reproducible builds

6 years agoasterisk-chan-sccp: remove BUILD_USER BUILD_DATE 223/head
Alexander Couzens [Wed, 6 Dec 2017 01:48:03 +0000 (02:48 +0100)]
asterisk-chan-sccp: remove BUILD_USER BUILD_DATE

Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
6 years agoasterisk-15.x: remove build timestamp
Alexander Couzens [Wed, 6 Dec 2017 01:04:39 +0000 (02:04 +0100)]
asterisk-15.x: remove build timestamp

Build timestamps prevent reproducible builds [0].
Thanks to debian for the patch

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
6 years agoasterisk-13.x: remove build timestamp
Alexander Couzens [Wed, 6 Dec 2017 01:04:09 +0000 (02:04 +0100)]
asterisk-13.x: remove build timestamp

Build timestamps prevent reproducible builds [0].
Thanks to debian for the patch.

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
6 years agoMerge pull request #222 from lynxis/github_template
Jiri Slachta [Wed, 6 Dec 2017 08:11:39 +0000 (09:11 +0100)]
Merge pull request #222 from lynxis/github_template

copy .github/templates from package feed

6 years agoMerge pull request #220 from lynxis/rb_restund
Jiri Slachta [Wed, 6 Dec 2017 08:10:24 +0000 (09:10 +0100)]
Merge pull request #220 from lynxis/rb_restund

restund: remove build timestamp

6 years agoMerge pull request #221 from lynxis/rb_sipp
Jiri Slachta [Wed, 6 Dec 2017 08:09:56 +0000 (09:09 +0100)]
Merge pull request #221 from lynxis/rb_sipp

sipp: remove build timestamp

6 years agoMerge pull request #219 from micmac1/asterisk
Jiri Slachta [Wed, 6 Dec 2017 08:09:30 +0000 (09:09 +0100)]
Merge pull request #219 from micmac1/asterisk

Asterisk: fixups, version bumps

6 years agocopy .github/templates from package feed 222/head
Alexander Couzens [Tue, 5 Dec 2017 23:43:47 +0000 (00:43 +0100)]
copy .github/templates from package feed

The template will be used by issues and pull-request.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
6 years agosipp: remove build timestamp 221/head
Alexander Couzens [Tue, 5 Dec 2017 21:45:37 +0000 (22:45 +0100)]
sipp: remove build timestamp

Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
6 years agorestund: remove build timestamp 220/head
Alexander Couzens [Tue, 5 Dec 2017 22:13:54 +0000 (23:13 +0100)]
restund: remove build timestamp

Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
6 years agoasterisk-15.x: security bump to 15.1.3 219/head
Sebastian Kemper [Tue, 5 Dec 2017 20:21:57 +0000 (21:21 +0100)]
asterisk-15.x: security bump to 15.1.3

AST-2017-013: chan_skinny: Call pthread_detach when sess threads end
ASTERISK-27452

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: security bump to 13.18.3
Sebastian Kemper [Tue, 5 Dec 2017 20:19:51 +0000 (21:19 +0100)]
asterisk-13.x: security bump to 13.18.3

AST-2017-013: chan_skinny: Call pthread_detach when sess threads end
ASTERISK-27452

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-15.x: workaround for build failure
Sebastian Kemper [Tue, 5 Dec 2017 20:17:50 +0000 (21:17 +0100)]
asterisk-15.x: workaround for build failure

On the buildbots (and locally, too) the x86 builds currently fail. It's
visible that the Asterisk build system attempts to build menuselect a
second time, which fails because it follows the standard recipes in its
Makefiles. The first build of menuselect on the other hand only works
because the OpenWrt package sets up the build properly.

The second build attempt happens because the menuselect CFLAGS category
is setup to delete a stamp file when anything in it changes. On x86
-march=native is available, so the OpenWrt package disables that via
menuselect, hence this item in the category is changed and the stamp
file automatically removed. The missing stamp file triggers a rebuild of
menuselect (which is not required for OpenWrt's intents and purposes).
Another item in the CFLAGS category with which the package can have the
same issue is LOW_MEMORY, but that is not enabled (changed) by default.

Work around this problem by recreating the stamp file after the
menuselect calls.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: workaround for build failure
Sebastian Kemper [Tue, 5 Dec 2017 20:05:53 +0000 (21:05 +0100)]
asterisk-13.x: workaround for build failure

On the buildbots (and locally, too) the x86 builds currently fail. It's
visible that the Asterisk build system attempts to build menuselect a
second time, which fails because it follows the standard recipes in its
Makefiles. The first build of menuselect on the other hand only works
because the OpenWrt package sets up the build properly.

The second build attempt happens because the menuselect CFLAGS category
is setup to delete a stamp file when anything in it changes. On x86
-march=native is available, so the OpenWrt package disables that via
menuselect, hence this item in the category is changed and the stamp
file automatically removed. The missing stamp file triggers a rebuild of
menuselect (which is not required for OpenWrt's intents and purposes).
Another item in the CFLAGS category with which the package can have the
same issue is LOW_MEMORY, but that is not enabled (changed) by default.

Work around this problem by recreating the stamp file after the
menuselect calls.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-15.x: speed up menuselect calls
Sebastian Kemper [Tue, 5 Dec 2017 20:03:50 +0000 (21:03 +0100)]
asterisk-15.x: speed up menuselect calls

Currently the menuselect calls, for each category or item, step into a
directory and call menuselect once. So if all packages are build
menuselect will be called hundreds of times and as many directory
changes will be done.

Instead step into the directory only once, then generate the argument
string by iteratively adding to it and then call menuselect once. The
speedup is big.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: speed up menuselect calls
Sebastian Kemper [Tue, 5 Dec 2017 19:58:01 +0000 (20:58 +0100)]
asterisk-13.x: speed up menuselect calls

Currently the menuselect calls, for each category or item, step into a
directory and call menuselect once. So if all packages are build
menuselect will be called hundreds of times and as many directory
changes will be done.

Instead step into the directory only once, then generate the argument
string by iteratively adding to it and then call menuselect once. The
speedup is big.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-15.x: fix CONFIGURE_ARGS
Sebastian Kemper [Tue, 5 Dec 2017 19:53:47 +0000 (20:53 +0100)]
asterisk-15.x: fix CONFIGURE_ARGS

The way CONFIGURE_ARGS are done for srtp and pjproect does not take into
account that more than one package depends on them. This can result in
build failures. So add ifeqs to test properly if --with or --without is
required.

This commit also adds CONFIGURE_ARGS checks for:

alsa (asound)
portaudio
speex
speexdsp

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: fix CONFIGURE_ARGS
Sebastian Kemper [Tue, 5 Dec 2017 19:46:54 +0000 (20:46 +0100)]
asterisk-13.x: fix CONFIGURE_ARGS

The way CONFIGURE_ARGS are done for srtp and pjproect does not take into
account that more than one package depends on them. This can result in
build failures. So add ifeqs to test properly if --with or --without is
required.

This commit also adds CONFIGURE_ARGS checks for:

alsa (asound)
portaudio
speex
speexdsp

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #218 from micmac1/master
Jiri Slachta [Sun, 3 Dec 2017 19:28:44 +0000 (20:28 +0100)]
Merge pull request #218 from micmac1/master

asterisk: add samples, modules, utilities and a dep

6 years agoMerge pull request #217 from micmac1/chan-lantiq
Jiri Slachta [Sun, 3 Dec 2017 19:27:02 +0000 (20:27 +0100)]
Merge pull request #217 from micmac1/chan-lantiq

chan-lantiq: revert (non-working) hack, add Asterisk 15 variant