From sunpoet@sunpoet.net  Sat Oct 19 16:25:41 2013
Return-Path: <sunpoet@sunpoet.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 16B85158;
	Sat, 19 Oct 2013 16:25:41 +0000 (UTC)
	(envelope-from sunpoet@sunpoet.net)
Received: from sunpoet.net (sunpoet.net [220.135.71.135])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id D6D2522C5;
	Sat, 19 Oct 2013 16:25:40 +0000 (UTC)
Received: by sunpoet.net (Postfix, from userid 1000)
	id 3F75B46BE; Sun, 20 Oct 2013 00:25:06 +0800 (CST)
Message-Id: <20131019162506.3F75B46BE@sunpoet.net>
Date: Sun, 20 Oct 2013 00:25:06 +0800 (CST)
From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: araujo@FreeBSD.org
Subject: [PATCH] www/youtube_dl: update to 2013.10.15
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         183103
>Category:       ports
>Synopsis:       [PATCH] www/youtube_dl: update to 2013.10.15
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sunpoet
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 19 16:30:00 UTC 2013
>Closed-Date:    Wed Nov 06 20:10:05 UTC 2013
>Last-Modified:  Wed Nov 06 20:10:05 UTC 2013
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 10.0-BETA1 amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 10.0-BETA1 FreeBSD 10.0-BETA1 #0 r256445: Tue Oct 15 04:48:04 CST
>Description:
- Update to 2013.10.15
- Convert to new options helper
- Support STAGEDIR

Port maintainer (araujo@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: update, diff: SVN)
>How-To-Repeat:
>Fix:

--- youtube_dl-2013.10.15.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 330904)
+++ Makefile	(working copy)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	youtube_dl
-PORTVERSION=	2013.09.24.2
-PORTREVISION=	1
+PORTVERSION=	2013.10.15
 CATEGORIES=	www
 MASTER_SITES=	http://youtube-dl.org/downloads/${PORTVERSION}/ \
 		http://ftp.de.netbsd.org/pub/unix/Linux/MIRROR.gentoo/distfiles/
@@ -32,32 +31,25 @@
 
 WRKSRC=		${WRKDIR}/youtube-dl
 
-.include <bsd.port.options.mk>
+BASH_PLIST_FILES=	etc/bash_completion.d/youtube-dl.sh
+RTMPDUMP_RUN_DEPENDS=	${LOCALBASE}/bin/rtmpdump:${PORTSDIR}/multimedia/rtmpdump
 
-.if ${PORT_OPTIONS:MRTMPDUMP}
-RUN_DEPENDS+=	rtmpdump:${PORTSDIR}/multimedia/rtmpdump
+# allow either multimedia/ffmpeg or multimedia/ffmpeg-devel
+.if exists(${LOCALBASE}/include/libavcodec/vda.h)
+FFMPEG_RUN_DEPENDS=	${LOCALBASE}/bin/ffprobe:${PORTSDIR}/multimedia/ffmpeg-devel
+.else
+FFMPEG_RUN_DEPENDS=	${LOCALBASE}/bin/ffprobe:${PORTSDIR}/multimedia/ffmpeg
 .endif
 
-.if ${PORT_OPTIONS:MBASH}
-PLIST_FILES+=	etc/bash_completion.d/youtube-dl.sh
-.endif
+.include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MFFMPEG}
-# allow either multimedia/ffmpeg or multimedia/ffmpeg-devel
-. if exists(${LOCALBASE}/include/libavcodec/vda.h)
-RUN_DEPENDS+=	ffprobe:${PORTSDIR}/multimedia/ffmpeg-devel
-. else
-RUN_DEPENDS+=	ffprobe:${PORTSDIR}/multimedia/ffmpeg
-. endif
-.endif
-
 post-extract:
 	@# remove tarball provided version, build our own
 	@${RM} -f ${WRKSRC}/youtube-dl
 
 do-install:
