- 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>
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>
- 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>
- 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>
- 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>
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>
- 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>
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>
- 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>
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>
- 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>
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>