diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-03-07 07:26:38 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-03-07 07:26:38 +0000 |
commit | 184c01e87839dbcb03f0b4c852797436077fd8f7 (patch) | |
tree | 6d114fd2138bab3ecbe9916b77387e9a8519436b /multimedia/mmsclient | |
parent | 3b933cea053139f95d0b9b888c53064a833fc46c (diff) | |
download | ports-184c01e87839dbcb03f0b4c852797436077fd8f7.tar.gz ports-184c01e87839dbcb03f0b4c852797436077fd8f7.zip |
Notes
Diffstat (limited to 'multimedia/mmsclient')
-rw-r--r-- | multimedia/mmsclient/Makefile | 24 | ||||
-rw-r--r-- | multimedia/mmsclient/distinfo | 1 | ||||
-rw-r--r-- | multimedia/mmsclient/files/mmsclient.1 | 48 | ||||
-rw-r--r-- | multimedia/mmsclient/files/patch-client.c | 41 | ||||
-rw-r--r-- | multimedia/mmsclient/files/patch-configure | 9 | ||||
-rw-r--r-- | multimedia/mmsclient/pkg-comment | 1 | ||||
-rw-r--r-- | multimedia/mmsclient/pkg-descr | 6 | ||||
-rw-r--r-- | multimedia/mmsclient/pkg-plist | 1 |
8 files changed, 131 insertions, 0 deletions
diff --git a/multimedia/mmsclient/Makefile b/multimedia/mmsclient/Makefile new file mode 100644 index 000000000000..7e3799165cff --- /dev/null +++ b/multimedia/mmsclient/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: mmsclient +# Date created: 4 March 2002 +# Whom: danfe@regency.nsu.ru +# +# $FreeBSD$ +# + +PORTNAME= mmsclient +PORTVERSION= 0.0.3 +CATEGORIES= graphics audio +MASTER_SITES= http://www.geocities.com/majormms/ \ + ftp://danfe.rimusa.org/tmp/ \ + http://inet.ssc.nsu.ru/~danfe/ +DISTNAME= mms_client-${PORTVERSION} + +MAINTAINER= danfe@regency.nsu.ru + +GNU_CONFIGURE= yes +MAN1= mmsclient.1 + +post-install: + @${INSTALL_MAN} ${FILESDIR}/mmsclient.1 ${MANPREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/multimedia/mmsclient/distinfo b/multimedia/mmsclient/distinfo new file mode 100644 index 000000000000..2f9f143db846 --- /dev/null +++ b/multimedia/mmsclient/distinfo @@ -0,0 +1 @@ +MD5 (mms_client-0.0.3.tar.gz) = c91171a0bbbfb94290d362e907432787 diff --git a/multimedia/mmsclient/files/mmsclient.1 b/multimedia/mmsclient/files/mmsclient.1 new file mode 100644 index 000000000000..89aca0fbb422 --- /dev/null +++ b/multimedia/mmsclient/files/mmsclient.1 @@ -0,0 +1,48 @@ +.\" +.\"man-page for mmsclient +.\" +.\"Derived from the man-page for axel download manager, which was originally +.\"based on example in the wonderful book called Beginning Linux Programming, +.\"written by Richard Stone and Neil Matthew. +.\" +.TH MMSCLIENT 1 + +.SH NAME +\fBmmsclient\fP \- download Microsoft Media streams + +.SH SYNOPSIS +.B mmsclient +\fIurl1\fP + +.SH DESCRIPTION +mmsclient is a simple utility that allows you to download Internet streams +using Microsoft's MMS protocol, e.g. CNN video and similar. Downloaded +stream can be watched/listened with any software that understands Microsoft +Media format, like xine with mms-plugin. + +.SH OPTIONS +.PP +Only one argument is required, the URL to the stream you want to download. +Don't let to confuse yourself by verbose output, once it's finished, you'll +find the stream .asf file in the current directory. + +.SH CREDITS +This software would never have been possible without the help from +http://get.to/sdp. + +.SH EXAMPLES +.nf +mmsclient mms://netshow.msn.com/msnbc8 +.fi + +This will attempt to download Microsoft Media stream and save it as +`msnbc8' file in the current directory. + +.SH BUGS +.PP +Lacks some useful command line options, not to mention probable bugs. + +.SH AUTHORS +mmsclient was written by "Major MMS" (http://www.geocities.com/majormms/). + +The manual page was written by Alexey Dokuchaev (danfe@regency.nsu.ru). diff --git a/multimedia/mmsclient/files/patch-client.c b/multimedia/mmsclient/files/patch-client.c new file mode 100644 index 000000000000..68904d616083 --- /dev/null +++ b/multimedia/mmsclient/files/patch-client.c @@ -0,0 +1,41 @@ +--- client.c.orig Sat Dec 29 09:40:48 2001 ++++ client.c Mon Mar 4 21:42:05 2002 +@@ -277,12 +277,12 @@ + int packet_len, command; + char data[BUF_SIZE]; + +- if (!get_data (s, &packet_len, 4)) { ++ if (!get_data (s, (char *)&packet_len, 4)) { + printf ("packet_len read failed\n"); + return 0; + } + +- packet_len = get_32 (&packet_len, 0) + 4; ++ packet_len = get_32 ((unsigned char *)&packet_len, 0) + 4; + + printf ("command packet detected, len=%d\n", + packet_len); +@@ -308,7 +308,7 @@ + int interp_header (uint8_t *header, int header_len) { + + int i; +- int packet_length; ++ int packet_length = 0; + + /* + * parse header +@@ -416,12 +416,12 @@ + + int packet_len, command; + +- if (!get_data (s, &packet_len, 4)) { ++ if (!get_data (s, (char *)&packet_len, 4)) { + printf ("packet_len read failed\n"); + return 0; + } + +- packet_len = get_32 (&packet_len, 0) + 4; ++ packet_len = get_32 ((unsigned char *)&packet_len, 0) + 4; + + printf ("command packet detected, len=%d\n", + packet_len); diff --git a/multimedia/mmsclient/files/patch-configure b/multimedia/mmsclient/files/patch-configure new file mode 100644 index 000000000000..9cd2ccf36857 --- /dev/null +++ b/multimedia/mmsclient/files/patch-configure @@ -0,0 +1,9 @@ +--- configure.orig Mon Mar 4 21:23:59 2002 ++++ configure Mon Mar 4 21:24:40 2002 +@@ -1649,7 +1649,6 @@ + fi + + +-dbl + + CFLAGS="$CFLAGS -Wall" diff --git a/multimedia/mmsclient/pkg-comment b/multimedia/mmsclient/pkg-comment new file mode 100644 index 000000000000..4ad4839f883e --- /dev/null +++ b/multimedia/mmsclient/pkg-comment @@ -0,0 +1 @@ +Download Microsoft Media streams diff --git a/multimedia/mmsclient/pkg-descr b/multimedia/mmsclient/pkg-descr new file mode 100644 index 000000000000..9dba2109f6b7 --- /dev/null +++ b/multimedia/mmsclient/pkg-descr @@ -0,0 +1,6 @@ +mmsclient allows you to download Internet streams using Microsoft's +MMS protocol, e.g. CNN video and similar. Downloaded stream can +be watched/listened with any software that understands Microsoft +Media format, like xine with mms-plugin. + +WWW: http://www.geocities.com/majormms/ diff --git a/multimedia/mmsclient/pkg-plist b/multimedia/mmsclient/pkg-plist new file mode 100644 index 000000000000..ce01cf29a40e --- /dev/null +++ b/multimedia/mmsclient/pkg-plist @@ -0,0 +1 @@ +bin/mmsclient |