Commit f0e4996f authored by Michael Pirogov's avatar Michael Pirogov Committed by alice
Browse files

testing/janus-gateway: upgrade to 1.0.3

parent 0fc86bb7
Pipeline #125973 passed with stages
in 1 minute and 28 seconds
# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
pkgname=janus-gateway
pkgver=1.0.2
pkgver=1.0.3
pkgrel=0
pkgdesc="Janus WebRTC Server"
url="https://janus.conf.meetecho.com/"
......@@ -16,7 +16,6 @@ makedepends="autoconf automake libtool gengetopt lua5.3-dev cmake libsrtp-dev
source="$pkgname-$pkgver.tar.gz::https://github.com/meetecho/janus-gateway/archive/refs/tags/v$pkgver.tar.gz
$pkgname.initd
$pkgname.confd
websocket-alpine.patch
"
subpackages="$pkgname-doc $pkgname-openrc"
options="!check" # missing aiortc
......@@ -62,8 +61,7 @@ package() {
}
sha512sums="
20ff20ccab40f45879e127a2c1f3e5ebde1567b393d59f862b38805045e2a0cc379f7dfd5566a89d1ef644552a2936d0a11720e4e1d7bcc45b136c57d26ef139 janus-gateway-1.0.2.tar.gz
f186f96d46e52b50c6726e8bb2c03e94d570202058423dff92df23eaac8c6c72fd1839eb8fa57d517cea4b5622a2606e12532ea81eb96f1ea0bd77b24bd330ce janus-gateway-1.0.3.tar.gz
942d8566219a426671d78b962f1584a910137995a2dbfc9af2a5c2901f30dc8992bbc749543d149d9f3d24bd751090abc226fca405276450ef84acff1cd74cc1 janus-gateway.initd
f442a419a435f5d1adab673011b7689a5680064f32f712e5e4668c486ce10f1442822c60cb302ee850ddc576a9e9f610a0863f02204e56f1fc68aa3ee312ebe0 janus-gateway.confd
0d8b67b91a69f4f6d98f52bf703a517be3a47c2fcbcaa57f7bc858d1dee441cc423ab8792f7467ef8c7e2714ccc2bd65a919a5d7979f49494fed4ec120a8ed6e websocket-alpine.patch
"
--- ./src/transports/janus_websockets.c.orig 2022-05-30 11:58:21.181331704 +0300
+++ ./src/transports/janus_websockets.c 2022-05-30 11:58:51.031137205 +0300
@@ -412,7 +412,7 @@
if(item && item->value) {
ip = (char *)item->value;
struct in_addr addr;
- if(inet_net_pton(AF_INET, ip, &addr, sizeof(addr)) > 0)
+ if(inet_pton(AF_INET, ip, &addr) > 0)
ipv4_only = 1;
char *iface = janus_websockets_get_interface_name(ip);
if(iface == NULL) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment