feed/telephony.git
6 years agonet/yate: Add some plugins 275/head
Sebastian Kemper [Sun, 18 Feb 2018 09:11:26 +0000 (10:11 +0100)]
net/yate: Add some plugins

Add some plugins which are built by default anyway.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agonet/yate: Disable RTTI
Sebastian Kemper [Sun, 18 Feb 2018 09:07:16 +0000 (10:07 +0100)]
net/yate: Disable RTTI

Yate is the only package in OpenWrt which manually enables RTTI
(run-time type information). There's no explanation in the Makefile as
to why that would be needed or advisable. Remove it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agonet/yate: Remove uclibc++.mk include
Sebastian Kemper [Sun, 18 Feb 2018 09:04:18 +0000 (10:04 +0100)]
net/yate: Remove uclibc++.mk include

With this include libuClibc++.so.0 gets added as a lib depend, even on
musl. readelf shows:

  Dynamic section at offset 0x10ea60 contains 23 entries:
    Tag        Type                         Name/Value
   0x0000000000000001 (NEEDED)             Shared library: [libuClibc++.so.0]
   0x0000000000000001 (NEEDED)             Shared library: [libc.so]
   0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
   0x000000000000000e (SONAME)             Library soname: [libyate.so.6.0.0]

Remove the include from the Makefile and add a depend on libstdcpp
instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agonet/yate: Disable FORTIFY_SOURCE properly
Sebastian Kemper [Sat, 17 Feb 2018 17:39:23 +0000 (18:39 +0100)]
net/yate: Disable FORTIFY_SOURCE properly

This reverts commit 4cc2afdcdc6891c5546e94e8a15bb9c96864acd6 which
disabled FORTIFY_SOURCE by removing OpenWrt's CPPFLAGS from the built.
Instead PKG_FORTIFY_SOURCE:=0 is defined, which is the proper way to do
it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #267 from micmac1/kam5-update
Jiri Slachta [Mon, 12 Feb 2018 06:05:00 +0000 (07:05 +0100)]
Merge pull request #267 from micmac1/kam5-update

New PR: more kamailio5 updates

6 years agokamailio-5.x: add kambdb_recover utility 267/head
Sebastian Kemper [Sun, 11 Feb 2018 21:30:16 +0000 (22:30 +0100)]
kamailio-5.x: add kambdb_recover utility

The recently added mod-db-berkeley comes with a companion utility.
Package kambdb_recover so it becomes available.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agokamailio-5.x: move lesser-used internal libraries into packages
Sebastian Kemper [Sun, 11 Feb 2018 18:43:15 +0000 (19:43 +0100)]
kamailio-5.x: move lesser-used internal libraries into packages

This commit moves libkamailio-ims & libtrie into their own packages to
keep the main package small.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agokamailio-5.x: make internal libs available always
Sebastian Kemper [Sun, 11 Feb 2018 18:35:47 +0000 (19:35 +0100)]
kamailio-5.x: make internal libs available always

kamailio comes with internal libraries. Some are not built when only the
standard group of modules is compiled (i.e. no modules selected in
menuconfig).

The problem is that there is no way to rely on specific internal
libraries being available in the main kamailio package.

To fix this this add some modules (if they are not already selected)
that will kick of the build of the internal libraries in any case.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agokamailio-5.x: run make cfg
Sebastian Kemper [Sun, 11 Feb 2018 18:29:19 +0000 (19:29 +0100)]
kamailio-5.x: run make cfg

The INSTALL file from kamailio suggests to make the target "cfg" first.
All settinggs will then be reused when make is called again.

This has the side effect that "$(FPIC)" can be dropped from CFLAGS as
the build system adds the flags automatically now.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agokamailio-5.x: remove a gratuitous ":"
Sebastian Kemper [Sun, 11 Feb 2018 18:26:40 +0000 (19:26 +0100)]
kamailio-5.x: remove a gratuitous ":"

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agokamailio-5.x: specify run directory
Sebastian Kemper [Sun, 11 Feb 2018 18:22:10 +0000 (19:22 +0100)]
kamailio-5.x: specify run directory

