initial NO_YP_LIBC patch

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Sat, 13 Mar 2004 22:25:35 +0000 (UTC)
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/
Received on Sat Mar 13 2004 - 13:26:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:47 UTC