From owner-freebsd-current@FreeBSD.ORG Sat Mar 13 14:26:03 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A18716A4CE for ; Sat, 13 Mar 2004 14:26:03 -0800 (PST) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CA3843D46 for ; Sat, 13 Mar 2004 14:26:02 -0800 (PST) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 738BB1FFDC1 for ; Sat, 13 Mar 2004 23:26:00 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id 990831FFDBC; Sat, 13 Mar 2004 23:25:58 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 319AD1538C; Sat, 13 Mar 2004 22:25:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 26F6A15380; Sat, 13 Mar 2004 22:25:35 +0000 (UTC) Date: Sat, 13 Mar 2004 22:25:35 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: FreeBSD current mailing list Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: "Bjoern A. Zeeb" Subject: initial NO_YP_LIBC patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2004 22:26:03 -0000 Hi, I have finally managed to successfully do buildworld with a make.conf quite but not fully similar to that from nanobsd with NO_YP_LIBC set. Can you please review following patch: http://sources.zabbadoz.net/freebsd/patchset/10039-no-yp-libc.diff If someone has some cpu cycles available on a machine that can do more than 3 buildworlds a day could you also please check if - nanobsd would compile with this patch and NO_YP_LIBC set in make.conf of nanobsd ? - buildworld would successfully build with NO_YP_LIBC set in make.conf ? files modified by this patch are (commented non-Makefiles): lib/libc/gen/getnetgrent.c # -Werror fix lib/libc/net/rcmd.c # uneeded parts if no YP lib/libc/rpc/netnamer.c # uneeded parts if no YP lib/libpam/modules/pam_unix/Makefile lib/librpcsvc/Makefile lib/libwrap/Makefile libexec/Makefile usr.bin/Makefile usr.bin/chkey/Makefile usr.bin/chpass/Makefile usr.bin/newkey/Makefile usr.sbin/Makefile usr.sbin/amd/Makefile.inc usr.sbin/amd/amd/Makefile usr.sbin/amd/include/Makefile usr.sbin/bootparamd/bootparamd/Makefile usr.sbin/bootparamd/bootparamd/bootparamd.c # try to somehow #ifdef YP ; needs special review As this patch entirely disables some user space utilities like ypbind, ypset, ypserv, ... the question would be if the _LIBC suffix should be removed from NO_YP[_LIBC] once this successfully stands a buildworld ? -- Greetings Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/