From 01de41410e95056ec3b83d45a1f4c594118585a2 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 24 Mar 2009 00:50:48 +0000 Subject: [PATCH] This program is to download multimedia streaming files. Currently it supports following protocols. * mmst (Microsoft Media Server over TCP) * mmsh (MMS over HTTP) * http (Hyper Text Transfer Protocol) * real-rtsp (Real Time Streaming Protocol / Real/helix) * wms-rtsp (Real Time Streaming Protocol / WMServer) * ftp (File Transfer Protocol) WWW: http://msdl.sourceforge.net/ PR: 132946 Submitted by: Ashish SHUKLA --- multimedia/Makefile | 1 + multimedia/msdl/Makefile | 20 ++++++++++++++++++++ multimedia/msdl/distinfo | 3 +++ multimedia/msdl/files/patch-src-url.h | 11 +++++++++++ multimedia/msdl/pkg-descr | 11 +++++++++++ 5 files changed, 46 insertions(+) create mode 100644 multimedia/msdl/Makefile create mode 100644 multimedia/msdl/distinfo create mode 100644 multimedia/msdl/files/patch-src-url.h create mode 100644 multimedia/msdl/pkg-descr diff --git a/multimedia/Makefile b/multimedia/Makefile index 02617e414c41..b0bd0dea674f 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -180,6 +180,7 @@ SUBDIR += mplayer-skins SUBDIR += mplayerxp SUBDIR += mplex + SUBDIR += msdl SUBDIR += mythtv SUBDIR += mythtv-frontend SUBDIR += mythtv-themes diff --git a/multimedia/msdl/Makefile b/multimedia/msdl/Makefile new file mode 100644 index 000000000000..0ee28719caec --- /dev/null +++ b/multimedia/msdl/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: msdl +# Date created: 2009-03-23 +# Whom: Ashish Shukla +# +# $FreeBSD$ +# + +PORTNAME= msdl +PORTVERSION= 1.2.3 +CATEGORIES= multimedia +MASTER_SITES= SF + +MAINTAINER= wahjava@gmail.com +COMMENT= Streaming multimedia files downloader + +GNU_CONFIGURE= yes +PLIST_FILES= bin/msdl +MAN1= msdl.1 + +.include diff --git a/multimedia/msdl/distinfo b/multimedia/msdl/distinfo new file mode 100644 index 000000000000..5ffe005f6d7a --- /dev/null +++ b/multimedia/msdl/distinfo @@ -0,0 +1,3 @@ +MD5 (msdl-1.2.3.tar.gz) = e76cafc8cd5594954faa879b68771438 +SHA256 (msdl-1.2.3.tar.gz) = 63f5e252ab2143000f41fd1a973dbab8da78d97ce37ea01ff9ae64934b95ba35 +SIZE (msdl-1.2.3.tar.gz) = 195425 diff --git a/multimedia/msdl/files/patch-src-url.h b/multimedia/msdl/files/patch-src-url.h new file mode 100644 index 000000000000..75285619e6e3 --- /dev/null +++ b/multimedia/msdl/files/patch-src-url.h @@ -0,0 +1,11 @@ +--- src/url.h.orig 2008-08-29 15:51:58.000000000 +0400 ++++ src/url.h 2009-03-23 03:49:40.000000000 +0300 +@@ -60,7 +60,7 @@ + struct url_t *new_url_t(const char *url); + void free_url_t(struct url_t *u); + void copy_url_t(struct url_t *url,struct url_t *srcurl); +-inline int is_url_valid_char(int c); ++int is_url_valid_char(int c); + void url_unescape_string(char *dst,char *src); + + diff --git a/multimedia/msdl/pkg-descr b/multimedia/msdl/pkg-descr new file mode 100644 index 000000000000..3ac593c5f3ee --- /dev/null +++ b/multimedia/msdl/pkg-descr @@ -0,0 +1,11 @@ +This program is to download multimedia streaming files. +Currently it supports following protocols. + +* mmst (Microsoft Media Server over TCP) +* mmsh (MMS over HTTP) +* http (Hyper Text Transfer Protocol) +* real-rtsp (Real Time Streaming Protocol / Real/helix) +* wms-rtsp (Real Time Streaming Protocol / WMServer) +* ftp (File Transfer Protocol) + +WWW: http://msdl.sourceforge.net/