Initial commit, ok by landry@

This commit is contained in:
uaa 2019-01-05 23:06:38 +00:00
parent d911e6e8aa
commit 1b0a1b1ad5
6 changed files with 56 additions and 0 deletions

23
net/msdl/Makefile Normal file
View File

@ -0,0 +1,23 @@
# $OpenBSD: Makefile,v 1.1 2019/01/05 23:06:38 uaa Exp $
COMMENT = download client for rtsp, mms and mmsh
V = 1.2.7
DISTNAME = msdl-$V-r2
PKGNAME = ${DISTNAME:S/-r/pl/}
CATEGORIES = net
HOMEPAGE = http://msdl.sourceforge.net/
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = c
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=msdl/}
CONFIGURE_STYLE = gnu
NO_TEST = Yes
.include <bsd.port.mk>

2
net/msdl/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (msdl-1.2.7-r2.tar.gz) = Apfoe6/KuIVJG0T3FHb11b/GSFV+fU7zaWHUTdQwo6E=
SIZE (msdl-1.2.7-r2.tar.gz) = 207456

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_url_c,v 1.1 2019/01/05 23:06:38 uaa Exp $
Index: src/url.c
--- src/url.c.orig
+++ src/url.c
@@ -266,7 +266,7 @@ void url_unescape_string(char *dst,char *src)
/*
* return true if 'c' is valid url character
*/
-inline int is_url_valid_char(int c)
+int is_url_valid_char(int c)
{
return (isalpha(c) ||
isdigit(c) ||

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_url_h,v 1.1 2019/01/05 23:06:38 uaa Exp $
Index: src/url.h
--- src/url.h.orig
+++ src/url.h
@@ -60,7 +60,7 @@ struct url_t {
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);

2
net/msdl/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
msdl is a multi-protocol downloader for various streaming protocols, such as
mms/mmsh/wms-rtsp/real-rtsp/ftp/http.

3
net/msdl/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1 2019/01/05 23:06:38 uaa Exp $
@bin bin/msdl
@man man/man1/msdl.1