Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jun 2009 03:15:36 -1000
From:      parv@pair.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        multimedia@FreeBSD.org, parv@pair.com
Subject:   ports/135313: (patch) Update multimedia/podcatcher to 3.1.4 (Sep 2008)
Message-ID:  <20090606131536.GA23360@holstein.holy.cow>
Resent-Message-ID: <200906061330.n56DU3mk065252@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         135313
>Category:       ports
>Synopsis:       (patch) Update multimedia/podcatcher to 3.1.4 (Sep 2008)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 06 13:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     parv
>Release:        FreeBSD 6.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD holstein.holy.cow 6.4-STABLE FreeBSD 6.4-STABLE #2: Fri Apr 24 04:40:41 HST 2009 root@holstein.holy.cow:/misc/work/obj-6/misc/src-6/sys/T61-SMP i386


>Description:

(I will be out of touch until Jun 13, 2009.)


Update podcatcher to 3.1.4, Sep 20, 2008 release.  Read ..

  http://podcatcher.rubyforge.org/


...for details of changes.  Main hightlight is that a cutoff past date can be
specified via new option "--horizon" (added in 3.0.0, about 2 years ago) ...

  #  Don't fetch anything before Jul 22, 2007.
  podcatcher --horizon 2007.07.22 ...

  #  Don't fetch anything before Jul 1, 2007.
  podcatcher --horizon 2007.07 ...

  #  Don't fetch anything before Jan 1, 2007.
  podcatcher --horizon 2007 ...


Other two new options allows to select based on language (e.g. English, Hindi,
etc.) via "--language" option; and to directly download the actual contents on a
device via "--cachedir" option.

  podcatcher  \
    --horizon 2009.06.01  \
    --language en,hi  \
    --cachedir /media/iaudio7/MUSIC/Podcast  \
    --dir ~/audio/podcatcher  \
    ...


>How-To-Repeat:


>Fix:

diff -uNr podcatcher.old/Makefile podcatcher/Makefile
--- podcatcher.old/Makefile	2007-09-29 21:59:27.000000000 -1000
+++ podcatcher/Makefile	2009-06-06 02:33:32.000000000 -1000
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	podcatcher
-PORTVERSION=	2.0.1
+PORTVERSION=	3.1.4
 CATEGORIES=	multimedia ruby
 MASTER_SITES=	${MASTER_SITE_RUBYFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -19,9 +19,22 @@
 WRKSRC=		${WRKDIR}/${PORTNAME}
 NO_BUILD=	yes
 
-PLIST_FILES=	bin/podcatcher
+PLIST_FILES=	bin/podcatcher \
+		${EXAMPLESDIR_REL}/arguments.txt \
+		${EXAMPLESDIR_REL}/options.yaml \
+		${EXAMPLESDIR_REL}/subscriptions.pcast \
+		${EXAMPLESDIR_REL}/subscriptions.opml
+
+PLIST_DIRS=	${EXAMPLESDIR_REL}
 
 do-install:
-	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	@${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
+
+post-install:
+	@${MKDIR}	${EXAMPLESDIR} \
+	&& \
+	( cd ${WRKSRC}/demo \
+		&& ${COPYTREE_SHARE} \* ${EXAMPLESDIR} \
+	)
 
 .include <bsd.port.mk>
diff -uNr podcatcher.old/distinfo podcatcher/distinfo
--- podcatcher.old/distinfo	2007-09-29 21:59:27.000000000 -1000
+++ podcatcher/distinfo	2009-06-06 01:18:13.000000000 -1000
@@ -1,3 +1,3 @@
-MD5 (podcatcher-2.0.1.tar.gz) = fcb656d5b1ad0942b2e636e9a92ab54a
-SHA256 (podcatcher-2.0.1.tar.gz) = 1d0a7090c8774fbef3d229b71eaddb4312b12c27747728ce6a0d7dbe90b6713e
-SIZE (podcatcher-2.0.1.tar.gz) = 20116
+MD5 (podcatcher-3.1.4.tar.gz) = 38e5382613c4a454b8138bcc2b881e68
+SHA256 (podcatcher-3.1.4.tar.gz) = 96cdbc0e2922417d128e0504288262324c0e8e2330ae205a183a1e458a62a470
+SIZE (podcatcher-3.1.4.tar.gz) = 23840
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090606131536.GA23360>