Bug 101912 - New port: www/youtube_dl A program for downloading videos from YouTube.com
Summary: New port: www/youtube_dl A program for downloading videos from YouTube.com
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ion-Mihai "IOnut" Tetcu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-12 11:40 UTC by Pankov Pavel
Modified: 2006-08-16 13:51 UTC (History)
0 users

See Also:


Attachments
file.shar (2.51 KB, text/plain)
2006-08-12 11:40 UTC, Pankov Pavel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pankov Pavel 2006-08-12 11:40:16 UTC
youtube-dl is a small command-line program for downloading videos
from YouTube.com.

WWW: http://www.arrakis.es/~rggi3/youtube-dl/
Comment 1 Roberto Lima 2006-08-12 19:57:08 UTC
[root@angelus /usr/ports] sh a
c - www/youtube_dl
x - www/youtube_dl/pkg-descr
x - www/youtube_dl/Makefile
x - www/youtube_dl/distinfo
c - www/youtube_dl/files
x - www/youtube_dl/files/patch-youtube-dl
[root@angelus /usr/ports] cd www/youtube_dl/
[root@angelus /usr/ports/www/youtube_dl] ls
Makefile  distinfo  files/  pkg-descr
[root@angelus /usr/ports/www/youtube_dl] make all
"Makefile", line 26: Need an operator
"Makefile", line 29: Need an operator
"Makefile", line 32: Need an operator
make: fatal errors encountered -- cannot continue
[root@angelus /usr/ports/www/youtube_dl]

How to fix this?
Thanks,
Roberto.
Comment 2 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-08-15 14:57:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->itetcu

I'll take it.
Comment 3 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-08-15 15:01:25 UTC
State Changed
From-To: open->feedback

1. All tabs where convered to spaces, I fixed this. 

2.  => Attempting to fetch from 
http://www.arrakis.es/~rggi3/youtube-dl/.  looking up www.arrakis.es 
connecting to www.arrakis.es:80 requesting 
http://www.arrakis.es/~rggi3/youtube-dl/youtube-dl fetch: 
http://www.arrakis.es/~rggi3/youtube-dl/youtube-dl: size mismatch: 
expected 9673, actual 9242
Comment 4 Pankov Pavel 2006-08-15 19:44:19 UTC
> 1. All tabs where convered to spaces, I fixed this.
Thanks!

>2.  => Attempting to fetch from
>http://www.arrakis.es/~rggi3/youtube-dl/.  looking up www.arrakis.es
connecting to www.arrakis.es:80 requesting
http://www.arrakis.es/~rggi3/youtube-dl/youtube-dl fetch:
>http://www.arrakis.es/~rggi3/youtube-dl/youtube-dl: size mismatch:
>expected 9673, actual 9242
Sorry. Here is the diff (for actual files, not for shar):
diff -ruN youtube_dl/Makefile youtube_dl-new/Makefile
--- youtube_dl/Makefile	Tue Aug 15 22:37:24 2006
+++ youtube_dl-new/Makefile	Tue Aug 15 22:26:53 2006
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	youtube_dl
-PORTVERSION=	2006.08.11
+PORTVERSION=	2006.08.13
 CATEGORIES=	www
 MASTER_SITES=	http://www.arrakis.es/~rggi3/youtube-dl/
-DISTFILES=	youtube-dl
+DISTFILES=	youtube-dl-${PORTVERSION}
 EXTRACT_ONLY=
 
 MAINTAINER=	pankov_p@mail.ru
@@ -22,10 +22,8 @@
 
 PLIST_FILES=	bin/youtube-dl
 
-.include <bsd.port.pre.mk>
-
 post-extract:
-	@${CP} ${DISTDIR}/youtube-dl ${WRKSRC}/youtube-dl
+	@${CP} ${DISTDIR}/youtube-dl-${PORTVERSION} ${WRKSRC}/youtube-dl
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|g'
${WRKSRC}/youtube-dl
@@ -33,4 +31,4 @@
 do-install:
 	@${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${TARGETDIR}/bin/youtube-dl
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN youtube_dl/distinfo youtube_dl-new/distinfo
--- youtube_dl/distinfo	Tue Aug 15 22:37:25 2006
+++ youtube_dl-new/distinfo	Tue Aug 15 22:27:45 2006
@@ -1,3 +1,3 @@
-MD5 (youtube-dl) = faae21b5ffaa31a6ee5f06b77226d4ed
-SHA256 (youtube-dl) =
1d66a2ace674cec775cc58266343fca0b0729b3c0b5b1d6cbeaa4f6e3b5f9139
-SIZE (youtube-dl) = 9673
+MD5 (youtube-dl-2006.08.13) = 383d8aa4f54127c62a0e4d898f77dbff
+SHA256 (youtube-dl-2006.08.13) =
15c1d75183383693d93010767c2baffc8922146fd0939629ef6d2853ca1ab274
+SIZE (youtube-dl-2006.08.13) = 9843
Comment 5 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-08-16 13:51:28 UTC
State Changed
From-To: feedback->closed

New port added. Thanks!