FreeBSD Bugzilla – Attachment 111225 Details for
Bug 152452
Update port: www/youtube_dl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
patch (text/plain), 2.60 KB, created by
Jamie Jones
on 2010-11-21 16:40:08 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Jamie Jones
Created:
2010-11-21 16:40:08 UTC
Size:
2.60 KB
patch
obsolete
>--- www/youtube_dl/Makefile.orig 2010-11-11 23:23:28.000000000 +0000 >+++ www/youtube_dl/Makefile 2010-11-21 16:09:50.000000000 +0000 >@@ -6,9 +6,9 @@ > # > > PORTNAME= youtube_dl >-PORTVERSION= 2010.10.24 >+PORTVERSION= 2010.11.19 > CATEGORIES= www >-MASTER_SITES= http://bitbucket.org/rg3/youtube-dl/raw/${PORTVERSION}/ >+MASTER_SITES= https://github.com/rg3/youtube-dl/raw/${PORTVERSION}/ > DISTNAME= youtube-dl > EXTRACT_SUFX= # empty > DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} >@@ -23,6 +23,14 @@ > > PLIST_FILES= bin/youtube-dl > >+OPTIONS= RTMPDUMP "Use RTMPDUMP to download rtmp video streams" on >+ >+.include <bsd.port.options.mk> >+ >+.if defined(WITH_RTMPDUMP) >+RUN_DEPENDS+= rtmpdump:${PORTSDIR}/multimedia/rtmpdump >+.endif >+ > post-extract: > @${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}/youtube-dl > >--- www/youtube_dl/distinfo.orig 2010-11-11 23:23:28.000000000 +0000 >+++ www/youtube_dl/distinfo 2010-11-21 15:46:30.000000000 +0000 >@@ -1,2 +1,2 @@ >-SHA256 (youtube_dl/2010.10.24/youtube-dl) = 1ec91cd1d791c62777724fb650fde3d6da1ad5c86b4f46ec0368759ce7a7a381 >-SIZE (youtube_dl/2010.10.24/youtube-dl) = 82350 >+SHA256 (youtube_dl/2010.11.19/youtube-dl) = 016d9559610e2043ba140de41ad69580dc5510dc9001df7614e1d38d87c40e25 >+SIZE (youtube_dl/2010.11.19/youtube-dl) = 84216 >--- www/youtube_dl/pkg-descr.orig 2009-05-04 14:27:09.000000000 +0100 >+++ www/youtube_dl/pkg-descr 2010-11-21 15:46:30.000000000 +0000 >@@ -1,4 +1,5 @@ > youtube-dl is a small command-line program for downloading videos >-from YouTube.com. >+from YouTube.com, metacafe.com, google video, photobucket videos, >+yahoo videos, dailymotion and others > >-WWW: http://bitbucket.org/rg3/youtube-dl/ >+WWW: http://rg3.github.com/youtube-dl/ >--- www/youtube_dl/files/patch-youtube-dl.orig 2010-11-21 16:32:30.000000000 +0000 >+++ www/youtube_dl/files/patch-youtube-dl 2010-11-21 16:28:54.000000000 +0000 >@@ -0,0 +1,11 @@ >+--- youtube-dl.orig 2010-11-21 16:27:42.000000000 +0000 >++++ youtube-dl 2010-11-21 16:28:42.000000000 +0000 >+@@ -509,7 +509,7 @@ >+ # Download using rtmpdump. rtmpdump returns exit code 2 when >+ # the connection was interrumpted and resuming appears to be >+ # possible. This is part of rtmpdump's normal usage, AFAIK. >+- basic_args = ['rtmpdump', '-q'] + [[], ['-W', player_url]][player_url is not None] + ['-r', url, '-o', filename] >++ basic_args = ['rtmpdump'] + [[], ['-q']][self.params.get('quiet', False)] + [[], ['-W', player_url]][player_url is not None] + ['-r', url, '-o', filename] >+ retval = subprocess.call(basic_args + [[], ['-e', '-k', '1']][self.params.get('continuedl', False)]) >+ while retval == 2 or retval == 1: >+ prevsize = os.path.getsize(filename)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 152452
: 111225