Commit graph

878 commits

Author SHA1 Message Date
Jiri Slachta
16eb3e79bc baresip: update to 0.5.5
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-09-12 14:10:43 +02:00
Jiri Slachta
733655602c rem: update to 0.5.1
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-09-12 14:10:21 +02:00
Jiri Slachta
2e999a0ba3 re: update to 0.5.5
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-09-12 14:09:48 +02:00
Jiri Slachta
105b4328db kamailio-4.x: moved to abandoned packages
Kamailio-4.x is moved to abandoned packages in favor
of Kamailio-5.x.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-09-12 08:30:00 +02:00
Jiri Slachta
426acb6421 Merge pull request #186 from micmac1/master
New PR: asterisk 11 + 13 (cleanups, fixes and version bumps)
2017-09-11 21:37:34 +02:00
Sebastian Kemper
924ab675e2 asterisk13: bump to 13.17.1
Fixes AST-2017-005, AST-2017-006 and AST-2017-007.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-09-10 22:36:00 +02:00
Sebastian Kemper
a448d065e3 asterisk13: add patch from alpine linux to fix AMI on musl
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>
2017-09-10 22:27:20 +02:00
Sebastian Kemper
73c582d6b3 asterisk11: bump to 11.25.2
Fixes AST-2017-005 and AST-2017-006.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-09-10 22:23:26 +02:00
Sebastian Kemper
f170bea162 asterisk11: use internal libedit
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>
2017-09-10 22:20:57 +02:00
Sebastian Kemper
04d1333d8b asterisk11: fix conffiles define
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>
2017-09-10 22:18:32 +02:00
Sebastian Kemper
1538a855d4 asterisk11: clean up compile stage
- 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>
2017-09-10 22:15:40 +02:00
Sebastian Kemper
3dd0dfe492 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>
2017-09-10 22:12:32 +02:00
Sebastian Kemper
203301581c 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>
2017-09-10 22:06:39 +02:00
Jiri Slachta
5022cd6c2c Merge pull request #184 from micmac1/master
New PR: asterisk, chan-sccp-b, asterisk-chan-dongle
2017-09-03 14:53:49 +02:00
Sebastian Kemper
da51da8c91 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>
2017-09-02 00:30:30 +02:00
Sebastian Kemper
0835ad378b 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>
2017-09-02 00:28:19 +02:00
Sebastian Kemper
fa7b0c6cae 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>
2017-09-02 00:24:53 +02:00
Sebastian Kemper
eb3c046f03 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>
2017-09-02 00:22:44 +02:00
Sebastian Kemper
9e13de48f0 asterisk13: add missing commas to module definitions
Only a cosmetic change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-09-02 00:21:47 +02:00
Sebastian Kemper
8554506b3b 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>
2017-09-02 00:17:44 +02:00
Daniel Golle
b6a8bbd5fb 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>
2017-09-01 16:21:22 +02:00
Daniel Golle
5fc6447bd4 dahdi-tools: package dahdi_cfg executable
Grab the binary instead of the libtool-shell-wrapper...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-09-01 01:12:27 +02:00
Jiri Slachta
25394f6324 Merge pull request #183 from micmac1/master
asterisk-chan-dongle: overhaul
2017-08-28 21:31:30 +02:00
Sebastian Kemper
fbda98058b 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>
2017-08-28 19:57:41 +02:00
Daniel Golle
dc7edf43cd asterisk-13.x: package RAND dialplan function
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-08-27 03:36:29 +02:00
Jiri Slachta
26416d0332 Merge pull request #182 from micmac1/master
New PR: pjproject and asterisk13
2017-08-26 18:37:00 +02:00
Sebastian Kemper
043ecc9294 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>
2017-08-19 16:51:45 +02:00
Sebastian Kemper
92e04ad4cc 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>
2017-08-19 16:45:04 +02:00
Sebastian Kemper
6369299d9b 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>
2017-08-19 16:27:03 +02:00
Sebastian Kemper
4cfd2a6f11 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>
2017-08-19 16:23:22 +02:00
Sebastian Kemper
630d92a0cf 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>
2017-08-19 15:48:04 +02:00
Jiri Slachta
c6493b543a Merge pull request #180 from micmac1/master
chan-sccp-b: switch to git version, update patch
2017-08-15 17:28:05 +02:00
Sebastian Kemper
d1ab4dac16 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>
2017-08-14 21:59:39 +02:00
Jiri Slachta
921a560832 Merge pull request #123 from robho/yate_banbrutes_using_iptables_recent
yate-scripts-perl: Add script to block phones which fail to authenticate
2017-08-13 21:26:56 +02:00
Jiri Slachta
2f190f1b2a kamailio-4.x: update to 4.4.6
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-08-13 20:44:16 +02:00
Jiri Slachta
cf7b805fbe kamailio-5.x: introduce new package
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-08-13 20:29:23 +02:00
Daniel Golle
73c3323960 Merge pull request #179 from micmac1/master
asterisk-13.x: fix config file issues and clean up modules
2017-08-13 15:48:18 +02:00
Sebastian Kemper
f29574c551 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>
2017-08-13 15:12:28 +02:00
Sebastian Kemper
b9914e6f3f 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>
2017-08-13 15:00:42 +02:00
Jiri Slachta
20b8cbc58d Merge pull request #178 from micmac1/master
sipp: version bump, build fixes
2017-08-10 21:17:28 +02:00
Sebastian Kemper
85d15f25f9 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>
2017-08-10 20:47:38 +02:00
Jiri Slachta
a5f9875fa7 Merge pull request #177 from micmac1/master
New PR: asterisk + pjproject
2017-08-10 09:32:30 +02:00
Sebastian Kemper
08fd9340ff 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>
2017-08-09 23:08:28 +02:00
Sebastian Kemper
45e0c6a721 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>
2017-08-09 22:52:24 +02:00
Sebastian Kemper
29cb5debb3 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>
2017-08-09 22:48:10 +02:00
Sebastian Kemper
ae177a2f5f 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>
2017-08-09 22:45:34 +02:00
Sebastian Kemper
d8469c8750 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>
2017-08-09 22:17:17 +02:00
Sebastian Kemper
a4513b7bd9 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>
2017-08-09 22:11:27 +02:00
Sebastian Kemper
473e3d1246 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>
2017-08-09 22:09:29 +02:00
Jiri Slachta
cc38c50aa4 asterisk-11.x: add missing description to several modules
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-08-08 21:00:31 +02:00