When not specifying "run_target" the kamailio build system assumes
$(DESTDIR)/var/run/kamailio to be the run directory on the target
device. Add the variable to address this.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agokamailio-5.x: fix RPATH of kamailio modules
Sebastian Kemper [Sun, 11 Feb 2018 18:18:05 +0000 (19:18 +0100)]
kamailio-5.x: fix RPATH of kamailio modules

The kamailio build system provides an RPATH "///usr/lib/kamailio/" when
linking. OpenWrt's rstrip.sh inspects this RPATH and drops it. Now the
modules cannot find the needed libraries. Fix this by specifying a path
that rstrip.sh accepts.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agokamailio-5.x: add missing files from mod-xhttp_pi
Sebastian Kemper [Sun, 11 Feb 2018 18:13:13 +0000 (19:13 +0100)]
kamailio-5.x: add missing files from mod-xhttp_pi

The initial commit for this plugin missed that it comes with a
configuration file and extra files that go into
/usr/share/kamailio/xhttp_pi.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agokamailio-5.x: add snmpstats mibs files
Sebastian Kemper [Sun, 11 Feb 2018 18:08:58 +0000 (19:08 +0100)]
kamailio-5.x: add snmpstats mibs files

This installs the snmp mibs files provided by mod_snmpstats. A patch is
added to make the kamailio build system install the files in a proper
location in PKG_INSTALL_DIR.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #266 from micmac1/kam-master
Jiri Slachta [Sat, 10 Feb 2018 15:06:40 +0000 (16:06 +0100)]
Merge pull request #266 from micmac1/kam-master

kamailio-5.x: update PKG_MAKE_ARGS

6 years agokamailio-5.x: add various new modules 266/head
Sebastian Kemper [Sat, 10 Feb 2018 14:15:33 +0000 (15:15 +0100)]
kamailio-5.x: add various new modules

The aim is to add the missing modules that Debian packages, minus the
ones for which depends are missing on OpenWrt.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agokamailio-5.x: update configuration file handling
Sebastian Kemper [Sat, 10 Feb 2018 14:12:48 +0000 (15:12 +0100)]
kamailio-5.x: update configuration file handling

- add install/conffile routine
- use it for main package
- setup BuildKamailio5Module to allow inclusion of configuration files
  on a per-module basis (mod-tls is currently the only user)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agokamailio-5.x: bump to version 5.1.1
Sebastian Kemper [Thu, 8 Feb 2018 21:26:49 +0000 (22:26 +0100)]
kamailio-5.x: bump to version 5.1.1

- dictionary.kamailio & kamailio-basic.cfg are gone, remove from
  Makefilei accordingly
- Install the config files from PKG_INSTALL_DIR
- Use $(INSTALL_CONF) for config files
- Remove gratuitous directory creation
- Refresh 050-fix-kamailio-utils.patch
- Remove src/modules/cnxcc/Makefile change from 120-libevent-libs.patch
  as $(EXTRA_LIBS) has been removed from Makefile in previous commit

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #257 from hnyman/flite
Jiri Slachta [Sat, 10 Feb 2018 08:59:08 +0000 (09:59 +0100)]
Merge pull request #257 from hnyman/flite

freeswitch: disable flite module

6 years agokamailio-5.x: update PKG_MAKE_ARGS
Sebastian Kemper [Wed, 7 Feb 2018 21:24:36 +0000 (22:24 +0100)]
kamailio-5.x: update PKG_MAKE_ARGS

- Removes TLS_HOOKS as this is default anyway
- Removes -DUSE_PTHREAD_MUTEX as on supported arches FAST_LOCK is used
  by default, which according to doc/tutorials/locking.txt is fastest.
  -DUSE_PTHREAD_MUTEX will be set by the build system automatically in
  case FAST_LOCK is unsupported, e.g. on ARC.
- Add OpenWrt LDFLAGS via LD_EXTRA_OPTS.
- With OpenWrt LDFLAGS and CPPFLAGS in place there is no need to declare
  PCREDEFS, PCRELIBS nor EXTRA_LIBS. Remove them all.
