From owner-freebsd-questions@FreeBSD.ORG Mon Jun 19 10:10:28 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D272116A4C1 for ; Mon, 19 Jun 2006 10:10:28 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from hu-out-0102.google.com (hu-out-0102.google.com [72.14.214.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 973E043D46 for ; Mon, 19 Jun 2006 10:10:27 +0000 (GMT) (envelope-from stapleton.41@gmail.com) Received: by hu-out-0102.google.com with SMTP id 28so488280hug for ; Mon, 19 Jun 2006 03:10:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YROIzq8tW5KaUxBqbjQ/weXq/LT2BltOKCf3DsMOujpNGAHDpwsP3NK57Z12zE4+mZFhIQ8C0LWlTWLAackCWyYemLpsxlWqGaw8q1ENcLYIFKz+S0x3ukZIRCnzosDwxLDQ8eq2aSoOJ8TzqCxedg6gBXY38VremkIXofpYegg= Received: by 10.67.103.7 with SMTP id f7mr1867171ugm; Mon, 19 Jun 2006 02:44:27 -0700 (PDT) Received: by 10.67.100.9 with HTTP; Mon, 19 Jun 2006 02:44:27 -0700 (PDT) Message-ID: <80f4f2b20606190244t5a33b255l980d542a46e98a95@mail.gmail.com> Date: Mon, 19 Jun 2006 05:44:27 -0400 From: "Jim Stapleton" To: freebsd-questions@freebsd.org In-Reply-To: <449663A8.5070203@dial.pipex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20606181355x3155c33dp1e498dea663000c5@mail.gmail.com> <4495C1DF.9040506@dial.pipex.com> <80f4f2b20606181428o270e0dedl885bf38540723b15@mail.gmail.com> <449663A8.5070203@dial.pipex.com> Subject: Re: smoke and mirrors - any way to trick an app into thinking I'm running linux? 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: Mon, 19 Jun 2006 10:10:28 -0000 Ahh, it is, in fact, a binary sh. The binary compatability looks pretty thourough, and it seems most of the details in the compatability section for most apps seem to involve making them check for BSD instead of linux, and ensuring they run in compatability mode, I'll run ktrace tonight. thanks. I really want to proove to these people that the port will not be a $60k effor, more like a $20 effort. On 6/19/06, Alex Zbyslaw wrote: > Jim Stapleton wrote: > > > I don't know how to find out, except that the app is the Crossover > > Office demo installer. I'd like to try to find a way to trick it into > > running in the linux compatability mode of FreeBSD if I can. > > So is there source code? Or is it some dumb binary rpm? > > You could try running it under ktrace, then look at the output of kdump > (assuming that works for linux apps), but the output will be *long* so > you will have to edit out a judicious part which leads up to the "Linux" > string being printed, and it might not help. But, it might, for > example, look to see if some file exists (/etc/redhat-release or something). > > Darrin Chandler wrote: > > >In addition, consider respecting the wishes of > >the developer(s) and not using it. If they have any sort of "free" > >license then you can always release a portable fork. > > > Respect a license? Yes, probably. Respect the wishes? Fat chance. That way lies doom... > > --Alex > > > >