Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2004 22:25:35 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        FreeBSD current mailing list <current@freebsd.org>
Cc:        "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>
Subject:   initial NO_YP_LIBC patch
Message-ID:  <Pine.BSF.4.53.0403132208190.51220@e0-0.zab2.int.zabbadoz.net>

next in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.53.0403132208190.51220>