DragonFly commits List (threaded) for 2008-12
DragonFly BSD
DragonFly commits List (threaded) for 2008-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.1.1.175.ged5d5 master Makefile.inc1 etc Makefile etc/defaults make.conf rc.conf etc host.conf hosts nscd.conf etc/rc.d Makefile nscd nsswitch include Makefile dlfcn.h grp.h hesiod.h netdb.h nss.h nsswitch.h pwd.h include/rpc rpcent.h include stdlib.h lib/libc Makefile.inc lib/libc/gen Makefile.inc dlfunc.c dlopen.3 getgrent.3 getgrent.c getgrouplist.c getpwent.3 getpwent.c getusershell.3 getusershell.c pw_scan.c pw_scan.h pwcache.3 pwcache.c lib/libc/include namespace.h nscache.h nscachedcli.h nss_tls.h un-namespace.h lib/libc/net Makefile.inc getaddrinfo.c gethostbydns.c gethostbyht.c gethostbyname.3 gethostbynis.c gethostnamadr.c getipnodebyname.3 getnetbydns.c getnetbyht.c getnetbynis.c getnetent.3 getnetnamadr.c getproto.c getprotoent.c getprotoname.c getservbyname.c getservbyport.c getservent.c hesiod.3 hesiod.c name6.c netdb_private.h nscache.c nscachedcli.c nsdispatch.3 nsdispatch.c nslexer.l nsparser.y nss_backends.h nss_compat.c lib/libc/rpc getrpcent.c share/man/man5 Makefile group.5 hesiod.conf.5 hosts.5 make.conf.5 nsswitch.conf.5 passwd.5 share/man/man8 yp.8 usr.bin Makefile usr.bin/chpass chpass.c edit.c pw_copy.c usr.bin/hesinfo Makefile hesinfo.1 hesinfo.c usr.bin/passwd Makefile usr.sbin Makefile usr.sbin/nscd Makefile agent.c agent.h usr.sbin/nscd/agents Makefile.inc group.c group.h passwd.c passwd.h services.c services.h usr.sbin/nscd 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 nscd.8 nscd.c nscd.conf.5 nscdcli.c nscdcli.h parser.c parser.h protocol.c protocol.h query.c query.h singletons.c singletons.h usr.sbin/pwd_mkdb Makefile pw_scan.c pw_scan.h pwd_mkdb.8 pwd_mkdb.c usr.sbin/rarpd Makefile rarpd.8 rarpd.c usr.sbin/ypserv ypserv.8


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 27 Dec 2008 20:21:03 -0800 (PST)

commit ed5d57202ebab0e923eb8e9d967a9f97792a6e8f
Author: Peter Avalos <pavalos@theshell.com>
Date:   Sun Dec 21 21:24:07 2008 -0500

    Add nsswitch support.
    
    The nsswitch.conf(5) manual page has a description of nsswitch.
    Curiously, we already had this manual page, even though we didn't
    support it.
    
    /etc/host.conf is removed from src/, but if host.conf exists and
    nsswitch.conf does not, nsswitch.conf will be created using its
    contents.
    
    Included in this commit is a framework for nsswitch caching, nscd(8),
    but it relies on a few upcoming changes to our libc before it will work.
    For now, it's turned off.
    
    Also this commit includes hesiod support which is not compiled by
    default.  Add WANT_HESIOD=true to make.conf to get it working.
    
    Obtained-from: FreeBSD

