Commit graph

923 commits

Author SHA1 Message Date
Jiri Slachta
b17c201ee4
Merge pull request #231 from micmac1/bcg729
bcg729: fix 1.0.4 build
2017-12-28 16:07:04 +01:00
Sebastian Kemper
d65cd5786e bcg729: fix 1.0.4 build
- the Savannah source URI doesn't have the 1.0.4 release; switch it to
  linphone.org

- even with the source available the build fails, as the source now
  defaults to cmake for building. So switch our build process from
  autotools to cmake as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-27 22:18:30 +01:00
Jiri Slachta
9e66952479
Merge pull request #227 from micmac1/freeswitch-stable
New PR: freeswitch-stable
2017-12-27 09:45:25 +01:00
Jiri Slachta
0f9207c264
Merge pull request #229 from samm-git/patch-1
bcg729: update to the 1.0.4 version
2017-12-27 09:45:03 +01:00
Jiri Slachta
b93d740036
Merge pull request #228 from micmac1/asterisk
New PR: Asterisk
2017-12-27 09:44:44 +01:00
Jiri Slachta
b36dc4abc2
Merge pull request #230 from micmac1/baresip
New PR: Baresip suite
2017-12-27 09:44:23 +01:00
Sebastian Kemper
8860618e41 baresip: add procd init script
- add procd init script
  - script starts the daemon as user "baresip" instead of root
  - add /etc/default/baresip
  - add example configuration into /etc/baresip
  - add conffiles definition
  - prevent autostart after upgrade by using ENABLE_BARESIP variable in
    /etc/default/baresip

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-26 15:21:27 +01:00
Sebastian Kemper
1de3d36d4b restund: add procd init script
- add procd init script
- script starts the daemon as user "restund" instead of root
- add /etc/default/restund
- declare /etc/init.d/restund a configuration file
- prevent autostart after upgrade by using ENABLE_RESTUND variable in
  /etc/default/restund

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-26 14:58:39 +01:00
Sebastian Kemper
4219368092 baresip suite: improve MAKE_FLAGS
- add CROSS_COMPILE and OS to MAKE_FLAGS; this should help when
  compiling on other OSes, e.g. Darwin.
- move RELEASE up (alphabetical sort)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-26 14:34:47 +01:00
Sebastian Kemper
1c11a59250 baresip + restund: delete faulty patch
The patch is wrong. It may cause errors of the "illegal instruction" variety.
The libre package fix in commit e40f0ea06f makes
this patch unnecessary anyway. Drop it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-26 14:27:01 +01:00
Sebastian Kemper
e40f0ea06f libre: add forgotten define
"OPENWRT" needs to be defined for 001-extend-ninit-nclose-check.patch to
work.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-26 14:16:17 +01:00
Sebastian Kemper
53073babbf freeswitch-stable: improve autostart prevention
The current approach (creating a blocker file) is clumsy. Use a variable
in /etc/default/freeswitch instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-26 14:05:52 +01:00
Alex Samorukov
c9370a3d90
bcg729: update to the 1.0.4 version 2017-12-26 01:13:23 +01:00
Sebastian Kemper
b25a6bbf5d asterisk-15.x: bump to 15.1.4
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 23:05:59 +01:00
Sebastian Kemper
cd82cbd06b asterisk-15.x: add module dependencies
Add some dependencies to select modules. Dependencies confirmed by
menuselect.

Also fix description of res_monitor.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 23:04:13 +01:00
Sebastian Kemper
5180bf8576 asterisk-13.x: bump to 13.18.4
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 23:02:02 +01:00
Sebastian Kemper
1d697f8bfc asterisk-13.x: add module dependencies
Add some dependencies to select modules. Dependencies confirmed by
menuselect.

