Commit graph

609 commits

Author SHA1 Message Date
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
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
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
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
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
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
Jiri Slachta
021d3fdd9c
Merge pull request #208 from micmac1/asterisk-g72x
Asterisk g72x
2017-11-24 09:57:07 +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