From owner-cvs-all@FreeBSD.ORG Sat Mar 18 19:07:05 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52E6816A401; Sat, 18 Mar 2006 19:07:05 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E883543D48; Sat, 18 Mar 2006 19:07:04 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k2IJ74kX010842; Sat, 18 Mar 2006 19:07:04 GMT (envelope-from netchild@repoman.freebsd.org) Received: (from netchild@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2IJ74PY010841; Sat, 18 Mar 2006 19:07:04 GMT (envelope-from netchild) Message-Id: <200603181907.k2IJ74PY010841@repoman.freebsd.org> From: Alexander Leidinger Date: Sat, 18 Mar 2006 19:07:04 +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 Makefile ports/emulators/linux_base-fc3 Makefile distinfo.i386 pkg-deinstall pkg-descr pkg-install pkg-message pkg-plist ports/emulators/linux_base-fc3/files yp.conf.sample X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 19:07:05 -0000 netchild 2006-03-18 19:07:04 UTC FreeBSD ports repository Modified files: emulators Makefile Added files: emulators/linux_base-fc3 Makefile distinfo.i386 pkg-deinstall pkg-descr pkg-install pkg-message pkg-plist emulators/linux_base-fc3/files yp.conf.sample Log: The port is intended to become the new default linux_base port (replaces the current linux_base-8 port). You should only switch to this port if you know what you are doing. You may or may not have problems with installing other linux related ports after switching to it. Success or failure reports welcome. To switch: - echo "OVERRIDE_LINUX_BASE_PORT=fc3" >> /etc/make.conf - portupgrade -fo emulators/linux_base-fc3 linux_base-8 News and changes (from submitter with some small changes by me): - based on linux_base-8 port; - don't use linux rpm binary to install. The whole source tree is created at ${WRKDIR} and then installed (using cpio); - removes some files and directories (etc/passwd, etc/group, usr/local, ...) to ensure using FreeBSD original files; - introduces etc/nsswitch.conf.dist and etc/yp.conf.sample files, uses correct install/deinstall behaviour with etc/nsswitch.conf and etc/yp.conf files; - doesn't do [u]mounting while install/deinstall process. Thus it is possible to use jails while building packages. But since linprocfs is not automounted, special measures should be taken at package building for those ports which need a mounted linprocfs (i.e. for linux JDK building); - uses linux ldconfig in the pkg-install file (as opposed to using in the Makefile). It is needed when upgrading (i.e. when other linux libraries are present in the system) and when installing by packages. Submitted by: Boris Samorodov (some small changes by me) Revision Changes Path 1.182 +1 -0 ports/emulators/Makefile 1.1 +195 -0 ports/emulators/linux_base-fc3/Makefile (new) 1.1 +171 -0 ports/emulators/linux_base-fc3/distinfo.i386 (new) 1.1 +15 -0 ports/emulators/linux_base-fc3/files/yp.conf.sample (new) 1.1 +18 -0 ports/emulators/linux_base-fc3/pkg-deinstall (new) 1.1 +9 -0 ports/emulators/linux_base-fc3/pkg-descr (new) 1.1 +43 -0 ports/emulators/linux_base-fc3/pkg-install (new) 1.1 +20 -0 ports/emulators/linux_base-fc3/pkg-message (new) 1.1 +9326 -0 ports/emulators/linux_base-fc3/pkg-plist (new)