Summary of changes:
 Makefile.inc1                     |    2 +-
 etc/Makefile                      |    4 +-
 etc/defaults/make.conf            |    7 +
 etc/defaults/rc.conf              |    1 +
 etc/host.conf                     |    8 -
 etc/hosts                         |    4 +-
 etc/nscd.conf                     |   12 +
 etc/rc.d/Makefile                 |    3 +-
 etc/rc.d/nscd                     |   52 +
 etc/rc.d/nsswitch                 |  165 +++
 include/Makefile                  |    6 +-
 include/dlfcn.h                   |   31 +-
 include/grp.h                     |   33 +-
 include/hesiod.h                  |   98 ++
 include/netdb.h                   |   10 -
 include/nss.h                     |   57 +
 include/nsswitch.h                |  250 ++++
 include/pwd.h                     |   80 +-
 include/rpc/rpcent.h              |   12 +-
 include/stdlib.h                  |    2 -
 lib/libc/Makefile.inc             |    7 +
 lib/libc/gen/Makefile.inc         |    8 +-
 lib/libc/gen/dlfunc.c             |   29 +
 lib/libc/gen/dlopen.3             |    2 +
 lib/libc/gen/getgrent.3           |  150 ++-
 lib/libc/gen/getgrent.c           | 1817 +++++++++++++++++++++------
 lib/libc/gen/getgrouplist.c       |   52 +-
 lib/libc/gen/getpwent.3           |  153 ++-
 lib/libc/gen/getpwent.c           | 2487 +++++++++++++++++++++++++++----------
 lib/libc/gen/getusershell.3       |   14 +-
 lib/libc/gen/getusershell.c       |  231 +++-
 lib/libc/gen/pw_scan.c            |  199 +++
 lib/libc/gen/pw_scan.h            |   37 +
 lib/libc/gen/pwcache.3            |   19 +-
 lib/libc/gen/pwcache.c            |    8 +-
 lib/libc/include/namespace.h      |    6 +
 lib/libc/include/nscache.h        |  197 +++
 lib/libc/include/nscachedcli.h    |  107 ++
 lib/libc/include/nss_tls.h        |   80 ++
 lib/libc/include/un-namespace.h   |    2 +
 lib/libc/net/Makefile.inc         |   28 +-
 lib/libc/net/getaddrinfo.c        |  607 ++++++---
 lib/libc/net/gethostbydns.c       |   69 +-
 lib/libc/net/gethostbyht.c        |   31 +-
 lib/libc/net/gethostbyname.3      |   17 +-
 lib/libc/net/gethostbynis.c       |   63 +-
 lib/libc/net/gethostnamadr.c      |  456 +++++--
 lib/libc/net/getipnodebyname.3    |    5 +-
 lib/libc/net/getnetbydns.c        |   49 +-
 lib/libc/net/getnetbyht.c         |   24 +-
 lib/libc/net/getnetbynis.c        |   50 +-
 lib/libc/net/getnetent.3          |   20 +-
 lib/libc/net/getnetnamadr.c       |  170 +--
 lib/libc/net/getproto.c           |  108 ++-
 lib/libc/net/getprotoent.c        |  498 +++++++-
 lib/libc/net/getprotoname.c       |  113 ++-
 lib/libc/net/getservbyname.c      |   73 --
 lib/libc/net/getservbyport.c      |   67 -
 lib/libc/net/getservent.c         | 1272 ++++++++++++++++---
 lib/libc/net/hesiod.3             |  176 +++
 lib/libc/net/hesiod.c             |  560 +++++++++
 lib/libc/net/name6.c              |  545 ++++++---
 lib/libc/net/netdb_private.h      |  145 +++
 lib/libc/net/nscache.c            |  436 +++++++
 lib/libc/net/nscachedcli.c        |  574 +++++++++
 lib/libc/net/nsdispatch.3         |  258 ++++
 lib/libc/net/nsdispatch.c         |  744 +++++++++++
 lib/libc/net/nslexer.l            |  115 ++
 lib/libc/net/nsparser.y           |  182 +++
 lib/libc/net/nss_backends.h       |   43 +
 lib/libc/net/nss_compat.c         |  278 +++++
 lib/libc/rpc/getrpcent.c          | 1154 ++++++++++++++----
 share/man/man5/Makefile           |    4 +
 share/man/man5/group.5            |   45 +-
 share/man/man5/hesiod.conf.5      |   80 ++
 share/man/man5/hosts.5            |   12 +-
 share/man/man5/make.conf.5        |   11 +
 share/man/man5/nsswitch.conf.5    |  174 ++-
 share/man/man5/passwd.5           |  912 +++++----------
 share/man/man8/yp.8               |   35 +-
 usr.bin/Makefile                  |    4 +
 usr.bin/chpass/chpass.c           |    2 +-
 usr.bin/chpass/edit.c             |    2 +-
 usr.bin/chpass/pw_copy.c          |    2 +-
 usr.bin/hesinfo/Makefile          |    5 +
 usr.bin/hesinfo/hesinfo.1         |  198 +++
 usr.bin/hesinfo/hesinfo.c         |  106 ++
 usr.bin/passwd/Makefile           |    6 +-
 usr.sbin/Makefile                 |    5 +
 usr.sbin/nscd/Makefile            |   17 +
 usr.sbin/nscd/agent.c             |  124 ++
 usr.sbin/nscd/agent.h             |   72 ++
 usr.sbin/nscd/agents/Makefile.inc |    3 +
 usr.sbin/nscd/agents/group.c      |  257 ++++
 usr.sbin/nscd/agents/group.h      |   32 +
 usr.sbin/nscd/agents/passwd.c     |  264 ++++
 usr.sbin/nscd/agents/passwd.h     |   32 +
 usr.sbin/nscd/agents/services.c   |  278 +++++
 usr.sbin/nscd/agents/services.h   |   32 +
 usr.sbin/nscd/cachelib.c          | 1216 ++++++++++++++++++
 usr.sbin/nscd/cachelib.h          |  281 +++++
 usr.sbin/nscd/cacheplcs.c         |  584 +++++++++
 usr.sbin/nscd/cacheplcs.h         |  137 ++
 usr.sbin/nscd/config.c            |  577 +++++++++
 usr.sbin/nscd/config.h            |  156 +++
 usr.sbin/nscd/debug.c             |  147 +++
 usr.sbin/nscd/debug.h             |   67 +
 usr.sbin/nscd/hashtable.h         |  216 ++++
 usr.sbin/nscd/log.c               |   76 ++
 usr.sbin/nscd/log.h               |   43 +
 usr.sbin/nscd/mp_rs_query.c       |  533 ++++++++
 usr.sbin/nscd/mp_rs_query.h       |   34 +
 usr.sbin/nscd/mp_ws_query.c       |  543 ++++++++
 usr.sbin/nscd/mp_ws_query.h       |   36 +
 usr.sbin/nscd/nscd.8              |  165 +++
 usr.sbin/nscd/nscd.c              |  867 +++++++++++++
 usr.sbin/nscd/nscd.conf.5         |  148 +++
 usr.sbin/nscd/nscdcli.c           |  281 +++++
 usr.sbin/nscd/nscdcli.h           |   57 +
 usr.sbin/nscd/parser.c            |  472 +++++++
 usr.sbin/nscd/parser.h            |   35 +
 usr.sbin/nscd/protocol.c          |  548 ++++++++
 usr.sbin/nscd/protocol.h          |  265 ++++
 usr.sbin/nscd/query.c             | 1266 +++++++++++++++++++
 usr.sbin/nscd/query.h             |  108 ++
 usr.sbin/nscd/singletons.c        |   34 +
 usr.sbin/nscd/singletons.h        |   47 +
 usr.sbin/pwd_mkdb/Makefile        |   11 +-
 usr.sbin/pwd_mkdb/pw_scan.c       |  183 ---
 usr.sbin/pwd_mkdb/pw_scan.h       |   41 -
 usr.sbin/pwd_mkdb/pwd_mkdb.8      |   41 +-
 usr.sbin/pwd_mkdb/pwd_mkdb.c      |  297 ++++--
 usr.sbin/rarpd/Makefile           |    2 -
 usr.sbin/rarpd/rarpd.8            |   21 +-
 usr.sbin/rarpd/rarpd.c            |  351 ++----
 usr.sbin/ypserv/ypserv.8          |    4 +-
 136 files changed, 24109 insertions(+), 3867 deletions(-)
 delete mode 100644 etc/host.conf
 create mode 100644 etc/nscd.conf
 create mode 100644 etc/rc.d/nscd
 create mode 100644 etc/rc.d/nsswitch
 create mode 100644 include/hesiod.h
 create mode 100644 include/nss.h
 create mode 100644 include/nsswitch.h
 create mode 100644 lib/libc/gen/dlfunc.c
 create mode 100644 lib/libc/gen/pw_scan.c
 create mode 100644 lib/libc/gen/pw_scan.h
 create mode 100644 lib/libc/include/nscache.h
 create mode 100644 lib/libc/include/nscachedcli.h
 create mode 100644 lib/libc/include/nss_tls.h
 delete mode 100644 lib/libc/net/getservbyname.c
 delete mode 100644 lib/libc/net/getservbyport.c
 create mode 100644 lib/libc/net/hesiod.3
 create mode 100644 lib/libc/net/hesiod.c
 create mode 100644 lib/libc/net/netdb_private.h
 create mode 100644 lib/libc/net/nscache.c
 create mode 100644 lib/libc/net/nscachedcli.c
 create mode 100644 lib/libc/net/nsdispatch.3
 create mode 100644 lib/libc/net/nsdispatch.c
 create mode 100644 lib/libc/net/nslexer.l
 create mode 100644 lib/libc/net/nsparser.y
 create mode 100644 lib/libc/net/nss_backends.h
 create mode 100644 lib/libc/net/nss_compat.c
 create mode 100644 share/man/man5/hesiod.conf.5
 create mode 100644 usr.bin/hesinfo/Makefile
 create mode 100644 usr.bin/hesinfo/hesinfo.1
 create mode 100644 usr.bin/hesinfo/hesinfo.c
 create mode 100644 usr.sbin/nscd/Makefile
 create mode 100644 usr.sbin/nscd/agent.c
 create mode 100644 usr.sbin/nscd/agent.h
 create mode 100644 usr.sbin/nscd/agents/Makefile.inc
 create mode 100644 usr.sbin/nscd/agents/group.c
 create mode 100644 usr.sbin/nscd/agents/group.h
 create mode 100644 usr.sbin/nscd/agents/passwd.c
 create mode 100644 usr.sbin/nscd/agents/passwd.h
 create mode 100644 usr.sbin/nscd/agents/services.c
 create mode 100644 usr.sbin/nscd/agents/services.h
 create mode 100644 usr.sbin/nscd/cachelib.c
 create mode 100644 usr.sbin/nscd/cachelib.h
 create mode 100644 usr.sbin/nscd/cacheplcs.c
 create mode 100644 usr.sbin/nscd/cacheplcs.h
 create mode 100644 usr.sbin/nscd/config.c
 create mode 100644 usr.sbin/nscd/config.h
 create mode 100644 usr.sbin/nscd/debug.c
 create mode 100644 usr.sbin/nscd/debug.h
 create mode 100644 usr.sbin/nscd/hashtable.h
 create mode 100644 usr.sbin/nscd/log.c
 create mode 100644 usr.sbin/nscd/log.h
 create mode 100644 usr.sbin/nscd/mp_rs_query.c
 create mode 100644 usr.sbin/nscd/mp_rs_query.h
 create mode 100644 usr.sbin/nscd/mp_ws_query.c
 create mode 100644 usr.sbin/nscd/mp_ws_query.h
 create mode 100644 usr.sbin/nscd/nscd.8
 create mode 100644 usr.sbin/nscd/nscd.c
 create mode 100644 usr.sbin/nscd/nscd.conf.5
 create mode 100644 usr.sbin/nscd/nscdcli.c
 create mode 100644 usr.sbin/nscd/nscdcli.h
 create mode 100644 usr.sbin/nscd/parser.c
 create mode 100644 usr.sbin/nscd/parser.h
 create mode 100644 usr.sbin/nscd/protocol.c
 create mode 100644 usr.sbin/nscd/protocol.h
 create mode 100644 usr.sbin/nscd/query.c
 create mode 100644 usr.sbin/nscd/query.h
 create mode 100644 usr.sbin/nscd/singletons.c
 create mode 100644 usr.sbin/nscd/singletons.h
 delete mode 100644 usr.sbin/pwd_mkdb/pw_scan.c
 delete mode 100644 usr.sbin/pwd_mkdb/pw_scan.h

http://gitweb.dragonflybsd.org/?p=dragonfly.git;a=commitdiff;h=ed5d57202ebab0e923eb8e9d967a9f97792a6e8f


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]