From owner-freebsd-emulation@FreeBSD.ORG Fri Mar 23 10:37:03 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 44E5616A401 for ; Fri, 23 Mar 2007 10:37:03 +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 F371C13C469 for ; Fri, 23 Mar 2007 10:37:02 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54a5f860.dip.t-dialin.net [84.165.248.96]) by redbull.bpaserver.net (Postfix) with ESMTP id 447C72E18E; Fri, 23 Mar 2007 11:36:57 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 5B1855B4817; Fri, 23 Mar 2007 11:36:54 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l2NAas7h040640; Fri, 23 Mar 2007 11:36:54 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 23 Mar 2007 11:36:54 +0100 Message-ID: <20070323113654.8eiudpiv9sco80g0@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 23 Mar 2007 11:36:54 +0100 From: Alexander Leidinger To: freebsd-emulation@freebsd.org, bsam@ipt.ru References: <58206554@bsam.ru> In-Reply-To: <58206554@bsam.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.1.3) / FreeBSD-7.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, SpamAssassin (not cached, score=-14.864, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: Subject: Re: [upcomming linux_base-fc6] conditional install 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: Fri, 23 Mar 2007 10:37:03 -0000 Quoting Boris Samorodov (from Fri, 23 Mar 2007 02:36:37 +0300)= : > Hi! > > > The FC6 port doesn't install with linux.osrelease=3D2.4.2. Assuming that > FreeBSD supports only two values (2.6.16 is the second one) I use the > following line at the Makefile: > ----- > .include > > LINUX_OSRELEASE!=3D ${SYSCTL} -n compat.linux.osrelease > > .if ${LINUX_OSRELEASE} !=3D "2.6.16" > IGNORE=3D supported only for compat.linux.osrelease: 2.6.16 > .endif > ----- > > Something similar should be written to pkg-install script for > packages sake. The Porters Handbook says it's not good to use sysctl. > But such approach should be used for all upcomming fc6 ports... > > What do you think? Thanks. I suggest to do it the other way around: .if ${LINUX_OSRELEASE} =3D=3D "2.4.2" IGNORE .endif This way the current default is to ignore and anyone who plays around =20 can do so. It also allows us to use any 2.6.x number we want (in case =20 we think another one is more appropriate) without the need to change =20 the port. WE just want to protect the innocent, everyone else is =20 allowed to shot into their own foot. Bye, Alexander. --=20 my NOSE is NUMB! http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137