Index: head/net/get_iplayer/Makefile =================================================================== --- head/net/get_iplayer/Makefile (revision 478326) +++ head/net/get_iplayer/Makefile (revision 478327) @@ -1,63 +1,64 @@ # $FreeBSD$ PORTNAME= get_iplayer -PORTVERSION= 3.13 +PORTVERSION= 3.17 DISTVERSIONPREFIX=v CATEGORIES= net multimedia MAINTAINER= crees@FreeBSD.org COMMENT= Search, index, or stream archive video from BBC iPlayer LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= p5-HTML-Parser>=0:www/p5-HTML-Parser \ - p5-HTTP-Cookies>=0:www/p5-HTTP-Cookies \ - p5-HTTP-Message>=0:www/p5-HTTP-Message \ - p5-XML-Simple>=0:textproc/p5-XML-Simple \ - p5-URI>=0:net/p5-URI \ - p5-libwww>=0:www/p5-libwww \ +RUN_DEPENDS= p5-XML-LibXML>=0:textproc/p5-XML-LibXML \ p5-Mojolicious>=0:www/p5-Mojolicious \ - rtmpdump:multimedia/rtmpdump + p5-JSON-PP>=0:converters/p5-JSON-PP \ + p5-LWP-Protocol-https>=0:www/p5-LWP-Protocol-https \ + p5-CGI>=0:www/p5-CGI USES= perl5 shebangfix USE_GITHUB= yes GH_ACCOUNT= get-iplayer USE_PERL5= run SHEBANG_FILES= ${PORTNAME} ${PORTNAME}.cgi NO_BUILD= yes NO_ARCH= yes USE_RC_SUBR= ${PORTNAME} USERS= get_iplayer GROUPS= get_iplayer SCRIPTS= ${PORTNAME} ${PORTNAME}.cgi PLIST_FILES= bin/${PORTNAME} ${SCRIPTS:S,^,${WWWDIR_REL}/,} \ man/man1/${PORTNAME}.1.gz DATADIR= ${WWWDIR} PORTDOCS= CHANGELOG.md README.md -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS FFMPEG ATOMICPARSLEY +FFMPEG_DESC= Enable file conversion using FFmpeg +FFMPEG_RUN_DEPENDS= ffmpeg>=0:multimedia/ffmpeg +ATOMICPARSLEY_DESC= Enable tagging of media files +ATOMICPARSLEY_RUN_DEPENDS= AtomicParsley>=0:multimedia/atomicparsley post-patch: ${REINPLACE_CMD} -e "s|/usr/bin/get_iplayer|${PREFIX}/bin/${PORTNAME}|" \ ${WRKSRC}/README.md ${WRKSRC}/get_iplayer.cgi ${REINPLACE_CMD} -e "s|/usr/bin/|${LOCALBASE}/bin|" \ ${WRKSRC}/README.md ${REINPLACE_CMD} -e "s|/usr/share/get_iplayer|${WWWDIR}|" \ ${WRKSRC}/get_iplayer do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC}; ${INSTALL_SCRIPT} ${SCRIPTS} ${STAGEDIR}${WWWDIR}) ${LN} -sf ${WWWDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1 do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include Index: head/net/get_iplayer/distinfo =================================================================== --- head/net/get_iplayer/distinfo (revision 478326) +++ head/net/get_iplayer/distinfo (revision 478327) @@ -1,3 +1,3 @@ -TIMESTAMP = 1523201927 -SHA256 (get-iplayer-get_iplayer-v3.13_GH0.tar.gz) = 56cb08599f66f0d06526a496b9e020a72c054cb32ab9a9df907e0f7435ace550 -SIZE (get-iplayer-get_iplayer-v3.13_GH0.tar.gz) = 140350 +TIMESTAMP = 1535484740 +SHA256 (get-iplayer-get_iplayer-v3.17_GH0.tar.gz) = 12d8780311d73bb4f573f4c019f88332c97ee1d7a676b5dc7989cd8c37562566 +SIZE (get-iplayer-get_iplayer-v3.17_GH0.tar.gz) = 142052 Index: head/net/get_iplayer/files/get_iplayer.in =================================================================== --- head/net/get_iplayer/files/get_iplayer.in (revision 478326) +++ head/net/get_iplayer/files/get_iplayer.in (revision 478327) @@ -1,47 +1,48 @@ #!/bin/sh # $FreeBSD$ # # PROVIDE: get_iplayer # REQUIRE: LOGIN # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf or /etc/rc.conf.local to # enable get_iplayer: # get_iplayer_enable (bool): Set to "NO" by default. # get_iplayer_chdir (string): Set to "/tmp" by default; this is where # downloaded files are stored. Should be writable # by get_iplayer user. # get_iplayer_flags (string): Set to "" by default. # get_iplayer_bind_port (number): Set to 9370 by default. # get_iplayer_listen_address (IP address): Set to 127.0.0.1 by default. # ########################################################## ## WARNING: ## For security reasons, do NOT set get_iplayer_bind_port ## unless your box is firewalled to allow only connections ## from your local subnet. It is safest to use SSH ## tunnelling if remote access is needed. ########################################################## . /etc/rc.subr name=get_iplayer rcvar=get_iplayer_enable +desc="Server for fetching programs from iplayer and PVR functionality" load_rc_config $name : ${get_iplayer_enable:=NO} : ${get_iplayer_bind_port=9370} : ${get_iplayer_listen_address=127.0.0.1} : ${get_iplayer_chdir=/tmp} command=/usr/sbin/daemon command_args="-f -u ${name} -p /var/run/${name}/${name}.pid %%WWWDIR%%/${name}.cgi -p ${get_iplayer_bind_port} -l ${get_iplayer_listen_address} --getiplayer %%WWWDIR%%/${name}" procname=/usr/bin/perl pidfile=/var/run/${name}/${name}.pid start_precmd="install -d -o ${name} -m755 /var/run/${name}" run_rc_command "$1"