- With this setup mod-dialplan now links to libpcre as well; add the
  depend accordingly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #265 from micmac1/fs-redo-freetdm
micmac1 [Mon, 5 Feb 2018 22:13:58 +0000 (23:13 +0100)]
Merge pull request #265 from micmac1/fs-redo-freetdm

freeswitch-stable: redo freetdm

6 years agofreeswitch-stable: prevent libfreetdm from being installed twice 265/head
Sebastian Kemper [Mon, 5 Feb 2018 22:08:19 +0000 (23:08 +0100)]
freeswitch-stable: prevent libfreetdm from being installed twice

This patch takes care of that. This commit concludes the series with a
revision bump.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agofreeswitch-stable: tidy up the Build defines
Sebastian Kemper [Mon, 5 Feb 2018 22:04:15 +0000 (23:04 +0100)]
freeswitch-stable: tidy up the Build defines

This commit changes Build/Compile, Build/Install and Build/InstallDev to
prevent building/installing items that are not selected. I.e. when
freeswitch-stable is not selected, only libfreetdm-stable gets built.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agofreeswitch-stable: move the config define
Sebastian Kemper [Mon, 5 Feb 2018 21:57:40 +0000 (22:57 +0100)]
freeswitch-stable: move the config define

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agofreeswitch-stable: redo FreeTDM handling
Sebastian Kemper [Mon, 5 Feb 2018 21:50:08 +0000 (22:50 +0100)]
freeswitch-stable: redo FreeTDM handling

This commit renames libfreetdm to libfreetdm-stable. Also the depends
are changed to what they actually are, i.e. there is no depend on
freeswitch-stable anymore (libfreetdm.so is a standalone libary).

The FreeTDM modules get the same treatment.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #264 from micmac1/yate-change-error-to-warning
Jiri Slachta [Mon, 5 Feb 2018 20:59:04 +0000 (21:59 +0100)]
Merge pull request #264 from micmac1/yate-change-error-to-warning

yate: turn miniwebrtc error into warning

6 years agofreeswitch-stable: remove --disable-silent-rules
Sebastian Kemper [Mon, 5 Feb 2018 20:42:18 +0000 (21:42 +0100)]
freeswitch-stable: remove --disable-silent-rules

Remove this switch as the logs grow quite big with this level of
verbosity.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoyate: turn miniwebrtc error into warning 264/head
Sebastian Kemper [Mon, 5 Feb 2018 20:21:16 +0000 (21:21 +0100)]
yate: turn miniwebrtc error into warning

ilbcwebrtc and isaccodec currently depend on @!arc because the code does
not compile there. The code does not compile on aarch64 either.

Instead of adding @!aarch64 this commit adds a patch copied from Debian
that turns the error "Please add support for your architecture in
typedefs.h" into a warning, allowing the code to build.

Consequently this commit removes @!arc from the depends as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #263 from micmac1/yate-fix-typo
Jiri Slachta [Mon, 5 Feb 2018 05:36:08 +0000 (06:36 +0100)]
Merge pull request #263 from micmac1/yate-fix-typo

yate: fix a typo

6 years agoyate: fix a typo 263/head
Sebastian Kemper [Sun, 4 Feb 2018 18:24:17 +0000 (19:24 +0100)]
yate: fix a typo

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #262 from micmac1/master
Jiri Slachta [Sun, 4 Feb 2018 13:00:39 +0000 (14:00 +0100)]
Merge pull request #262 from micmac1/master

PR: yate follow-up and a bit of kamailio

6 years agokamailio-5.x: copy symbolic links instead of hard links 262/head
Sebastian Kemper [Sat, 3 Feb 2018 20:49:23 +0000 (21:49 +0100)]
kamailio-5.x: copy symbolic links instead of hard links

Currently three copies of every library are installed. Save space by
installing symbolic links instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoyate: Prevent build failures due to inclusion of fortify-source headers
Sebastian Kemper [Sat, 3 Feb 2018 20:42:53 +0000 (21:42 +0100)]
yate: Prevent build failures due to inclusion of fortify-source headers

