Commit graph

929 commits

Author SHA1 Message Date
Sebastian Kemper
fb84fe64e3 asterisk-15.x: fix CONFIGURE_ARGS
The way CONFIGURE_ARGS are done for srtp and pjproect does not take into
account that more than one package depends on them. This can result in
build failures. So add ifeqs to test properly if --with or --without is
required.

This commit also adds CONFIGURE_ARGS checks for:

alsa (asound)
portaudio
speex
speexdsp

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-05 20:54:01 +01:00
Sebastian Kemper
78d4dc4ff0 asterisk-13.x: fix CONFIGURE_ARGS
The way CONFIGURE_ARGS are done for srtp and pjproect does not take into
account that more than one package depends on them. This can result in
build failures. So add ifeqs to test properly if --with or --without is
required.

This commit also adds CONFIGURE_ARGS checks for:

alsa (asound)
portaudio
speex
speexdsp

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-05 20:46:58 +01:00
Jiri Slachta
c9e3dd5718
Merge pull request #218 from micmac1/master
asterisk: add samples, modules, utilities and a dep
2017-12-03 20:28:44 +01:00
Jiri Slachta
244fa8d2e4
Merge pull request #217 from micmac1/chan-lantiq
chan-lantiq: revert (non-working) hack, add Asterisk 15 variant
2017-12-03 20:27:02 +01:00
Sebastian Kemper
1e157e91df asterisk-15.x: add libcap dep
With libcap support Asterisk is able to set the TOS bits even when
dropping its privileges to a non-root user.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-03 17:38:15 +01:00
Sebastian Kemper
76f9f824d0 asterisk-13.x: add libcap dep
With libcap support Asterisk is able to set the TOS bits even when
dropping its privileges to a non-root user.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-03 17:35:53 +01:00
Sebastian Kemper
752f59916c asterisk-15.x: add utilities
Adds the command line tools that ship with Asterisk as optional
packages.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-03 17:34:29 +01:00
Sebastian Kemper
a0ae867468 asterisk-15.x: add modules
Adds modules that aren't deprecated. These include dependencies and
configuration files.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-03 17:29:59 +01:00
Sebastian Kemper
c266d34fa4 asterisk-15.x: add missing config samples
Adds some missing config files.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-03 17:26:16 +01:00
Sebastian Kemper
4e88e4685b asterisk-13.x: add utilities
Adds the command line tools that ship with Asterisk as optional
packages.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-03 17:06:16 +01:00
Sebastian Kemper
ff8e5400ae asterisk-13.x: add modules
Adds modules that aren't deprecated. These include dependencies and
configuration files.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-03 17:02:33 +01:00
Sebastian Kemper
c93b05e0b7 asterisk-13.x: add missing config samples
Adds some missing config files.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-03 16:57:14 +01:00
Sebastian Kemper
a4a9a4a49a chan-lantiq: add variant for Asterisk 15
@kochstefan got the module to work on Asterisk 15. Update the Makefile
and include the new variant.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-03 16:46:14 +01:00
Sebastian Kemper
652d818864 chan-lantiq: revert previous commit
The hack does not work on the buildbots. In the SDK the other packages'
Makefiles and patch directories aren't available, hence the hack fails.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-03 16:42:14 +01:00
Jiri Slachta
e058c15661 kamailio-5.x: bump to 5.0.4
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-12-03 15:33:48 +01:00
Jiri Slachta
2ab2893f23
Merge pull request #209 from micmac1/chan-lantiq
chan-lantiq: setup Lantiq kernel headers locally
2017-12-02 19:00:20 +01:00
Jiri Slachta
20197a9f94
Merge pull request #215 from micmac1/prevent-build-all
Asterisk: Prevent building of all default modules
2017-12-02 18:44:14 +01:00
Jiri Slachta
9b73c52305
Merge pull request #214 from micmac1/fix-module-load-failure
asterisk-15.x: add 053-musl-mutex-init.patch
2017-12-02 18:42:28 +01:00
Jiri Slachta
bf061363b3
Merge pull request #216 from micmac1/baresip
baresip: add missing dependency
2017-12-02 18:41:56 +01:00
Sebastian Kemper
3bf3f51c65 baresip: add missing dependency
The avcodec module needs a depend on libx264.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-28 22:43:13 +01:00
Sebastian Kemper
2c7e8c72b4 asterisk-15.x: add menuselect mechanism
This adds a mechanism that disables all modules by default and then
enables only the modules needed for the packages selected, resulting in
less build time.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-28 22:25:11 +01:00
Sebastian Kemper
dad0784ecb asterisk-13.x: add menuselect mechanism
This adds a mechanism that disables all modules by default and then
enables only the modules needed for the packages selected, resulting in
less build time.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-28 22:20:18 +01:00
Sebastian Kemper
71ab3d239a asterisk-15.x: add 053-musl-mutex-init.patch
@kochstefan pointed out that asterisk 15 doesn't load any modules. It
turned out that this happens because of patch that was dropped. Add the
patch again.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-28 22:01:33 +01:00
Jiri Slachta
d0bc920361
Merge pull request #212 from micmac1/chan-sccp
asterisk-chan-sccp: improve package
2017-11-27 15:50:56 +01:00
Jiri Slachta
380692f75b
Merge pull request #213 from micmac1/baresip
New PR: re, rem, restund and baresip
2017-11-27 13:07:06 +01:00
Sebastian Kemper
3a7ddeaccd asterisk-chan-sccp: improve package
- remove some whitespaces
- install only the configuration example from the source instead of the
  locally kept files (which are probably outdated anyway)
