From owner-freebsd-small@FreeBSD.ORG Thu Feb 15 21:14:11 2007 Return-Path: X-Original-To: freebsd-small@freebsd.org Delivered-To: freebsd-small@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7822416A401 for ; Thu, 15 Feb 2007 21:14:11 +0000 (UTC) (envelope-from smallbsd-20070215@tinkerbox.org) Received: from mail.tinkerbox.org (dsl081-055-135.sfo1.dsl.speakeasy.net [64.81.55.135]) by mx1.freebsd.org (Postfix) with ESMTP id 58A9D13C428 for ; Thu, 15 Feb 2007 21:14:11 +0000 (UTC) (envelope-from smallbsd-20070215@tinkerbox.org) Received: from localhost (localhost.bschwand.net [127.0.0.1]) by mail.tinkerbox.org (Postfix) with ESMTP id 42A3B39879 for ; Thu, 15 Feb 2007 12:44:08 -0800 (PST) Received: from mail.tinkerbox.org ([127.0.0.1]) by localhost (mail.tinkerbox.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 54389-01 for ; Thu, 15 Feb 2007 12:43:37 -0800 (PST) Received: from duron.bschwand.net (duron.bschwand.net [192.168.137.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tinkerbox.org (Postfix) with ESMTP id 93B493985E for ; Thu, 15 Feb 2007 12:43:33 -0800 (PST) Date: Thu, 15 Feb 2007 12:43:33 -0800 (PST) From: smallbsd-20070215@tinkerbox.org X-X-Sender: bruno@duron.bschwand.net To: freebsd-small@freebsd.org In-Reply-To: Message-ID: <20070215123723.X13810@duron.bschwand.net> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: amavisd-new at tinkerbox.org Subject: picoBSD X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Feb 2007 21:14:11 -0000 I started using the picobsd script as found in /usr/src/release/picobsd. Very useful, but I found a few issues. While compiling telnetd, telnetd.c refers to Getstr() and getent(). I can not for the life of me find where those functions are defined. Obviously telnetd.c compiles on the normal BSD distrib (this is 6.1 BTW) so I do not know what I am missing. Anyway, renaming these to tgetent() and tgetstr() passes the build step. I also had to remove the reference to login_access.c from /usr/src/release/picobsd/tinyware/login/Makefile and add #ifdef LOGIN_ACCESS #undef LOGIN_ACCESS #endif at the top of /usr/src/release/picobsd/tinyware/login/pico_login.c Otherwise, some other modifications were required but those were just specific to the build I am making. So, I hope the maintainer is reading this and will commit some fixes so this great useful script can stay in the FreeBSD tree for a long long time... Regards, bruno schwander