yate cannot be compiled against fortify-source headers at this moment:

  In file included from /home/sk/tmp/lede/staging_dir/toolchain-x86_64_gcc-5.5.0_musl/include/fortify/unistd.h:23:0,
                   from ../yateclass.h:32,
                   from ../yatengine.h:29,
                   from ../yatephone.h:29,
                   from server/ysnmpagent.cpp:22:
  /home/sk/tmp/lede/staging_dir/toolchain-x86_64_gcc-5.5.0_musl/include/fortify/fortify-headers.h:20:42: error: type of 'TelEngine::strcat' is unknown

To work around this remove CPPFLAGS from CFLAGS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #261 from micmac1/master
micmac1 [Sat, 3 Feb 2018 19:24:40 +0000 (20:24 +0100)]
Merge pull request #261 from micmac1/master

New PR: freeswitch-stable

6 years agofreeswitch-stable: workaround for build failures when gcc 7 is used 261/head
Sebastian Kemper [Sat, 3 Feb 2018 18:30:34 +0000 (19:30 +0100)]
freeswitch-stable: workaround for build failures when gcc 7 is used

When gcc 7 is used, -Werror=format-truncation finds snprintf() calls in
mod_cdr_mongodb.c and suspects that they may result in truncation. As a
result the build fails.

Work around this by adding -Wno-error=format-truncation to CFLAGS when
gcc support this.

JIRA-10939 has been raised upstream to follow up on this.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agofreeswitch-stable: cleanup after move to system libtiff
Sebastian Kemper [Sat, 3 Feb 2018 18:28:22 +0000 (19:28 +0100)]
freeswitch-stable: cleanup after move to system libtiff

- refresh a patch
- drop depend on liblzma from mod-gsmopen
- add tiff to PKG_BUILD_DEPENDS

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #256 from micmac1/dahdi-linux
Jiri Slachta [Sat, 3 Feb 2018 17:18:52 +0000 (18:18 +0100)]
Merge pull request #256 from micmac1/dahdi-linux

dahdi-linux: update source to snapshot

6 years agoMerge pull request #260 from micmac1/yate-master
Jiri Slachta [Sat, 3 Feb 2018 17:05:16 +0000 (18:05 +0100)]
Merge pull request #260 from micmac1/yate-master

New PR: Yate for master

6 years agoMerge pull request #258 from micmac1/libosip2-master
Jiri Slachta [Sat, 3 Feb 2018 17:04:54 +0000 (18:04 +0100)]
Merge pull request #258 from micmac1/libosip2-master

libosip2: fix build with ARC toolchain

6 years agoMerge pull request #259 from micmac1/kamailio-master
Jiri Slachta [Sat, 3 Feb 2018 17:04:33 +0000 (18:04 +0100)]
Merge pull request #259 from micmac1/kamailio-master

New PR: Kamailio for master

6 years agoyate: fix compile failures on ARC 260/head
Sebastian Kemper [Sat, 3 Feb 2018 13:55:41 +0000 (14:55 +0100)]
yate: fix compile failures on ARC

- perl and postgresql do not compile on ARC; disable the modules
  accordingly
- ilbcwebrtc and isac also cause build failures on ARC; disable them as
  well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoyate: fix module conffiles
Sebastian Kemper [Sat, 3 Feb 2018 13:50:09 +0000 (14:50 +0100)]
yate: fix module conffiles

Currently conffiles is always filled with <module>.conf. This leads to
"no such file and directory" errors when the file actually does not
exist.

This commit adds a 6th column to BuildPlugin() which indicates if there
is a config file or not.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoyate: clean up CONFIGURE_ARGS
Sebastian Kemper [Sat, 3 Feb 2018 13:33:48 +0000 (14:33 +0100)]
yate: clean up CONFIGURE_ARGS

