Sebastian Kemper [Sun, 10 Sep 2017 20:11:36 +0000 (22:11 +0200)]
asterisk11: clean up configure stage
- Remove some unneeded parentheses.
- Use CONFIGURE_VARS instead of SITE_VARS.
- Clean up user.mak input, add NDEBUG=1 to avoid debug asserts.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 10 Sep 2017 20:05:21 +0000 (22:05 +0200)]
asterisk11: change some default file locations
- Set data dir to /usr/share/asterisk and use default locations for
everything else.
- This is more in line with FHS and fixes issue #38. Database files are
now written to tmpfs (/var is mounted there). This prevents the
rootfs from filling up. It also prevents the flash to degrade during
constant database rewriting.
- As the data dir changes, so does the location of the sound files. This
commit also takes care of that.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Sun, 3 Sep 2017 12:53:49 +0000 (14:53 +0200)]
Merge pull request #184 from micmac1/master
New PR: asterisk, chan-sccp-b, asterisk-chan-dongle
Sebastian Kemper [Fri, 1 Sep 2017 22:30:28 +0000 (00:30 +0200)]
chan-sccp-b: fix uclibc build
uclibc doesn't include iconv, so we need to use libiconv-full. This
fixes the ARC builds as they still default to uclibc.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 1 Sep 2017 22:28:16 +0000 (00:28 +0200)]
asterisk-chan-dongle: fix uclibc build
uclibc doesn't include iconv, so we need to use libiconv-full. This
fixes the ARC builds as they still default to uclibc.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 1 Sep 2017 22:24:51 +0000 (00:24 +0200)]
asterisk-chan-dongle: change project URL
Change the upstream URL to the one where we get the source from to avoid
confusion.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 1 Sep 2017 22:22:42 +0000 (00:22 +0200)]
asterisk13: add func_iconv
Add new module. Iconv is available in the toolchain, so it doesn't cost
anything. Don't add it when uclibc is used, because there an external
libiconv would be needed.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 1 Sep 2017 22:21:13 +0000 (00:21 +0200)]
asterisk13: add missing commas to module definitions
Only a cosmetic change.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 1 Sep 2017 22:17:42 +0000 (00:17 +0200)]
asterisk11 + asterisk13: use system libedit
libedit now includes a pkgconfig file, meaning asterisk can detect it.
So use the system libedit instead having asterisk include an internal
copy.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Daniel Golle [Fri, 1 Sep 2017 14:21:22 +0000 (16:21 +0200)]
dahdi-tools: fix previous commit
The dependencies in the default section were modified instead of just
the ones for dahdi-cfg. Fix that.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Daniel Golle [Thu, 31 Aug 2017 23:11:17 +0000 (01:11 +0200)]
dahdi-tools: package dahdi_cfg executable
Grab the binary instead of the libtool-shell-wrapper...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Jiri Slachta [Mon, 28 Aug 2017 19:31:30 +0000 (21:31 +0200)]
Merge pull request #183 from micmac1/master
asterisk-chan-dongle: overhaul
Sebastian Kemper [Sun, 27 Aug 2017 18:58:19 +0000 (20:58 +0200)]
asterisk-chan-dongle: overhaul
- Make the Makefile use BUILD_VARIANT so the package can be built for
different Asterisk versions. This is also the reason why the folder is
renamed from asterisk-11.x-chan-dongle to asterisk-chan-dongle.
- Change source URI from upstream to the fork of wdoekes. Upstream
doesn't update the repo anymore, wdoekes does.
- Remove dep on libiconv-full, make the package use toolchain's iconv
(compile-tested with musl).
- Drop patches that are already upstream.
- Update flags.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Daniel Golle [Sun, 27 Aug 2017 01:36:12 +0000 (03:36 +0200)]
asterisk-13.x: package RAND dialplan function
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Jiri Slachta [Sat, 26 Aug 2017 16:37:00 +0000 (18:37 +0200)]
Merge pull request #182 from micmac1/master
New PR: pjproject and asterisk13
Sebastian Kemper [Sat, 19 Aug 2017 14:48:41 +0000 (16:48 +0200)]
asterisk13: add missing modules
- Add missing modules to curl and odbc packages. This fixes issue #181.
- Add back pbx-lua, which apparently was dropped earlier.
- Revision bump.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 19 Aug 2017 14:35:40 +0000 (16:35 +0200)]
asterisk13: clean up compile stage
- Don't add extra TARGET_LDFLAGS for asterisk13-pbx-lua. It is not
needed anymore (apart from that the module isn't available currently,
see next commit).
- Stop setting -Wl,-rpath-link in LDFLAGS. There seems to be no point to
do that (anymore).
- Stop calling specific make targets like version.h; make handles the
build properly without it.
- Use the default compile routine instead of the custom one.
- Add AST_FORTIFY_SOURCE to MAKE_FLAGS (seen in Debian rules file,
prevents asterisk's build system to mess with OpenWrt/LEDE flags).
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 19 Aug 2017 14:27:01 +0000 (16:27 +0200)]
asterisk13: clean up configure stage
- Remove some unneeded parentheses.
- Remove $(SITE_VARS) as it is not used.
- Remove --without-curl and --with-uuid=... from configure arguments as
they've been removed from configure.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 19 Aug 2017 14:05:07 +0000 (16:05 +0200)]
asterisk13: change some default file locations
- Set data dir to /usr/share/asterisk and use default locations for
everything else.
- This is more in line with FHS and fixes issue #38. Database files are
now written to tmpfs (/var is mounted there). This prevents the
rootfs from filling up. It also prevents the flash to degrade during
constant database rewriting.
- As the data dir changes, so does the location of the sound files. This
commit also takes care of that.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 19 Aug 2017 13:47:54 +0000 (15:47 +0200)]
pjpoject: cleanups and fix for COPTS warnings
- Remove some unnecessary trailing slashes plus fix a whitespace.
- Remove flags that do not seem to have a good reason to be there
(anymore).
- Add sed script to remove $(TARGET_CFLAGS) from pkgconfig file. This
gets rid of the warnings in asterisk13 about COPTS duplication.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Tue, 15 Aug 2017 15:28:05 +0000 (17:28 +0200)]
Merge pull request #180 from micmac1/master
chan-sccp-b: switch to git version, update patch
Sebastian Kemper [Mon, 14 Aug 2017 19:59:36 +0000 (21:59 +0200)]
chan-sccp-b: switch to git version, update patch
- As suggested by upstream in issue #167, move from svn to git source.
The resulting module is less than half the size in comparison.
- Rework (and rename) previous "drop-Og-optimization" patch. The
previous patch worked fine with -Os in CFLAGS (default). But if numeric
values are used instead (e.g. -O2) this optimization would be completely
removed. The new patch prevents that.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Sun, 13 Aug 2017 19:26:56 +0000 (21:26 +0200)]
Merge pull request #123 from robho/yate_banbrutes_using_iptables_recent
yate-scripts-perl: Add script to block phones which fail to authenticate
Jiri Slachta [Sun, 13 Aug 2017 18:44:16 +0000 (20:44 +0200)]
kamailio-4.x: update to 4.4.6
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
Jiri Slachta [Sun, 13 Aug 2017 18:29:23 +0000 (20:29 +0200)]
kamailio-5.x: introduce new package
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
Daniel Golle [Sun, 13 Aug 2017 13:48:18 +0000 (15:48 +0200)]
Merge pull request #179 from micmac1/master
asterisk-13.x: fix config file issues and clean up modules
Sebastian Kemper [Sun, 13 Aug 2017 13:12:26 +0000 (15:12 +0200)]
asterisk-13.x: remove modules from pjsip (cosmetic)
Remove two modules from pjsip. Upstream removed res_pjsip_log_forwarder
and moved res_pjsip_multihomed to res_pjsip.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 13 Aug 2017 13:00:39 +0000 (15:00 +0200)]
asterisk-13.x: fix config file issues
- The configuration file protection for modules does not work when there
is more than one configuration file. Currently conffiles is populated
with a space separated list. But the items need to be separated by
newlines. With spaces, only the first item gets added to conffiles. The
remaining items are dropped and not protected. Fix this by replacing
spaces with newlines. Revision bump because this could lead to
overwriting files unintentionally.
- Remove a duplicate '/etc/asterisk/modules.conf' from
Package/asterisk13/conffiles.
- Remove '/etc/asterisk/rtp.conf' from Package/asterisk13/conffiles
because the file is installed and protected by res-rtp-asterisk.
- Add missing stasis.conf and pjsip_wizard.conf.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Thu, 10 Aug 2017 19:17:28 +0000 (21:17 +0200)]
Merge pull request #178 from micmac1/master
sipp: version bump, build fixes
Sebastian Kemper [Thu, 10 Aug 2017 18:47:36 +0000 (20:47 +0200)]
sipp: version bump, build fixes
- bumped to 3.5.1
- removed musl patch because it was upstreamed
- add patch to fix ncurses detection
- fixes issue #125
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Thu, 10 Aug 2017 07:32:30 +0000 (09:32 +0200)]
Merge pull request #177 from micmac1/master
New PR: asterisk + pjproject
Sebastian Kemper [Wed, 9 Aug 2017 21:04:16 +0000 (23:04 +0200)]
asterisk-13.x: fix missing symbols issue
- add some pjsip modules that were missing.
- sort pjsip modules alphabetically.
- add a patch from ASTERISK-26518 to fix the unresolved symbol issue.
The patch is also included in Debian. The patch fixes issue #77 (the
problem was also mentioned in #88).
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Wed, 9 Aug 2017 20:52:22 +0000 (22:52 +0200)]
pjproject: add config_site.h
Copied from Asterisk, sets some sane values. For instance it enables
IPv6 support.
Also it disables DEBUG. With debug enabled 'pjproject enables "assert"
functions which can cause Asterisk to crash unexpectedly' (quote from
Asterisk wiki). This probably fixes issue #140.
With this config_site.h in place the libsrtp dep can be dropped from
select sub packages.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Wed, 9 Aug 2017 20:48:08 +0000 (22:48 +0200)]
pjproject: enable ssl support
Enable SSL support as Asterisk relies on it. Some Asterisk modules
cannot load without it.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Wed, 9 Aug 2017 20:45:32 +0000 (22:45 +0200)]
pjproject: align with Asterisk requirements, misc improvements
- Make "--disable-floating-point" depend on SOFT_FLOAT
- Remove "--disable-ilbc-coder" as configure no longer recognizes it.
- Align args with the ones used by Asterisk (for their bundled pjproject);
this includes adding "--disable-resample".
- With libresample removed remove the dep from asterisk13 accordingly.
- Note: the disabled items are _not_ used by Asterisk anyway.
- Drop speex dep as pjproject does not link against it the way it is
configured.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Wed, 9 Aug 2017 20:17:15 +0000 (22:17 +0200)]
pjproject: sort configure args, remove duplicates
This commit is only meant to make the following commits easier to follow.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Wed, 9 Aug 2017 20:11:23 +0000 (22:11 +0200)]
asterisk-g72x: fix variant build
Set PKG_BUILD_DIR for each variant. Without it only one variant gets
built and put into both packages. This fixes issue #150.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Wed, 9 Aug 2017 20:09:27 +0000 (22:09 +0200)]
chan-sccp-b: fix variant build, misc fixes
- Set PKG_BUILD_DIR for each variant. Without it only one variant gets
built and put into both packages.
- Add libiconv to build deps. Some iconv m4 files are required. Possibly
fixes issue #121.
- Replace recently added configure args with the ones suggested by upstream
@dkgroot in issue #167. This again shaves some bytes off the package.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Tue, 8 Aug 2017 19:00:31 +0000 (21:00 +0200)]
asterisk-11.x: add missing description to several modules
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
Jiri Slachta [Tue, 8 Aug 2017 08:55:06 +0000 (10:55 +0200)]
asterisk-13.x: add pjproject.conf to res_pjproject module
Add missing config file for res_pjproject module.
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
Jiri Slachta [Sat, 5 Aug 2017 18:33:50 +0000 (20:33 +0200)]
Merge pull request #175 from micmac1/master
New PR: freeswitch-stable
Sebastian Kemper [Sat, 5 Aug 2017 12:49:11 +0000 (14:49 +0200)]
freeswitch-stable: fix escaping
Fix escaping of dollar sign, otherwise a postinst-pkg script will not be
correct.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 5 Aug 2017 12:24:16 +0000 (14:24 +0200)]
freeswitch-stable-sounds: remove package
This package is just wasting space on the mirrors. Only very few people
will actually want the sound files on their device. And those few who do
will have no problem downloading the files manually.
Get rid of it.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Fri, 4 Aug 2017 06:07:12 +0000 (08:07 +0200)]
asterisk-11.x: bump PKG_RELEASE
Bump PKG_RELEASE due to changes in commit
ec6991c01cf141db172bd5bc30a3e18cb9174208
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
Jiri Slachta [Fri, 4 Aug 2017 06:06:34 +0000 (08:06 +0200)]
asterisk-13.x: bump PKG_RELEASE
Bump PKG_RELEASE due to changes in commit
ec6991c01cf141db172bd5bc30a3e18cb9174208
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
Jiri Slachta [Fri, 4 Aug 2017 05:59:20 +0000 (07:59 +0200)]
Merge pull request #174 from micmac1/master
New PR: asterisk segfault and freeswitch
Sebastian Kemper [Thu, 3 Aug 2017 19:31:15 +0000 (21:31 +0200)]
freeswitch-stable: cleanups
- Replace $FS_STABLE_PREFIX_DIR with $FS_STABLE_DATA_DIR. The variable
is set to /usr/share/freeswitch, so it's not the prefix. Data dir is
the correct description.
- Remove lots of lines from CONFIGURE_ARGS. All of them duplicates,
because they're already set by the build system, so we can remove the
clutter.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Thu, 3 Aug 2017 19:26:23 +0000 (21:26 +0200)]
freeswitch-stable-sounds: add "Allison" sound packs
These were recently added by upstream.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Thu, 3 Aug 2017 19:15:59 +0000 (21:15 +0200)]
asterisk-11.x and asterisk-13.x: Disable LOW_MEMORY by default
In issue #173 a segmentation fault occuring during a simple SIP call was
reported. Compiling with LOW_MEMORY disabled the reproducible segfault
disappeared.
This commits adds a switch for LOW_MEMORY. Default is off. If anybody
wants to debug the segfault s/he can enable it.
The segfault was reported for Asterisk 11. Disable LOW_MEMORY on
Asterisk 13 anyway, better safe than sorry.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Sat, 29 Jul 2017 20:26:38 +0000 (22:26 +0200)]
asterisk-13.x: fix module dependencies and add new modules
- add XMPP and motif modules
- remove missing pjproject dependencies and fix them
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
Jiri Slachta [Sat, 29 Jul 2017 20:24:58 +0000 (22:24 +0200)]
pjproject: fix Makefile variables
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
Jiri Slachta [Sat, 29 Jul 2017 16:14:22 +0000 (18:14 +0200)]
Merge pull request #172 from micmac1/master
New PR: asterisk
Sebastian Kemper [Sat, 29 Jul 2017 11:54:21 +0000 (13:54 +0200)]
libs/pjproject: security revision bump
Add patches provided by Asterisk project for pjproject. This fixes the
following vulnerabilities:
- AST-2017-002: Buffer Overrun in PJSIP transaction layer (CVE-2017-9372)
- AST-2017-003: Crash in PJSIP multi-part body parser
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 28 Jul 2017 20:01:49 +0000 (22:01 +0200)]
net/chan-sccp-b: version bump and fixes
- Bump to revision 6728.
- Remove '-fi' from PKG_FIXUP. Trust in the build system to do the right
thing.
- Set PKG_INSTALL:=1 so "make install" doesn't need to be called
manually anymore. This also drops LOW_MEMORY from CFLAGS, which is not
needed as chan-sccp-b looks into asterisk's headers to find out if
LOW_MEMORY is enabled or not.
The build output actually looks much more pleasant afterward.
- Disable chan-sccp-b's optimization which it enables by default. It
sets -O3 and all that jazz. To make it simply use the OpenWrt/LEDE
flags optimization needs to be disabled.
- With optimization disabled chan-sccp-b still adds -Og to the end of
the CFLAGS. Add a small patch to prevent that.
- Disable debug which is enabled by default. This brings down the size
of the installed binary from 14 MByte (!) to a little over 2 MByte
(checked on ARM).
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 28 Jul 2017 19:51:19 +0000 (21:51 +0200)]
net/asterisk-13.x: prevent libsrtp2 detection
Asterisk 13 looks for libsrtp2. Unfortunately it also looks for a header
which libsrtp2 does not make public:
res_srtp.c:44:33: fatal error: srtp2/crypto_types.h: No such file or directory
compilation terminated.
This causes the asterisk build to fail. Fix this by disabling libsrtp2
detection in Asterisk 13.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 28 Jul 2017 19:48:42 +0000 (21:48 +0200)]
net/asterisk-11.x and net/asterisk-13.x: disable chan-dahdi for aarch64
dahdi-linux fails to build on aarch64. Disable chan-dahdi for this arch
accordingly, so asterisk can still be built.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 28 Jul 2017 19:45:25 +0000 (21:45 +0200)]
net/asterisk-11.x and net/asterisk-13.x: fix LOW_MEMORY, drop patch
LOW_MEMORY can't be enabled by defining it in ASTCFLAGS. This can be
verified in the headers Asterisk installs: LOW_MEMORY actually is not
defined (it would be if LOW_MEMORY was enabled).
LOW_MEMORY can be enabled successfully with menuselect. This commit
makes menuselect usable and calls it to enable LOW_MEMORY.
This commit also disables BUILD_NATIVE with menuselect. So even if
configure detects that -march=native is available, it won't be used.
This means the configure.ac patch that was added previously can be
dropped.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 28 Jul 2017 19:34:02 +0000 (21:34 +0200)]
net/asterisk-11.x and net/asterisk-13.x: fix menuselect
menuselect often fails on the buildbots:
menuselect/menuselect: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
This doesn't happen on all builds. The assumption is that on the
particular buildbot where there is no error the buildbots own libxml2.so
is usable (it exists and the version is suitable).
To fix this make the linker add an rpath to the menuselect utility,
pointing to the hostpkg lib dir.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 28 Jul 2017 19:29:10 +0000 (21:29 +0200)]
net/asterisk-11.x and net/asterisk-13.x: remove $(SDK) from ifneqs
The variable prevents the ifneqs from working on the buildbots. $(SDK)
is set there, so the ifneqs that test for empty will always be true.
libpq for instance doesn't build on aarch64. So the asterisk pgsql
package has a dependency on @!aarch64. An ifneq is used to disable libpq
detection by the configure script, to prevent the build to fail. But
because of $(SDK) being set the ifneq is always true, so libpq detection
is enabled, causing the build to always fail.
There are only two other packages in the tree that actually use the
$(SDK) variable, so it's fair to assume it's not needed for the asterisk
packages and can just be dropped.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Tue, 25 Jul 2017 06:16:30 +0000 (08:16 +0200)]
Merge pull request #171 from micmac1/master
New PR for asterisk
Sebastian Kemper [Mon, 24 Jul 2017 21:40:05 +0000 (23:40 +0200)]
net/asterisk-11.x and net/asterisk-13.x: remove libpq dep on ARC
For ARC libpq doesn't build, so don't depend on it.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Mon, 24 Jul 2017 21:31:06 +0000 (23:31 +0200)]
net/asterisk-11.x and net/asterisk-13.x: fix menuselect build
- Include host-build.mk, otherwise $HOST_CONFIGURE_ARGS will be empty.
- Remove --with-ncurses=PATH as the PATH is wrong. The ncurses host
package does not install anything but 'tic'.
- Use $HOSTCC to compile menuselect. This has the added bonus of using
ccache (if selected).
- Run configure with an unset $CONFIG_SITE so that it doesn't pick a
cross-compile site-script, e.g. for mips.
- Drop '-lxml2' from $LDFLAGS as the menuselect Makefile will add it
anyway.
- Move the variables in front of 'make' as they're not arguments.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Mon, 24 Jul 2017 07:48:54 +0000 (09:48 +0200)]
Merge pull request #164 from guidosarducci/lede-17.01-siproxd-update
siproxd: fixes and version update to 0.8.2
Jiri Slachta [Mon, 24 Jul 2017 07:47:58 +0000 (09:47 +0200)]
Merge pull request #170 from micmac1/master
New PR: mostly Asterisk (bumps, fixes, new package too)
Sebastian Kemper [Sun, 23 Jul 2017 17:10:18 +0000 (19:10 +0200)]
net/asterisk-11.x and net/asterisk-13.x: fix ASTCFLAGS/ASTLDFLAGS
The missing backslashes prevented 'make' from picking up
ASTCFLAGS/ASTLDFLAGS.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 22 Jul 2017 14:49:45 +0000 (16:49 +0200)]
freeswitch-stable: add mod_bcg729
This adds a new Makefile as this module is out-of-tree. The module
dynamically links against bcg729.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 22 Jul 2017 14:46:00 +0000 (16:46 +0200)]
net/asterisk-13.x: bump to 13.17.0
- Version bump to 13.17.0
- Remove makeopts.embed_rules as the target got removed.
- Refresh patches.
- $(STAGING_DIR)/host doesn't work anymore resulting in libxml2 host
headers not being found. Replace with $(STAGING_DIR_HOSTPGK).
- Prevent Asterisk from adding -march=native when cross-compiling (patch
for configure.ac).
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 22 Jul 2017 14:36:23 +0000 (16:36 +0200)]
net/asterisk-11.x: compile fixes
- Refresh patches.
- $(STAGING_DIR)/host doesn't work anymore resulting in libxml2 host
headers not being found. Replace with $(STAGING_DIR_HOSTPGK).
- Prevent Asterisk from adding -march=native when cross-compiling (patch
for configure.ac).
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 22 Jul 2017 14:29:24 +0000 (16:29 +0200)]
net/asterisk-g72x: bump to 1.4.1
Version bump. This release was upstream-tested against bcg729 1.0.2.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 22 Jul 2017 14:25:46 +0000 (16:25 +0200)]
libs/pjproject: prevent linking against opus
When opus is found in staging area it will be linked against, adding a
dep that is not in the Makefile. So explicity disable opus.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 22 Jul 2017 14:24:21 +0000 (16:24 +0200)]
libs/bcg729: bump to 1.0.2
Also remove the static binary from InstallDev as it's not used.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Wed, 19 Jul 2017 21:28:38 +0000 (23:28 +0200)]
Merge pull request #169 from micmac1/master
freeswitch-stable: new PR
Sebastian Kemper [Tue, 18 Jul 2017 20:09:14 +0000 (22:09 +0200)]
freeswitch-stable: remove BROKEN from mod_av
libffmpeg-full now includes libavresample. Make mod_av available
accordingly.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 16 Jul 2017 20:05:54 +0000 (22:05 +0200)]
freeswitch-stable: disable mod_v8 heap snapshot by default
mod_v8 sporadically failed to build due to a segmentation fault when
generating the heap snapshot. This patch adds a switch to FreeSWITCH to
disable the snapshot and a symbol to toggle it.
Default is to not use a heap snapshot.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 16 Jul 2017 19:57:05 +0000 (21:57 +0200)]
freeswitch-stable: update COPTS fixes
- Replace main COPTS fixes patch with the updated version sent upstream.
- For the above to work we need to update DEFAULT_VARS in modmake.rules
(new patch)
- mod_pocketsphinx and mod_radius_cdr updated, no more extra COPTS fixes
required there.
- Now zeromq gets to use fortify headers and fails (warning about GCC
extension turns into error), so make it drop '-pedantic'.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 16 Jul 2017 19:52:43 +0000 (21:52 +0200)]
freeswitch-stable: version bump
- Update to 1.6.19.
- Refresh patches.
- Fix mod_png dep.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
guidosarducci [Mon, 10 Jul 2017 09:50:44 +0000 (02:50 -0700)]
siproxd: use PKG_HASH and update copyright date
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Jiri Slachta [Sun, 9 Jul 2017 18:00:50 +0000 (20:00 +0200)]
Merge pull request #166 from micmac1/master
freeswitch-stable: Fix python-host.mk include
Sebastian Kemper [Sun, 9 Jul 2017 16:09:41 +0000 (18:09 +0200)]
freeswitch-stable: Fix python-host.mk include
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Sun, 9 Jul 2017 12:36:07 +0000 (14:36 +0200)]
Merge pull request #165 from micmac1/master
freeswitch-stable: New PR
Sebastian Kemper [Sun, 9 Jul 2017 11:21:58 +0000 (13:21 +0200)]
freeswitch-stable: Add PKG_CONFIG_DEPENDS
Force a rebuild of freeswitch-stable on symbol change.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 9 Jul 2017 11:15:37 +0000 (13:15 +0200)]
freeswitch-stable: Add more modules
- Add mod_portaudio, mod_portaudio_stream, mod_radius_cdr and mod_v8.
- mod_v8 takes some time to build and it's quite large, so only build it
for x86_64. Users can force it on via a symbol for targets arm, i386
and mipsel as well.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 9 Jul 2017 11:03:14 +0000 (13:03 +0200)]
freeswitch-stable: Enable extra symbols for x86_64 target
There is no space constraint on x86_64, so enable the extra symbols for
a complete feature set.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 9 Jul 2017 10:50:50 +0000 (12:50 +0200)]
freeswitch-stable: Fixes for modules and libs
- Add missed dependency on libyuv to libvpx.
- Get rid of gratuitous @ in Config.in.
- Clean up Perl and Python deps.
- Fix installation paths for the ESL packages.
- Don't set ac_cv_lib_perl_perl_alloc=yes, it's not needed.
- Get rid of the build dep on erlang. Have the modules (erlang_event and
kazoo) depend on erlang instead; they both require epmd at runtime.
- Force spandsp and pocketsphinx to use fixed point math when soft float
support is enabled for the target device.
- Make libvpx use OpenWrt/LEDE flags, otherwhise it comes up with
optimized flags on its own.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 9 Jul 2017 10:08:43 +0000 (12:08 +0200)]
freeswitch-stable: Clean up the Makefile
- Fix alphabetical sorting.
- Move some of the blocks around, e.g. move everything together that
adds to $(CONFIGURE_ARGS), move Download define upward to the other
defines etc.
- Replace some strings with variables, e.g. $(FIND) and $(FPIC).
- Be consistent and prefix our own variables with "FS_STABLE_".
- Remove the dev package and use Build/InstallDev instead.
- All in all this change is purely cosmetic.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
guidosarducci [Mon, 3 Jul 2017 02:56:53 +0000 (19:56 -0700)]
siproxd: fix support for domain-specific proxies
Use lists for the config entries outbound_domain_{name,host,port}.
This permits multiple outbound proxies and fixes:
https://github.com/openwrt/telephony/issues/127
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
guidosarducci [Mon, 19 Jun 2017 03:37:16 +0000 (20:37 -0700)]
siproxd: update to version 0.8.2
An upstream siproxd update was released after ~5 years, with bugfixes
and new features. This package supports the new plugins and their config
options, and updates required patches.
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
guidosarducci [Mon, 19 Jun 2017 02:21:57 +0000 (19:21 -0700)]
siproxd: use clearer runtime file and directory names
Use more conventional, clearer naming for config and registration files.
This includes having distinct directories and specific file suffixes.
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
guidosarducci [Mon, 19 Jun 2017 01:55:19 +0000 (18:55 -0700)]
siproxd: add shell helper function to build config file
Using the append_conf_if_set() function removes much repetitive and
error-prone code, reduces the source size by ~30%, and fixes a typo
previously uncaught.
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Jiri Slachta [Thu, 29 Jun 2017 07:09:27 +0000 (09:09 +0200)]
Merge pull request #161 from micmac1/master
freeswitch-stable: Fix perl-esl deps
Sebastian Kemper [Wed, 28 Jun 2017 07:16:27 +0000 (09:16 +0200)]
freeswitch-stable: Fix perl-esl deps
Like mod-perl it also needs Perl with threads support.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jo-Philipp Wich [Tue, 27 Jun 2017 20:21:03 +0000 (22:21 +0200)]
Merge pull request #160 from micmac1/master
freeswitch-stable: New PR
Sebastian Kemper [Tue, 27 Jun 2017 20:14:43 +0000 (22:14 +0200)]
freeswitch-stable: cleanup Python setup
- Rename PYTHON_PKG_DIR to PYTHON_SITE_DIR, otherwise it's confusing.
- Remove the 'sed' hacks; handle the Python setup like the Perl setup is
already done.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Tue, 27 Jun 2017 20:07:34 +0000 (22:07 +0200)]
freeswitch-stable: Remove some needless variable escaping
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Tue, 27 Jun 2017 16:20:39 +0000 (18:20 +0200)]
freeswitch-stable: Fix mod_pocketsphinx build
- The builds currently fail with "undefined reference" errors. Fix that
by turning off Pulseaudio support. Also turn of Jack support in case
that gets detected in the future.
- aarch64 fails because this arch isn't recognized by the pocketsphinx
build system. Fix that by running autoreconf in the pocketsphinx build
dirs.
- Fix CFLAGS while we're here.
- Add dep on libsamplerate to mod_pocketsphinx. If it gets detected it
will be linked against, there is no switch to prevent that.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Mon, 26 Jun 2017 21:52:45 +0000 (23:52 +0200)]
freeswitch-stable: Refresh patch
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Mon, 26 Jun 2017 12:02:03 +0000 (14:02 +0200)]
Merge pull request #159 from micmac1/master
freeswitch-stable: New PR
Sebastian Kemper [Sun, 25 Jun 2017 13:30:42 +0000 (15:30 +0200)]
freeswitch-stable/-sounds: Use HASH instead of MD5SUM
All checksums are already SHA256, so move from MD5SUM to HASH.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 24 Jun 2017 20:23:13 +0000 (22:23 +0200)]
freeswitch-stable: add Perl support
- add mod_perl and perl-esl.
- some patching is required to make this work.
- for the modules to find libperl, an rpath is needed, which currently
doesn't work because of an rstrip.sh/patchelf issue. Patch sent to
OpenWrt/LEDE devs (https://patchwork.ozlabs.org/patch/780008/)
- fix some more copts issues that became apparent with Perl enabled.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 24 Jun 2017 20:04:44 +0000 (22:04 +0200)]
freeswitch-stable: add more modules
- add b64, clearmode, cv (broken), dahdi_codec, dialplan_directory,
event_test, event_zmq, pocketsphinx, posix_timer, random, vmd and yuv.
- some of the new modules require extra sources, so add a download
routine for those so we can verify the checksums and prevent FreeSWITCH
build system to download them on its own.
- add two patches to fix some issues with the new modules.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>