Fri Nov 18 09:58:54 2016 UTC ()
Update net/get_iplayer to version 2.97.

pkgsrc changes:

  - Migrate to GitHub.
  - Remove no longer valid options file.
  - Simplify patching.

Upstream changes since 2.94:

  A significant number of changes have been made since 2.94, so for the
  full list of changes please refer to the release notes for each release
  since then here:

  https://github.com/get-iplayer/get_iplayer/wiki/release297
  https://github.com/get-iplayer/get_iplayer/wiki/release296
  https://github.com/get-iplayer/get_iplayer/wiki/release295

  The most visible change (for me) is that get_iplayer now defaults to
  fetching the best quality file as a transport stream, rather than the
  previous default of lower quality flash.


(jperkin)
diff -r1.7 -r1.8 pkgsrc/net/get_iplayer/Makefile
diff -r1.1 -r1.2 pkgsrc/net/get_iplayer/PLIST
diff -r1.5 -r1.6 pkgsrc/net/get_iplayer/distinfo
diff -r1.1 -r0 pkgsrc/net/get_iplayer/files/options.default
diff -r1.2 -r0 pkgsrc/net/get_iplayer/patches/patch-aa
diff -r1.1 -r0 pkgsrc/net/get_iplayer/patches/patch-windows_get_iplayer_setup.cgi

cvs diff -r1.7 -r1.8 pkgsrc/net/get_iplayer/Makefile (expand / switch to unified diff)

--- pkgsrc/net/get_iplayer/Makefile 2015/06/12 10:50:41 1.7
+++ pkgsrc/net/get_iplayer/Makefile 2016/11/18 09:58:53 1.8
@@ -1,43 +1,40 @@ @@ -1,43 +1,40 @@
1# $NetBSD: Makefile,v 1.7 2015/06/12 10:50:41 wiz Exp $ 1# $NetBSD: Makefile,v 1.8 2016/11/18 09:58:53 jperkin Exp $
2 2
3DISTNAME= get_iplayer-2.94 3DISTNAME= get_iplayer-2.97
4PKGREVISION= 1 
5CATEGORIES= net multimedia 4CATEGORIES= net multimedia
6MASTER_SITES= ftp://ftp.infradead.org/pub/get_iplayer/ 5MASTER_SITES= ${MASTER_SITE_GITHUB:=get-iplayer/}
7 6
8MAINTAINER= shattered@NetBSD.org 7MAINTAINER= shattered@NetBSD.org
9HOMEPAGE= http://www.infradead.org/get_iplayer/html/get_iplayer.html 8HOMEPAGE= https://github.com/get-iplayer/${GITHUB_PROJECT}
10COMMENT= Search, index, record or stream BBC iPlayer broadcasts 9COMMENT= Search, index, record or stream BBC iPlayer broadcasts
11LICENSE= gnu-gpl-v3 10LICENSE= gnu-gpl-v3
12 11
 12GITHUB_TAG= v${PKGVERSION_NOREV}
 13
13DEPENDS+= p5-HTML-Parser>=3.0:../../www/p5-HTML-Parser 14DEPENDS+= p5-HTML-Parser>=3.0:../../www/p5-HTML-Parser
14DEPENDS+= p5-HTTP-Cookies>=6.0:../../www/p5-HTTP-Cookies 15DEPENDS+= p5-HTTP-Cookies>=6.0:../../www/p5-HTTP-Cookies
15DEPENDS+= p5-HTTP-Date>=6.0:../../www/p5-HTTP-Date 16DEPENDS+= p5-HTTP-Date>=6.0:../../www/p5-HTTP-Date
16DEPENDS+= p5-XML-Simple-[0-9]*:../../textproc/p5-XML-Simple 17DEPENDS+= p5-XML-Simple-[0-9]*:../../textproc/p5-XML-Simple
17DEPENDS+= p5-libwww>=6.0:../../www/p5-libwww 18DEPENDS+= p5-libwww>=6.0:../../www/p5-libwww
18DEPENDS+= rtmpdump>=1.8:../../net/rtmpdump 19DEPENDS+= rtmpdump>=1.8:../../net/rtmpdump
19DEPENDS+= flvstreamer>=1.8:../../multimedia/flvstreamer 20DEPENDS+= flvstreamer>=1.8:../../multimedia/flvstreamer
20 21
21INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 
22 
23USE_LANGUAGES= # none 22USE_LANGUAGES= # none
24NO_BUILD= yes 23NO_BUILD= yes
25REPLACE_PERL= get_iplayer 24REPLACE_PERL= get_iplayer
26 25
27SUBST_CLASSES+= prefix 
28SUBST_STAGE.prefix= post-patch 
29SUBST_MESSAGE.prefix= Fixup config and plugin paths 
30SUBST_FILES.prefix= get_iplayer 
31SUBST_SED.prefix= -e s:@PREFIX@:${PREFIX}: 
32 
33PKG_SYSCONFSUBDIR= get_iplayer 26PKG_SYSCONFSUBDIR= get_iplayer
34EGDIR= ${PREFIX}/share/examples/get_iplayer 27
35CONF_FILES= ${EGDIR}/options ${PKG_SYSCONFDIR}/options 28INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
36INSTALLATION_DIRS+= ${EGDIR} 29
 30SUBST_CLASSES+= paths
 31SUBST_STAGE.paths= pre-configure
 32SUBST_FILES.paths= get_iplayer
 33SUBST_SED.paths= -e "s:/etc/get_iplayer:${PKG_SYSCONFDIR}:g"
 34SUBST_SED.paths+= -e "s:/usr/share/get_iplayer:${PREFIX}/share/get_iplayer:g"
