cvs commit: src/etc Makefile cached.conf src/etc/defaults rc.conf
src/etc/rc.d Makefile cached src/include nsswitch.h
src/include/rpc rpcent.h src/lib/libc Makefile src/lib/libc/gen
getgrent.c getpwent.c src/lib/libc/include nscache.h nscachedcli.h ...
Hajimu UMEMOTO
ume at FreeBSD.org
Fri Apr 28 12:03:40 UTC 2006
ume 2006-04-28 12:03:38 UTC
FreeBSD src repository
Modified files:
etc Makefile
etc/defaults rc.conf
etc/rc.d Makefile
include nsswitch.h
include/rpc rpcent.h
lib/libc Makefile
lib/libc/gen getgrent.c getpwent.c
lib/libc/net Makefile.inc getaddrinfo.c
gethostnamadr.c getnetnamadr.c getproto.c
getprotoent.c getprotoname.c getservent.c
name6.c netdb_private.h nsdispatch.c
lib/libc/rpc getrpcent.c
share/mk bsd.own.mk
usr.sbin Makefile
Added files:
etc cached.conf
etc/rc.d cached
lib/libc/include nscache.h nscachedcli.h
lib/libc/net nscache.c nscachedcli.c
usr.sbin/cached Makefile agent.c agent.h cached.8
cached.c cached.conf.5 cachedcli.c
cachedcli.h cachelib.c cachelib.h
cacheplcs.c cacheplcs.h config.c config.h
debug.c debug.h hashtable.h log.c log.h
mp_rs_query.c mp_rs_query.h mp_ws_query.c
mp_ws_query.h parser.c parser.h
protocol.c protocol.h query.c query.h
singletons.c singletons.h
usr.sbin/cached/agents Makefile.inc group.c group.h passwd.c
passwd.h services.c services.h
Removed files:
lib/libc/net getservbyname.c getservbyport.c
Log:
- Extend the nsswitch to support Services, Protocols and Rpc
databases.
- Make nsswitch support caching.
Submitted by: Michael Bushkov <bushman__at__rsu.ru>
Sponsored by: Google Summer of Code 2005
Revision Changes Path
1.355 +4 -0 src/etc/Makefile
1.1 +12 -0 src/etc/cached.conf (new)
1.282 +1 -0 src/etc/defaults/rc.conf
1.70 +4 -0 src/etc/rc.d/Makefile
1.1 +30 -0 src/etc/rc.d/cached (new)
1.4 +6 -4 src/include/nsswitch.h
1.3 +1 -6 src/include/rpc/rpcent.h
1.65 +3 -0 src/lib/libc/Makefile
1.33 +277 -1 src/lib/libc/gen/getgrent.c
1.90 +277 -0 src/lib/libc/gen/getpwent.c
1.1 +197 -0 src/lib/libc/include/nscache.h (new)
1.1 +107 -0 src/lib/libc/include/nscachedcli.h (new)
1.59 +5 -2 src/lib/libc/net/Makefile.inc
1.80 +197 -0 src/lib/libc/net/getaddrinfo.c
1.31 +295 -1 src/lib/libc/net/gethostnamadr.c
1.23 +237 -4 src/lib/libc/net/getnetnamadr.c
1.6 +78 -12 src/lib/libc/net/getproto.c
1.8 +324 -15 src/lib/libc/net/getprotoent.c
1.6 +77 -11 src/lib/libc/net/getprotoname.c
1.9 +0 -101 src/lib/libc/net/getservbyname.c (dead)
1.9 +0 -95 src/lib/libc/net/getservbyport.c (dead)
1.22 +1069 -261 src/lib/libc/net/getservent.c
1.58 +259 -0 src/lib/libc/net/name6.c
1.12 +0 -27 src/lib/libc/net/netdb_private.h
1.1 +438 -0 src/lib/libc/net/nscache.c (new)
1.1 +576 -0 src/lib/libc/net/nscachedcli.c (new)
1.13 +91 -4 src/lib/libc/net/nsdispatch.c
1.15 +944 -216 src/lib/libc/rpc/getrpcent.c
1.54 +2 -0 src/share/mk/bsd.own.mk
1.350 +5 -0 src/usr.sbin/Makefile
1.1 +19 -0 src/usr.sbin/cached/Makefile (new)
1.1 +127 -0 src/usr.sbin/cached/agent.c (new)
1.1 +72 -0 src/usr.sbin/cached/agent.h (new)
1.1 +3 -0 src/usr.sbin/cached/agents/Makefile.inc (new)
1.1 +262 -0 src/usr.sbin/cached/agents/group.c (new)
1.1 +32 -0 src/usr.sbin/cached/agents/group.h (new)
1.1 +269 -0 src/usr.sbin/cached/agents/passwd.c (new)
1.1 +32 -0 src/usr.sbin/cached/agents/passwd.h (new)
1.1 +286 -0 src/usr.sbin/cached/agents/services.c (new)
1.1 +32 -0 src/usr.sbin/cached/agents/services.h (new)
1.1 +148 -0 src/usr.sbin/cached/cached.8 (new)
1.1 +884 -0 src/usr.sbin/cached/cached.c (new)
1.1 +102 -0 src/usr.sbin/cached/cached.conf.5 (new)
1.1 +284 -0 src/usr.sbin/cached/cachedcli.c (new)
1.1 +57 -0 src/usr.sbin/cached/cachedcli.h (new)
1.1 +1234 -0 src/usr.sbin/cached/cachelib.c (new)
1.1 +281 -0 src/usr.sbin/cached/cachelib.h (new)
1.1 +590 -0 src/usr.sbin/cached/cacheplcs.c (new)
1.1 +137 -0 src/usr.sbin/cached/cacheplcs.h (new)
1.1 +588 -0 src/usr.sbin/cached/config.c (new)
1.1 +156 -0 src/usr.sbin/cached/config.h (new)
1.1 +149 -0 src/usr.sbin/cached/debug.c (new)
1.1 +67 -0 src/usr.sbin/cached/debug.h (new)
1.1 +218 -0 src/usr.sbin/cached/hashtable.h (new)
1.1 +78 -0 src/usr.sbin/cached/log.c (new)
1.1 +43 -0 src/usr.sbin/cached/log.h (new)
1.1 +537 -0 src/usr.sbin/cached/mp_rs_query.c (new)
1.1 +34 -0 src/usr.sbin/cached/mp_rs_query.h (new)
1.1 +548 -0 src/usr.sbin/cached/mp_ws_query.c (new)
1.1 +36 -0 src/usr.sbin/cached/mp_ws_query.h (new)
1.1 +474 -0 src/usr.sbin/cached/parser.c (new)
1.1 +35 -0 src/usr.sbin/cached/parser.h (new)
1.1 +550 -0 src/usr.sbin/cached/protocol.c (new)
1.1 +265 -0 src/usr.sbin/cached/protocol.h (new)
1.1 +1278 -0 src/usr.sbin/cached/query.c (new)
1.1 +110 -0 src/usr.sbin/cached/query.h (new)
1.1 +36 -0 src/usr.sbin/cached/singletons.c (new)
1.1 +47 -0 src/usr.sbin/cached/singletons.h (new)
More information about the cvs-src
mailing list