From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 11 07:20:03 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D7AC1065673 for ; Wed, 11 Jun 2008 07:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 14B478FC13 for ; Wed, 11 Jun 2008 07:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5B7K2F0079943 for ; Wed, 11 Jun 2008 07:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5B7K2bV079942; Wed, 11 Jun 2008 07:20:02 GMT (envelope-from gnats) Resent-Date: Wed, 11 Jun 2008 07:20:02 GMT Resent-Message-Id: <200806110720.m5B7K2bV079942@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pankov Pavel Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC013106567A for ; Wed, 11 Jun 2008 07:19:34 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C4C9B8FC20 for ; Wed, 11 Jun 2008 07:19:34 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m5B7JYsN095913 for ; Wed, 11 Jun 2008 07:19:34 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m5B7JYat095912; Wed, 11 Jun 2008 07:19:34 GMT (envelope-from nobody) Message-Id: <200806110719.m5B7JYat095912@www.freebsd.org> Date: Wed, 11 Jun 2008 07:19:34 GMT From: Pankov Pavel To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/124467: [patch][maintainer update]Update port: www/youtube_dl to 2008.06.08 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2008 07:20:03 -0000 >Number: 124467 >Category: ports >Synopsis: [patch][maintainer update]Update port: www/youtube_dl to 2008.06.08 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jun 11 07:20:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Pankov Pavel >Release: 6.3-STABLE >Organization: MPEI >Environment: FreeBSD vds.pankov.pp.ru 6.3-STABLE FreeBSD 6.3-STABLE #5: Wed May 14 09:14:15 CEST 2008 root@dione.ispsystem.net:/root/src/sys/i386/compile/ISPSYSTEM_PAED i386 >Description: - Update www/youtube_dl to 2008.06.08 >How-To-Repeat: >Fix: Apply the attached patch. Patch attached with submission follows: Index: www/youtube_dl/Makefile =================================================================== RCS file: /home/ncvs/ports/www/youtube_dl/Makefile,v retrieving revision 1.22 diff -u -r1.22 Makefile --- www/youtube_dl/Makefile 22 Apr 2008 00:44:54 -0000 1.22 +++ www/youtube_dl/Makefile 9 Jun 2008 05:49:18 -0000 @@ -6,7 +6,7 @@ # PORTNAME= youtube_dl -PORTVERSION= 2008.04.20 +PORTVERSION= 2008.06.08 CATEGORIES= www MASTER_SITES= http://www.arrakis.es/~rggi3/youtube-dl/ DISTNAME= youtube-dl-${PORTVERSION} Index: www/youtube_dl/distinfo =================================================================== RCS file: /home/ncvs/ports/www/youtube_dl/distinfo,v retrieving revision 1.19 diff -u -r1.19 distinfo --- www/youtube_dl/distinfo 22 Apr 2008 00:44:54 -0000 1.19 +++ www/youtube_dl/distinfo 9 Jun 2008 05:49:18 -0000 @@ -1,3 +1,3 @@ -MD5 (youtube-dl-2008.04.20) = f79194714ad3d4913fc01417f4c71195 -SHA256 (youtube-dl-2008.04.20) = 8919e38ca19ba3f49dd773ad4d0ac96dd018b44a565b9a4aa818cfa6fecede1a -SIZE (youtube-dl-2008.04.20) = 16497 +MD5 (youtube-dl-2008.06.08) = f74dad01219537fdb59c69b915f1d7ee +SHA256 (youtube-dl-2008.06.08) = 3bebe8503ca41db8073a8a15a5773a8815e764a84f51f3f27c720a8c466c1c5a +SIZE (youtube-dl-2008.06.08) = 16488 Index: www/youtube_dl/files/conv2avi.patch =================================================================== RCS file: /home/ncvs/ports/www/youtube_dl/files/conv2avi.patch,v retrieving revision 1.5 diff -u -r1.5 conv2avi.patch --- www/youtube_dl/files/conv2avi.patch 26 Mar 2008 13:04:05 -0000 1.5 +++ www/youtube_dl/files/conv2avi.patch 9 Jun 2008 05:49:18 -0000 @@ -1,24 +1,21 @@ ---- youtube-dl.orig Wed Jan 30 14:18:50 2008 -+++ youtube-dl Thu Jan 31 21:36:49 2008 -@@ -208,6 +208,7 @@ +--- youtube-dl.orig 2008-06-09 09:36:33.000000000 +0400 ++++ youtube-dl 2008-06-09 09:43:10.000000000 +0400 +@@ -216,6 +216,7 @@ cmdl_parser.add_option('-t', '--title', action='store_true', dest='use_title', help='use title in file name') cmdl_parser.add_option('-l', '--literal', action='store_true', dest='use_literal', help='use literal title in file name') cmdl_parser.add_option('-n', '--netrc', action='store_true', dest='use_netrc', help='use .netrc authentication data') +cmdl_parser.add_option('-a', '--avi', action='store_true', dest='use_avi', help='convert file to MPEG4 format') cmdl_parser.add_option('-g', '--get-url', action='store_true', dest='get_url', help='print final video URL only') cmdl_parser.add_option('-2', '--title-too', action='store_true', dest='get_title', help='used with -g, print title too') - (cmdl_opts, cmdl_args) = cmdl_parser.parse_args() -@@ -382,6 +383,26 @@ - - except KeyboardInterrupt: - sys.exit('\n') + cmdl_parser.add_option('-f', '--format', dest='video_format', metavar='FORMAT', help='append &fmt=FORMAT to the URL') +@@ -420,6 +421,22 @@ + + except KeyboardInterrupt: + sys.exit('\n') +- + -+# Convert to avi if needed -+if cmdl_opts.use_avi and not cmdl_opts.best_quality: -+ if cmdl_opts.outfile is None: -+ avi_filename = '%s.avi' % video_filename[:-4] -+ else: -+ avi_filename = '%s.avi' % video_filename ++ # Convert to avi if needed ++ avi_filename = '%s.avi' % video_filename + + try: + os.system('%%CONV2AVI_CMD%% "%s" "%s" > %s 2> %s' % (video_filename, avi_filename, os.path.devnull, os.path.devnull)) @@ -32,6 +29,6 @@ + os.unlink(video_filename) + except OSError: + sys.exit('Error: unable to remove downloaded file.\n') - ++ # Finish sys.exit() >Release-Note: >Audit-Trail: >Unformatted: