diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-31 09:18:29 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-31 09:20:50 +0000 |
commit | 4d0b6b26074197598e14e951e52409f61ba1c95d (patch) | |
tree | 24bec82d4ba6933eb1377cf3fb594aa25e864894 | |
parent | 987ee164371e66653c3310ef3c4991168a27a943 (diff) | |
download | aports-4d0b6b26074197598e14e951e52409f61ba1c95d.tar.bz2 aports-4d0b6b26074197598e14e951e52409f61ba1c95d.tar.xz |
main/rtmpdump: upgrade snapshot to 2.4_git20141231
fixes #3608
-rw-r--r-- | main/rtmpdump/APKBUILD | 18 | ||||
-rw-r--r-- | main/rtmpdump/akamai1.patch | 28 | ||||
-rw-r--r-- | main/rtmpdump/akamai2.patch | 28 |
3 files changed, 5 insertions, 69 deletions
diff --git a/main/rtmpdump/APKBUILD b/main/rtmpdump/APKBUILD index fd7d75eece..d69e74fc51 100644 --- a/main/rtmpdump/APKBUILD +++ b/main/rtmpdump/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=rtmpdump verbase=2.4 -pkgver=2.4_git20130304 +pkgver=2.4_git20141231 pkgrel=2 pkgdesc="A tool to download rtmp:// and rtmpe:// streams" url="http://rtmpdump.mplayerhq.hu/" @@ -15,9 +15,7 @@ subpackages="$pkgname-dev $pkgname-doc librtmp" giturl="git://git.ffmpeg.org/rtmpdump" disturl="dev.alpinelinux.org:/archive/rtmpdump" -source="http://dev.alpinelinux.org/archive/rtmpdump/rtmpdump-${pkgver}.tar.gz - akamai1.patch - akamai2.patch" +source="http://dev.alpinelinux.org/archive/rtmpdump/rtmpdump-${pkgver}.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver @@ -48,12 +46,6 @@ librtmp() { mv "$pkgdir"/usr/lib "$subpkgdir"/usr/ } -md5sums="bcf4d0c3b8f34aedc29eb6283f97b1e7 rtmpdump-2.4_git20130304.tar.gz -3788679684481c05d544c2264236cd21 akamai1.patch -c9c0d09778fd781596affb6f950af9e3 akamai2.patch" -sha256sums="2022929fde03d2b097b330d2283349460e77c8fa097a117bf35f5aa4bf22151e rtmpdump-2.4_git20130304.tar.gz -d0261408b0093cfc2a3a0202adcf5a9d24b5241c792d40a81018f9cc56f133d6 akamai1.patch -fb0821c1502099f0bc50cabd260e08c1298a31f1f6345d60407233c66994a435 akamai2.patch" -sha512sums="05f0698e62a2bde3be642e2a6fc9ced5ef89f7a1e4d5ab879805859e9f484ec0550694a9dd637d45b339311bbca2f81dfe9d913f774c201ff042511d909f0eb2 rtmpdump-2.4_git20130304.tar.gz -37d433925cef893de38ad69250ae42ec148272e817d1ad8a4a12b608431fb35dbdf5687a524be6b65fa7a2a6b05146c0fbedaad0ebbd48248f5863ea817311ed akamai1.patch -8bfd526e8f53ff2505a56dbc5b1f9596ab838ebb996845b3d1005f0a0125e5e5775717dd1b1ea854a1f9fa5bb7608325fd972905b1b4c991d07880c38097b8c8 akamai2.patch" +md5sums="03c4c1fdfff2fc16f89c88097c2a132a rtmpdump-2.4_git20141231.tar.gz" +sha256sums="f2c7309a9c58c9da9c310c830c9fcb09f6ed999b074c585b4c127ad9ecba1b39 rtmpdump-2.4_git20141231.tar.gz" +sha512sums="3029e7e6079b8ae444c60dee3dcabf637570a51d26d5ca546603fa1cf4e3f2c9f2a8e721a14e5710b13bd746ba73004f2ce3d46b3388b52cf5775b522d8b1eb6 rtmpdump-2.4_git20141231.tar.gz" diff --git a/main/rtmpdump/akamai1.patch b/main/rtmpdump/akamai1.patch deleted file mode 100644 index 9aa26facbc..0000000000 --- a/main/rtmpdump/akamai1.patch +++ /dev/null @@ -1,28 +0,0 @@ -http://lists.mplayerhq.hu/pipermail/rtmpdump/2012-December/002251.html - -From: Björn Axelsson <bjorn.axelsson at intinor.se> - -This was broken in e42b5d09. This makes adobe auth against -akamai servers work again. ---- - librtmp/rtmp.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/librtmp/rtmp.c b/librtmp/rtmp.c -index b966710..d64a0bb 100644 ---- a/librtmp/rtmp.c -+++ b/librtmp/rtmp.c -@@ -2514,8 +2514,8 @@ PublisherAuth(RTMP *r, AVal *description) - #define RESPONSE_LEN 32 - #define CHALLENGE2_LEN 16 - #define SALTED2_LEN (32+8+8+8) --#define B64DIGEST_LEN 22 /* 16 byte digest => 22 b64 chars */ --#define B64INT_LEN 6 /* 4 byte int => 6 b64 chars */ -+#define B64DIGEST_LEN 24 /* 16 byte digest => 22 b64 chars + 2 chars padding */ -+#define B64INT_LEN 8 /* 4 byte int => 6 b64 chars + 2 chars padding */ - #define HEXHASH_LEN (2*MD5_DIGEST_LENGTH) - char response[RESPONSE_LEN]; - char challenge2[CHALLENGE2_LEN]; --- -1.7.9.4 - diff --git a/main/rtmpdump/akamai2.patch b/main/rtmpdump/akamai2.patch deleted file mode 100644 index a4fc4720ac..0000000000 --- a/main/rtmpdump/akamai2.patch +++ /dev/null @@ -1,28 +0,0 @@ -http://lists.mplayerhq.hu/pipermail/rtmpdump/2012-December/002252.html - -Some servers (akamai) only include a 'challenge' parameter, no -'opaque' parameter, while others (wowza) include both 'opaque' -and 'challenge'. If 'opaque' is provided, it should be used here, -otherwise 'challenge', but never both. - -After this patch, adobe auth works against both wowza and akamai -servers. ---- - librtmp/rtmp.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/librtmp/rtmp.c b/librtmp/rtmp.c -index d64a0bb..7f1c7ff 100644 ---- a/librtmp/rtmp.c -+++ b/librtmp/rtmp.c -@@ -2609,7 +2609,7 @@ PublisherAuth(RTMP *r, AVal *description) - /* response = base64enc(md5(hash1 + opaque + challenge2)) */ - if (opaque.av_len) - MD5_Update(&md5ctx, opaque.av_val, opaque.av_len); -- if (challenge.av_len) -+ else if (challenge.av_len) - MD5_Update(&md5ctx, challenge.av_val, challenge.av_len); - MD5_Update(&md5ctx, challenge2, B64INT_LEN); - MD5_Final(md5sum_val, &md5ctx); --- -1.7.9.4 |