[Midnightbsd-cvs] src [11278] trunk/usr.sbin/amd: update amd
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Tue Jul 3 21:06:58 EDT 2018
Revision: 11278
http://svnweb.midnightbsd.org/src/?rev=11278
Author: laffer1
Date: 2018-07-03 21:06:57 -0400 (Tue, 03 Jul 2018)
Log Message:
-----------
update amd
Modified Paths:
--------------
trunk/usr.sbin/amd/amd/Makefile
trunk/usr.sbin/amd/amq/Makefile
trunk/usr.sbin/amd/doc/Makefile
trunk/usr.sbin/amd/fixmount/Makefile
trunk/usr.sbin/amd/fsinfo/Makefile
trunk/usr.sbin/amd/hlfsd/Makefile
trunk/usr.sbin/amd/include/Makefile
trunk/usr.sbin/amd/include/amu_autofs_prot.h
trunk/usr.sbin/amd/include/amu_nfs_prot.h
trunk/usr.sbin/amd/include/aux_conf.h
trunk/usr.sbin/amd/include/build_version.h
trunk/usr.sbin/amd/include/config.h
trunk/usr.sbin/amd/include/newvers.sh
trunk/usr.sbin/amd/libamu/Makefile
trunk/usr.sbin/amd/mk-amd-map/Makefile
trunk/usr.sbin/amd/pawd/Makefile
trunk/usr.sbin/amd/scripts/Makefile
trunk/usr.sbin/amd/wire-test/Makefile
Modified: trunk/usr.sbin/amd/amd/Makefile
===================================================================
--- trunk/usr.sbin/amd/amd/Makefile 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/amd/Makefile 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1,9 +1,10 @@
+# $MidnightBSD$
# ex:ts=8
#
# Makefile for amd
# This file is under a "BSD" copyright (c) by David O'Brien 1998
#
-# $FreeBSD$
+# $FreeBSD: stable/10/usr.sbin/amd/amd/Makefile 313212 2017-02-04 16:00:51Z ngie $
#
.include <bsd.own.mk>
@@ -12,28 +13,52 @@
PROG= amd
MAN= amd.8
-SRCS= conf_parse.y conf_tok.l
-SRCS+= am_ops.c amd.c amfs_auto.c amfs_direct.c amfs_error.c amfs_generic.c
+SRCS= am_ops.c amd.c amfs_auto.c amfs_direct.c amfs_error.c amfs_generic.c
SRCS+= amfs_host.c amfs_link.c amfs_linkx.c amfs_nfsl.c
SRCS+= amfs_nfsx.c amfs_program.c amfs_root.c amfs_toplvl.c
SRCS+= amfs_union.c amq_subr.c amq_svc.c autil.c clock.c conf.c
SRCS+= get_args.c info_exec.c info_file.c info_ndbm.c info_passwd.c
+SRCS+= info_sun.c
SRCS+= info_union.c map.c mapc.c mntfs.c nfs_prot_svc.c nfs_start.c
-SRCS+= nfs_subr.c ops_cdfs.c ops_mfs.c ops_nfs.c ops_nfs3.c
-SRCS+= ops_nullfs.c ops_pcfs.c ops_tfs.c ops_ufs.c ops_umapfs.c
+SRCS+= nfs_subr.c ops_cdfs.c ops_lustre.c ops_mfs.c ops_nfs.c
+SRCS+= ops_nfs3.c ops_nfs4.c
+SRCS+= ops_nullfs.c ops_pcfs.c ops_tfs.c ops_tmpfs.c ops_udf.c ops_ufs.c
+SRCS+= ops_umapfs.c
SRCS+= ops_unionfs.c opts.c readdir.c restart.c rpc_fwd.c sched.c
-SRCS+= srvr_amfs_auto.c srvr_nfs.c
+SRCS+= srvr_amfs_auto.c srvr_nfs.c sun_map.c
CFLAGS+= -I${.CURDIR}/../../../contrib/amd/amd \
- -I${DESTDIR}/usr/include/rpcsvc
+ -I${SRCTOP}/contrib/amd/include \
+ -I${.OBJDIR}/../../../include/rpcsvc
-DPADD= ${LIBAMU} ${LIBWRAP}
-LDADD= ${LIBAMU} -lwrap
+DPADD= ${LIBAMU}
+LDADD= ${LIBAMU}
+SRCS+= conf_parse.c conf_parse.h conf_tok.c
+SRCS+= sun_map_parse.c sun_map_parse.h sun_map_tok.c
CLEANFILES+= conf_parse.c conf_parse.h conf_tok.c
+CLEANFILES+= sun_map_parse.c sun_map_parse.h sun_map_tok.c
-conf_tok.o: conf_parse.h
+conf_tok.c: conf_tok.l
+ ${LEX} ${LFLAGS} -Pconf_ -o${.TARGET} ${.ALLSRC}
+.ORDER: conf_parse.c conf_parse.h
+conf_parse.h: .NOMETA
+conf_parse.c conf_parse.h: conf_parse.y
+ ${YACC} ${YFLAGS} -pconf_ -oconf_parse.c ${.ALLSRC}
+
+sun_map_tok.c: sun_map_tok.l
+ ${LEX} ${LFLAGS} -Psun_map_ -o${.TARGET} ${.ALLSRC}
+
+.ORDER: sun_map_parse.c sun_map_parse.h
+sun_map_parse.h: .NOMETA
+sun_map_parse.c sun_map_parse.h: sun_map_parse.y
+ ${YACC} ${YFLAGS} -psun_map_ -osun_map_parse.c ${.ALLSRC}
+
+conf_tok.o: conf_parse.h
+
+sun_map_tok.o: sun_map_parse.h
+
# These are generated at compile time
SRCS+= mount_xdr.c
CLEANFILES+= mount_xdr.c
@@ -50,4 +75,10 @@
SRCS+= info_nis.c
.endif
+.if ${MK_TCP_WRAPPERS} != "no"
+CFLAGS+= -DHAVE_LIBWRAP -DHAVE_TCPD_H
+DPADD+= ${LIBWRAP}
+LDADD+= -lwrap
+.endif
+
.include <bsd.prog.mk>
Modified: trunk/usr.sbin/amd/amq/Makefile
===================================================================
--- trunk/usr.sbin/amd/amq/Makefile 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/amq/Makefile 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1,9 +1,10 @@
+# $MidnightBSD$
# ex:ts=8
#
# Makefile for amd
# This file is under a "BSD" copyright (c) by David O'Brien 1998
#
-# $FreeBSD$
+# $FreeBSD: stable/10/usr.sbin/amd/amq/Makefile 80029 2001-07-20 06:20:32Z obrien $
#
.PATH: ${.CURDIR}/../../../contrib/amd/amq
Modified: trunk/usr.sbin/amd/doc/Makefile
===================================================================
--- trunk/usr.sbin/amd/doc/Makefile 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/doc/Makefile 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1,6 +1,7 @@
+# $MidnightBSD$
# This file is under a "BSD" copyright (c) by David O'Brien 1998.
-# $FreeBSD$
+# $FreeBSD: stable/10/usr.sbin/amd/doc/Makefile 80029 2001-07-20 06:20:32Z obrien $
.PATH: ${.CURDIR}/../../../contrib/amd/doc
Modified: trunk/usr.sbin/amd/fixmount/Makefile
===================================================================
--- trunk/usr.sbin/amd/fixmount/Makefile 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/fixmount/Makefile 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1,9 +1,10 @@
+# $MidnightBSD$
# ex:ts=8
#
# Makefile for amd
# This file is under a "BSD" copyright (c) by David O'Brien 1998
#
-# $FreeBSD$
+# $FreeBSD: stable/10/usr.sbin/amd/fixmount/Makefile 80029 2001-07-20 06:20:32Z obrien $
.PATH: ${.CURDIR}/../../../contrib/amd/fixmount \
${.CURDIR}/../../../contrib/amd/conf/checkmount
Modified: trunk/usr.sbin/amd/fsinfo/Makefile
===================================================================
--- trunk/usr.sbin/amd/fsinfo/Makefile 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/fsinfo/Makefile 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1,25 +1,47 @@
+# $MidnightBSD$
# ex:ts=8
#
# Makefile for amd
# This file is under a "BSD" copyright (c) by David O'Brien 1998
#
-# $FreeBSD$
+# $FreeBSD: stable/10/usr.sbin/amd/fsinfo/Makefile 310490 2016-12-23 22:42:14Z cy $
.PATH: ${.CURDIR}/../../../contrib/amd/fsinfo
PROG= fsinfo
MAN= fsinfo.8
-SRCS= fsi_gram.y fsi_lex.l
-SRCS+= fsi_analyze.c fsi_dict.c fsi_util.c fsinfo.c wr_atab.c
-SRCS+= wr_bparam.c wr_dumpset.c wr_exportfs.c wr_fstab.c
+SRCS= fsi_analyze.c fsi_dict.c fsi_util.c fsinfo.c
+SRCS+= wr_atab.c wr_bparam.c wr_dumpset.c wr_exportfs.c wr_fstab.c
-CFLAGS+= -I${.CURDIR}/../../../contrib/amd/fsinfo
+CFLAGS+= -I${.CURDIR}/../../../contrib/amd/fsinfo \
+ -I${.CURDIR}/../../../contrib/amd/inculde
DPADD= ${LIBAMU}
LDADD= ${LIBAMU}
+SRCS+= fsi_gram.c fsi_gram.h fsi_lex.c
+SRCS+= null_gram.c null_gram.h null_lex.c
CLEANFILES+= fsi_gram.c fsi_gram.h fsi_lex.c
+CLEANFILES+= null_gram.c null_gram.h null_lex.c
+fsi_lex.c: fsi_lex.l
+ ${LEX} ${LFLAGS} -Pfsi_ -o${.TARGET} ${.ALLSRC}
+
+.ORDER: fsi_gram.c fsi_gram.h
+fsi_gram.h: .NOMETA
+fsi_gram.c fsi_gram.h: fsi_gram.y
+ ${YACC} ${YFLAGS} -pfsi_ -ofsi_gram.c ${.ALLSRC}
+
+null_lex.c: null_lex.l
+ ${LEX} ${LFLAGS} -Pnull_ -o${.TARGET} ${.ALLSRC}
+
+.ORDER: null_gram.c null_gram.h
+null_gram.h: .NOMETA
+null_gram.c null_gram.h: null_gram.y
+ ${YACC} ${YFLAGS} -pnull_ -onull_gram.c ${.ALLSRC}
+
fsi_lex.o: fsi_gram.h
+null_gram.o: null_gram.h
+
.include <bsd.prog.mk>
Modified: trunk/usr.sbin/amd/hlfsd/Makefile
===================================================================
--- trunk/usr.sbin/amd/hlfsd/Makefile 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/hlfsd/Makefile 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1,9 +1,10 @@
+# $MidnightBSD$
# ex:ts=8
#
# Makefile for amd
# This file is under a "BSD" copyright (c) by David O'Brien 1998
#
-# $FreeBSD$
+# $FreeBSD: stable/10/usr.sbin/amd/hlfsd/Makefile 125433 2004-02-04 11:59:08Z ru $
.PATH: ${.CURDIR}/../../../contrib/amd/hlfsd
Modified: trunk/usr.sbin/amd/include/Makefile
===================================================================
--- trunk/usr.sbin/amd/include/Makefile 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/include/Makefile 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1,6 +1,7 @@
+# $MidnightBSD$
# ex:ts=8
#
-# $MidnightBSD$
+# $FreeBSD: stable/10/usr.sbin/amd/include/Makefile 156813 2006-03-17 18:54:44Z ru $
#
# Makefile for amd
# This file is under a "BSD" copyright (c) by David O'Brien 1998.
Modified: trunk/usr.sbin/amd/include/amu_autofs_prot.h
===================================================================
--- trunk/usr.sbin/amd/include/amu_autofs_prot.h 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/include/amu_autofs_prot.h 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1,4 +1,5 @@
-// $MidnightBSD$
+/* $MidnightBSD$ */
+// $FreeBSD: stable/10/usr.sbin/amd/include/amu_autofs_prot.h 174309 2007-12-05 16:47:52Z obrien $
/* Adjust once we have some form of Autofs support. */
Modified: trunk/usr.sbin/amd/include/amu_nfs_prot.h
===================================================================
--- trunk/usr.sbin/amd/include/amu_nfs_prot.h 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/include/amu_nfs_prot.h 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1 +1,2 @@
+/* $MidnightBSD$ */
#include "conf/nfs_prot/nfs_prot_freebsd3.h"
Modified: trunk/usr.sbin/amd/include/aux_conf.h
===================================================================
--- trunk/usr.sbin/amd/include/aux_conf.h 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/include/aux_conf.h 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1,4 +1,5 @@
/* $MidnightBSD$ */
+/* $FreeBSD: stable/10/usr.sbin/amd/include/aux_conf.h 174311 2007-12-05 16:50:48Z obrien $ */
/*
* aux_conf.h:
Modified: trunk/usr.sbin/amd/include/build_version.h
===================================================================
--- trunk/usr.sbin/amd/include/build_version.h 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/include/build_version.h 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1,8 +1,9 @@
/* $MidnightBSD$ */
+/* $FreeBSD: stable/10/usr.sbin/amd/include/build_version.h 174304 2007-12-05 16:23:34Z obrien $ */
#include <sys/param.h>
/*#define AMU_BUILD_VERSION 1 */
-#define AMU_BUILD_VERSION __MidnightBSD_version
-#define USER_NAME "Lucas Holt <laffer1"
-#define HOST_NAME "MidnightBSD.org>"
-#define CONFIG_DATE "29-December-2013 EST"
+#define AMU_BUILD_VERSION __FreeBSD_version
+#define USER_NAME "David O'Brien <obrien"
+#define HOST_NAME "FreeBSD.org>"
+#define CONFIG_DATE "4-December-2007 PST"
Modified: trunk/usr.sbin/amd/include/config.h
===================================================================
--- trunk/usr.sbin/amd/include/config.h 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/include/config.h 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1,8 +1,12 @@
+/* $MidnightBSD$ */
/*
- * $MidnightBSD$
+ * $FreeBSD: stable/10/usr.sbin/amd/include/config.h 313212 2017-02-04 16:00:51Z ngie $
*
* portions derived from
* $NetBSD: config.h,v 1.11 1998/08/08 22:33:37 christos Exp $
+ *
+ * Additional portions derived from ports/sysutils/am-utils r416941
+ * make configure config.h output.
*/
#ifndef _CONFIG_H
@@ -11,6 +15,9 @@
/* We [FREEBSD-NATIVE] pick some parameters from our local config file */
#include "config_local.h"
+/* Define if building universal (internal helper macro) */
+/* #undef AC_APPLE_UNIVERSAL_BUILD */
+
/* define name of am-utils' NFS protocol header */
#define AMU_NFS_PROTOCOL_HEADER "./conf/nfs_prot/nfs_prot_freebsd3.h"
@@ -18,7 +25,7 @@
#define AUTH_CREATE_GIDLIST_TYPE gid_t
/* Define configuration date */
-/* #define CONFIG_DATE "Tue Dec 4 21:39:00 PST 2007" */
+/* #define CONFIG_DATE "Mon Oct 3 21:58:39 PDT 2016" */
/* Turn off general debugging by default */
/* #undef DEBUG */
@@ -28,7 +35,7 @@
/* Define name of host OS's distribution name (eg. debian, redhat, suse, etc.)
*/
-#define DISTRO_NAME "The MidnightBSD Project"
+#define DISTRO_NAME "The FreeBSD Project"
/* Define to the type of elements in the array set by `getgroups'. Usually
this is either `int' or `gid_t'. */
@@ -176,9 +183,15 @@
/* Define to 1 if `flags' is member of `efs_args_t'. */
/* #undef HAVE_EFS_ARGS_T_FLAGS */
+/* Define to 1 if `version' is member of `efs_args_t'. */
+/* #undef HAVE_EFS_ARGS_T_VERSION */
+
/* Define to 1 if `fspec' is member of `efs_args_t'. */
/* #undef HAVE_EFS_ARGS_T_FSPEC */
+/* Define to 1 if `version' is member of `efs_args_t'. */
+/* #undef HAVE_EFS_ARGS_T_VERSION */
+
/* Define to 1 if you have the <errno.h> header file. */
#define HAVE_ERRNO_H 1
@@ -320,6 +333,12 @@
/* Define if have EFS filesystem (irix) */
/* #undef HAVE_FS_EFS */
+/* Define to 1 if you have the <fs/efs/efs_mount.h> header file. */
+/* #undef HAVE_FS_EFS_EFS_MOUNT_H */
+
+/* Define if have EXT{2,3,4} filesystem (linux) */
+/* #undef HAVE_FS_EXT */
+
/* Define if have FFS filesystem */
/* #undef HAVE_FS_FFS */
@@ -329,9 +348,15 @@
/* Define if have LOFS filesystem */
/* #undef HAVE_FS_LOFS */
+/* Define if have LUSTRE filesystem */
+/* #undef HAVE_FS_LUSTRE */
+
/* Define if have MFS filesystem */
-/* #undef HAVE_FS_MFS */
+#define HAVE_FS_MFS 1
+/* Define to 1 if you have the <fs/msdosfs/msdosfsmount.h> header file. */
+/* #undef HAVE_FS_MSDOSFS_MSDOSFSMOUNT_H */
+
/* Define if have NFS filesystem */
#define HAVE_FS_NFS 1
@@ -338,6 +363,9 @@
/* Define if have NFS3 filesystem */
#define HAVE_FS_NFS3 1
+/* Define if have NFS4 filesystem */
+/* #undef HAVE_FS_NFS4 */
+
/* Define if have NULLFS (loopback on bsd44) filesystem */
#define HAVE_FS_NULLFS 1
@@ -348,8 +376,17 @@
/* #undef HAVE_FS_TFS */
/* Define if have TMPFS filesystem */
-/* #undef HAVE_FS_TMPFS */
+#define HAVE_FS_TMPFS 1
+/* Define to 1 if you have the <fs/tmpfs/tmpfs_args.h> header file. */
+/* #undef HAVE_FS_TMPFS_TMPFS_ARGS_H */
+
+/* Define if have UDF filesystem */
+#define HAVE_FS_UDF 1
+
+/* Define to 1 if you have the <fs/udf/udf_mount.h> header file. */
+#define HAVE_FS_UDF_UDF_MOUNT_H 1
+
/* Define if have UFS filesystem */
#define HAVE_FS_UFS 1
@@ -494,7 +531,7 @@
/* #undef HAVE_LIBRT */
/* does libwrap exist? */
-#define HAVE_LIBWRAP 1
+/* #undef HAVE_LIBWRAP */
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
@@ -520,6 +557,9 @@
/* Define to 1 if you have the <linux/nfs2.h> header file. */
/* #undef HAVE_LINUX_NFS2_H */
+/* Define to 1 if you have the <linux/nfs4.h> header file. */
+/* #undef HAVE_LINUX_NFS4_H */
+
/* Define to 1 if you have the <linux/nfs.h> header file. */
/* #undef HAVE_LINUX_NFS_H */
@@ -575,6 +615,9 @@
/* Define if have PASSWD maps */
#define HAVE_MAP_PASSWD 1
+/* Define if have Sun-syntax maps */
+#define HAVE_MAP_SUN 1
+
/* Define if have UNION maps */
#define HAVE_MAP_UNION 1
@@ -695,6 +738,9 @@
/* Define to 1 if `bsize' is member of `nfs_args_t'. */
/* #undef HAVE_NFS_ARGS_T_BSIZE */
+/* Define to 1 if `context' is member of `nfs_args_t'. */
+/* #undef HAVE_NFS_ARGS_T_CONTEXT */
+
/* Define to 1 if `fhsize' is member of `nfs_args_t'. */
#define HAVE_NFS_ARGS_T_FHSIZE 1
@@ -710,9 +756,15 @@
/* Define to 1 if `optstr' is member of `nfs_args_t'. */
/* #undef HAVE_NFS_ARGS_T_OPTSTR */
+/* Define to 1 if `pathconf' is member of `nfs_args_t'. */
+/* #undef HAVE_NFS_ARGS_T_PATHCONF */
+
/* Define to 1 if `proto' is member of `nfs_args_t'. */
#define HAVE_NFS_ARGS_T_PROTO 1
+/* Define to 1 if `pseudoflavor' is member of `nfs_args_t'. */
+/* #undef HAVE_NFS_ARGS_T_PSEUDOFLAVOR */
+
/* Define to 1 if `sotype' is member of `nfs_args_t'. */
#define HAVE_NFS_ARGS_T_SOTYPE 1
@@ -763,6 +815,7 @@
/* Define to 1 if you have the `opendir' function. */
#define HAVE_OPENDIR 1
+
/* Define to 1 if `dsttime' is member of `pcfs_args_t'. */
/* #undef HAVE_PCFS_ARGS_T_DSTTIME */
@@ -833,6 +886,9 @@
/* Define to 1 if you have the <rpc/auth_des.h> header file. */
#define HAVE_RPC_AUTH_DES_H 1
+/* Define to 1 if you have the <rpc/auth.h> header file. */
+#define HAVE_RPC_AUTH_H 1
+
/* Define to 1 if you have the <rpc/pmap_clnt.h> header file. */
#define HAVE_RPC_PMAP_CLNT_H 1
@@ -1152,7 +1208,7 @@
#define HAVE_SYS_WAIT_H 1
/* Define to 1 if you have the <tcpd.h> header file. */
-#define HAVE_TCPD_H 1
+/* #undef HAVE_TCPD_H */
/* Define to 1 if you have the <time.h> header file. */
#define HAVE_TIME_H 1
@@ -1160,6 +1216,24 @@
/* Define to 1 if you have the <tiuser.h> header file. */
/* #undef HAVE_TIUSER_H */
+/* Define to 1 if `ta_nodes_max' is member of `tmpfs_args_t'. */
+/* #undef HAVE_TMPFS_ARGS_T_TA_NODES_MAX */
+
+/* Define to 1 if `ta_root_gid' is member of `tmpfs_args_t'. */
+/* #undef HAVE_TMPFS_ARGS_T_TA_ROOT_GID */
+
+/* Define to 1 if `ta_root_mode' is member of `tmpfs_args_t'. */
+/* #undef HAVE_TMPFS_ARGS_T_TA_ROOT_MODE */
+
+/* Define to 1 if `ta_root_uid' is member of `tmpfs_args_t'. */
+/* #undef HAVE_TMPFS_ARGS_T_TA_ROOT_UID */
+
+/* Define to 1 if `ta_size_max' is member of `tmpfs_args_t'. */
+/* #undef HAVE_TMPFS_ARGS_T_TA_SIZE_MAX */
+
+/* Define to 1 if `ta_version' is member of `tmpfs_args_t'. */
+/* #undef HAVE_TMPFS_ARGS_T_TA_VERSION */
+
/* Define to 1 if you have the <tmpfs/tmp.h> header file. */
/* #undef HAVE_TMPFS_TMP_H */
@@ -1169,6 +1243,36 @@
/* Define to 1 if you have the `ualarm' function. */
#define HAVE_UALARM 1
+/* Define to 1 if `anon_gid' is member of `udf_args_t'. */
+/* #undef HAVE_UDF_ARGS_T_ANON_GID */
+
+/* Define to 1 if `anon_uid' is member of `udf_args_t'. */
+/* #undef HAVE_UDF_ARGS_T_ANON_UID */
+
+/* Define to 1 if `fspec' is member of `udf_args_t'. */
+/* #undef HAVE_UDF_ARGS_T_FSPEC */
+
+/* Define to 1 if `gmtoff' is member of `udf_args_t'. */
+/* #undef HAVE_UDF_ARGS_T_GMTOFF */
+
+/* Define to 1 if `nobody_gid' is member of `udf_args_t'. */
+/* #undef HAVE_UDF_ARGS_T_NOBODY_GID */
+
+/* Define to 1 if `nobody_uid' is member of `udf_args_t'. */
+/* #undef HAVE_UDF_ARGS_T_NOBODY_UID */
+
+/* Define to 1 if `sector_size' is member of `udf_args_t'. */
+/* #undef HAVE_UDF_ARGS_T_SECTOR_SIZE */
+
+/* Define to 1 if `sessionnr' is member of `udf_args_t'. */
+/* #undef HAVE_UDF_ARGS_T_SESSIONNR */
+
+/* Define to 1 if `udfmflags' is member of `udf_args_t'. */
+/* #undef HAVE_UDF_ARGS_T_UDFMFLAGS */
+
+/* Define to 1 if `version' is member of `udf_args_t'. */
+/* #undef HAVE_UDF_ARGS_T_VERSION */
+
/* Define to 1 if `flags' is member of `ufs_args_t'. */
/* #undef HAVE_UFS_ARGS_T_FLAGS */
@@ -1355,6 +1459,9 @@
/* Define to 1 if you have the `xdr_symlinkargs' function. */
#define HAVE_XDR_SYMLINKARGS 1
+/* Define to 1 if you have the `xdr_u_int64_t' function. */
+#define HAVE_XDR_U_INT64_T 1
+
/* Define to 1 if you have the `xdr_writeargs' function. */
#define HAVE_XDR_WRITEARGS 1
@@ -1395,26 +1502,49 @@
/* #define HOST_NAME "trang.nuxi.org" */
/* Define name and version of host machine (eg. solaris2.5.1) */
-/* #define HOST_OS "freebsd8.0" */
+/* #define HOST_OS "freebsd12.0" */
/* Define only name of host machine OS (eg. solaris2) */
-/* #define HOST_OS_NAME "freebsd8" */
+/* #define HOST_OS_NAME "freebsd12" */
/* Define only version of host machine (eg. 2.5.1) */
-/* #define HOST_OS_VERSION "8.0" */
+/* #define HOST_OS_VERSION "12.0" */
/* Define name of host machine's vendor (eg. sun) */
#define HOST_VENDOR "undermydesk"
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+ */
+#define LT_OBJDIR ".libs/"
+
/* Ignore permission bits */
/* #undef MNT2_CDFS_OPT_DEFPERM */
+/* Enable external attributes */
+#define MNT2_CDFS_OPT_EXTATT 0x4
+
+/* Show file generations */
+#define MNT2_CDFS_OPT_GENS 0x2
+
+/* Disable filename case translation */
+/* #undef MNT2_CDFS_OPT_NOCASETRANS */
+
/* Use on-disk permission bits */
/* #undef MNT2_CDFS_OPT_NODEFPERM */
+/* Disable Joliet extensions */
+#define MNT2_CDFS_OPT_NOJOLIET 0x8
+
+/* Disable Rock Ridge Interchange Protocol (RRIP) extensions */
+#define MNT2_CDFS_OPT_NORRIP 0x1
+
/* Strip off extension from version string */
/* #undef MNT2_CDFS_OPT_NOVERSION */
+/* Enable Rock Ridge Interchange Protocol (RRIP) case insensitive filename
+ extensions */
+/* #undef MNT2_CDFS_OPT_RRCASEINS */
+
/* Use Rock Ridge Interchange Protocol (RRIP) extensions */
/* #undef MNT2_CDFS_OPT_RRIP */
@@ -1454,6 +1584,9 @@
/* journaling filesystem (AIX's UFS/FFS) */
/* #undef MNT2_GEN_OPT_JFS */
+/* honor mandatory locking requests */
+/* #undef MNT2_GEN_OPT_MANDLOCK */
+
/* do multi-component lookup on files */
/* #undef MNT2_GEN_OPT_MULTI */
@@ -1463,6 +1596,9 @@
/* NFS mount */
/* #undef MNT2_GEN_OPT_NFS */
+/* don't update access times */
+#define MNT2_GEN_OPT_NOATIME 0x10000000
+
/* nocache (what?) */
/* #undef MNT2_GEN_OPT_NOCACHE */
@@ -1469,6 +1605,9 @@
/* do not interpret special device files */
#define MNT2_GEN_OPT_NODEV 0x0
+/* don't update directory access times */
+/* #undef MNT2_GEN_OPT_NODIRATIME */
+
/* no exec calls allowed */
#define MNT2_GEN_OPT_NOEXEC 0x4
@@ -1512,7 +1651,7 @@
/* #undef MNT2_GEN_OPT_SYS5 */
/* Union mount */
-/* #undef MNT2_GEN_OPT_UNION */
+#define MNT2_GEN_OPT_UNION 0x20
/* set max secs for dir attr cache */
#define MNT2_NFS_OPT_ACDIRMAX 0x200000
@@ -1532,6 +1671,9 @@
/* hide mount type from df(1) */
/* #undef MNT2_NFS_OPT_AUTO */
+/* Linux broken setuid */
+/* #undef MNT2_NFS_OPT_BROKEN_SUID */
+
/* set dead server retry thresh */
#define MNT2_NFS_OPT_DEADTHRESH 0x4000
@@ -1598,11 +1740,14 @@
/* don't cache attributes */
/* #undef MNT2_NFS_OPT_NOAC */
+/* does not support Access Control Lists */
+/* #undef MNT2_NFS_OPT_NOACL */
+
/* Don't Connect the socket */
#define MNT2_NFS_OPT_NOCONN 0x80
/* no close-to-open consistency */
-/* #undef MNT2_NFS_OPT_NOCTO */
+#define MNT2_NFS_OPT_NOCTO 0x20000000
/* disallow interrupts on hard mounts */
/* #undef MNT2_NFS_OPT_NOINT */
@@ -1610,6 +1755,9 @@
/* Don't use locking */
/* #undef MNT2_NFS_OPT_NONLM */
+/* does not support readdir+ */
+/* #undef MNT2_NFS_OPT_NORDIRPLUS */
+
/* Get lease for lookup */
/* #undef MNT2_NFS_OPT_NQLOOKLEASE */
@@ -1670,6 +1818,9 @@
/* spongy mount */
/* #undef MNT2_NFS_OPT_SPONGY */
+/* Reserved for nfsv4 */
+/* #undef MNT2_NFS_OPT_STRICTLOCK */
+
/* set symlink cache time-to-live */
/* #undef MNT2_NFS_OPT_SYMTTL */
@@ -1679,6 +1830,9 @@
/* set initial timeout */
#define MNT2_NFS_OPT_TIMEO 0x8
+/* do not use shared cache for all mountpoints */
+/* #undef MNT2_NFS_OPT_UNSHARED */
+
/* linux NFSv3 */
/* #undef MNT2_NFS_OPT_VER3 */
@@ -1781,6 +1935,9 @@
/* Mount Table option string: Don't cache attributes at all */
/* #undef MNTTAB_OPT_NOAC */
+/* Access Control Lists are not supported */
+/* #undef MNTTAB_OPT_NOACL */
+
/* Mount Table option string: No auto (what?) */
/* #undef MNTTAB_OPT_NOAUTO */
@@ -1901,6 +2058,15 @@
/* Mount-table entry name for EFS filesystem (irix) */
/* #undef MNTTAB_TYPE_EFS */
+/* Mount-table entry name for EXT2 filesystem (linux) */
+/* #undef MNTTAB_TYPE_EXT2 */
+
+/* Mount-table entry name for EXT3 filesystem (linux) */
+/* #undef MNTTAB_TYPE_EXT3 */
+
+/* Mount-table entry name for EXT4 filesystem (linux) */
+/* #undef MNTTAB_TYPE_EXT4 */
+
/* Mount-table entry name for FFS filesystem */
/* #undef MNTTAB_TYPE_FFS */
@@ -1907,15 +2073,21 @@
/* Mount-table entry name for LOFS filesystem */
/* #undef MNTTAB_TYPE_LOFS */
+/* Mount-table entry name for LUSTRE filesystem */
+/* #undef MNTTAB_TYPE_LUSTRE */
+
/* Mount-table entry name for MFS filesystem */
-/* #undef MNTTAB_TYPE_MFS */
+#define MNTTAB_TYPE_MFS "mfs"
/* Mount-table entry name for NFS filesystem */
#define MNTTAB_TYPE_NFS "nfs"
/* Mount-table entry name for NFS3 filesystem */
-#define MNTTAB_TYPE_NFS3 "nfs3"
+#define MNTTAB_TYPE_NFS3 "nfs"
+/* Mount-table entry name for NFS4 filesystem */
+#define MNTTAB_TYPE_NFS4 "nfs"
+
/* Mount-table entry name for NULLFS (loopback on bsd44) filesystem */
#define MNTTAB_TYPE_NULLFS "nullfs"
@@ -1925,9 +2097,12 @@
/* Mount-table entry name for TFS filesystem */
/* #undef MNTTAB_TYPE_TFS */
-/* Mount-table entry name for TMPFS filesystem */
-/* #undef MNTTAB_TYPE_TMPFS */
+/* Mount(2) type/name for TMPFS filesystem */
+#define MNTTAB_TYPE_TMPFS "tmpfs"
+/* Mount(2) type/name for UDF filesystem */
+#define MNTTAB_TYPE_UDF "udf"
+
/* Mount-table entry name for UFS filesystem */
#define MNTTAB_TYPE_UFS "ufs"
@@ -1958,6 +2133,15 @@
/* Mount(2) type/name for EFS filesystem (irix) */
/* #undef MOUNT_TYPE_EFS */
+/* Mount(2) type/name for EXT2 filesystem (linux) */
+/* #undef MOUNT_TYPE_EXT2 */
+
+/* Mount(2) type/name for EXT3 filesystem (linux) */
+/* #undef MOUNT_TYPE_EXT3 */
+
+/* Mount(2) type/name for EXT4 filesystem (linux) */
+/* #undef MOUNT_TYPE_EXT4 */
+
/* Mount(2) type/name for FFS filesystem */
/* #undef MOUNT_TYPE_FFS */
@@ -1968,7 +2152,7 @@
/* #undef MOUNT_TYPE_LOFS */
/* Mount(2) type/name for MFS filesystem */
-/* #undef MOUNT_TYPE_MFS */
+#define MOUNT_TYPE_MFS "mfs"
/* Mount(2) type/name for NFS filesystem */
#define MOUNT_TYPE_NFS "nfs"
@@ -1976,6 +2160,9 @@
/* Mount(2) type/name for NFS3 filesystem */
#define MOUNT_TYPE_NFS3 MOUNT_NFS3
+/* Mount(2) type/name for NFS4 filesystem */
+/* #undef MOUNT_TYPE_NFS4 */
+
/* Mount(2) type/name for NULLFS (loopback on bsd44) filesystem */
#define MOUNT_TYPE_NULLFS "nullfs"
@@ -1984,8 +2171,11 @@
#define MOUNT_TYPE_PCFS "msdosfs"
/* Mount(2) type/name for TFS filesystem */
-/* #undef MOUNT_TYPE_TFS */
+#define MOUNT_TYPE_TMPFS "tmpfs"
+/* Mount(2) type/name for UDF filesystem */
+#define MOUNT_TYPE_UDF "udf"
+
/* Mount(2) type/name for TMPFS filesystem */
/* #undef MOUNT_TYPE_TMPFS */
@@ -2030,16 +2220,19 @@
#define PACKAGE_NAME "am-utils"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "am-utils 6.1.5"
+#define PACKAGE_STRING "am-utils 6.2"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "am-utils"
+/* Define to the home page for this package. */
+#define PACKAGE_URL ""
+
/* Define to the version of this package. */
-#define PACKAGE_VERSION "6.1.5"
+#define PACKAGE_VERSION "6.2"
/* Type of the 6th argument to recvfrom() */
-#define RECVFROM_FROMLEN_TYPE int
+#define RECVFROM_FROMLEN_TYPE socklen_t
/* should signal handlers be reinstalled? */
/* #undef REINSTALL_SIGNAL_HANDLER */
@@ -2066,20 +2259,49 @@
/* #undef TM_IN_SYS_TIME */
/* Define user name */
-/* #define USER_NAME "obrien" */
+/* #define USER_NAME "cy" */
/* define if must NOT use NFS "noconn" option */
#define USE_CONNECTED_NFS_SOCKETS 1
+/* Enable extensions on AIX 3, Interix. */
+#ifndef _ALL_SOURCE
+# define _ALL_SOURCE 1
+#endif
+/* Enable GNU extensions on systems that have them. */
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE 1
+#endif
+/* Enable threading extensions on Solaris. */
+#ifndef _POSIX_PTHREAD_SEMANTICS
+# define _POSIX_PTHREAD_SEMANTICS 1
+#endif
+/* Enable extensions on HP NonStop. */
+#ifndef _TANDEM_SOURCE
+# define _TANDEM_SOURCE 1
+#endif
+/* Enable general extensions on Solaris. */
+#ifndef __EXTENSIONS__
+# define __EXTENSIONS__ 1
+#endif
+
/* define if must use NFS "noconn" option */
/* #undef USE_UNCONNECTED_NFS_SOCKETS */
/* Version number of package */
-#define VERSION "6.1.5"
+#define VERSION "6.2"
-/* Define to 1 if your processor stores words with the most significant byte
- first (like Motorola and SPARC, unlike Intel and VAX). */
-/* #undef WORDS_BIGENDIAN */
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+ significant byte first (like Motorola and SPARC, unlike Intel). */
+#if defined AC_APPLE_UNIVERSAL_BUILD
+# if defined __BIG_ENDIAN__
+# define WORDS_BIGENDIAN 1
+# endif
+#else
+# ifndef WORDS_BIGENDIAN
+/* # undef WORDS_BIGENDIAN */
+# endif
+#endif
/* Define to the type of xdr procedure type */
#define XDRPROC_T_TYPE xdrproc_t
@@ -2091,13 +2313,27 @@
`char[]'. */
#define YYTEXT_POINTER 1
-/* Define to 1 if on AIX 3.
- System headers sometimes define this.
- We just want to avoid a redefinition error message. */
-#ifndef _ALL_SOURCE
-/* # undef _ALL_SOURCE */
+/* Enable large inode numbers on Mac OS X 10.5. */
+#ifndef _DARWIN_USE_64_BIT_INODE
+# define _DARWIN_USE_64_BIT_INODE 1
#endif
+/* Number of bits in a file offset, on hosts where this is settable. */
+/* #undef _FILE_OFFSET_BITS */
+
+/* Define for large files, on AIX-style hosts. */
+/* #undef _LARGE_FILES */
+
+/* Define to 1 if on MINIX. */
+/* #undef _MINIX */
+
+/* Define to 2 if the system does not provide POSIX.1 features except with
+ this defined. */
+/* #undef _POSIX_1_SOURCE */
+
+/* Define to 1 if you need to in order for `stat' and other things to work. */
+/* #undef _POSIX_SOURCE */
+
/* Define a type/structure for an NFS V2 filehandle */
#define am_nfs_fh nfs_fh
@@ -2155,7 +2391,7 @@
/* Check if rpcvers_t is defined in <rpc/types.h> */
/* #undef rpcvers_t */
-/* Define to `unsigned' if <sys/types.h> does not define. */
+/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */
/* Define to `long' if <sys/types.h> does not define. */
@@ -2164,6 +2400,9 @@
/* Define a type for the tmpfs_args structure */
/* #undef tmpfs_args_t */
+/* Define a type for the udf_args structure */
+/* #undef udf_args_t */
+
/* Define a type for the ufs_args structure */
#define ufs_args_t struct ufs_args
Modified: trunk/usr.sbin/amd/include/newvers.sh
===================================================================
--- trunk/usr.sbin/amd/include/newvers.sh 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/include/newvers.sh 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1,4 +1,5 @@
# $NetBSD: mkconf,v 1.1.1.1 1997/07/24 21:20:12 christos Exp $
+# $FreeBSD: stable/10/usr.sbin/amd/include/newvers.sh 174304 2007-12-05 16:23:34Z obrien $
# $MidnightBSD$
# mkconf
# Generate local configuration parameters for amd
Modified: trunk/usr.sbin/amd/libamu/Makefile
===================================================================
--- trunk/usr.sbin/amd/libamu/Makefile 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/libamu/Makefile 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1,9 +1,10 @@
+# $MidnightBSD$
# ex:ts=8
#
# Makefile for amd
# This file is under a "BSD" copyright (c) by David O'Brien 1998
#
-# $FreeBSD$
+# $FreeBSD: stable/10/usr.sbin/amd/libamu/Makefile 308346 2016-11-05 17:02:38Z cy $
.PATH: ${.CURDIR}/../../../contrib/amd/libamu \
${.CURDIR}/../../../contrib/amd/conf/transp \
@@ -23,7 +24,7 @@
CLEANFILES+= nfs_prot_x.c xdr_func_%undef.c
CFLAGS+= -I${.CURDIR}/../../../contrib/amd/libamu \
- -I${DESTDIR}/usr/include/rpcsvc
+ -I${.OBJDIR}/../../../include/rpcsvc
nfs_prot_x.c: ${NFS_PROT_X}
${RPCCOM} -c -C -DWANT_NFS3 ${NFS_PROT_X} -o ${.TARGET}
Modified: trunk/usr.sbin/amd/mk-amd-map/Makefile
===================================================================
--- trunk/usr.sbin/amd/mk-amd-map/Makefile 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/mk-amd-map/Makefile 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1,9 +1,10 @@
+# $MidnightBSD$
# ex:ts=8
#
# Makefile for amd
# This file is under a "BSD" copyright (c) by David O'Brien 1998
#
-# $FreeBSD$
+# $FreeBSD: stable/10/usr.sbin/amd/mk-amd-map/Makefile 174305 2007-12-05 16:25:43Z obrien $
.PATH: ${.CURDIR}/../../../contrib/amd/mk-amd-map
Modified: trunk/usr.sbin/amd/pawd/Makefile
===================================================================
--- trunk/usr.sbin/amd/pawd/Makefile 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/pawd/Makefile 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1,9 +1,10 @@
+# $MidnightBSD$
# ex:ts=8
#
# Makefile for amd
# This file is under a "BSD" copyright (c) by David O'Brien 1998
#
-# $FreeBSD$
+# $FreeBSD: stable/10/usr.sbin/amd/pawd/Makefile 80029 2001-07-20 06:20:32Z obrien $
.PATH: ${.CURDIR}/../../../contrib/amd/amq
Modified: trunk/usr.sbin/amd/scripts/Makefile
===================================================================
--- trunk/usr.sbin/amd/scripts/Makefile 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/scripts/Makefile 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1,4 +1,5 @@
-# $FreeBSD$
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.sbin/amd/scripts/Makefile 80029 2001-07-20 06:20:32Z obrien $
.PATH: ${.CURDIR}/../../../contrib/amd/scripts
Modified: trunk/usr.sbin/amd/wire-test/Makefile
===================================================================
--- trunk/usr.sbin/amd/wire-test/Makefile 2018-07-04 01:04:50 UTC (rev 11277)
+++ trunk/usr.sbin/amd/wire-test/Makefile 2018-07-04 01:06:57 UTC (rev 11278)
@@ -1,3 +1,4 @@
+# $MidnightBSD$
# ex:ts=8
#
# Makefile for amd
More information about the Midnightbsd-cvs
mailing list