initial NO_YP_LIBC patch
Bjoern A. Zeeb
bzeeb-lists at lists.zabbadoz.net
Sat Mar 13 14:26:03 PST 2004
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/
More information about the freebsd-current
mailing list