summaryrefslogtreecommitdiffstats
path: root/chpass/Makefile
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2000-09-06 18:16:48 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2000-09-06 18:16:48 +0000
commit64f057143b18b4110b24c745b8aefcc8da518d76 (patch)
treedc98efa4cf55258bc53bec373b43fb6a2721d1f2 /chpass/Makefile
parent399d39681121c06e014dc7527c0932259fa55d13 (diff)
downloadpw-darwin-64f057143b18b4110b24c745b8aefcc8da518d76.tar.gz
pw-darwin-64f057143b18b4110b24c745b8aefcc8da518d76.tar.zst
pw-darwin-64f057143b18b4110b24c745b8aefcc8da518d76.zip
Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be looked up using flat files, NIS, or Hesiod. = Hesiod has been added to libc (see hesiod(3)). = A library routine for parsing nsswitch.conf and invoking callback functions as specified has been added to libc (see nsdispatch(3)). = The following C library functions have been modified to use nsdispatch: . getgrent, getgrnam, getgrgid . getpwent, getpwnam, getpwuid . getusershell . getaddrinfo . gethostbyname, gethostbyname2, gethostbyaddr . getnetbyname, getnetbyaddr . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr = host.conf has been removed from src/etc. rc.network has been modified to warn that host.conf is no longer used at boot time. In addition, if there is a host.conf but no nsswitch.conf, the latter is created at boot time from the former. Obtained from: NetBSD
Diffstat (limited to 'chpass/Makefile')
-rw-r--r--chpass/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/chpass/Makefile b/chpass/Makefile
index 7966608..8b2db0b 100644
--- a/chpass/Makefile
+++ b/chpass/Makefile
@@ -10,8 +10,9 @@ GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_clnt.c yppasswd_private.h \
BINMODE=4555
.PATH: ${.CURDIR}/../../usr.sbin/pwd_mkdb ${.CURDIR}/../../usr.sbin/vipw \
${.CURDIR}/../../libexec/ypxfr \
- ${.CURDIR}/../../usr.sbin/rpc.yppasswdd
-CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../usr.sbin/vipw
+ ${.CURDIR}/../../usr.sbin/rpc.yppasswdd \
+ ${.CURDIR}/../../lib/libc/gen
+CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../usr.sbin/vipw -I${.CURDIR}/../../lib/libc/gen
LINKS= ${BINDIR}/chpass ${BINDIR}/chfn
LINKS+= ${BINDIR}/chpass ${BINDIR}/chsh
LINKS+= ${BINDIR}/chpass ${BINDIR}/ypchpass