From owner-freebsd-ports Sat Jan 12 15:49:32 2002 Delivered-To: freebsd-ports@freebsd.org Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.67.200.82]) by hub.freebsd.org (Postfix) with ESMTP id 237C537B419 for ; Sat, 12 Jan 2002 15:49:28 -0800 (PST) Received: (from alane@localhost) by wwweasel.geeksrus.net (8.11.6/8.11.6) id g0CNmk869434 for ports@freebsd.org; Sat, 12 Jan 2002 18:48:46 -0500 (EST) (envelope-from alane) Date: Sat, 12 Jan 2002 18:48:02 -0500 From: Alan Eldridge To: Ken Stailey Subject: Re: ports/www/mozilla/Makefile Message-ID: <20020112234802.GB69357@wwweasel.geeksrus.net> References: <3C40B663.1000108@surfbest.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C40B663.1000108@surfbest.net> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Jan 12, 2002 at 05:19:15PM -0500, Ken Stailey wrote: > > >http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/mozilla/Makefile?rev=1.77&content-type=text/x-cvsweb-markup > >do-install: > ${MKDIR} ${PREFIX}/lib/mozilla > ${CHMOD} 755 ${PREFIX}/lib/mozilla > cd ${WRKSRC}/dist/bin && ${TAR} -chf - . | \ > ${TAR} -xf - -C ${PREFIX}/lib/mozilla > ${INSTALL_SCRIPT} ${WRKSRC}/mozilla ${PREFIX}/bin > >Not all ${LIBMODE} under ${PREFIX}/lib here. Is this supposed to be >fixed someday? If somebody opens a PR and submits a patch. :) Hint. >Is there a better example of how to make something that doesn't want to >be in hier(7) format work? >Multiple personal copies of ITS strikes me as very wasteful of CPU and >disk resources and against >the ITS way of doing things. The ITS way of doing things also assumes you can trust your users. I am willing to make no such assumption. Those days are gone. I miss them. Something that requires running as root and modifying files (sharing them between users, even) in the ${PREFIX} tree strikes me as a BMF security problem. A disaster waiting to happen. And... can multiple copies of the emulator use the same disk image? Does it run as a daemon? As a sysadmin, I'd say, "you're not installing it like that on *my* box." As a developer, I'm trying to help you come up with a way to provide this port that doesn't open up security/vandalism risks. My take is that this is not unlike VMware. VMware gives you your own copy of the disk images in $HOME/vmware. I think that is the right way to do it. Anybody else out there in ports land got some input? Pete? -- Alan Eldridge Pmmfmffmmfmp mmmpppppffmpmfpmpppff PmpMpmMpp ppfppp MpfpffmppmppMmpFmmMpm mfpmmmmmfpmpmpppff. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message