- add a comment explaining the iostream hack
- use proper install routine instead of "$(CP)"

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 23:12:25 +01:00
Sebastian Kemper
e2f01e4e76 baresip: build fix
The package currently fails to build because librem headers cannot be
found. For reasons unknown baresip searches in SYSROOT instead of
SYSROOT_ALT for them. Fix this by patching the Makefile.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 23:05:20 +01:00
Sebastian Kemper
09aef36d27 baresip: add patch to fix ld call
ld expects '-shared' when called with '--export-dynamic'. Patch the
Makefile accordingly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 23:03:17 +01:00
Sebastian Kemper
e753429208 baresip: add modules
Add some more modules to the Makefile.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 23:01:26 +01:00
Sebastian Kemper
c0cbf4afc0 baresip: improve module routine and descriptions
- improve routine regarding dependencies
- improve module descriptions

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 22:56:40 +01:00
Sebastian Kemper
9974ce1389 baresip: Clean up Makefile
Remove unneeded variables, whitespaces and trailing slashes, use
specific INSTALL directive instead of "$(CP)".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 22:45:26 +01:00
Sebastian Kemper
9c4607f493 baresip: Use default Build/Compile routine
Change from custom make call to using the default Build/Compile routine.
This applies the standard memory corruption mitigation methods, e.g.
FORTIFY_SOURCE and RELRO, to the package if they are enabled (default).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 22:42:07 +01:00
Sebastian Kemper
57f4d7fe0a restund: add patch to fix ld call
ld expects '-shared' when called with '--export-dynamic'. Patch the
Makefile accordingly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 22:37:31 +01:00
Sebastian Kemper
830ac6d8ee restund: module fixes/improvements
- add missing modules to base package
- improve module DEPENDS handling routine

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 22:33:58 +01:00
Sebastian Kemper
0bc5fee110 restund: Clean up Makefile
Remove unneeded variables, dependencies, whitespaces and trailing
slashes, use specific INSTALL directive instead of "$(CP)".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 22:32:12 +01:00
Sebastian Kemper
2f036a1f81 restund: Use default Build/Compile routine
Change from custom make call to using the default Build/Compile routine.
This applies the standard memory corruption mitigation methods, e.g.
FORTIFY_SOURCE and RELRO, to the package if they are enabled (default).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 22:28:00 +01:00
Sebastian Kemper
f38e08a904 librem: clean up Makefile
Remove unneeded variables, whitespaces, depends and trailing slashes.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 22:23:13 +01:00
Sebastian Kemper
394e4bc773 librem: Use default Build/Compile routine
Change from custom make call to using the default Build/Compile routine.
This applies the standard memory corruption mitigation methods, e.g.
FORTIFY_SOURCE and RELRO, to the package if they are enabled (default).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 22:20:33 +01:00
Sebastian Kemper
7e1106ff83 libre: prevent re.mk from applying its own optimizations
Using the CFLAGS from the environment of Build/Compile the optimizations
from libre now appear after OpenWrt CFLAGS, overriding them. Prevent
that by disabling libre's optimization altogether.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 22:13:23 +01:00
Sebastian Kemper
c2f7efa6a1 libre: fix ld argument
When using the default Build/Compile routine $LD is set to the actual
linker, so libre's build system is not using ld indirectly via the
compiler anymore. But it feeds -rdynamic to ld instead of
--export-dynamic. Fix that with this patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 22:09:55 +01:00
Sebastian Kemper
a178a9ecc8 libre: Add patch to prevent ssize_t redefinition
With FORTIFY_SOURCE enabled the compiler errors our when libre defines
ssize_t again. Prevent that by adding the proper hint to the header in
question.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 22:07:05 +01:00
Sebastian Kemper
53d727b592 libre: Clean up Makefile
Remove unneeded variables, whitespaces and trailing slashes, use
specific INSTALL directive instead of "$(CP)".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 22:04:24 +01:00
Sebastian Kemper
01243348d3 libre: Use default Build/Compile routing
Change from custom make call to using the default Build/Compile routine.
This applies the standard memory corruption mitigation methods, e.g.
FORTIFY_SOURCE and RELRO to the package, if they are enabled (default).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 21:58:22 +01:00
Jiri Slachta
021d3fdd9c
Merge pull request #208 from micmac1/asterisk-g72x
Asterisk g72x
2017-11-24 09:57:07 +01:00
Jiri Slachta
7bf490a5e6
Merge pull request #210 from micmac1/chan-sccp
Chan sccp
2017-11-24 09:55:33 +01:00
Sebastian Kemper
659c445832 asterisk-g72x: add Asterisk 15 variant
Add a package for Asterisk 15.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-23 19:28:16 +01:00
Sebastian Kemper
010ef93a90 asterisk-g72x: version bump, cleanups
- bump to 1.4.2 (includes Asterisk 15 support)
- clean up the Makefile (whitespaces, remove some leftover defines that
  are no longer needed etc.)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-23 19:24:51 +01:00
Sebastian Kemper
59917a3b12 chan-sccp: add Asterisk 15 variant
Define a variant for Asterisk 15.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-23 18:11:34 +01:00
Sebastian Kemper
8fc851f0d5 chan-sccp: update to latest commit
- Update to latest commit to get support for Asterisk 15
- Upstream renamed the project from chan-sccp-b to chan-sccp. This
  commit updates the OpenWrt Makefile accordingly.
- Move the directory from chan-sccp-b to asterisk-chan-sccp (follow the
  naming of the other channel drivers' directories).
- OpenWrt Asterisk13 is mistaken for Asterisk15 because it has the
  iostream patch applied, fix this with workaround in autoconf script.
- Update upstream URL to the github page.
- Update description of the package.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-23 18:08:36 +01:00
Sebastian Kemper
cc54061a11 chan-lantiq: setup Lantiq kernel headers locally
This commit unpacks the sources of lib_ifxos, drv_tapi and drv_vmmc,
patches them and sets up their header files for the compiler to use when
building chan-lantiq.

The dependency on kmod-ltq-vmmc is dropped so that the package can be
built by the buildbots. Instead, a dependency on mips is added so that
the buildbots will only build the package for the ARCH that Lantiq
actually runs on.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-23 16:33:59 +01:00