Commit graph

1981 commits

Author SHA1 Message Date
Sebastian Kemper
e024681271 rtpproxy: use return in init script
"check_ipaddr()" & "start_service()" are functions, hence "return"
should be used instead of "exit".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-11-08 22:19:29 +01:00
Sebastian Kemper
2be80b04dd kamailio: use return in init script
"check_listen()" & "start_service()" are functions, hence "return"
should be used instead of "exit".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-11-08 22:04:55 +01:00
Sebastian Kemper
9604a203d5 freeswitch: use return in init script
"start_service()" is a function, hence "return" should be used instead
of "exit".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-11-08 21:19:27 +01:00
Sebastian Kemper
ebfad751c7 coturn: use return in init script
"start_service()" is a function, hence "return" should be used instead
of "exit".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-11-08 21:13:05 +01:00
Sebastian Kemper
b69ae7b934 baresip: use return in init script
"start_service()" is a function, hence "return" should be used instead
of "exit".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-11-08 21:11:08 +01:00
Sebastian Kemper
69aebd4f4f asterisk: use return in init script
"start_service()" is a function, hence "return" should be used instead
of "exit".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-11-08 21:08:54 +01:00
micmac1
87a78e0d8a
Merge pull request #789 from micmac1/fs-libshout-deprecated
freeswitch: workaround mod-shout compile failure
2022-11-08 19:00:31 +01:00
Sebastian Kemper
145d0b3a30 freeswitch: workaround mod-shout compile failure
The recent libshout update causes compile failures due to deprecation.
This works around it. Can be removed once issue is fixed upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-11-07 22:07:53 +01:00
Jiri Slachta
0403af50b1
Merge pull request #785 from micmac1/ast20
asterisk: bump to 20.0.0 LTS
2022-10-20 06:04:57 +02:00
Sebastian Kemper
5ddb85f494 asterisk: bump to 20.0.0 LTS
No longer existing modules removed from OpenWrt Makefile. Same for
configure switches. Patches refreshed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-10-19 23:19:30 +02:00
micmac1
33e6deadec
Merge pull request #784 from micmac1/kam562
kamailio: bump to 5.6.2
2022-10-19 20:26:03 +02:00
Sebastian Kemper
7163789ee1 kamailio: bump to 5.6.2
- 4 new modules: misctest, posops, siprepo & slack
- 140-redis_use_pkg-config.patch refreshed
- 160-ldap-rename-private-function-ldap_connect.patch and
  170-core-add-support-for-time64-libcs.patch removed (applied
  upstream)
- 160-siputils-fix-time_t-warning-and-a-typo.patch added to fix time_t
  warning (sent upstream, see [1])

[1] https://github.com/kamailio/kamailio/pull/3266

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-10-16 17:40:43 +02:00
Sebastian Kemper
457552110e kamailio: fix dep for keepalive module
Currently the dependency is in the wrong position.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-10-16 17:15:18 +02:00
Sebastian Kemper
07cbb38db1 kamailio: add descriptions via BuildKamailioModule
The Makefile currently advertises that descriptions can be added by
specifying a string in argument 3 of BuildKamailioModule, but there's
actually no mechanism for this. This commit adds the missing pieces.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-10-16 17:09:24 +02:00
micmac1
fa14037e8a
Merge pull request #783 from micmac1/fs-1.10.8
freeswitch: bump to 1.10.8
2022-10-15 18:57:06 +02:00
Sebastian Kemper
66cddc0459 freeswitch: bump to 1.10.8
- minor version bump
- mod-dingaling, mod-unimrcp and apr-util got removed from source tar
  ball, prompting some cleanup
- patches refreshed

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-10-15 16:49:42 +02:00
Sebastian Kemper
b1fa575a12 libks: bump to 1.8.0
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-10-15 16:42:14 +02:00
micmac1
176665c2a6
Merge pull request #781 from micmac1/rtpengine-mqtt
rtpengine: add mqtt dep
2022-10-15 11:00:27 +02:00
Sebastian Kemper
2a13d2eb1e rtpengine: add mqtt dep
rtpengine will use the lib if found, so add it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-10-15 09:56:12 +02:00
Jiri Slachta
a16f7ce898
Merge pull request #780 from micmac1/rtpengine-10.5.2.6
rtpengine: bump to 10.5.2.6
2022-10-15 08:35:13 +02:00
Sebastian Kemper
432432458a rtpengine: bump to 10.5.2.6
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-10-15 00:51:28 +02:00
micmac1
2d70a4ce02
Merge pull request #777 from micmac1/sof-1.13.9
sofia-sip: bump to 1.13.9
2022-09-30 11:01:42 +02:00
micmac1
a48a0cafd4
Merge pull request #778 from micmac1/sngrep-1.6.0
sngrep: bump to 1.6.0
2022-09-30 11:00:50 +02:00
Sebastian Kemper
839c181348 sngrep: bump to 1.6.0
- use pcre2 instead of pcre
- add zlib support

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-09-25 11:50:40 +02:00
Sebastian Kemper
b563e61455 sofia-sip: bump to 1.13.9
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-09-25 11:04:22 +02:00
Jiri Slachta
649bd22c22
Merge pull request #776 from micmac1/ast-18.4
asterisk: bump to 18.14.0 (includes pjproject bump)
2022-08-21 12:23:20 +02:00
Sebastian Kemper
aa3bc352e7 asterisk: bump to 18.14.0
- add new modules
- res-geolocation depends on asterisk being built with libxlt support,
  but to make libxslt a general dependency is probably not a good idea
  for small devices, so this adds a config option
  ASTERISK_LIBXSLT_SUPPORT that is off by default except on x86_64
  builds
- correct some module titles by removing the extraneous "support" string
- refresh patches
- 170-time-add-support-for-time64-libcs.patch,
  180_build-fix-bininstall-launchd-issue-on-cross-platfrom.patch and
  190-logger-workaround-woefully-small-BUFSIZ-in-MUSL.patch removed as
  included in upstream release
- added 170-menuselect-force-use-of-xml2-config.patch as upstream
  switched to use pkg-config for libxml2 detection, which would be fine,
  except OpenWrt's host libxml2 is static and Asterisk can't handle that

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-08-20 17:12:39 +02:00
Sebastian Kemper
a572285886 pjproject: bump to 2.12.1
- add "--disable-android-mediacodec" to configure
- add EXCLUDE_APP=1 to "make" calls so some apps aren't built (speeds up
  the build a bit)
- drop "sed" call as no longer needed
- drop uclibc related patches
  (0002-uclibc-linker-unrecognized-options.patch and
  0003-non-gnu-pthreads.patch)
- update 0004-config_site.patch to sync up with Asterisk 18.14.0
- drop 0005-remove-hardcoded-lstdc++.patch as uclibcxx was removed from
  OpenWrt
- update 0006-fix-pkg_config-file.patch as there were some changes in
  this area upstream
- add 0007-execinfo.patch to prevent errors due to missing <execinfo.h>
- sync patches with 18.14.0

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-08-20 11:15:34 +02:00
Jiri Slachta
f129efb035
Merge pull request #775 from micmac1/chan-dongle-iconv-update
asterisk-chan-dongle: adapt BUILD_NLS handling
2022-07-16 23:39:02 +02:00
Sebastian Kemper
4e30b64604 asterisk-chan-dongle: adapt BUILD_NLS handling
openwrt recently stopped using libiconv-stub in the BUILD_NLS=n case.
Instead the libc's iconv has to be used.

This commit changes the iconv include path passed to
asterisk-chan-dongle for the BUILD_NLS=n case to
$(TOOLCHAIN_DIR)/include. That's where musl and glibc store iconv.h.

Also, the patch 200-fix-iconv-detection.patch gets replaced with a sed
script that only runs in the BUILD_NLS=y case.

And finally, $(AUTORELEASE) is added.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-07-16 20:34:25 +02:00
micmac1
f50096a8a0
Merge pull request #773 from micmac1/fs-gcc-12
freeswitch: workaround for compile fail with gcc 12
2022-06-15 00:35:40 +02:00
Sebastian Kemper
62929c24b6 freeswitch: workaround compile fail with gcc 12
An issue report already exists upstream [1].

[1] https://github.com/signalwire/freeswitch/issues/1670

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-06-12 10:10:44 +02:00
micmac1
ce64b9c01a
Merge pull request #772 from PolynomialDivision/fix-compile
rtpengine: fix compilation with iptables 1.8.8

Thanks!
2022-06-08 23:33:13 +02:00
Nick Hainke
2d9385f120 rtpengine: fix compilation with iptables 1.8.8
The extension handling changed [0,1]. Fix compilation with iptables
1.8.8 [2].

