diff --git a/multimedia/get_iplayer/Makefile b/multimedia/get_iplayer/Makefile index 5b17d1627e50..3ecb5e80cfb5 100644 --- a/multimedia/get_iplayer/Makefile +++ b/multimedia/get_iplayer/Makefile @@ -3,6 +3,7 @@ PORTNAME= get_iplayer PORTVERSION= 3.26 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= multimedia net MAINTAINER= jamie@catflap.org diff --git a/multimedia/get_iplayer/files/get_iplayer.in b/multimedia/get_iplayer/files/get_iplayer.in index a43a7548b775..1809e96bf4bd 100644 --- a/multimedia/get_iplayer/files/get_iplayer.in +++ b/multimedia/get_iplayer/files/get_iplayer.in @@ -45,10 +45,9 @@ load_rc_config $name : ${get_iplayer_bind_port=9370} get_iplayer_logfile="${get_iplayer_logfile:+"-o $get_iplayer_logfile"}" +get_iplayer_env="HOME='${get_iplayer_chdir}'" command=/usr/sbin/daemon -export HOME="$get_iplayer_chdir" -cd "$HOME" || exit 1 command_args="-f ${get_iplayer_logfile} -u ${name} -p /var/run/${name}/${name}.pid %%WWWDIR%%/${name}.cgi -p ${get_iplayer_bind_port} -l ${get_iplayer_listen_address} --getiplayer %%WWWDIR%%/${name} ${get_iplayer_flags}" get_iplayer_flags="" # This is needed to stop the flags being applied to the 'daemon' program. procname=/usr/local/bin/perl diff --git a/multimedia/get_iplayer/pkg-message b/multimedia/get_iplayer/pkg-message index 26cb793cdea6..4230aab1b81b 100644 --- a/multimedia/get_iplayer/pkg-message +++ b/multimedia/get_iplayer/pkg-message @@ -6,7 +6,7 @@ You must be in the UK, or use a UK proxy, to gain access to most iPlayer content To use the web server cgi script, you must set "get_iplayer_enable="YES" in "/etc/rc.conf", and set "get_iplayer_chdir" to a valid directory to store configuration files and downloads. If "get_iplayer_chdir" is unset, the -"get_uplayer" home directory is used. +"get_iplayer" home directory is used. In the latter case you can set the home directory to (eg) '/home/get_iplayer", with: