Plain git:// doesn't add security. Use https:// instead. See
https://gist.github.com/grawity/4392747.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- Cosmetic: change version from 1.0 to git checkout date.
- Remove dependency on asterisk, as otherwise the package won't be
built by the build bots.
- Without asterisk in the staging directory the asterisk headers are
now taken from an archive in $(DL_DIR), which is stored there by the
asterisk package.
- The naming of the package needs to be changed, as without the
dependency on asterisk it would otherwise mess with asterisk's
menuconfig layout.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Store asterisk headers in $(DL_DIR) so chan-lantiq can access them
during the target specific build phase. The headers are tarred up for
"mips_24kc" only because that is currently the only used arch for all
chan-lantiq targets.
Store one archive for each combination of asterisk version (e.g. 13) and
branch (using $(VERSION_NUMBER)). The latter makes sure that a release
build doesn't overwrite the header archive of a master snapshot build
and vice vera.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Currently chan-lantiq doesn't build on the build bots and users end up
having to build it themselves. The reason for this was explained by
Mathias Kresin here:
http://lists.infradead.org/pipermail/lede-dev/2017-September/008886.html.
To fix this put chan-lantiq into its own package and set
PKG_FLAGS:=nonshared. The new package uses variants already, so it is
easily extendable in the future.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- Sync module to master.
- Drop big endian patch as it was included upstream.
- This fixes endian issue reported at
https://github.com/wdoekes/asterisk-chan-dongle/issues/44.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This adds ASTERISK-24517.patch from alpine linux. Without the patch
there are problems with the tcp/tls wrapper when running on a musl
toolchain. This is visible when toying with AMI:
LEDE*CLI> !nc localhost 5038
[Sep 10 12:13:25] WARNING[10315]: tcptls.c:684 handle_tcptls_connection: FILE * open failed!
This fixes issue #185 for asterisk 13 in trunk. The patch cannot be
applied to asterisk 11.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Asterisk 11 cannot deal with a unicode-enabled libedit. Input is not
possible anymore. Use the internal copy. Asterisk 13 works fine with the
external libedit.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
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.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- Don't add extra TARGET_LDFLAGS for asterisk13-pbx-lua. It is not
needed anymore.
- 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.
- 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>
- 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>
- 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>
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>
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>
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>
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>
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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>