From owner-freebsd-ports@FreeBSD.ORG Fri Dec 28 05:15:53 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C15489A4 for ; Fri, 28 Dec 2012 05:15:53 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ee0-f44.google.com (mail-ee0-f44.google.com [74.125.83.44]) by mx1.freebsd.org (Postfix) with ESMTP id 4CF408FC0C for ; Fri, 28 Dec 2012 05:15:52 +0000 (UTC) Received: by mail-ee0-f44.google.com with SMTP id b47so5123025eek.3 for ; Thu, 27 Dec 2012 21:15:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=ufsQn4piFqWY04PVk+RcfrGEHMsOZn1qKQkfDIpf7U4=; b=EikLAnEDOrRFPFHVXfY19KUV3pH9TLYrp4DZmdKCqOSz+4+ZchIEwsK9DKNSzuwRvI mq/Fe9Bq0TKU/jmllI8Tlsrvy4khIYa6VPPsjvDI/r52FYT2PcvT+z3J6yvLY7XwbUnh qlEznevwhwxgoB7SKERVHiZMpdZq4G3NaTqbjNaNZUH90OGwF0wUhptHYInuXKn3jQpe qniAobjvM/GeuM9y7QgP/2PShFlH/bx98nTE5gxX+/u+peHQOide8DAxuQgAghOLaZ74 z/6Es9w9NAG+XQ2tnx9WLS/rvkPV10QsGQo5O9Rkywy8LHfX4u72YU0we3rilXYjAyIe MHCw== MIME-Version: 1.0 Received: by 10.14.204.198 with SMTP id h46mr83791463eeo.1.1356671751866; Thu, 27 Dec 2012 21:15:51 -0800 (PST) Received: by 10.223.170.193 with HTTP; Thu, 27 Dec 2012 21:15:51 -0800 (PST) In-Reply-To: <59.75.05826.4772CD05@smtp02.insight.synacor.com> References: <59.75.05826.4772CD05@smtp02.insight.synacor.com> Date: Thu, 27 Dec 2012 21:15:51 -0800 Message-ID: Subject: Re: Can't build kernel with ndis From: Kevin Oberman To: Thomas Mueller Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2012 05:15:53 -0000 On Thu, Dec 27, 2012 at 2:48 AM, Thomas Mueller w= rote: >> If you want to insert the auditdistd user manually, that is fine, >> though I find doing it with mergemaster easier. (If you use it >> correctly ('m' option), it won't destroy your password file. But don't >> do it with vi. the actual pssword file is only a part of the process >> and the tool to properly edit it is vipw. Ir will edit /etc/passed, >> update master.passwd file, and, most importantly, update actual >> passworf databases. You can manually do this by running pwd_mkdb. >> -- >> R. Kevin Oberman, Network Engineer >> E-mail: kob6558@gmail.com > > Your typos confused me, I couldn't find a file /etc/passed but found /etc= /passwd. > > vipw made no changes for me. > > I finally found how to use the m option inside mergemaster -p, it was ver= y tricky. Sorry for the typos. I reality need to proof messages before hitting send, but I was a bit rushed and didn't do it. > mergemaster -m is for using a different directory instead of /etc (I chec= ked man page). mergemaster is "for" /etc, but it works in a temporary directory in var and, when you select "install", it copies whatever is in that directory into /etc (or sub-directories of /etc). > > After many attempts, I found what was wrong and changed the newly-offendi= ng line in /etc/master.passwd . > > So finally I was able to make installkernel with apparent success. I wil= l let rebooting single-user and the rest of the update wait because I now a= m overdue for bed. I also want to update for i386 and for a USB-stick amd6= 4 installation, partly so I can test the ndiswrapper. I also want to build= wine (i386). Once you get used to it, the merge operation in mergemaster is pretty easy to use on most files. Always use 'r' for the $FreeBSD$ line and 'l' for the sections that are modified. In the password and group files, it is usually just 'r' followed by a few 'l's. I run the "pre-buildworld" run (-p) as is and use -iPF options with the 'main' mergemaster run. You can also use 'U' which will save a lot of time in the main run, but it is NOT fool-proof and can bite you on rather rare occasions, so I have stopped using it. Believe me when I tell you it was a LOT worse in the days before mergemaster was written and all of the merging had to be done by hand. That was really a pain! Good luck with ndis. I've had mixed success with it over the years, but have no devices that require it ATM and even when I did, I used the module. --=20 R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com