Subject: pkg/30657: multimedia realplayer
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 07/03/2005 17:05:01
>Number:         30657
>Category:       pkg
>Synopsis:       multimedia realplayer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 03 17:05:00 +0000 2005
>Originator:     Zafer Aydogan
>Release:        netbsd 2.0
NetBSD 2.0 i386
I would like to commit/contribute a shell script that I've written to download the missing files when installing multimedia/realplayer.

Normally the Makefile prompts you to download two files from the Realplayer Website to /usr/pkgsrc/distfiles

Missing Files are: 

The following script can do that automatically, and may be integrated in the build process.

cd /usr/pkgsrc/distfiles/
DESTDIR=`lynx --dump "
6&lang=en&show_list=0&src=blackjack" | grep rp8_linux | tail -n 1 | awk {'print $2'}`
if [ ! -e "rp8_linux20_libc6_i386_cs1.bin" ]; then
        echo "Downloading Distfiles... Please Wait."
        wget $DESTDIR
if [ ! -e "rv9_libc6_i386_cs2.tgz" ]; then
        echo "Downloading Distfiles... Please Wait."
        wget "
unset PKG_PATH
cd /usr/pkgsrc/multimedia/realplayer/
make clean && make install clean
Requires lynx and wget.

The Realplayer Website changes the Linknames once a day.
This script can deal with the daily changing Adress of the Link to the Files. 

You can modify and suit the script whatever you like to integrate it, if you wish.

Best Regards, Zafer.
No Problem. Just a commit.
No Problem.