- update to 1.90

- add .../archive/ to MASTER_SITES, old files are moved there
- force packagemanager to be set to restrict updates from inside
the software, following conversation with oga@.
This commit is contained in:
sthen 2009-05-25 17:54:01 +00:00
parent 6f96b7b778
commit ae679a76bd
3 changed files with 22 additions and 13 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.9 2009/05/25 00:22:52 sthen Exp $
# $OpenBSD: Makefile,v 1.10 2009/05/25 17:54:01 sthen Exp $
COMMENT = download BBC iPlayer and ITV programmes
DISTNAME = get_iplayer-1.88
DISTNAME = get_iplayer-1.90
CATEGORIES = multimedia
@ -14,7 +14,8 @@ PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://linuxcentre.net/get_iplayer/packages/
MASTER_SITES = http://linuxcentre.net/get_iplayer/packages/ \
http://linuxcentre.net/get_iplayer/packages/archive/
RUN_DEPENDS = ::audio/id3lib \
::net/flvstreamer \

View File

@ -1,5 +1,5 @@
MD5 (get_iplayer-1.88.tar.gz) = YGFlJ/3i17REv8GF4AC5iw==
RMD160 (get_iplayer-1.88.tar.gz) = Z3OnkL8lbhs4o95Zn3zavPywDGQ=
SHA1 (get_iplayer-1.88.tar.gz) = 5kWvbt1sN8MJrr3aV6epmNnif2A=
SHA256 (get_iplayer-1.88.tar.gz) = W8LpDlm2Icu30CMFZwRmmUwlQxgFP/6aTioF79QlNLQ=
SIZE (get_iplayer-1.88.tar.gz) = 98811
MD5 (get_iplayer-1.90.tar.gz) = fxNZCULuriHH+ek61DJiNg==
RMD160 (get_iplayer-1.90.tar.gz) = fbdiaE7otTM1c64rArhVGwUtk1E=
SHA1 (get_iplayer-1.90.tar.gz) = jDqcgcOGPdnFt+LYVcgVBAxL0dY=
SHA256 (get_iplayer-1.90.tar.gz) = hLDmQbzUogcAGUX1Sutn27DSPDMrkAoT745Kb9dBAtY=
SIZE (get_iplayer-1.90.tar.gz) = 98951

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-get_iplayer,v 1.6 2009/05/25 00:22:52 sthen Exp $
--- get_iplayer.orig Sat May 23 13:35:21 2009
+++ get_iplayer Mon May 25 01:12:59 2009
$OpenBSD: patch-get_iplayer,v 1.7 2009/05/25 17:54:01 sthen Exp $
--- get_iplayer.orig Mon May 25 17:04:40 2009
+++ get_iplayer Mon May 25 18:50:21 2009
@@ -174,7 +174,7 @@ mkpath $profile_dir if ! -d $profile_dir;
@ -10,7 +10,15 @@ $OpenBSD: patch-get_iplayer,v 1.6 2009/05/25 00:22:52 sthen Exp $
my $plugin_dir_user = "$profile_dir/plugins";
for my $plugin_dir ( ( $plugin_dir_user, $plugin_dir_system ) ) {
if ( opendir( DIR, $plugin_dir ) ) {
@@ -515,9 +515,9 @@ sub find_matches {
@@ -360,6 +360,7 @@ if ( ! keys %plugin_files ) {
$opt->{pluginsupdate} = 1;
}
# Update this script if required
+$opt->{packagemanager}='pkg_add';
update_script() if $opt->{update} || $opt->{pluginsupdate};
@@ -515,9 +516,9 @@ sub find_matches {
$binopts->{lame} .= ' --quiet ' if $opt->{quiet};
$bin->{vlc} = $opt->{vlc} || 'cvlc';
$binopts->{vlc} = '-vv' if $opt->{verbose} || $opt->{debug};
@ -22,7 +30,7 @@ $OpenBSD: patch-get_iplayer,v 1.6 2009/05/25 00:22:52 sthen Exp $
# Set quiet, test and get options if we're asked for streaminfo
if ( $opt->{streaminfo} ) {
$opt->{test} = 1;
@@ -1312,7 +1312,7 @@ sub create_ua {
@@ -1312,7 +1313,7 @@ sub create_ua {
my $agent = $user_agent{ $_[0] } || random_ua();
my $nocookiejar = $_[1] || 0;
my $ua = LWP::UserAgent->new;