Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2013 13:36:50 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Tijl Coosemans <tijl@coosemans.org>
Cc:        Mike Jakubik <mike.jakubik@intertainservices.com>, "Sergey V. Dyatko" <sergey.dyatko@gmail.com>, Greg Rivers <gcr+freebsd-ports@tharned.org>, freebsd-ports@freebsd.org
Subject:   Re: www/linux-f10-flashplugin11 r333784 breaks nspluginwrapper
Message-ID:  <528669C2.5090104@FreeBSD.org>
In-Reply-To: <20131115114439.51685247@kalimero.tijl.coosemans.org>
References:  <alpine.BSF.2.00.1311141320090.15213@roadkill.tharned.org>	<5285253B.2060705@intertainservices.com>	<alpine.BSF.2.00.1311141348570.20151@roadkill.tharned.org>	<52853E67.8040602@FreeBSD.org> <20131115114439.51685247@kalimero.tijl.coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2013-11-15 05:44:39 -0500, Tijl Coosemans wrote:
> On Thu, 14 Nov 2013 16:19:35 -0500 Jung-uk Kim wrote:
>> On 2013-11-14 14:53:29 -0500, Greg Rivers wrote:
>>> On Thu, 14 Nov 2013, Sergey V. Dyatko wrote:
>>>> run `nspluginwrapper -a -v -i` now.
>>> 
>>> On Thu, 14 Nov 2013, Mike Jakubik wrote:
>>>> I had the same problem, this fixed it for me.
>>>> 
>>>> % nspluginwrapper -v -a -i
>>> 
>>> Thanks for the suggestions guys, but for me, `nspluginwrapper
>>> -a -v -i` does not find the .so either.  Sorry, I should have
>>> mentioned that in the first place.
>>> 
>>> I imagine Jung-uk Kim will fix nspluginwrapper presently.
> 
>> Automatic installation is now updated.
> 
>> http://svnweb.freebsd.org/changeset/ports/333796
> 
> Does firefox scan this new location?  I still need this symlink: 
> /usr/local/lib/npapi/symlinks/firefox/npwrapper.libflashplayer.so 
> -> /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so

First of all, www/linux-f10-flashplugin does not install
libflashplayer.so under ${PREFIX}/lib/npapi any more.  You need to
upgrade it first.  In fact, using ${PREFIX}/lib/npapi is completely
deprecated now.

http://svnweb.freebsd.org/changeset/ports/333662

Second, installing system-wide plugin wrappers are not recommended.
Please remove all stale symlinks and run the wrapper for each user
unless it is absolutely necessary.

However, if system-wide installation is absolutely necessary for some
reason, you can run nspluginwrapper as *root*, i.e.,

# pwd
/usr/local/lib/browser_plugins
# ls -l *.so
# id
uid=0(root) gid=0(wheel) groups=0(wheel),5(operator)
# nspluginwrapper -v -a -i
Auto-install plugins from /usr/local/lib/browser_plugins
Looking for plugins in /usr/local/lib/browser_plugins
Auto-install plugins from
/usr/local/lib/browser_plugins/linux-f10-flashplugin
Looking for plugins in
/usr/local/lib/browser_plugins/linux-f10-flashplugin
Install plugin
/usr/local/lib/browser_plugins/linux-f10-flashplugin/libflashplayer.so
  into /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so
Auto-install plugins from
/usr/local/Adobe/Reader9/ENU/Adobe/Reader9/Browser/intellinux
Looking for plugins in
/usr/local/Adobe/Reader9/ENU/Adobe/Reader9/Browser/intellinux
Install plugin
/usr/local/Adobe/Reader9/ENU/Adobe/Reader9/Browser/intellinux/nppdf.so
  into /usr/local/lib/browser_plugins/npwrapper.nppdf.so
Auto-install plugins from /root/.mozilla/plugins
Looking for plugins in /root/.mozilla/plugins
# ls -l *.so
- -rwxr-xr-x  1 root  wheel  124576 11 15 13:31 npwrapper.libflashplayer.so
- -rwxr-xr-x  1 root  wheel  124576 11 15 13:31 npwrapper.nppdf.so

Note the plugin wrappers are automatically created on the directory.

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJShmnCAAoJEHyflib82/FGnIwH/iZ3v2AOvV5ILDX865u/Fy1o
nA+xTmDIZOL0B11y04beKPyrAZG72AOXIy57ujI9PHcUJ7TiS52NNl8yCXsvVuzv
yLAwXCRy/Qofwt5a1zpAeqk85LEqhvY8sZNsJsobT8cFlF2M4B/3ddrWFLJVFVs/
pVv0ekt/rK6x67CPd1NXz8kwKVzQHRwaRcOFeTvH3v2scmj6BKa2jUexhD816ql3
2zg9H4VK2RyD5cIKSctZY0lENBs7/SRdVQmMk1VZ+LbB4sITjSHeqYrYhdUsddDD
hObYog/sDnyFfkkC0pBpQPl6OluDPd+7RIyiUNKP43ZFwWyozbRlkyWUXo8/PC4=
=s3ti
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?528669C2.5090104>