Date: Mon, 28 Apr 1997 22:41:23 -0600 (MDT) From: Kevin Van Maren <vanmaren@marker.cs.utah.edu> To: dfr@hub.freebsd.org, freebsd-current@hub.freebsd.org Subject: AMD support under current Message-ID: <199704290441.WAA18907@marker.cs.utah.edu>
next in thread | raw e-mail | index | archive | help
Many thanks to Doug Rabson, who apparently committed changes to amd so that /n/FOO works again! Interestingly, the hesiod support worked (/home/BAR), but not `normal' accesses. In addition to the config file changes, we've had to change this line since at least 2.1.5 for hesiod support: (So maybe change it in 2.2 and 2.1 as well?) Index: amd/info_hes.c =================================================================== RCS file: /q/current/src/usr.sbin/amd/amd/info_hes.c,v retrieving revision 1.4 diff -u -r1.4 info_hes.c --- info_hes.c 1997/02/22 16:01:31 1.4 +++ info_hes.c 1997/04/29 04:20:32 @@ -107,7 +107,7 @@ * Do a Hesiod nameserver call. * Modify time is ignored by Hesiod - XXX */ -int hesiod_search P((mnt_map *m, char *map, char **pval, time_t *tp)); +int hesiod_search P((mnt_map *m, char *map, char *key, char **pval, time_t *tp)); int hesiod_search(m, map, key, pval, tp) mnt_map *m; char *map; Also, the Makefile is missing this line: Index: amd/Makefile =================================================================== RCS file: /q/current/src/usr.sbin/amd/amd/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 1997/04/19 09:15:09 1.5 +++ Makefile 1997/04/29 04:19:27 @@ -23,6 +23,7 @@ CFLAGS+=-DOS_HDR=\"os-${OS}.h\" CFLAGS+=${CONFIG} CFLAGS+=-D_NEW_VFSCONF +LDADD= ${XLIBDIR} ${RESOLV} CLEANFILES+=vers.${PROG}.c vers.${PROG}.o version.amd CLEANFILES+=mount.h mount_xdr.c nfs_prot.h nfs_prot_xdr.c nfs_prot_svc.c RPCCOM = rpcgen With that line, it is just necessary to modify the amd/Makefile.config file. (That, and provide the hesiod library and header files). Would it be possible to get these changes into -current? They are trivial. Thanks, Kevin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704290441.WAA18907>