37 35
38do-install: 36do-install:
39 ${INSTALL_SCRIPT} ${WRKSRC}/get_iplayer ${DESTDIR}${PREFIX}/bin/ 37 ${INSTALL_SCRIPT} ${WRKSRC}/get_iplayer ${DESTDIR}${PREFIX}/bin/
40 ${INSTALL_MAN} ${WRKSRC}/get_iplayer.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ 38 ${INSTALL_MAN} ${WRKSRC}/get_iplayer.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
41 ${INSTALL_DATA} ${FILESDIR}/options.default ${DESTDIR}${EGDIR}/options 
42 39
43.include "../../mk/bsd.pkg.mk" 40.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/net/get_iplayer/PLIST (expand / switch to unified diff)

--- pkgsrc/net/get_iplayer/PLIST 2014/11/11 21:49:01 1.1
+++ pkgsrc/net/get_iplayer/PLIST 2016/11/18 09:58:53 1.2
@@ -1,4 +1,3 @@ @@ -1,4 +1,3 @@
1@comment $NetBSD: PLIST,v 1.1 2014/11/11 21:49:01 shattered Exp $ 1@comment $NetBSD: PLIST,v 1.2 2016/11/18 09:58:53 jperkin Exp $
2bin/get_iplayer 2bin/get_iplayer
3man/man1/get_iplayer.1 3man/man1/get_iplayer.1
4share/examples/get_iplayer/options 

cvs diff -r1.5 -r1.6 pkgsrc/net/get_iplayer/distinfo (expand / switch to unified diff)

--- pkgsrc/net/get_iplayer/distinfo 2015/11/04 00:35:01 1.5
+++ pkgsrc/net/get_iplayer/distinfo 2016/11/18 09:58:53 1.6
@@ -1,8 +1,6 @@ @@ -1,8 +1,6 @@
1$NetBSD: distinfo,v 1.5 2015/11/04 00:35:01 agc Exp $ 1$NetBSD: distinfo,v 1.6 2016/11/18 09:58:53 jperkin Exp $
2 2
3SHA1 (get_iplayer-2.94.tar.gz) = 1082ffb213bf16bfdaa95731f48272b2a7adc4fd 3SHA1 (get_iplayer-2.97.tar.gz) = 7f3518c4460da8232c178645345a1e5cbbb072eb
4RMD160 (get_iplayer-2.94.tar.gz) = 70b67bdc2850e914c0606030b6cb2f09a41b0332 4RMD160 (get_iplayer-2.97.tar.gz) = 60e554d5497af382d9dbc158133e5cc69f46f46f
5SHA512 (get_iplayer-2.94.tar.gz) = 2e91631fa8d8ef384f454a4812f35a4f8af749feba5373d6203d769d85212f09a8c69b076d245dad00739739b8cf7bdf9a3b401a42295365f9fc7494458be906 5SHA512 (get_iplayer-2.97.tar.gz) = 6e3da97393e5b1bda6e4e9b3d3ca57cc5ae4bce46fd6ff538248fe9ac541a1ba6c6c204a89b8e8d5902e677c1e8fc451af21364c7a2a4e1c73b11db9399b6a28
6Size (get_iplayer-2.94.tar.gz) = 276644 bytes 6Size (get_iplayer-2.97.tar.gz) = 173532 bytes
7SHA1 (patch-aa) = e15a98daae71135936329d29766a3b70dc845326 
8SHA1 (patch-windows_get_iplayer_setup.cgi) = 1f87f0bb74c5883e875cb7676dfd61461dc2cbd0 

File Deleted: pkgsrc/net/get_iplayer/files/Attic/options.default

File Deleted: pkgsrc/net/get_iplayer/patches/Attic/patch-aa

File Deleted: pkgsrc/net/get_iplayer/patches/Attic/patch-windows_get_iplayer_setup.cgi