From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 2 08:39:48 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAB59106566C for ; Wed, 2 Apr 2008 08:39:48 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 5A06A8FC22 for ; Wed, 2 Apr 2008 08:39:48 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5574A.dip.t-dialin.net [84.165.87.74]) by redbull.bpaserver.net (Postfix) with ESMTP id 4B14B2E0C2; Wed, 2 Apr 2008 10:39:40 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 78F5EA3CB1; Wed, 2 Apr 2008 10:39:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1207125577; bh=hYlSdx4MknwJr2V3dZqXzeQNOqzlgA+hU LFjjb+z9Co=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=NWWF3ikWavCKjEbo14XQPZzZwmX4MuIsIbUaVIO/czgLJye2jPTA347feQath1cLv bGGqhrYwjNgx9FNAPSXAcWW4Pe8MlCfKV3iqQrQ49sBIW3Y2A0mwfsdXrIdtEMBpEGH 9fGfFKySSJIcAfyRWgIGecyIFdsmgXVpS0NMZTQPWYvicoKSTfbhYhDBm+kS/89Cht1 jlBRiZGVzONhdUW/lU8TS7RzkJTf9C5JQ+1kRNDfhbKSXNP9sR5lHpsAd2JY/W3JzUU hgWhprNBNaZRNxUqm8dalfrbG2Kl5w9RXmGDHvl6yyKyV/UOzRCO0xtk75+qtlohJJ0 CgbQOuMBA== Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m328da9V036643; Wed, 2 Apr 2008 10:39:36 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 02 Apr 2008 10:39:36 +0200 Message-ID: <20080402103936.14106ai6f5p95ucc@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 02 Apr 2008 10:39:36 +0200 From: Alexander Leidinger To: Boris Samorodov References: <07011489@ipt.ru> <20080321115227.zkcrs6rvc4c8s004@webmail.leidinger.net> <98037310@ipt.ru> <20080322085434.10838040@deskjail> <62336383@ipt.ru> <62213004@bs1.sp34.ru> <20080402080145.97672c008u0ewri8@webmail.leidinger.net> <05084110@bs1.sp34.ru> In-Reply-To: <05084110@bs1.sp34.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.2-RC2) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.004, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@FreeBSD.org Subject: Re: add LINUX_OSRELEASE to bsd.linux-rpm.mk X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2008 08:39:48 -0000 Quoting Boris Samorodov (from Wed, 02 Apr 2008 12:28:17 +0400)= : > On Wed, 02 Apr 2008 08:01:45 +0200 Alexander Leidinger wrote: >> Quoting Boris Samorodov (from Tue, 01 Apr 2008 =20 >> 20:42:27 +0400): >> > On Mon, 24 Mar 2008 00:36:00 +0300 Boris Samorodov wrote: >> >> On Sat, 22 Mar 2008 08:54:34 +0100 Alexander Leidinger wrote: >> > >> >> > Where do we have to introduce the *_PORT >> >> > stuff? Do we need a bsd.linux.mk, or can the bsd.linux-rpm.mk be use= d >> >> > for this? The strict answer may be no, but do we want to be =20 >> that strict? >> > >> >> Well, I'd prefer to use one existing file: bsd.linux-rpm.mk. If/when >> >> we use some other distro (I have some positive results with ubuntu) >> >> then may be we will have to use bsd.linux-deb.mk and split >> >> bsd.linux-rpm.mk into two files. But so far it's OK to me to use >> >> the existing one. >> > >> > Seems that I have change my mind since linux-rpm.mk is too tied to rpm >> > format and dealing with it. The file can't be (easily) used with an >> > average linux port. I tried to convert to using linux-rpm.mk acroread7 >> > port. I got a mess. :-( >> > >> > Well, what about new bsd.linux-apps.rpm? > >> I think we should keep the .mk at the end. > > Sure, it was a typo. > >> What about >> - bsd.port.mk which includes >> - bsd.linux.mk which includes >> - bsd.linux-rpm.mk (maybe conditionally) >> - bsd.linux-XXX.mk (maybe conditionally) > >> LINUX_OSRELEASE can be put into bsd.linux.mk. The USE_LINUX stuff can >> go into it too. > > Yep, fully agreed, this is our goal. But it will influence all linux > ports at once. While I try to use an evolition way with minimal > immediate impact to most linux ports. Almost as a Russian proverb says > "Drive slower, get farther". ;-) Oh, I was commenting on the final result. As an intermediate step you =20 can have bsd.linux.mk separate and don't include anything in it. If it =20 is ready, we can move from including it explicitly to including it =20 implicitly by asking portmgr to test a patch which adds linux.mk to =20 port.mk, adds linux-XXX.mk to linux.mk and removes linux-XXX.mk from =20 port.mk. Not a big deal, I think. Bye, Alexander. --=20 =09"And what will you do when you grow up to be as big as me?" asked the father of his little son. =09"Diet." http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137