update to 1.6 (rolling in several patches), and new MASTER_SITES.

This commit is contained in:
sthen 2009-05-26 14:13:22 +00:00
parent 8d15ccc688
commit 8b8ac56fe5
5 changed files with 10 additions and 56 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.6 2009/05/22 23:51:33 sthen Exp $
# $OpenBSD: Makefile,v 1.7 2009/05/26 14:13:22 sthen Exp $
COMMENT = dump RTMP media streams
DISTNAME = rtmpdump-v1.5
PKGNAME = ${DISTNAME:S/-v/-/}p1
DISTNAME = rtmpdump-v1.6
PKGNAME = ${DISTNAME:S/-v/-/}
CATEGORIES = net
@ -15,8 +15,8 @@ PERMIT_DISTFILES_FTP = Yes
WANTLIB = c m stdc++ crypto ssl
MASTER_SITES = http://spacehopper.org/mirrors/ \
${MASTER_SITE_SOURCEFORGE:=rtmpdump/}
MASTER_SITES = http://lkcl.net/rtmp/ \
http://downloads.sehe.nl/lkcl.net/rtmp/
WRKDIST = ${WRKDIR}/rtmpdump

View File

@ -1,5 +1,5 @@
MD5 (rtmpdump-v1.5.tar.gz) = nKP6rknhG+G0vip8vdUQJQ==
RMD160 (rtmpdump-v1.5.tar.gz) = YkJmTK35dJ+sKp6SiagvKpE/lVg=
SHA1 (rtmpdump-v1.5.tar.gz) = sm6/sLAeM8VwUKQyUDCNV/ebGVE=
SHA256 (rtmpdump-v1.5.tar.gz) = xiWQb8AqE0IgP379iOfqSLH27u2WmMnyR/r3hue59Gc=
SIZE (rtmpdump-v1.5.tar.gz) = 415559
MD5 (rtmpdump-v1.6.tar.gz) = j2y8n8PRATAhOtmgh+oE9w==
RMD160 (rtmpdump-v1.6.tar.gz) = qvwhNcr1D0ovBI3aaQdHlMUeP+E=
SHA1 (rtmpdump-v1.6.tar.gz) = SovwwBknbwJecD6zlZHzbjVbsXQ=
SHA256 (rtmpdump-v1.6.tar.gz) = qZ5prMppwAraXYNc/8g3AZE9XQXUZevvrfsDQICyk2Q=
SIZE (rtmpdump-v1.6.tar.gz) = 60403

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-bytes_cpp,v 1.3 2009/04/29 01:39:16 sthen Exp $
- unbreak strict alignment big-endian
--- bytes.cpp.orig Fri Mar 20 11:32:48 2009
+++ bytes.cpp Wed Apr 29 01:45:47 2009
@@ -58,7 +58,9 @@ double ReadNumber(const char *data)
{
#if __FLOAT_WORD_ORDER == __BYTE_ORDER
#if __BYTE_ORDER == __BIG_ENDIAN
- return *((double *)data);
+ double val;
+ memcpy(&val, data, sizeof(double));
+ return val;
#elif __BYTE_ORDER == __LITTLE_ENDIAN
uint64_t in = *((uint64_t*)data);
uint64_t res = __bswap_64(in);

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-handshake_cpp,v 1.1 2009/04/29 00:51:23 sthen Exp $
--- handshake.cpp.orig Tue Apr 28 12:09:26 2009
+++ handshake.cpp Tue Apr 28 12:09:39 2009
@@ -210,7 +210,7 @@ unsigned int GetDigestOffset1(char *handshake, unsigne
void HMACsha256(const char *message, size_t messageLen, const char *key, size_t keylen, char *digest)
{
- size_t digestLen;
+ unsigned int digestLen;
HMAC_CTX ctx;
HMAC_CTX_init(&ctx);

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-rtmp_h,v 1.2 2009/04/29 00:51:23 sthen Exp $
--- rtmp.h.orig Sun Apr 26 11:46:17 2009
+++ rtmp.h Tue Apr 28 11:57:42 2009
@@ -28,11 +28,11 @@
#ifdef WIN32
#include <winsock.h>
#else
-//#include <sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <arpa/inet.h>
-//#include <unistd.h>
+#include <unistd.h>
#include <netinet/in.h>
#include <errno.h>
#endif