The port I found below compiles cleanly but will not build the package
on my i386/4.4 system. Flash Player 9 (suggested by the creator of the
port) installs but will not render YouTube clips in my browser. The
Flash Player 7 installed by the Opera Flash plugin port does work with
YouTube.

http://openbsd.stanleylieber.com/txt/openbsd_firefox_flash_player_7.txt

Flash Player 7 and OpenBSD native Firefox 3

[ Why ]

Flash is a necessary evil. If you disagree, why keep reading?


[ How ]

This document assumes ports/www/firefox3 is already installed and running
on your system.

Install Fedora and the Opera Flash plugin from ports:

        # cd /usr/ports/emulators/fedora && make install && make clean
        # cd /usr/ports/www/opera-flashplugin && make install && make clean


Add the following to /etc/sysctl.conf:

        kern.emul.linux=1


Enable Linux compatibility for the running system:

        # sysctl -w kern.emul.linux=1


Unpack port-nspluginwrapper.tgz[1] into /usr/ports/www and install:

        # cd /usr/ports/www/nspluginwrapper && make install && make clean


If the package build fails on your machine you will have to manually
copy the relevant files to their proper locations:

        # cd /usr/ports/www/nspluginwrapper/w-nspluginwrapper- \
                0.9.91.5/fake-i386/usr/local
        # cp bin/nspluginwrapper /usr/local/bin/
        # cp -R lib/nspluginwrapper /usr/local/lib/


Install Opera's Linux Flash Player in Firefox 3:

        # nspluginwrapper -i /usr/local/lib/opera/plugins/libflashplayer.so


Start or restart Firefox to enable the plugin. Enter about:plugins in
the address bar to verify the plugin is installed.


[ Acknowledgments ]

Thanks to Benoit Chesneau[2], seveninety.com[3] and the original authors[4]
for their work on nspluginwrapper.


[ References ]

[1] http://openbsd.stanleylieber.com/ports/www/port-nspluginwrapper.tgz

[2] http://www.nabble.com/-NEW--nspluginwrapper%2C-mozilla-flashplugin \
        -td10314619.html#a10314619
    http://babilu.metavers.net/openbsd/nspluginwrapper

[3] http://seveninety.com/openbsd/flashplayer9.htm

[4] http://gwenole.beauchesne.info//en/projects/nspluginwrapper


-sl

Reply via email to