From owner-freebsd-current Sun Oct 27 15:48:21 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA26137 for current-outgoing; Sun, 27 Oct 1996 15:48:21 -0800 (PST) Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA26131 for ; Sun, 27 Oct 1996 15:48:16 -0800 (PST) Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.12/8.6.9) id SAA02396; Sun, 27 Oct 1996 18:47:48 -0500 From: Bill Paul Message-Id: <199610272347.SAA02396@skynet.ctr.columbia.edu> Subject: Re: Building the world without NIS To: roberto@keltia.freenix.fr (Ollivier Robert) Date: Sun, 27 Oct 1996 18:47:47 -0500 (EST) Cc: current@freebsd.org In-Reply-To: <199610272050.VAA29758@keltia.freenix.fr> from "Ollivier Robert" at Oct 27, 96 09:50:36 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Of all the gin joints in all the towns in all the world, Ollivier Robert had to walk into mine and say: > I run an [almost] UUCP-only machine, with only a few local users. I'd like > to get smaller libs and binaries by taking the NIS code out of the system. You really want to go to all that trouble to save a few hundred K-bytes off a multi-megabyte installation? > Is it still impossible ? Where did you get the idea that it's impossible? > Could it be made possible ? It already is possible. Just remove the -DYP from the Makefiles for libc, passwd(1) and chpass(1), and take all the NIS programs out of the Makefiles for /usr/sbin (ypserv, yppush, rpc.ypxfrd, rpc.yppasswdd, ypbind, yp_mkdb), /usr/bin (ypset, ypcat, yppoll, ypset) and /usr/libexec (ypxfr, mknetid, revnetgroup). Note that you must disable the compilation of the NIS programs if you disable NIS support in libc; with the exception of mknetid and revnetgroup, they all depend on the NIS code in libc in one way or another. > BTW OpenBSD is buildable without any NIS code, I saw it on the WWW site... Don't try to lay any guilt trip on me, pal. You want to build without NIS, just edit the Makefiles accordingly; you saw that right here. -Bill -- ============================================================================= -Bill Paul (212) 854-6020 | System Manager, Master of Unix-Fu Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ============================================================================= "If you're ever in trouble, go to the CTR. Ask for Bill. He will help you." =============================================================================