- remove ARGS that are default anyway
- enable sse2 when target is x86_64
- remove --enable-inline as that causes too many warnings:

    ilbccodec.cpp:50:7: warning: inlining failed in call to 'virtual {anonymous}::iLBCFactory::~iLBCFactory()': call is unlikely and code size would grow [-Winline]
     class iLBCFactory : public TranslatorFactory
           ^~~~~~~~~~~
    ilbccodec.cpp:50:7: note: called from here
     class iLBCFactory : public TranslatorFactory
           ^~~~~~~~~~~

- --enable-internalregex removed as yate can use external regex
- make some choices depending on whether a package is selected; otherwise the
  build might fail, i.e. when spandsp is not installed but the Makefiles tells
  the build system to use spandsp anyway

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoyate: clean up FLAGS
Sebastian Kemper [Sat, 3 Feb 2018 13:27:40 +0000 (14:27 +0100)]
yate: clean up FLAGS

- remove flags to don't have a reason for being there anymore (there is
  no comment on why they're needed).
- add CPPFLAGS to CFLAGS so the compiler can use the FORTIFY_SOURCE
  headers.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoyate: prevent ilbc to overwrite OpenWrt CFLAGS
Sebastian Kemper [Sat, 3 Feb 2018 13:21:18 +0000 (14:21 +0100)]
yate: prevent ilbc to overwrite OpenWrt CFLAGS

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoyate: improve depends of sub packages
Sebastian Kemper [Sat, 3 Feb 2018 13:18:51 +0000 (14:18 +0100)]
yate: improve depends of sub packages

Currently the Makfile pulls in every dependency mentioned. Fix this by
prefixing the depends with the respective PACKAGE_* items.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agokamailio-5.x: disable mod-db-postgres on ARC 259/head
Sebastian Kemper [Sat, 3 Feb 2018 13:06:41 +0000 (14:06 +0100)]
kamailio-5.x: disable mod-db-postgres on ARC

postgresql does not build on ARC. This commit makes sure that it is not
pulled in.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agokamailio-5.x: add CPPFLAGS to CFLAGS
Sebastian Kemper [Sat, 3 Feb 2018 13:02:36 +0000 (14:02 +0100)]
kamailio-5.x: add CPPFLAGS to CFLAGS

Pass CPPFLAGS in the CFLAGS as otherwise the build system will ignore
them.

This way FORTIFY_SOURCE headers are passed to the compiler.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agokamailio-5.x: improve module selection
Sebastian Kemper [Sat, 3 Feb 2018 12:56:25 +0000 (13:56 +0100)]
kamailio-5.x: improve module selection

Currently INCL_MODULES is filled with all modules. This commit changes
this so that only the modules that are selected are added to it.

To further limit the number of modules built group_include="standard" is
added. This way only the modules of the standard group plus the modules
selected in menuconfig are built. The "standard" group only includes
modules without any depends.

This fixes build failures on targets where not all depends are
available, i.e. postgresql on ARC. Now these modules can be properly
prevented from being built.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agokamailio-5.x: improve module depends
Sebastian Kemper [Sat, 3 Feb 2018 12:48:58 +0000 (13:48 +0100)]
kamailio-5.x: improve module depends

Currently the Makefile pulls in depends even for packages which are not
selected. Fix this by prefixing the depends with the respective
PACKAGE_* item.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agokamailio-5.x: remove KAM_MODULES use
Sebastian Kemper [Sat, 3 Feb 2018 12:44:25 +0000 (13:44 +0100)]
kamailio-5.x: remove KAM_MODULES use

Adding KAM_MODULES variable is not needed. Remove it and call
BuildPackage from BuildKamailio5Module instead. For this to work
PKG_MAKE_ARGS and Build/Compile need to be moved up, before the module
evals.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
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 agofreeswitch: disable flite module 257/head
Hannu Nyman [Sat, 3 Feb 2018 08:42:36 +0000 (10:42 +0200)]
freeswitch: disable flite module

Disable also flite module that depends on non-existing package.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
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 agodahdi-linux: update source to snapshot 256/head
Sebastian Kemper [Wed, 31 Jan 2018 23:47:17 +0000 (00:47 +0100)]
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>
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>