summaryrefslogtreecommitdiffstats
path: root/main/sngtc_client
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-15 12:17:00 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-15 12:17:00 +0000
commitbb54a5b2bddcccc6bcc14f1e36f37f79f7c76478 (patch)
tree85087c9f9c80e169ade4cbbab3d3700ee737a407 /main/sngtc_client
parenta20b9643afc8a34c42d6f4f9984df3addc7d376c (diff)
downloadaports-bb54a5b2bddcccc6bcc14f1e36f37f79f7c76478.tar.bz2
aports-bb54a5b2bddcccc6bcc14f1e36f37f79f7c76478.tar.xz
main/sngtc_client: upgrade to 1.3.4.1
Diffstat (limited to 'main/sngtc_client')
-rw-r--r--main/sngtc_client/APKBUILD18
-rw-r--r--main/sngtc_client/ortp.patch13
2 files changed, 26 insertions, 5 deletions
diff --git a/main/sngtc_client/APKBUILD b/main/sngtc_client/APKBUILD
index d0f9dbf6b..b9864615f 100644
--- a/main/sngtc_client/APKBUILD
+++ b/main/sngtc_client/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sngtc_client
-pkgver=1.3.2
-pkgrel=1
+pkgver=1.3.4.1
+pkgrel=0
pkgdesc="Sangoma Media Transcode client and lib"
url="http://wiki.sangoma.com/Transcoding-distributed-install"
arch="all"
@@ -16,7 +16,8 @@ subpackages="$pkgname-dev"
# be equal on both i686 an x86_64 so we just pick i686 package for all
# our archs.
source="ftp://ftp.sangoma.com/linux/transcoding/sng-tc-linux-$pkgver.i686.tgz
- sngtc_client-dynamic-ortp.patch"
+ sngtc_client-dynamic-ortp.patch
+ ortp.patch"
_builddir="$srcdir"/sng-tc-linux-$pkgver.i686
prepare() {
@@ -44,5 +45,12 @@ package() {
cp server/libsngtc/*.h "$pkgdir"/usr/include/sng_tc/
}
-md5sums="6db4f71d2cd798f7802b71300d476e5a sng-tc-linux-1.3.2.i686.tgz
-2c6b702af7ec9adc144823000012336c sngtc_client-dynamic-ortp.patch"
+md5sums="eff04cdee73ee930a96c87977b21abb1 sng-tc-linux-1.3.4.1.i686.tgz
+2c6b702af7ec9adc144823000012336c sngtc_client-dynamic-ortp.patch
+e9c6076ba8fb08ac680e92df1feb7795 ortp.patch"
+sha256sums="04de3559832ed139d553ebb3b48dd7e25bd4ba75a58e3fc829f8dcd78a2cedcb sng-tc-linux-1.3.4.1.i686.tgz
+7b1ce78357184e58073b010c1074866bdeefe855aeda204793f476274ad0beed sngtc_client-dynamic-ortp.patch
+e22f77b4ce280e2c436143eab8a7170eaee7a21ef393b5be655181ab2efa5587 ortp.patch"
+sha512sums="c80470540c7f7f3b15f027a49a248ad0f0dd9088b71520c63e0bd57fa6e34531ff944bb962eb0d4ed78285dbc408c09dcbd7122c48a7af7d4ce46c03d0d19c20 sng-tc-linux-1.3.4.1.i686.tgz
+2b784c56d1482ad9069502c408138d0c0b0ea6b393902d45b09200a3a588e02138c21a1fbee4d5715711e578130c30c607cae59f7ee24b8ce5bccd5a9c2fce14 sngtc_client-dynamic-ortp.patch
+33163306a2207e70a9a8535d6b1ca9706d44e5076a570525db15c47c6aeb6f58e035bfec4826f8763422a505acdad5cfa7b59c60b544f681ad319d26d75d2977 ortp.patch"
diff --git a/main/sngtc_client/ortp.patch b/main/sngtc_client/ortp.patch
new file mode 100644
index 000000000..d8d746388
--- /dev/null
+++ b/main/sngtc_client/ortp.patch
@@ -0,0 +1,13 @@
+diff --git a/client/sngtc_client/sngtc_client.c b/client/sngtc_client/sngtc_client.c
+index b01c106..bfc504a 100644
+--- a/client/sngtc_client/sngtc_client.c
++++ b/client/sngtc_client/sngtc_client.c
+@@ -714,7 +714,7 @@ static int create_rtp_socket(void *usr_priv, sngtc_codec_request_leg_t *codec_re
+
+ rtp_session_set_blocking_mode(session, FALSE);
+
+- rtp_session_set_local_addr(session, globals.bindip_str, local_port);
++ rtp_session_set_local_addr(session, globals.bindip_str, local_port, local_port+1);
+
+ rtp_session_set_connected_mode(session, TRUE);
+