From owner-freebsd-questions@FreeBSD.ORG Sun Oct 25 08:19:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01C8A106568D for ; Sun, 25 Oct 2009 08:19:27 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6E6C38FC1C for ; Sun, 25 Oct 2009 08:19:26 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n9P8JJGY087691; Sun, 25 Oct 2009 08:19:20 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n9P8JJGY087691 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1256458760; bh=A7WD+PA+TUdjUAl4zvy3Tfe7nffStFzrhsNBEuAiHEQ=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4AE40A00.3040607@infracaninophile.co.uk>|Date:=20S un,=2025=20Oct=202009=2008:19:12=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20PJ=20|CC:=20"freebsd-que stions@freebsd.org"=20|Subject:=20R e:=20flashplugin|References:=20<4AE3944A.4090602@videotron.ca>|In- Reply-To:=20<4AE3944A.4090602@videotron.ca>|X-Enigmail-Version:=20 0.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3 B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20bounda ry=3D"------------enig3C25793F9E69EEADB91BC045"; b=HfOVqfMwTy9KAg5i9rBW2nGCWvDFOVLzXdcMlUyBitAZ1NgxqjuhG5r1ydyn85fmc eZwYtYrw0RrT5WXO9+LSlFktgUW0PHgII63B+O4pLtR9Sj/GZBdlLtGxYxrT8Oh70X J9v370lx0fHlJ08p8UX4vNsaFxBTkQy31BdukAok= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4AE40A00.3040607@infracaninophile.co.uk> Date: Sun, 25 Oct 2009 08:19:12 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: PJ References: <4AE3944A.4090602@videotron.ca> In-Reply-To: <4AE3944A.4090602@videotron.ca> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig3C25793F9E69EEADB91BC045" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: "freebsd-questions@freebsd.org" Subject: Re: flashplugin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Oct 2009 08:19:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3C25793F9E69EEADB91BC045 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable PJ wrote: > Is there any definitive install guide for flashplugin. > I was able to install it on a 7.2 64bit machine and then on an i386 but= > somehow it has morphed into god-knows-what and no longer works. This is what I did for a 7.2 box. Note that there are compatibility issues between new versions of Linux emulation and older versions of=20 FreeBSD, so don't expect this to work with anything older. * Make a note of all the linux-emulated software you have installed for later reference: # pkg_info -orx linux > linux-stuff We save the package origins in particular, because this procedure=20 will result in a name change for most linux packages. * Delete everything linux related # pkg_delete -rx linux * Check and clean out /compat/linux -- there shouldn't be any interesting= files left in this directory after the above step. As I recall, when I= did this, there was a ldconfig.hints file (which would be regenerated o= n demand), and some Acrobat related stuff under /compat/linux/home/matthe= w which I didn't care about, and which shouldn't have been there anyhow. # cd /compat/linux # find . -type f -ls # rm -rf * * Change the default Linux kernel version for emulation: # sysctl compat.linux.osrelease=3D2.6.16 Also add "compat.linux.osrelease=3D2.6.16" to /etc/sysctl.conf so it gets reset on reboots. * Tell the ports system we want to use Fedora-10 as the Linux base by add= ing OVERRIDE_LINUX_BASE_PORT=3D f10 OVERRIDE_LINUX_NONBASE_PORTS=3D f10 to /etc/make.conf. * Now install www/linux-f10-flashplugin10 from ports -- this should have = all of the following as dependencies (modulo any version updates that may h= ave happened since writing this): % pkg_info -r linux-f10-flashplugin-10.0r32 Information for linux-f10-flashplugin-10.0r32: Depends on: Dependency: linux_base-f10-10_2 Dependency: linux-f10-openssl-0.9.8g Dependency: linux-f10-openldap-2.4.12_1 Dependency: linux-f10-libssh2-0.18 Dependency: linux-f10-cyrus-sasl2-2.1.22 Dependency: linux-f10-curl-7.19.4_4 Dependency: linux-f10-nspr-4.7.4 Dependency: linux-f10-sqlite3-3.5.9_1 Dependency: linux-f10-nss-3.12.2.0 if that isn't the case and you aren't getting the f10 flavour of those ports, double check everything you've done so far for errors, and try a= gain from the top. * Add nspluginwrapper to enable Firefox to load the flash add-on: # portinstall www/nspluginwrapper (This has a dependency list as long as your arm, so it might take some time...) Following the install instructions for the nspluginwrapper package (whi= ch you can redisplay by "pkg_info -Dx nspluginwrapper") install whatever = globally available plugins there are by running this as root: # nspluginwrapper -v -a -i This puts plugins into /usr/local/lib/browser_plugins/ which Firefox sh= ould read. Alternatively, install the plugins locally to your own user acco= unt by running that command under your own UID: % nspluginwrapper -v -a -i * Finally, fire up Firefox and check that it has loaded the flash plugin = by typing 'about:plugins' into the URL bar. Find a site with flash conten= t[*], and enjoy. * Check the list you made at the first step, and reinstall any other linu= x applications you want. =20 So far I've found flash10 under Fedora10 to be pretty stable and inoffens= ive on FreeBSD 7.2. You even get the sound track on Flash movies. However I= 'm still running Firefox with xpi-flashblock-1.5.11.2 and xpi-noscript-1.9.3= =2E3 on general principles Adobe Acrobat isn't working, but I think that's more to do with the map_a= t_zero stuff introduced in the last security advisory. Cheers, Matthew [*] I think there are one or two flash based things at YouTube.com --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig3C25793F9E69EEADB91BC045 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkrkCgcACgkQ8Mjk52CukIyl2ACdG1vz9btv0lIvX04TawzIqXpQ jfQAn18NgnMHGsy42g+EJXen9KyMawRl =7fyU -----END PGP SIGNATURE----- --------------enig3C25793F9E69EEADB91BC045--