From nobody@FreeBSD.org  Wed Dec 12 06:43:28 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6E12516A419
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 Dec 2007 06:43:28 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 5A19713C467
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 Dec 2007 06:43:28 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBC6hNXb054066
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 Dec 2007 06:43:23 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id lBC6hNDr054065;
	Wed, 12 Dec 2007 06:43:23 GMT
	(envelope-from nobody)
Message-Id: <200712120643.lBC6hNDr054065@www.freebsd.org>
Date: Wed, 12 Dec 2007 06:43:23 GMT
From: Rudy <crapsh@monkeybrains.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: linux-flashplugin-7.0r70 
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: jamie@bishopston.net

>Number:         118567
>Category:       ports
>Synopsis:       www/linux-flashplugin7 - 7.0r70
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 12 06:50:01 UTC 2007
>Closed-Date:    Tue Dec 25 20:01:07 UTC 2007
>Last-Modified:  Tue Jan 15 07:40:01 UTC 2008
>Originator:     Rudy
>Release:        7.0-BETA4
>Organization:
MonkeyBrains
>Environment:
FreeBSD x.example.com 7.0-BETA4 FreeBSD 7.0-BETA4 #1: Sat Dec  8 18:00:52 PST 2007     root@mx.example.com:/usr/obj/usr/src/sys/MONCHICHI  i386

>Description:
When visiting a flash enabled website Firefox locks up for about 30 seconds.
Flash version: linux-flashplugin-7.0r70
fire
fox version: firefox-2.0.0.10_1,1  (also had the problem in 2.0.0.9)

>How-To-Repeat:
Install Flash 7, install in your home directory with nspluginscan, restart your browser, go to any website with flash content.

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Dec 12 07:03:45 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118567 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Tue Dec 25 20:00:31 UTC 2007 
State-Changed-Why:  
We are sorry, but this is not a bug with the FreeBSD ports system. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118567 

From: Rudy <crapsh@monkeybrains.net>
To: bug-followup@FreeBSD.org
Cc: Alexander@leidinger.net
Subject: Re: ports/118567: www/linux-flashplugin7 - 7.0r70
Date: Sat, 12 Jan 2008 21:35:48 -0800

 It is a ports bug.
 Having things build and then NOT work _is_ a ports bug.  :)
 
 Please reopen and FIX port.
 
 
 Here are the steps to get it working (from freebsd-questions):
 
 # Run these commands as root:
   sysctl compat.linux.osrelease=2.6.20
   echo "compat.linux.osrelease=2.6.20" >> /etc/sysctl.conf
   cd  /usr/ports/emulators/linux_base-f7 && make
   pkg_delete linux_\*
   make install
 
   rm /usr/ports/distfiles/flashplugin/fp7_archive.zip
   pkg_delete linux-flashplugin\*
   cd /usr/ports/www/linux-flashplugin7 && make
   make install
 
   cd /usr/ports/www/nspluginwrapper/ && make
   make install
 
   portupgrade -O linux-\*
 
 # return to your user account (stop being root)
   nspluginwrapper -a -v -i
 
 # the output should look like this:
 Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin
 Looking for plugins in /usr/local/lib/npapi/linux-flashplugin
 Install plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
    into /home/rudy/.mozilla/plugins/npwrapper.libflashplayer.so
 
 
 RUdy
 

From: Alexander Leidinger <Alexander@Leidinger.net>
To: Rudy <crapsh@monkeybrains.net>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/118567: www/linux-flashplugin7 - 7.0r70
Date: Sun, 13 Jan 2008 10:36:24 +0100

 Quoting Rudy <crapsh@monkeybrains.net> (Sat, 12 Jan 2008 21:35:48 -0800):
 
 >   echo "compat.linux.osrelease=2.6.20" >> /etc/sysctl.conf
 >   cd  /usr/ports/emulators/linux_base-f7 && make
 
 >   cd /usr/ports/www/linux-flashplugin7 && make
 >   make install
 
 2.6.x emulation is not available in 6.x or 5.x (2.6.20 is totally
 wrong, the only 2.6 kernel version we are targeting ATM is 2.6.16). It
 is also not stable yet, there are known bugs. linux_base-f7 is also
 only useable with 2.6 emulation, installing it is not recommended for
 non-developers.
 
 So I suggest you have a look what the problem is with 2.4.2 (the
 default) and linux_base-fc4 (the default).
 
 Bye,
 Alexander.
 
 -- 
 Ferengi Rule of Acquisition #106:
 	There is no honor in poverty.
 		-- ST: Legends of the Ferengi
 http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
 http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137

From: Rudy <crapsh@monkeybrains.net>
To: Alexander Leidinger <Alexander@leidinger.net>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/118567: www/linux-flashplugin7 - 7.0r70
Date: Mon, 14 Jan 2008 23:39:39 -0800

 Alexander Leidinger wrote:
 > Quoting Rudy <crapsh@monkeybrains.net> (Sat, 12 Jan 2008 21:35:48 -0800):
 > 
 >>   echo "compat.linux.osrelease=2.6.20" >> /etc/sysctl.conf
 >>   cd  /usr/ports/emulators/linux_base-f7 && make
 > 
 >>   cd /usr/ports/www/linux-flashplugin7 && make
 >>   make install
 > 
 > 2.6.x emulation is not available in 6.x or 5.x (2.6.20 is totally
 > wrong, the only 2.6 kernel version we are targeting ATM is 2.6.16). It
 > is also not stable yet, there are known bugs. linux_base-f7 is also
 > only useable with 2.6 emulation, installing it is not recommended for
 > non-developers.
 > 
 > So I suggest you have a look what the problem is with 2.4.2 (the
 > default) and linux_base-fc4 (the default).
 
 
 Thank you for the information.  I searched and searched the lists for this info, and found nothing. 
   I was just guessing on the kernel version number to use. :)
 
 Questions to freebsd-questions about the linux version to use and how to get flash working went 
 unanswered.
 
 
 .if ${OSVERSION} >= 7000000
   LINUX_OSRELEASE!=       ${ECHO_CMD} `${SYSCTL} -n compat.linux.osrelease 2>/dev/null`
 .if ${LINUX_OSRELEASE}x == "x"
   IGNORE=                 linuxulator is not (kld)loaded
 .elif ${LINUX_OSRELEASE} == "2.4.2"
   @${ECHO} "  flash7 doesn't work, but if you set your linux kernel"
   @${ECHO} "  emulation to version 2.6.16 and update all your linux packages"
   @${ECHO} "  it will work.  To do this type this command:"
   @${ECHO} "     pkg_delete -f linux_base-fc4"
   @${ECHO} "     portinstall linux_base-f7"
   @${ECHO} "     portupgrade linux-\\*"
   @${ECHO} "     echo "compat.linux.osrelease=2.6.16" >> /etc/sysctl.conf && reboot"
   @${ECHO} ""
   @${ECHO} " *** WARNING 2.6.x EMULATION is not yet stable, skilled people only ***"
   IGNORE=                 compat.linux.osrelease: 2.4.2 is not supported
 .endif
 
 As for OSVERSION < 7000000?  Leave the port broken!  I've moved on and am ready for 7!
 
 Seems simple enough to me.  :)
 
 - Rudy
 
>Unformatted:
