Subject: Re: pkg/19285: pkg build knob for mozilla libnullplugin
To: Andrew Brown <atatat@atatdot.net>
From: Luke Mewburn <lukem@netbsd.org>
List: netbsd-bugs
Date: 12/07/2002 10:56:58
On Fri, Dec 06, 2002 at 10:00:08AM -0500, Andrew Brown wrote:
  | >  | > >Synopsis:       need a build knob to disable mozilla libnullplugin
  | >  | > 
  | >  | > 	If you remove the plugin:
  | >  | > 		rm /usr/pkg/lib/mozilla/plugins/libnullplugin.so
  | >  | 
  | >  | It is in /usr/X11R6/lib/mozilla and /usr/X11R6/lib/mozilla/plugins
  | >  | on my system, not sure which one is run.
  | >  | (but yes, the popup is annoying)
  | >
  | >Ok, so technically it's in ${LOCALBASE}/lib/mozilla/plugins.  YKWIM.
  | >The correct one to remove is mozilla/plugins/libnullplugin.so ...
  | 
  | technically, it seems to have been installed twice.
  | 
  |    % locate libnullplugin | xargs ls -l
  |    -r-xr-xr-x  1 root  wheel  19336 Nov 12 18:14 /usr/X11R6/lib/mozilla/libnullplugin.so
  |    -r-xr-xr-x  1 root  wheel  19336 Nov 12 18:14 /usr/X11R6/lib/mozilla/plugins/libnullplugin.so
  |    -rwxr-xr-x  1 root  wheel  19396 Aug 23 07:49 /usr/pkg/lib/netscape/netscape7/plugins/libnullplugin.so
  |    % locate libnullplugin | xargs pkg_info -FI
  |    mozilla-1.1nb1      Open-source version of the Netscape browser
  |    mozilla-1.1nb1      Open-source version of the Netscape browser
  |    netscape7-0nb2      Netscape Browser/Mail- and Newsreader suite version 7
  | 
  | i don't know which one gets run either, so they should both probably
  | "go".

the one that causes the problem is the one in mozilla/plugins.
i don't know why both are installed, but if you remove the one that
i've mentioned (three times now!) the problem goes away.


  | ps - what about writing a new nullplugin that simply does nothing?

why bother?  if you remove it mozilla's default action is adequate.