aboutsummaryrefslogtreecommitdiffstats
path: root/community/coturn
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2017-11-22 14:22:25 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2017-11-22 14:22:25 +0000
commit007d7d35844cbc8c0bbcd005a0bf88bc823a58bd (patch)
treef500923911b2c6a81b4a202c52b9dc2957c03c56 /community/coturn
parent0cadd87ab76a1ffe907c8d9352b7e81cfe2c81c5 (diff)
downloadaports-007d7d35844cbc8c0bbcd005a0bf88bc823a58bd.tar.bz2
aports-007d7d35844cbc8c0bbcd005a0bf88bc823a58bd.tar.xz
community/coturn: disable some tests on armhf
https://github.com/coturn/coturn/issues/193
Diffstat (limited to 'community/coturn')
-rw-r--r--community/coturn/APKBUILD6
-rw-r--r--community/coturn/remove-check_oauth-test.patch13
2 files changed, 18 insertions, 1 deletions
diff --git a/community/coturn/APKBUILD b/community/coturn/APKBUILD
index c1215da5e8..ed0e619c7c 100644
--- a/community/coturn/APKBUILD
+++ b/community/coturn/APKBUILD
@@ -17,6 +17,9 @@ subpackages="$pkgname-dev $pkgname-doc"
source="coturn-$pkgver.tar.gz::https://github.com/coturn/coturn/archive/$pkgver.tar.gz
turnserver.initd
"
+# https://github.com/coturn/coturn/issues/193
+[ "$CARCH" = "armhf" ] && source="$source remove-check_oauth-test.patch"
+
builddir="$srcdir/coturn-$pkgver"
build() {
@@ -47,4 +50,5 @@ package() {
}
sha512sums="4ad7d482af675033d050258e2af04b813561414d4ba926cfd336c6548200dbf1a90f9511983b8cad20713c7edff2a424c9d6b11d401717794e3d1af6b7ed9208 coturn-4.5.0.6.tar.gz
-e686dc752618b2da2f6127ab11c49767bfcf228edf458cefe2853093baa845adb2b3159e850db1721e7474c4938fb237dd12bdfd7fd4db2ee73fbd0cb19af17d turnserver.initd"
+e686dc752618b2da2f6127ab11c49767bfcf228edf458cefe2853093baa845adb2b3159e850db1721e7474c4938fb237dd12bdfd7fd4db2ee73fbd0cb19af17d turnserver.initd
+a53de8077bd579812c22cfd502f9e20870b5640951ca2823c81c5e0d12555fe2487f2f175152afbdd4842fa055af276eea0be5573728b13ed22e5e36ae72eb43 remove-check_oauth-test.patch"
diff --git a/community/coturn/remove-check_oauth-test.patch b/community/coturn/remove-check_oauth-test.patch
new file mode 100644
index 0000000000..782351fa35
--- /dev/null
+++ b/community/coturn/remove-check_oauth-test.patch
@@ -0,0 +1,13 @@
+--- ./src/apps/rfc5769/rfc5769check.c.orig
++++ ./src/apps/rfc5769/rfc5769check.c
+@@ -564,10 +564,5 @@
+ }
+ }
+
+- {
+- if(check_oauth()<0)
+- exit(-1);
+- }
+-
+ return 0;
+ }