Also fix description of res_monitor.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 22:59:24 +01:00
Sebastian Kemper
d3cc034185 freeswitch-stable: add a few autoconf_bools
- Use autoconf_bool instead of manually calling configure switches.
- Revision bump.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 22:51:58 +01:00
Sebastian Kemper
1a193e1b74 freeswitch-stable: make libedit a hard dependency
Remove the possibility to prevent the dependency on libedit. freeswitch
behaves very quirky without it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 22:46:10 +01:00
Sebastian Kemper
3f169145df freeswitch-stable: init script update
- Use "-nc -nf" always. When started by procd freeswitch detects the
  console to be orphaned and disables it. So disable the interactive
  console but force freeswitch to not fork into background.
- Improve readability of command parameters.
- Minor changes.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 22:37:22 +01:00
Jiri Slachta
8c94c5d442
Merge pull request #226 from micmac1/baresip
baresip/re: build fix and a workaround
2017-12-14 08:33:32 +01:00
Sebastian Kemper
23b3363a5e baresip: add symbol to prevent FFmpeg dependency by default
Currently baresip often fails to build because the FFmpeg compile was
not successful:

  CC [M]  build-mipsel/modules/avcodec/avcodec.o
modules/avcodec/avcodec.c:9:32: fatal error: libavcodec/avcodec.h: No such file or directory
compilation terminated.

Address this by adding a configuration symbol that prevents the
FFmpeg-depending modules from being selected by default, except on i386
and x86_64.

It is better having baresip packages without these video modules than
not having baresip packages at all.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-13 19:37:13 +01:00
Sebastian Kemper
c22c60b9fd re: fix build errors on mipsel targets
On most mipsel targets re fails to build because the re Makefile adds
"-march=mips32" to CFLAGS:

Assembler messages:
Error: -mips32r2 conflicts with the other architecture options, which imply -mips32
src/sip/addr.c:1:0: error: '-mips32r2' conflicts with the other architecture options, which specify a mips32 processor
 /**
 ^
Makefile:92: recipe for target 'build-mipsel/sip/addr.o' failed

Fix this by preventing re from adding to OpenWrt CFLAGS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-13 19:29:06 +01:00
Jiri Slachta
94b7a831af
Merge pull request #225 from micmac1/baresip
baresip: fix build failure on 32bit x86 targets
2017-12-12 12:04:18 +01:00
Jiri Slachta
e437635432
Merge pull request #224 from lynxis/rb_kamailio
kamailio-5.x: remove build timestamp
2017-12-08 08:53:54 +01:00
Sebastian Kemper
d3a784ca78 baresip: fix build failure on 32bit x86 targets
re and baresip builds for 32bit x86 targets are currently failing:

build-i386/sip/auth.o: In function `sip_auth_encode':
/build/lede-snapshots/i386_pentium/build/sdk/build_dir/target-i386_pentium_musl/re-0.5.6/src/sip/auth.c:279: undefined reference to `__stack_chk_fail_local'

The undefined references occur because there is no linking done to ssp.
Fix this by setting LD to TARGET_CC, so ld is not called directly. This
also means one patch is not needed anymore.

Do the same for rem and restund as they basically all share the same
build system.

Compile-tested for x86, x86_64 and mips.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-07 21:32:56 +01:00
Alexander Couzens
2e291359c8
kamailio-5.x: remove build timestamp
Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-07 15:06:24 +01:00
Jiri Slachta
37603d22fb
Merge pull request #223 from lynxis/rb_asterisk
asterisk: reproducible builds
2017-12-07 06:40:40 +01:00
Alexander Couzens
126afbfd2e asterisk-chan-sccp: remove BUILD_USER BUILD_DATE
Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-06 21:27:24 +01:00
Alexander Couzens
2ac545a480 asterisk-15.x: remove build timestamp
Build timestamps prevent reproducible builds [0].
Thanks to debian for the patch

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-06 21:27:24 +01:00
Alexander Couzens
761ac5c833 asterisk-13.x: remove build timestamp
Build timestamps prevent reproducible builds [0].
Thanks to debian for the patch.

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-06 21:26:15 +01:00
Jiri Slachta
8244f2af61
Merge pull request #222 from lynxis/github_template
copy .github/templates from package feed
2017-12-06 09:11:39 +01:00
Jiri Slachta
90c264a8fb
Merge pull request #220 from lynxis/rb_restund
restund: remove build timestamp
2017-12-06 09:10:24 +01:00
Jiri Slachta
2855f9742d
Merge pull request #221 from lynxis/rb_sipp
sipp: remove build timestamp
2017-12-06 09:09:56 +01:00
Jiri Slachta
d8dc45d33a
Merge pull request #219 from micmac1/asterisk
Asterisk: fixups, version bumps
2017-12-06 09:09:30 +01:00
Alexander Couzens
67c8e9dc82
copy .github/templates from package feed
The template will be used by issues and pull-request.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-06 00:45:50 +01:00
Alexander Couzens
79060be7bf
sipp: remove build timestamp
Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-05 23:21:41 +01:00
Alexander Couzens
da9513fa76
restund: remove build timestamp
Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-05 23:21:16 +01:00
Sebastian Kemper
c60d93ad7b asterisk-15.x: security bump to 15.1.3
AST-2017-013: chan_skinny: Call pthread_detach when sess threads end
ASTERISK-27452

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-05 21:22:07 +01:00
Sebastian Kemper
52e720ba7e asterisk-13.x: security bump to 13.18.3
AST-2017-013: chan_skinny: Call pthread_detach when sess threads end
ASTERISK-27452

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-05 21:19:52 +01:00
Sebastian Kemper
b67a6d4fad asterisk-15.x: workaround for build failure
On the buildbots (and locally, too) the x86 builds currently fail. It's
visible that the Asterisk build system attempts to build menuselect a
second time, which fails because it follows the standard recipes in its
Makefiles. The first build of menuselect on the other hand only works
because the OpenWrt package sets up the build properly.

The second build attempt happens because the menuselect CFLAGS category
is setup to delete a stamp file when anything in it changes. On x86
-march=native is available, so the OpenWrt package disables that via
menuselect, hence this item in the category is changed and the stamp
file automatically removed. The missing stamp file triggers a rebuild of
menuselect (which is not required for OpenWrt's intents and purposes).
Another item in the CFLAGS category with which the package can have the
same issue is LOW_MEMORY, but that is not enabled (changed) by default.

Work around this problem by recreating the stamp file after the
menuselect calls.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-05 21:17:58 +01:00
Sebastian Kemper
22ac754cc3 asterisk-13.x: workaround for build failure
On the buildbots (and locally, too) the x86 builds currently fail. It's
visible that the Asterisk build system attempts to build menuselect a
second time, which fails because it follows the standard recipes in its
Makefiles. The first build of menuselect on the other hand only works
because the OpenWrt package sets up the build properly.

The second build attempt happens because the menuselect CFLAGS category
is setup to delete a stamp file when anything in it changes. On x86
-march=native is available, so the OpenWrt package disables that via
menuselect, hence this item in the category is changed and the stamp
file automatically removed. The missing stamp file triggers a rebuild of
menuselect (which is not required for OpenWrt's intents and purposes).
Another item in the CFLAGS category with which the package can have the
same issue is LOW_MEMORY, but that is not enabled (changed) by default.

Work around this problem by recreating the stamp file after the
menuselect calls.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-05 21:12:12 +01:00
Sebastian Kemper
6c8eaf8f01 asterisk-15.x: speed up menuselect calls
Currently the menuselect calls, for each category or item, step into a
directory and call menuselect once. So if all packages are build
menuselect will be called hundreds of times and as many directory
changes will be done.

Instead step into the directory only once, then generate the argument
string by iteratively adding to it and then call menuselect once. The
speedup is big.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-05 21:04:05 +01:00
Sebastian Kemper
90121c4959 asterisk-13.x: speed up menuselect calls
Currently the menuselect calls, for each category or item, step into a
directory and call menuselect once. So if all packages are build
menuselect will be called hundreds of times and as many directory
changes will be done.

Instead step into the directory only once, then generate the argument
string by iteratively adding to it and then call menuselect once. The
speedup is big.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-05 20:58:03 +01:00
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