-	@${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${STAGEDIR}${PREFIX}/bin/youtube-dl
-	@${INSTALL_DATA} ${WRKSRC}/youtube-dl.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${STAGEDIR}${PREFIX}/bin/youtube-dl
+	${INSTALL_DATA} ${WRKSRC}/youtube-dl.1 ${STAGEDIR}${PREFIX}/man/man1/
 .if ${PORT_OPTIONS:MBASH}
 	${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
 	${INSTALL_DATA} ${WRKSRC}/youtube-dl.bash-completion \
@@ -64,9 +56,4 @@
 		${STAGEDIR}${PREFIX}/etc/bash_completion.d/youtube-dl.sh
 .endif
 
-.if ${PORT_OPTIONS:MFFMPEG}
-post-install:
-	@${CAT} ${PKGMESSAGE}
-.endif
-
 .include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo	(revision 330904)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (youtube-dl-2013.09.24.2.tar.gz) = 0ff095bd09f30c7c77758f6a74feaf163b88b06eefed5b865caedcf4623f7708
-SIZE (youtube-dl-2013.09.24.2.tar.gz) = 392769
+SHA256 (youtube-dl-2013.10.15.tar.gz) = f09a629f2d16f591413e9c1bcf62de3188792b638ae8bec005a0fa002404d717
+SIZE (youtube-dl-2013.10.15.tar.gz) = 1224060
--- youtube_dl-2013.10.15.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->araujo 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Oct 19 16:30:08 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183103 

From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To: bug-followup <bug-followup@freebsd.org>
Cc: Marcelo Araujo <araujo@freebsd.org>
Subject: Re: ports/183103: [PATCH] www/youtube_dl: update to 2013.10.15
Date: Sat, 26 Oct 2013 19:33:34 +0800

 --001a11c3dc58ea598804e9a33da2
 Content-Type: text/plain; charset=UTF-8
 
 New patch for youtube_dl 2013.10.23.2 is available at
 http://people.freebsd.org/~sunpoet/youtube_dl-2013.10.23.2.patch
 It contains the following changes:
 - Update to 2013.10.23.2
 - Update MASTER_SITES
 - Remove leading indefinite article from COMMENT
 - Convert to new options helper
 - Support STAGEDIR
 - Update pkg-message after multimedia/ffmpeg-devel removal
 - Update WWW
 
 --001a11c3dc58ea598804e9a33da2
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable
 
 <div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_extra"><div=
  class=3D"gmail_extra">New patch for youtube_dl 2013.10.23.2 is available a=
 t <a href=3D"http://people.freebsd.org/~sunpoet/youtube_dl-2013.10.23.2.pat=
 ch">http://people.freebsd.org/~sunpoet/youtube_dl-2013.10.23.2.patch</a></d=
 iv>
 
 <div class=3D"gmail_extra">It contains the following changes:</div><div cla=
 ss=3D"gmail_extra">- Update to 2013.10.23.2<br></div><div class=3D"gmail_ex=
 tra">- Update MASTER_SITES</div><div class=3D"gmail_extra">- Remove leading=
  indefinite article from COMMENT</div>
 
 <div class=3D"gmail_extra">- Convert to new options helper</div><div class=
 =3D"gmail_extra">- Support STAGEDIR</div><div class=3D"gmail_extra">- Updat=
 e pkg-message after multimedia/ffmpeg-devel removal</div><div class=3D"gmai=
 l_extra">
 
 - Update WWW</div></div></div></div>
 
 --001a11c3dc58ea598804e9a33da2--
Responsible-Changed-From-To: araujo->sunpoet 
Responsible-Changed-By: sunpoet 
Responsible-Changed-When: Wed Nov 6 19:35:43 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183103 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/183103: commit references a PR
Date: Wed,  6 Nov 2013 20:03:25 +0000 (UTC)

 Author: sunpoet
 Date: Wed Nov  6 20:03:16 2013
 New Revision: 333037
 URL: http://svnweb.freebsd.org/changeset/ports/333037
 
 Log:
   - Update to 2013.11.06
   - Update MASTER_SITES
   - Remove leading indefinite article from COMMENT
   - Convert to new options helper
   - Support STAGEDIR
   - Update pkg-message after multimedia/ffmpeg-devel removal
   - Update WWW
   
   PR:		ports/183103
   Submitted by:	sunpoet (myself)
   Approved by:	maintainer (timeout, 18 days)
 
 Modified:
   head/www/youtube_dl/Makefile
   head/www/youtube_dl/distinfo
   head/www/youtube_dl/files/patch-Makefile
   head/www/youtube_dl/pkg-descr
   head/www/youtube_dl/pkg-message   (contents, props changed)
 
 Modified: head/www/youtube_dl/Makefile
 ==============================================================================
 --- head/www/youtube_dl/Makefile	Wed Nov  6 19:59:15 2013	(r333036)
 +++ head/www/youtube_dl/Makefile	Wed Nov  6 20:03:16 2013	(r333037)
 @@ -1,15 +1,13 @@
  # $FreeBSD$
  
  PORTNAME=	youtube_dl
 -PORTVERSION=	2013.09.24.2
 -PORTREVISION=	1
 +PORTVERSION=	2013.11.06
  CATEGORIES=	www
 -MASTER_SITES=	http://youtube-dl.org/downloads/${PORTVERSION}/ \
 -		http://ftp.de.netbsd.org/pub/unix/Linux/MIRROR.gentoo/distfiles/
 +MASTER_SITES=	https://yt-dl.org/downloads/${PORTVERSION}/
  DISTNAME=	youtube-dl-${PORTVERSION}
  
  MAINTAINER=	araujo@FreeBSD.org
 -COMMENT=	A program for downloading videos from YouTube.com
 +COMMENT=	Program for downloading videos from YouTube.com
  
  LICENSE=	UNLICENSE
  LICENSE_NAME=	The Unlicense
 @@ -32,36 +30,23 @@ PLIST_FILES=	bin/youtube-dl \
  
  WRKSRC=		${WRKDIR}/youtube-dl
  
 -.include <bsd.port.options.mk>
 -
 -.if ${PORT_OPTIONS:MRTMPDUMP}
 -RUN_DEPENDS+=	rtmpdump:${PORTSDIR}/multimedia/rtmpdump
 -.endif
 -
 -.if ${PORT_OPTIONS:MBASH}
 -PLIST_FILES+=	etc/bash_completion.d/youtube-dl.sh
 -.endif
 +BASH_PLIST_FILES=	etc/bash_completion.d/youtube-dl.sh
 +FFMPEG_RUN_DEPENDS=	${LOCALBASE}/bin/ffprobe:${PORTSDIR}/multimedia/ffmpeg
 +RTMPDUMP_RUN_DEPENDS=	${LOCALBASE}/bin/rtmpdump:${PORTSDIR}/multimedia/rtmpdump
  
 -.if ${PORT_OPTIONS:MFFMPEG}
 -RUN_DEPENDS+=	ffprobe:${PORTSDIR}/multimedia/ffmpeg
 -.endif
 +.include <bsd.port.options.mk>
  
  post-extract:
  	@# remove tarball provided version, build our own
  	@${RM} -f ${WRKSRC}/youtube-dl
  
  do-install:
 -	@${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${STAGEDIR}${PREFIX}/bin/youtube-dl
 -	@${INSTALL_DATA} ${WRKSRC}/youtube-dl.1 ${STAGEDIR}${PREFIX}/man/man1
 +	${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${STAGEDIR}${PREFIX}/bin/youtube-dl
 +	${INSTALL_DATA} ${WRKSRC}/youtube-dl.1 ${STAGEDIR}${PREFIX}/man/man1/
  .if ${PORT_OPTIONS:MBASH}
  	${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
  	${INSTALL_DATA} ${WRKSRC}/youtube-dl.bash-completion \
  		${STAGEDIR}${PREFIX}/etc/bash_completion.d/youtube-dl.sh
  .endif
  
 -.if ${PORT_OPTIONS:MFFMPEG}
 -post-install:
 -	@${CAT} ${PKGMESSAGE}
 -.endif
 -
  .include <bsd.port.mk>
 
 Modified: head/www/youtube_dl/distinfo
 ==============================================================================
 --- head/www/youtube_dl/distinfo	Wed Nov  6 19:59:15 2013	(r333036)
 +++ head/www/youtube_dl/distinfo	Wed Nov  6 20:03:16 2013	(r333037)
 @@ -1,2 +1,2 @@
 -SHA256 (youtube-dl-2013.09.24.2.tar.gz) = 0ff095bd09f30c7c77758f6a74feaf163b88b06eefed5b865caedcf4623f7708
 -SIZE (youtube-dl-2013.09.24.2.tar.gz) = 392769
 +SHA256 (youtube-dl-2013.11.06.tar.gz) = 2cc981d150757272e5d739a098cbdd3165bdbad64832854e955e3ac918aa6631
 +SIZE (youtube-dl-2013.11.06.tar.gz) = 452887
 
 Modified: head/www/youtube_dl/files/patch-Makefile
 ==============================================================================
 --- head/www/youtube_dl/files/patch-Makefile	Wed Nov  6 19:59:15 2013	(r333036)
 +++ head/www/youtube_dl/files/patch-Makefile	Wed Nov  6 20:03:16 2013	(r333037)
 @@ -1,23 +1,21 @@
 ---- Makefile	2013-07-02 05:35:23.000000000 +0000
 -+++ Makefile.new	2013-06-14 23:10:06.000000000 +0000
 -@@ -9,19 +9,9 @@
 - PREFIX=/usr/local
 +--- Makefile.orig	2013-10-17 06:55:06.000000000 +0800
 ++++ Makefile	2013-10-26 18:28:59.588795031 +0800
 +@@ -10,17 +10,7 @@
   BINDIR=$(PREFIX)/bin
   MANDIR=$(PREFIX)/man
 -+SYSCONFDIR=/etc
   PYTHON=/usr/bin/env python
 - 
 +-
  -# set SYSCONFDIR to /etc if PREFIX=/usr or PREFIX=/usr/local
  -ifeq ($(PREFIX),/usr)
 --    SYSCONFDIR=/etc
 +-	SYSCONFDIR=/etc
  -else
 --    ifeq ($(PREFIX),/usr/local)
 --        SYSCONFDIR=/etc
 --    else
 --        SYSCONFDIR=$(PREFIX)/etc
 --    endif
 +-	ifeq ($(PREFIX),/usr/local)
 +-		SYSCONFDIR=/etc
 +-	else
 +-		SYSCONFDIR=$(PREFIX)/etc
 +-	endif
  -endif
 --
 ++SYSCONFDIR=/etc
 + 
   install: youtube-dl youtube-dl.1 youtube-dl.bash-completion
   	install -d $(DESTDIR)$(BINDIR)
 - 	install -m 755 youtube-dl $(DESTDIR)$(BINDIR)
 
 Modified: head/www/youtube_dl/pkg-descr
 ==============================================================================
 --- head/www/youtube_dl/pkg-descr	Wed Nov  6 19:59:15 2013	(r333036)
 +++ head/www/youtube_dl/pkg-descr	Wed Nov  6 20:03:16 2013	(r333037)
 @@ -2,4 +2,4 @@ youtube-dl is a small command-line progr
  from YouTube.com, metacafe.com, google video, photobucket videos,
  yahoo videos, dailymotion and others
  
 -WWW: http://rg3.github.com/youtube-dl/
 +WWW: http://rg3.github.io/youtube-dl/
 
 Modified: head/www/youtube_dl/pkg-message
 ==============================================================================
 --- head/www/youtube_dl/pkg-message	Wed Nov  6 19:59:15 2013	(r333036)
 +++ head/www/youtube_dl/pkg-message	Wed Nov  6 20:03:16 2013	(r333037)
 @@ -1,6 +1,6 @@
  ==============================================================================
  
 -If you want to use mp3 audio conversion please make sure multimedia/ffmpeg or
 -multimedia/ffmpeg-devel is built with the "LAME" option enabled.
 +If you want to use mp3 audio conversion please make sure multimedia/ffmpeg is
 +built with the "LAME" option enabled.
  
  ==============================================================================
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: sunpoet 
State-Changed-When: Wed Nov 6 20:10:04 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183103 
>Unformatted:
