From owner-cvs-ports@FreeBSD.ORG Wed Apr 11 11:42:39 2007 Return-Path: X-Original-To: cvs-ports@FreeBSD.org Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D315E16A401; Wed, 11 Apr 2007 11:42:39 +0000 (UTC) (envelope-from bsam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C10C113C469; Wed, 11 Apr 2007 11:42:39 +0000 (UTC) (envelope-from bsam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l3BBgYCP038230; Wed, 11 Apr 2007 11:42:34 GMT (envelope-from bsam@repoman.freebsd.org) Received: (from bsam@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3BBgYTl038229; Wed, 11 Apr 2007 11:42:34 GMT (envelope-from bsam) Message-Id: <200704111142.l3BBgYTl038229@repoman.freebsd.org> From: Boris Samorodov Date: Wed, 11 Apr 2007 11:42:34 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/emulators/linux_base-fc6 Makefile pkg-install X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 11:42:39 -0000 bsam 2007-04-11 11:42:34 UTC FreeBSD ports repository Modified files: emulators/linux_base-fc6 Makefile pkg-install Log: *** ATTENTION *** DANGER *** EXPERIMENTAL PORT *** YOU HAVE BEEN WARNED *** 1. Add a check if linuxulator is (kld)loaded. IGNORE otherwise. Before this commit the port compared compat.linux.osrelease with 2.4.2 and was IGNOREd if those values are equal. In case linuxulator is *not* loaded, the port proceeded to install, to load linuxulator and to use... compat.linux.osrelease=2.4.2! The port as is doesn't proceed (without linuxulator loaded or if compat.linux.osrelease is equal to 2.4.2) even for "make fetch". Imho that's OK, because it won't let automated tasks to load unneccessary distros, while a human administrator should know what to do by hand. ;-) BTW, I'm not sure but may be it'a be a good idea to use IGNORE if (FreeBSD) OSVERSION < (say) 700037... 2. Apply the same tests for packages. 3. Bump PORTREVISION. Enjoy. ;-) Revision Changes Path 1.28 +5 -3 ports/emulators/linux_base-fc6/Makefile 1.7 +8 -0 ports/emulators/linux_base-fc6/pkg-install