From owner-freebsd-ports@FreeBSD.ORG Fri Jan 11 02:09:04 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D074216A417 for ; Fri, 11 Jan 2008 02:09:04 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.freebsd.org (Postfix) with ESMTP id D586413C447 for ; Fri, 11 Jan 2008 02:09:04 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 12636 invoked from network); 11 Jan 2008 02:09:03 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 11 Jan 2008 02:09:03 -0000 Message-ID: <4786CEDC.3050009@chuckr.org> Date: Thu, 10 Jan 2008 21:05:16 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: Rudy References: <64c038660801040516u5c42a6cpadb475ad67fb4730@mail.gmail.com> <20080104174955.52aa33fd@gumby.homeunix.com> <64c038660801041029t1a9662bayed3ca02fd46c7ece@mail.gmail.com> <64c038660801041226k1d350bc6p727e4666ea295727@mail.gmail.com> <477FFE14.1010704@monkeybrains.net> <477FFF63.50004@gmail.com> <47801D54.8050709@gmail.com> <47803E3F.2080005@monkeybrains.net> <47804901.6090007@gmail.com> <4786BF45.8030602@monkeybrains.net> In-Reply-To: <4786BF45.8030602@monkeybrains.net> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: HOW-TO get Flash7 working! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2008 02:09:05 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Started in -questions, but redirected to -ports with the change in direction of discussion (you'll see). Rudy wrote: > Aryeh M. Friedman wrote: > >>> rm /usr/ports/distfiles/flashplugin/fp7_archive.zip >>> >> >> An other way to fix it in some ways is to run a make makesum to update >> the distfile checksums > > The fp7_archive.zip was an odd case were I felt more comfortable > deleting it -- hadn't see that error before (and didn't save it to cut > and paste). I thought it was only my system, but apparently, others had > this same issue with the fp7_archive.zip file. Maybe a new one was > released with the same filename on adobe? > > Would "makesum" would blindly use what is in the /usr/ports/distfiles -- > corrupt, man-in-the-middled, or whatever was there? I've never used > makesum... I will RTFM. :) I actually got the linux flash9 working. Why didn't I post it, put in a patch? Because one of the main reasons that it doesn't work now is the insane way that much Linux libraries are installed. If folks would honor hier(7) then all linux libs would go into /usr/compat/usr/lib, but instead, many linux ports (including browsers, believe me) install into $(PREFIX)/lib/libsubdir. This means every single linux app that uses linux libs hsa to be run with a shell wrapper, artificially extending the LD_LIBRARY_PATH. Since no porter of an app installing libs knows all the ports that might use their libs, random breakages are the rule of the day, to say nothing of the egregious harm to security this kind of strategy causes. It's a big reason why the flash things don't work. Want proof? Go use the linux ldd to see just how long the list of libraries is, that those extensions use, then you'll begin to see. Not all those libs are browser products, either. Have fun trying to get a wrapper to work there. I volunteered to fix this situation all myself, if only the ports management would give me written agreement that the strategy I decry is in fact bad software practice, so that I may point to that document to port authors, when I ask for permission to edit their work. Ports management hasn't seen fit to reply, or at least, I haven't seen it if they did. I don't intend to force anyone, but without having ports mangement backing, I am NOT going to have this argument with every porter, no way. I tried that once, and at least one fellow told me he thought that requiring every linux application to have it's own wrapper was the "cleaner" way to go. Huh, if that's so, then I guess I should be stopped anyhow. You think that way? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHhs7cz62J6PPcoOkRAoKmAJ99iCuZXy1fcQuzaCUvXHCOot+1uACaA3N5 aU6mEKw5AhH3uFUDrp3FH6A= =ku7L -----END PGP SIGNATURE-----