[0] - https://git.netfilter.org/iptables/commit/?id=ef108943f69a6e20533d58823740d3f0534ea8ec
[1] - https://git.netfilter.org/iptables/commit/?id=6c689b639cf8e2aeced8685eca2915892d76ad86
[2] - https://github.com/openwrt/openwrt/pull/9886

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-06-08 21:14:51 +02:00
Jiri Slachta
1fc2c77420
Merge pull request #768 from micmac1/github-sync-with-packages
CI: sync up with changes in packages repo
2022-05-31 21:45:53 +02:00
Sebastian Kemper
ff8addfd97 CI: sync up with changes in packages repo
Catch up with the changes in the packages repository. All changes are
manual cherry picks from the packages repo and listed below.

github: adapt templates

Remove refs to LEDE and use "OpenWrt" instead of "OpenWRT"

Remove instructions on self-checking pull request content for the
following considerations

 - The checks are now enforced by travis autocheck scripts
 - Github now prompts users to refer to the contributing guide on
   submitting new issue and pull request

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit f552f738e2d4bb1fc15acde8b7410e3d37586e2f)

repo: Add more information to the issue template

Rephrase the template a bit and add information about
older releases and forks.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(cherry picked from commit 31179ef2a414412871c1c23a9b3e506a5eab1ef8)

CI: use new `openwrt` Docker username

We now own `openwrtorg` and `openwrt`, where the latter replaces the
former. Slowly migrate over.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit b164a3aa32caa181feff8074ecce3a42b052b060)

CI: define matrix individually and add targets

This allows more specific definition per test, like on which target
packages should be compiled.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 3701000051afe81c0f6c166a924828706cf21b05)

CI: reformat extra long line

Better readability on split screens.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 81f7461e66c877a9d1f6c751fd92252e950370c3)

CI: test build dependent packages

By using OPKGs `whatdepends` all packages dependent on a library are
printed. Use that feature to obtain packages which a version change may
break and build them as well.

Change "default" packages to contain a lib on which other packages
depend, instead of compiling `tmux` compile `attendedsysupgrade-common`
on which other packages depend.

Ignore any LuCI packages which only contains translations.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit c0d0c64f6ca1cbed2586812cad9d7da7b6e5e542)

CI: revert adding of *depending* packages

While the idea may make sense the current implementation is faulty.
Problem is that OpenWrt uses the folder name of packages within the
build system while `opkg` spits out the actual packages names.

An example, compiling the packages of folder `vim` (`make
package/vim/compile`) creates a package called `xxd`, where `make
package/xxd/compile` would fail.

The current implementation uses `opkg` to figure out dependent packages,
but the resulting names do not match the above mentioned folders.

Revert this for now until we come up with a better implementation to
avoid false positive CI failures.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit a2bda4cc69e4121dccba097578bbd0bd40d0675d)

github-ci: fix small typo

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit 05a3011b00f7128c5f46c2d05999937fc01dc2ca)

CI: update SDK action to v3

No also check mirror hashes and badly formated init files

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 291d1f255abefbc05e53bb3019ed7a13e1826ef2)

github-ci: also build mipsel_24kc / mt7621

Signed-off-by: Kevin David <kevin.p.david@gmail.com>

This seems like a fairly popular configuration and is at least handy for me for temporary testing.

(cherry picked from commit a5de3d04557eccd1db58a35ab9f76b38eab4bfb4)

artifacts: use git commit sha in name

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
(cherry picked from commit bbf983721cf41fd94388b16ce90f018d6c0496f5)

CI: add PKG-INFO metadata file

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
(cherry picked from commit a40c1b3e442eccbf0619f06b473705f4a4a0ac6d)

CI: do not crash during PKG-INFO generation if there are no packages

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
(cherry picked from commit b5132de5cf4f7d0562445cf3c65f9f1a4bcb1bbf)

CI: fix runtime testing for non master branch

The runtime testing always ran on master branch aka snapshots since the
branch wasn't passed over to the container execution!

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit f535d770901674d7d9f3d8cd9abe566d9db63ebe)

ci: use openwrt/gh-action-sdk@v4

In order to use feeds from GH mirror for GH actions, thus saving a lot
of resources being wasted. While at it fix whitespace issue.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit b1355832a05f96d96081044a90b4c9137eb15fad)

github: fix typo in issue template

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit ffdc2b09eada82dd563f23a9a51e4ef8e233920f)

ci: Look for changed packages in the PR branch only

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 6b2294ac379ecae55993a8faa583910423f620e7)

ci: Use openwrt/gh-action-sdk@v5

The previous build errors with v5 have been fixed. This version builds
packages as a normal user instead of as root.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 37f9b77b01fd148c946dc313869602fb8203eaea)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-05-31 21:29:41 +02:00
micmac1
8edd28e0bd
Merge pull request #767 from micmac1/sof-1.13.8
sofia-sip: bump to 1.13.8
2022-05-30 18:56:20 +02:00
Sebastian Kemper
1efc4f3f98 sofia-sip: bump to 1.13.8
Some security issues were fixed. Upstream labelled them as follows:

GHSA-79jq-hh82-cv9g: Fix Out-of-bound read in sip_method_d
GHSA-g3x6-p824-x6hm: Fix Out-of-bound read in url_canonize2 and
                     url_canonize3
GHSA-8w5j-6g2j-pxcp: Fix Heap-buffer-overflow in parse_descs and
                     parse_message

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-05-30 18:29:35 +02:00
micmac1
056e93c1ad
Merge pull request #764 from micmac1/libsrtp-openssl
libsrtp: use OpenSSL
2022-05-03 23:18:08 +02:00
Sebastian Kemper
9b9ef7ff84 libsrtp: use OpenSSL
Use OpenSSL instead of the internal crypto backend. Everything in
OpenWrt that links to libsrtp2 depends on OpenSSL anyway.

Upsides:

  - the libsrtp2 package size shrinks a bit (for example from 35 to 24
    KiB on ath79)
  - allows to use more cipher suites
  - may allow for hardware acceleration

Closes #763

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-04-30 18:14:42 +02:00
micmac1
cf06463863
Merge pull request #759 from micmac1/ast-disable-libxslt
asterisk: add --without-libxslt to configure
2022-04-17 12:47:11 +02:00
Sebastian Kemper
64a1d2faef asterisk: add --without-libxslt to configure
Since upstream commit b40c4d59b1dd803cad79060fb5b5a48d249ba578
"--disable-xmldoc" does no longer prevent the linking to libxslt, if
available. If that's the case one is greeted with the following error:

Package asterisk is missing dependencies for the following libraries:
libxslt.so.1

This commit explicitly disables the use of libxslt, to avoid the
dependency.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-04-17 10:57:22 +02:00
Jiri Slachta
1518d145c3
Merge pull request #756 from micmac1/ast-18.11.2
asterisk: bump to 18.11.2
2022-04-16 19:20:54 +02:00
Sebastian Kemper
23925c22f8 asterisk: add logger patch
Add a patch from Philip that got upstreamed. This is in reference to
issue #737.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-04-15 17:17:10 +02:00
Sebastian Kemper
c1cb4fd1a4 asterisk: replace time64 patch
This replaces the current patch with the one upstreamed by Philip.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-04-15 17:16:40 +02:00
Sebastian Kemper
958401fa8f asterisk: bump to version 18.11.2
- add two new modules (app_sf and func_json)
- update 100-build-reproducibly.patch as upstream refactored some of the
  code
- refresh patches

This bump includes fixes for the following security issues:

https://downloads.asterisk.org/pub/security/AST-2022-001.html
https://downloads.asterisk.org/pub/security/AST-2022-002.html
https://downloads.asterisk.org/pub/security/AST-2022-003.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-04-15 16:41:43 +02:00
Sebastian Kemper
0c67ab5831 pjproject: sync patches with asterisk 18.11.2
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-04-15 16:21:24 +02:00
Jiri Slachta
24acd46d2a
Merge pull request #739 from pprindeville/issue#738
asterisk: don't send stdout to syslog by default
2022-03-24 08:30:51 +01:00
micmac1
ced4ff20e3
Merge pull request #752 from micmac1/pj-AST
pjproject: add upstream security fixes
2022-03-06 12:15:25 +01:00
Sebastian Kemper
623e5288f1 pjproject: add upstream security fixes
Details:

https://downloads.asterisk.org/pub/security/AST-2022-004.html
https://downloads.asterisk.org/pub/security/AST-2022-005.html
https://downloads.asterisk.org/pub/security/AST-2022-006.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-03-05 16:58:02 +01:00