pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add openafs-git
Module Name: pkgsrc-wip
Committed By: Jonathan A. Kollasch <jakllsch%kollasch.net@localhost>
Pushed By: jakllsch
Date: Mon May 7 14:27:20 2018 -0500
Changeset: 8776ed448eea99908d44bbaf4cf0296f58915bc0
Added Files:
openafs-git/DESCR
openafs-git/Makefile
openafs-git/PLIST
openafs-git/distinfo
openafs-git/files/bosserver.sh
openafs-git/old-patches/patch-configure
openafs-git/old-patches/patch-configure-libafs
openafs-git/options.mk
openafs-git/patches/patch-src_afs_NBSD_osi__machdep.h
openafs-git/patches/patch-src_afs_NBSD_osi__vm.c
openafs-git/patches/patch-src_afs_NBSD_osi__vnodeops.c
openafs-git/patches/patch-src_auth_cellconfig.c
openafs-git/patches/patch-src_config_param.amd64__nbsd70.h
openafs-git/patches/patch-src_config_param.i386__nbsd70.h
openafs-git/patches/patch-src_config_param.nbsd70.h
openafs-git/patches/patch-src_config_shlib-build.in
openafs-git/patches/patch-src_config_shlib-install.in
openafs-git/patches/patch-src_crypto_hcrypto_kernel_config.h
openafs-git/patches/patch-src_external_heimdal_roken_roken-common.h
openafs-git/patches/patch-src_external_heimdal_roken_roken.h.in
openafs-git/patches/patch-src_libafs_MakefileProto.NBSD.in
openafs-git/patches/patch-src_rxkad_fcrypt.c
Log Message:
Add openafs-git
Based on pkgsrc/filesystems/openafs-devel.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8776ed448eea99908d44bbaf4cf0296f58915bc0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
openafs-git/DESCR | 16 +
openafs-git/Makefile | 61 +++
openafs-git/PLIST | 606 +++++++++++++++++++++
openafs-git/distinfo | 20 +
openafs-git/files/bosserver.sh | 19 +
openafs-git/old-patches/patch-configure | 41 ++
openafs-git/old-patches/patch-configure-libafs | 21 +
openafs-git/options.mk | 26 +
.../patches/patch-src_afs_NBSD_osi__machdep.h | 13 +
openafs-git/patches/patch-src_afs_NBSD_osi__vm.c | 19 +
.../patches/patch-src_afs_NBSD_osi__vnodeops.c | 39 ++
openafs-git/patches/patch-src_auth_cellconfig.c | 16 +
.../patches/patch-src_config_param.amd64__nbsd70.h | 30 +
.../patches/patch-src_config_param.i386__nbsd70.h | 28 +
.../patches/patch-src_config_param.nbsd70.h | 182 +++++++
.../patches/patch-src_config_shlib-build.in | 73 +++
.../patches/patch-src_config_shlib-install.in | 12 +
.../patch-src_crypto_hcrypto_kernel_config.h | 24 +
...patch-src_external_heimdal_roken_roken-common.h | 38 ++
.../patch-src_external_heimdal_roken_roken.h.in | 52 ++
.../patches/patch-src_libafs_MakefileProto.NBSD.in | 341 ++++++++++++
openafs-git/patches/patch-src_rxkad_fcrypt.c | 12 +
22 files changed, 1689 insertions(+)
diffs:
diff --git a/openafs-git/DESCR b/openafs-git/DESCR
new file mode 100644
index 0000000000..d79a442742
--- /dev/null
+++ b/openafs-git/DESCR
@@ -0,0 +1,16 @@
+AFS is a distributed filesystem product, pioneered at Carnegie Mellon
+University and supported and developed as a product by Transarc
+Corporation (now IBM Pittsburgh Labs). It offers a client-server
+architecture for file sharing, providing location independence,
+scalability and transparent migration capabilities for data. IBM
+branched the source of the AFS product, and made a copy of the source
+available for community development and maintenance. They called the
+release OpenAFS.
+
+To build the kernel module
+ $ cd src/libafs
+ $ cp MakefileProto.NBSD Makefile
+ $ make obj && make && make install
+
+The OpenAFS Quick-Start Guide for UNIX can be found at:
+ http://docs.openafs.org/QuickStartUnix/index.html
diff --git a/openafs-git/Makefile b/openafs-git/Makefile
new file mode 100644
index 0000000000..3f0ae49cc0
--- /dev/null
+++ b/openafs-git/Makefile
@@ -0,0 +1,61 @@
+# $NetBSD$
+
+PKGNAME= openafs-1.9pre0
+#GIT_REPO= git://git.openafs.org/openafs.git
+GIT_REPO= /raid0i/jakllsch/openafs
+CATEGORIES= filesystems net sysutils
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.openafs.org/
+COMMENT= File system for sharing, scalability and transparent data migration
+LICENSE= ipl-1.0 AND mit AND modified-bsd # AND sun-rpc?
+
+CONFLICTS+= arla-[0-9]*
+CONFLICTS+= heimdal-[0-9]*
+CONFLICTS+= rx-[0-9]*
+
+.if 0
+MAKE_JOBS_SAFE=no
+.else
+USE_TOOLS+= gmake
+.endif
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= lex
+USE_TOOLS+= autoconf aclocal autoheader automake perl
+RCD_SCRIPTS+= bosserver
+
+.include "options.mk"
+
+CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+= --with-roken=internal
+
+USE_GNU_CONFIGURE_HOST= no
+
+WRKSRC= ${WRKDIR}/openafs
+
+PLIST_SRC+= ${.CURDIR}/PLIST
+OWN_DIRS+= ${PKG_SYSCONFDIR}/openafs
+OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/openafs/server ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 775
+OWN_DIRS_PERMS+= ${VARBASE}/openafs ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 770
+OWN_DIRS+= ${VARBASE}/openafs/logs
+OWN_DIRS_PERMS+= ${VARBASE}/openafs/db ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 700
+
+FILES_SUBST+= HOSTNAME_CMD=${HOSTNAME_CMD:Q}
+
+BUILD_DEFS+= VARBASE
+
+#
+# Rename liblwp.a to libafslwp.a to avoid conflict with the lwp package.
+#
+pre-configure:
+ find ${WRKSRC} -name Makefile.in | while read f; do \
+ ${SED} -e 's|liblwp.a|libafslwp.a|g' \
+ -e 's|-llwp|-lafslwp|g' < $$f > $$f.tmp && \
+ ${MV} $$f.tmp $$f; done && \
+ cd ${WRKSRC} && ./regen.sh
+
+#.include "../../mk/krb5.buildlink3.mk"
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/openafs-git/PLIST b/openafs-git/PLIST
new file mode 100644
index 0000000000..e4cc8b60c0
--- /dev/null
+++ b/openafs-git/PLIST
@@ -0,0 +1,606 @@
+@comment $NetBSD$
+bin/afs_compile_et
+bin/afsio
+bin/afsmonitor
+bin/akeyconvert
+bin/aklog
+bin/asetkey
+bin/bos
+bin/cmdebug
+bin/fs
+bin/klog.krb5
+bin/livesys
+bin/pagsh
+bin/pagsh.krb
+bin/pts
+bin/restorevol
+bin/rxgen
+bin/scout
+bin/sys
+bin/tokens
+bin/tokens.krb
+bin/translate_et
+bin/udebug
+bin/unlog
+bin/up
+bin/xstat_cm_test
+bin/xstat_fs_test
+include/afs/acl.h
+include/afs/afs.h
+include/afs/afs_args.h
+include/afs/afs_atomlist.h
+include/afs/afs_consts.h
+include/afs/afs_lhash.h
+include/afs/afs_stats.h
+include/afs/afs_sysnames.h
+include/afs/afs_trace.h
+include/afs/afscbint.h
+include/afs/afscp.h
+include/afs/afsint.h
+include/afs/afssyscalls.h
+include/afs/afsutil.h
+include/afs/afsutil_prototypes.h
+include/afs/audit.h
+include/afs/auth.h
+include/afs/bnode.h
+include/afs/bosint.h
+include/afs/bubasics.h
+include/afs/budb.h
+include/afs/budb_client.h
+include/afs/budb_errs.h
+include/afs/bumon.h
+include/afs/butc.h
+include/afs/butm.h
+include/afs/butx.h
+include/afs/cellconfig.h
+include/afs/cmd.h
+include/afs/cnvldb.h
+include/afs/com_err.h
+include/afs/daemon_com.h
+include/afs/dir.h
+include/afs/dirpath.h
+include/afs/error_table.h
+include/afs/errors.h
+include/afs/exporter.h
+include/afs/fileutil.h
+include/afs/fsprobe.h
+include/afs/fssync.h
+include/afs/gtxX11win.h
+include/afs/gtxcurseswin.h
+include/afs/gtxdumbwin.h
+include/afs/gtxframe.h
+include/afs/gtxinput.h
+include/afs/gtxkeymap.h
+include/afs/gtxlightobj.h
+include/afs/gtxobjdict.h
+include/afs/gtxobjects.h
+include/afs/gtxtextcb.h
+include/afs/gtxtextobj.h
+include/afs/gtxwindows.h
+include/afs/icl.h
+include/afs/ihandle.h
+include/afs/keys.h
+include/afs/ktc.h
+include/afs/ktime.h
+include/afs/mit-sipb-cr.h
+include/afs/namei_ops.h
+include/afs/nfs.h
+include/afs/nfsclient.h
+include/afs/osi_inode.h
+include/afs/pagcb.h
+include/afs/param.h
+include/afs/partition.h
+include/afs/prclient.h
+include/afs/prerror.h
+include/afs/print.h
+include/afs/procmgmt.h
+include/afs/procmgmt_softsig.h
+include/afs/prs_fs.h
+include/afs/prserver.h
+include/afs/ptclient.h
+include/afs/pterror.h
+include/afs/pthread_glock.h
+include/afs/pthread_nosigs.h
+include/afs/ptint.h
+include/afs/ptserver.h
+include/afs/ptuser.h
+include/afs/rxgen_consts.h
+include/afs/salvsync.h
+include/afs/stds.h
+include/afs/sysctl.h
+include/afs/tabular_output.h
+include/afs/tcdata.h
+include/afs/thread_pool.h
+include/afs/thread_pool_types.h
+include/afs/unified_afs.h
+include/afs/usd.h
+include/afs/venus.h
+include/afs/vice.h
+include/afs/viceinode.h
+include/afs/vioc.h
+include/afs/vl_opcodes.h
+include/afs/vldbint.h
+include/afs/vlserver.h
+include/afs/vnode.h
+include/afs/vnode_inline.h
+include/afs/voldefs.h
+include/afs/volint.h
+include/afs/volser.h
+include/afs/volume.h
+include/afs/volume_inline.h
+include/afs/vsutils_prototypes.h
+include/afs/work_queue.h
+include/afs/work_queue_types.h
+include/afs/xfsattrs.h
+include/afs/xstat_cm.h
+include/afs/xstat_fs.h
+include/kopenafs.h
+include/lock.h
+include/lwp.h
+include/opr/queue.h
+include/rx/fcrypt.h
+include/rx/rx.h
+include/rx/rx_clock.h
+include/rx/rx_event.h
+include/rx/rx_globals.h
+include/rx/rx_lwp.h
+include/rx/rx_misc.h
+include/rx/rx_multi.h
+include/rx/rx_null.h
+include/rx/rx_opaque.h
+include/rx/rx_packet.h
+include/rx/rx_prototypes.h
+include/rx/rx_pthread.h
+include/rx/rx_queue.h
+include/rx/rx_user.h
+include/rx/rxkad.h
+include/rx/rxkad_prototypes.h
+include/rx/rxstat.h
+include/rx/xdr.h
+include/rx/xdr_prototypes.h
+include/timer.h
+include/ubik.h
+include/ubik_int.h
+lib/afs/libacl.a
+lib/afs/libafscom_err.a
+lib/afs/libafsint.a
+lib/afs/libafsutil.a
+lib/afs/libaudit.a
+lib/afs/libauth.a
+lib/afs/libauth.krb.a
+lib/afs/libbos.a
+lib/afs/libbubasics.a
+lib/afs/libbudb.a
+lib/afs/libbutm.a
+lib/afs/libbxdb.a
+lib/afs/libcmd.a
+lib/afs/libdir.a
+lib/afs/libfsprobe.a
+lib/afs/libgtx.a
+lib/afs/libprocmgmt.a
+lib/afs/libprot.a
+lib/afs/libsys.a
+lib/afs/libusd.a
+lib/afs/libvldb.a
+lib/afs/libvlib.a
+lib/afs/libvolser.a
+lib/afs/libxstat_cm.a
+lib/afs/libxstat_fs.a
+lib/afs/util.a
+lib/afs/vlib.a
+lib/libafsauthent.a
+lib/libafsauthent.so
+lib/libafsauthent.so.2
+lib/libafsauthent.so.2.0
+lib/libafsauthent_pic.a
+lib/libafscp.a
+lib/libafshcrypto.a
+lib/libafshcrypto.so
+lib/libafshcrypto.so.2
+lib/libafshcrypto.so.2.0
+lib/libafslwp.a
+lib/libafsrfc3961.a
+lib/libafsrpc.a
+lib/libafsrpc.so
+lib/libafsrpc.so.2
+lib/libafsrpc.so.2.0
+lib/libafsrpc_pic.a
+lib/libkopenafs.a
+lib/libkopenafs.so
+lib/libkopenafs.so.2
+lib/libkopenafs.so.2.0
+lib/libopr.a
+lib/librokenafs.a
+lib/librokenafs.so
+lib/librokenafs.so.2
+lib/librokenafs.so.2.0
+lib/librx.a
+lib/librxkad.a
+lib/librxstat.a
+lib/libubik.a
+libexec/openafs/buserver
+libexec/openafs/dafileserver
+libexec/openafs/dasalvager
+libexec/openafs/davolserver
+libexec/openafs/fileserver
+libexec/openafs/ptserver
+libexec/openafs/salvager
+libexec/openafs/salvageserver
+libexec/openafs/upclient
+libexec/openafs/upserver
+libexec/openafs/vlserver
+libexec/openafs/volserver
+man/man1/afs.1
+man/man1/afs_compile_et.1
+man/man1/afsmonitor.1
+man/man1/aklog.1
+man/man1/cmdebug.1
+man/man1/copyauth.1
+man/man1/dlog.1
+man/man1/fs.1
+man/man1/fs_apropos.1
+man/man1/fs_bypassthreshold.1
+man/man1/fs_checkservers.1
+man/man1/fs_checkvolumes.1
+man/man1/fs_chgrp.1
+man/man1/fs_chown.1
+man/man1/fs_cleanacl.1
+man/man1/fs_copyacl.1
+man/man1/fs_cscpolicy.1
+man/man1/fs_discon.1
+man/man1/fs_diskfree.1
+man/man1/fs_examine.1
+man/man1/fs_exportafs.1
+man/man1/fs_flush.1
+man/man1/fs_flushall.1
+man/man1/fs_flushmount.1
+man/man1/fs_flushvolume.1
+man/man1/fs_getcacheparms.1
+man/man1/fs_getcalleraccess.1
+man/man1/fs_getcellstatus.1
+man/man1/fs_getclientaddrs.1
+man/man1/fs_getcrypt.1
+man/man1/fs_getfid.1
+man/man1/fs_getserverprefs.1
+man/man1/fs_getverify.1
+man/man1/fs_help.1
+man/man1/fs_listacl.1
+man/man1/fs_listaliases.1
+man/man1/fs_listcells.1
+man/man1/fs_listquota.1
+man/man1/fs_lsmount.1
+man/man1/fs_memdump.1
+man/man1/fs_messages.1
+man/man1/fs_minidump.1
+man/man1/fs_mkmount.1
+man/man1/fs_monitor.1
+man/man1/fs_newalias.1
+man/man1/fs_newcell.1
+man/man1/fs_nukenfscreds.1
+man/man1/fs_precache.1
+man/man1/fs_quota.1
+man/man1/fs_rmmount.1
+man/man1/fs_rxstatpeer.1
+man/man1/fs_rxstatproc.1
+man/man1/fs_setacl.1
+man/man1/fs_setcachesize.1
+man/man1/fs_setcbaddr.1
+man/man1/fs_setcell.1
+man/man1/fs_setclientaddrs.1
+man/man1/fs_setcrypt.1
+man/man1/fs_setquota.1
+man/man1/fs_setserverprefs.1
+man/man1/fs_setverify.1
+man/man1/fs_setvol.1
+man/man1/fs_storebehind.1
+man/man1/fs_sysname.1
+man/man1/fs_trace.1
+man/man1/fs_uuid.1
+man/man1/fs_whereis.1
+man/man1/fs_whichcell.1
+man/man1/fs_wscell.1
+man/man1/klog.krb5.1
+man/man1/livesys.1
+man/man1/pagsh.1
+man/man1/pagsh.krb.1
+man/man1/pts.1
+man/man1/pts_adduser.1
+man/man1/pts_apropos.1
+man/man1/pts_chown.1
+man/man1/pts_creategroup.1
+man/man1/pts_createuser.1
+man/man1/pts_delete.1
+man/man1/pts_examine.1
+man/man1/pts_help.1
+man/man1/pts_interactive.1
+man/man1/pts_listentries.1
+man/man1/pts_listmax.1
+man/man1/pts_listowned.1
+man/man1/pts_membership.1
+man/man1/pts_quit.1
+man/man1/pts_removeuser.1
+man/man1/pts_rename.1
+man/man1/pts_setfields.1
+man/man1/pts_setmax.1
+man/man1/pts_sleep.1
+man/man1/pts_source.1
+man/man1/restorevol.1
+man/man1/rxdebug.1
+man/man1/rxgen.1
+man/man1/scout.1
+man/man1/symlink.1
+man/man1/symlink_list.1
+man/man1/symlink_make.1
+man/man1/symlink_remove.1
+man/man1/sys.1
+man/man1/tokens.1
+man/man1/tokens.krb.1
+man/man1/translate_et.1
+man/man1/udebug.1
+man/man1/unlog.1
+man/man1/up.1
+man/man1/vos.1
+man/man1/vos_addsite.1
+man/man1/vos_apropos.1
+man/man1/vos_backup.1
+man/man1/vos_backupsys.1
+man/man1/vos_changeaddr.1
+man/man1/vos_changeloc.1
+man/man1/vos_clone.1
+man/man1/vos_convertROtoRW.1
+man/man1/vos_copy.1
+man/man1/vos_create.1
+man/man1/vos_delentry.1
+man/man1/vos_dump.1
+man/man1/vos_endtrans.1
+man/man1/vos_examine.1
+man/man1/vos_help.1
+man/man1/vos_listaddrs.1
+man/man1/vos_listpart.1
+man/man1/vos_listvldb.1
+man/man1/vos_listvol.1
+man/man1/vos_lock.1
+man/man1/vos_move.1
+man/man1/vos_offline.1
+man/man1/vos_online.1
+man/man1/vos_partinfo.1
+man/man1/vos_release.1
+man/man1/vos_remaddrs.1
+man/man1/vos_remove.1
+man/man1/vos_remsite.1
+man/man1/vos_rename.1
+man/man1/vos_restore.1
+man/man1/vos_setaddrs.1
+man/man1/vos_setfields.1
+man/man1/vos_shadow.1
+man/man1/vos_size.1
+man/man1/vos_status.1
+man/man1/vos_syncserv.1
+man/man1/vos_syncvldb.1
+man/man1/vos_unlock.1
+man/man1/vos_unlockvldb.1
+man/man1/vos_zap.1
+man/man1/xstat_cm_test.1
+man/man1/xstat_fs_test.1
+man/man3/AFS::ukernel.3
+man/man5/AuthLog.5
+man/man5/AuthLog.dir.5
+man/man5/BackupLog.5
+man/man5/BosConfig.5
+man/man5/BosLog.5
+man/man5/CellAlias.5
+man/man5/CellServDB.5
+man/man5/FORCESALVAGE.5
+man/man5/FileLog.5
+man/man5/KeyFile.5
+man/man5/KeyFileExt.5
+man/man5/NetInfo.5
+man/man5/NetRestrict.5
+man/man5/NoAuth.5
+man/man5/PtLog.5
+man/man5/SALVAGE.fs.5
+man/man5/SalvageLog.5
+man/man5/ThisCell.5
+man/man5/UserList.5
+man/man5/VLLog.5
+man/man5/VolserLog.5
+man/man5/afs.5
+man/man5/afs_cache.5
+man/man5/afs_volume_header.5
+man/man5/afsmonitor.5
+man/man5/afszcm.cat.5
+man/man5/bdb.DB0.5
+man/man5/butc.5
+man/man5/butc_logs.5
+man/man5/cacheinfo.5
+man/man5/fms.log.5
+man/man5/krb.conf.5
+man/man5/krb.excl.5
+man/man5/prdb.DB0.5
+man/man5/salvage.lock.5
+man/man5/sysid.5
+man/man5/tapeconfig.5
+man/man5/uss.5
+man/man5/uss_bulk.5
+man/man5/vldb.DB0.5
+man/man8/afsd.8
+man/man8/akeyconvert.8
+man/man8/aklog_dynamic_auth.8
+man/man8/asetkey.8
+man/man8/backup.8
+man/man8/backup_adddump.8
+man/man8/backup_addhost.8
+man/man8/backup_addvolentry.8
+man/man8/backup_addvolset.8
+man/man8/backup_apropos.8
+man/man8/backup_dbverify.8
+man/man8/backup_deldump.8
+man/man8/backup_deletedump.8
+man/man8/backup_delhost.8
+man/man8/backup_delvolentry.8
+man/man8/backup_delvolset.8
+man/man8/backup_diskrestore.8
+man/man8/backup_dump.8
+man/man8/backup_dumpinfo.8
+man/man8/backup_help.8
+man/man8/backup_interactive.8
+man/man8/backup_jobs.8
+man/man8/backup_kill.8
+man/man8/backup_labeltape.8
+man/man8/backup_listdumps.8
+man/man8/backup_listhosts.8
+man/man8/backup_listvolsets.8
+man/man8/backup_quit.8
+man/man8/backup_readlabel.8
+man/man8/backup_restoredb.8
+man/man8/backup_savedb.8
+man/man8/backup_scantape.8
+man/man8/backup_setexp.8
+man/man8/backup_status.8
+man/man8/backup_volinfo.8
+man/man8/backup_volrestore.8
+man/man8/backup_volsetrestore.8
+man/man8/bos.8
+man/man8/bos_addhost.8
+man/man8/bos_addkey.8
+man/man8/bos_adduser.8
+man/man8/bos_apropos.8
+man/man8/bos_create.8
+man/man8/bos_delete.8
+man/man8/bos_exec.8
+man/man8/bos_getdate.8
+man/man8/bos_getlog.8
+man/man8/bos_getrestart.8
+man/man8/bos_getrestricted.8
+man/man8/bos_help.8
+man/man8/bos_install.8
+man/man8/bos_listhosts.8
+man/man8/bos_listkeys.8
+man/man8/bos_listusers.8
+man/man8/bos_prune.8
+man/man8/bos_removehost.8
+man/man8/bos_removekey.8
+man/man8/bos_removeuser.8
+man/man8/bos_restart.8
+man/man8/bos_salvage.8
+man/man8/bos_setauth.8
+man/man8/bos_setcellname.8
+man/man8/bos_setrestart.8
+man/man8/bos_setrestricted.8
+man/man8/bos_shutdown.8
+man/man8/bos_start.8
+man/man8/bos_startup.8
+man/man8/bos_status.8
+man/man8/bos_stop.8
+man/man8/bos_uninstall.8
+man/man8/bos_util.8
+man/man8/bosserver.8
+man/man8/buserver.8
+man/man8/butc.8
+man/man8/dafileserver.8
+man/man8/dafssync-debug.8
+man/man8/dafssync-debug_attach.8
+man/man8/dafssync-debug_callback.8
+man/man8/dafssync-debug_detach.8
+man/man8/dafssync-debug_error.8
+man/man8/dafssync-debug_header.8
+man/man8/dafssync-debug_leaveoff.8
+man/man8/dafssync-debug_list.8
+man/man8/dafssync-debug_mode.8
+man/man8/dafssync-debug_move.8
+man/man8/dafssync-debug_offline.8
+man/man8/dafssync-debug_online.8
+man/man8/dafssync-debug_query.8
+man/man8/dafssync-debug_stats.8
+man/man8/dafssync-debug_vgcadd.8
+man/man8/dafssync-debug_vgcdel.8
+man/man8/dafssync-debug_vgcquery.8
+man/man8/dafssync-debug_vgcscan.8
+man/man8/dafssync-debug_vgcscanall.8
+man/man8/dafssync-debug_vnode.8
+man/man8/dafssync-debug_volop.8
+man/man8/dasalvager.8
+man/man8/davolserver.8
+man/man8/fileserver.8
+man/man8/fms.8
+man/man8/fssync-debug.8
+man/man8/fssync-debug_attach.8
+man/man8/fssync-debug_callback.8
+man/man8/fssync-debug_detach.8
+man/man8/fssync-debug_error.8
+man/man8/fssync-debug_header.8
+man/man8/fssync-debug_leaveoff.8
+man/man8/fssync-debug_list.8
+man/man8/fssync-debug_mode.8
+man/man8/fssync-debug_move.8
+man/man8/fssync-debug_offline.8
+man/man8/fssync-debug_online.8
+man/man8/fssync-debug_query.8
+man/man8/fssync-debug_stats.8
+man/man8/fssync-debug_vgcadd.8
+man/man8/fssync-debug_vgcdel.8
+man/man8/fssync-debug_vgcquery.8
+man/man8/fssync-debug_vgcscan.8
+man/man8/fssync-debug_vgcscanall.8
+man/man8/fssync-debug_vnode.8
+man/man8/fssync-debug_volop.8
+man/man8/fstrace.8
+man/man8/fstrace_apropos.8
+man/man8/fstrace_clear.8
+man/man8/fstrace_dump.8
+man/man8/fstrace_help.8
+man/man8/fstrace_lslog.8
+man/man8/fstrace_lsset.8
+man/man8/fstrace_setlog.8
+man/man8/fstrace_setset.8
+man/man8/prdb_check.8
+man/man8/pt_util.8
+man/man8/ptserver.8
+man/man8/read_tape.8
+man/man8/rmtsysd.8
+man/man8/salvager.8
+man/man8/salvageserver.8
+man/man8/state_analyzer.8
+man/man8/upclient.8
+man/man8/upserver.8
+man/man8/uss.8
+man/man8/uss_add.8
+man/man8/uss_apropos.8
+man/man8/uss_bulk.8
+man/man8/uss_delete.8
+man/man8/uss_help.8
+man/man8/vldb_check.8
+man/man8/vldb_convert.8
+man/man8/vlserver.8
+man/man8/voldump.8
+man/man8/volinfo.8
+man/man8/volscan.8
+man/man8/volserver.8
+man/man8/vsys.8
+man/man8/xfs_size_check.8
+sbin/afsd
+sbin/backup
+sbin/bos_util
+sbin/bosserver
+sbin/butc
+sbin/dafssync-debug
+sbin/fms
+sbin/fssync-debug
+sbin/fstrace
+sbin/prdb_check
+sbin/pt_util
+sbin/read_tape
+sbin/rmtsysd
+sbin/rxdebug
+sbin/salvsync-debug
+sbin/state_analyzer
+sbin/uss
+sbin/vldb_check
+sbin/vldb_convert
+sbin/voldump
+sbin/volinfo
+sbin/volscan
+sbin/vos
+sbin/vsys
+share/openafs/C/afszcm.cat
+@pkgdir lib/openafs
diff --git a/openafs-git/distinfo b/openafs-git/distinfo
new file mode 100644
index 0000000000..184704ecdb
--- /dev/null
+++ b/openafs-git/distinfo
@@ -0,0 +1,20 @@
+$NetBSD: distinfo,v 1.5 2015/11/03 00:15:02 agc Exp $
+
+SHA1 (openafs-1.7.11-src.tar.bz2) = 7baa664ea521520a3355c6d8ab7cafff004e7d97
+RMD160 (openafs-1.7.11-src.tar.bz2) = 4e6c61496989b69544d0039a9fd6ca8627fc4df0
+SHA512 (openafs-1.7.11-src.tar.bz2) = afcef33d78ec882b28c056c8ffe0668056f23adcfe55d76468aed2ac91406a73ef8469fe4ff1c8e584ca6657ee4f6f7119d4865b0c50ae716221e435824ac10a
+Size (openafs-1.7.11-src.tar.bz2) = 14774648 bytes
+SHA1 (patch-src_afs_NBSD_osi__machdep.h) = fc0f21c21b9f76f59a1177d3fb2fcefe11975cae
+SHA1 (patch-src_afs_NBSD_osi__vm.c) = 5642f5e36987374221904416e15a7db20bd38aad
+SHA1 (patch-src_afs_NBSD_osi__vnodeops.c) = aadf29b109a6a03567f4a1a62073fd5f94665648
+SHA1 (patch-src_auth_cellconfig.c) = f9389e3779faea42ad3ffe7387a9cbf2dddc437b
+SHA1 (patch-src_config_param.amd64__nbsd70.h) = a5b8ae4846d3787dd69513d218ad71557cc5c6ee
+SHA1 (patch-src_config_param.i386__nbsd70.h) = e41fbc68958b7b0b061f46bae127fae34fcfe9b2
+SHA1 (patch-src_config_param.nbsd70.h) = d3cd44137c23770baa95a54c9866e1cd294f4dbf
+SHA1 (patch-src_config_shlib-build.in) = 4275f19bf902d897f378807161a96209b73c3362
+SHA1 (patch-src_config_shlib-install.in) = 7d25c29e06f451b25554878d9dc340a7637726d2
+SHA1 (patch-src_crypto_hcrypto_kernel_config.h) = 902950c78316916030928bf1e4a4358063f2ab3f
+SHA1 (patch-src_external_heimdal_roken_roken-common.h) = 5c6b797b9a0b28b093dec1fe09cf8b51e4fb4d8b
+SHA1 (patch-src_external_heimdal_roken_roken.h.in) = 3c6a246652fd1bb5e94425bf6eab983c762c19e7
+SHA1 (patch-src_libafs_MakefileProto.NBSD.in) = 87d6b697a7195296cd83290605f5d9207600cdbe
+SHA1 (patch-src_rxkad_fcrypt.c) = 1854b6d8ba151705b3c02080e1a0e1ce7d7a2a5e
diff --git a/openafs-git/files/bosserver.sh b/openafs-git/files/bosserver.sh
new file mode 100644
index 0000000000..864cc3724f
--- /dev/null
+++ b/openafs-git/files/bosserver.sh
@@ -0,0 +1,19 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: bosserver.sh,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+#
+# PROVIDE: bosserver
+# BEFORE: afsd
+# REQUIRE: NETWORK
+
+. /etc/rc.subr
+
+name="bosserver"
+rcvar=$name
+hostname=$(@HOSTNAME_CMD@)
+command="@PREFIX@/sbin/$name"
+start_precmd="ulimit -S -d 1048576;ulimit -S -c unlimited"
+stop_precmd="@PREFIX@/bin/bos shutdown $hostname -local -wait"
+
+load_rc_config $name
+run_rc_command "$1"
diff --git a/openafs-git/old-patches/patch-configure b/openafs-git/old-patches/patch-configure
new file mode 100644
index 0000000000..dbc3ea0bad
--- /dev/null
+++ b/openafs-git/old-patches/patch-configure
@@ -0,0 +1,41 @@
+$NetBSD: patch-configure,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+
+- add netbsd7
+- fix spelling of 'internal' in roken test
+
+--- configure.orig 2012-04-23 11:35:46.000000000 +0000
++++ configure
+@@ -7260,6 +7260,7 @@ case $AFS_SYSNAME in
+ *_nbsd40) AFS_PARAM_COMMON=param.nbsd40.h ;;
+ *_nbsd50) AFS_PARAM_COMMON=param.nbsd50.h ;;
+ *_nbsd60) AFS_PARAM_COMMON=param.nbsd60.h ;;
++ *_nbsd70) AFS_PARAM_COMMON=param.nbsd70.h ;;
+ *_obsd31) AFS_PARAM_COMMON=param.obsd31.h ;;
+ *_obsd32) AFS_PARAM_COMMON=param.obsd32.h ;;
+ *_obsd33) AFS_PARAM_COMMON=param.obsd33.h ;;
+@@ -7900,14 +7901,14 @@ case $AFS_SYSNAME in
+ XCFLAGS="-O2 -pipe -fPIC"
+ ;;
+
+- *nbsd2*|*nbsd3*|*nbsd4*|*nbsd5*|*nbsd6*)
++ *nbsd2*|*nbsd3*|*nbsd4*|*nbsd5*|*nbsd6*|*nbsd7*)
+ MT_CFLAGS='-pthread -D_REENTRANT'
+ PAM_OPTMZ=-O2
+ PAM_CFLAGS="-pipe -fPIC"
+ SHLIB_CFLAGS="-fPIC"
+ SHLIB_LDFLAGS="-shared -Xlinker -x"
+ SHLIB_LINKER="${MT_CC} -shared"
+- XCFLAGS="-pipe"
++ XCFLAGS="-pipe -I/usr/include/krb5 -DHAVE_NO_KRB5_524"
+ ;;
+
+ *nbsd15|*nbsd16)
+@@ -19663,7 +19664,7 @@ fi
+ fi
+
+
+- if test x"$roken_root" = xinteral; then :
++ if test x"$roken_root" = xinternal; then :
+
+ DIR_roken=roken
+ CPPFLAGS_roken=
diff --git a/openafs-git/old-patches/patch-configure-libafs b/openafs-git/old-patches/patch-configure-libafs
new file mode 100644
index 0000000000..c239b597f9
--- /dev/null
+++ b/openafs-git/old-patches/patch-configure-libafs
@@ -0,0 +1,21 @@
+$NetBSD: patch-configure-libafs,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+
+--- configure-libafs.orig 2012-04-23 07:35:47.000000000 -0400
++++ configure-libafs 2012-04-28 19:07:36.000000000 -0400
+@@ -6442,6 +6442,7 @@
+ *_nbsd40) AFS_PARAM_COMMON=param.nbsd40.h ;;
+ *_nbsd50) AFS_PARAM_COMMON=param.nbsd50.h ;;
+ *_nbsd60) AFS_PARAM_COMMON=param.nbsd60.h ;;
++ *_nbsd70) AFS_PARAM_COMMON=param.nbsd70.h ;;
+ *_obsd31) AFS_PARAM_COMMON=param.obsd31.h ;;
+ *_obsd32) AFS_PARAM_COMMON=param.obsd32.h ;;
+ *_obsd33) AFS_PARAM_COMMON=param.obsd33.h ;;
+@@ -7082,7 +7083,7 @@
+ XCFLAGS="-O2 -pipe -fPIC"
+ ;;
+
+- *nbsd2*|*nbsd3*|*nbsd4*|*nbsd5*|*nbsd6*)
++ *nbsd2*|*nbsd3*|*nbsd4*|*nbsd5*|*nbsd6*|*nbsd7*)
+ MT_CFLAGS='-pthread -D_REENTRANT'
+ PAM_OPTMZ=-O2
+ PAM_CFLAGS="-pipe -fPIC"
diff --git a/openafs-git/options.mk b/openafs-git/options.mk
new file mode 100644
index 0000000000..e0a6d30288
--- /dev/null
+++ b/openafs-git/options.mk
@@ -0,0 +1,26 @@
+# $NetBSD: options.mk,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.openafs
+PKG_SUPPORTED_OPTIONS+= server bitmap-later
+PKG_SUPPORTED_OPTIONS+= kernel-module supergroups namei
+PKG_SUGGESTED_OPTIONS= server -bitmap-later
+PKG_SUGGESTED_OPTIONS+= namei -kernel-module -supergroups
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Msupergroups)
+CONFIGURE_ARGS+= --enable-supergroups
+.endif
+.if !empty(PKG_OPTIONS:Mbitmap-later)
+CONFIGURE_ARGS+= --enable-bitmap-later
+.endif
+.if !empty(PKG_OPTIONS:Mkernel-module)
+CONFIGURE_ARGS+= --enable-kernel-module
+.else
+CONFIGURE_ARGS+= --disable-kernel-module
+.endif
+.if !empty(PKG_OPTIONS:Mnamei)
+CONFIGURE_ARGS+= --enable-namei-fileserver
+.endif
diff --git a/openafs-git/patches/patch-src_afs_NBSD_osi__machdep.h b/openafs-git/patches/patch-src_afs_NBSD_osi__machdep.h
new file mode 100644
index 0000000000..77a07bebb1
--- /dev/null
+++ b/openafs-git/patches/patch-src_afs_NBSD_osi__machdep.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/afs/NBSD/osi_machdep.h.orig 2018-05-07 18:33:20.000000000 +0000
++++ src/afs/NBSD/osi_machdep.h
+@@ -52,7 +52,7 @@ typedef char * caddr_t;
+ #define v_vfsp v_mount
+
+ /* vnode */
+-#define VN_HOLD(vp) (vget(vp, 0))
++#define VN_HOLD(vp) (mutex_enter((vp)->v_interlock), vget((vp), 0))
+ #define VN_RELE(vp) (vrele(vp))
+ #define osi_vnhold(avc, r) (VN_HOLD(AFSTOV(avc)))
+
diff --git a/openafs-git/patches/patch-src_afs_NBSD_osi__vm.c b/openafs-git/patches/patch-src_afs_NBSD_osi__vm.c
new file mode 100644
index 0000000000..eba753b203
--- /dev/null
+++ b/openafs-git/patches/patch-src_afs_NBSD_osi__vm.c
@@ -0,0 +1,19 @@
+$NetBSD$
+
+--- src/afs/NBSD/osi_vm.c.orig 2018-05-07 18:33:20.000000000 +0000
++++ src/afs/NBSD/osi_vm.c
+@@ -79,7 +79,13 @@ osi_VM_StoreAllSegments(struct vcache *a
+ ReleaseWriteLock(&avc->lock);
+ AFS_GUNLOCK();
+ vp = AFSTOV(avc);
+- mutex_enter(&vp->v_interlock);
++#ifdef AFS_NBSD70_ENV
++#define AMP
++#else
++#define AMP &
++#endif
++
++ mutex_enter(AMP vp->v_interlock);
+ VOP_PUTPAGES(vp, 0, 0, PGO_ALLPAGES|PGO_CLEANIT|PGO_SYNCIO);
+ AFS_GLOCK();
+ ObtainWriteLock(&avc->lock, 94);
diff --git a/openafs-git/patches/patch-src_afs_NBSD_osi__vnodeops.c b/openafs-git/patches/patch-src_afs_NBSD_osi__vnodeops.c
new file mode 100644
index 0000000000..4fd13c9d27
--- /dev/null
+++ b/openafs-git/patches/patch-src_afs_NBSD_osi__vnodeops.c
@@ -0,0 +1,39 @@
+$NetBSD$
+
+--- src/afs/NBSD/osi_vnodeops.c.orig 2018-05-07 18:33:20.000000000 +0000
++++ src/afs/NBSD/osi_vnodeops.c
+@@ -274,7 +274,14 @@ afs_nbsd_getnewvnode(struct vcache *tvc)
+ struct nbvdata *vd;
+
+ KASSERT(AFSTOV(tvc) == NULL);
+- while (getnewvnode(VT_AFS, afs_globalVFS, afs_vnodeop_p, &AFSTOV(tvc))) {
++ while (getnewvnode(VT_AFS, afs_globalVFS, afs_vnodeop_p,
++#ifdef AFS_NBSD70_ENV
++ NULL,
++#define AMP
++#else
++#define AMP &
++#endif
++ &AFSTOV(tvc))) {
+ /* no vnodes available, force an alloc (limits be damned)! */
+ printf("afs: upping desiredvnodes\n");
+ desiredvnodes++;
+@@ -282,15 +289,15 @@ afs_nbsd_getnewvnode(struct vcache *tvc)
+
+ vd = kmem_zalloc(sizeof(*vd), KM_SLEEP);
+ #ifdef AFS_NBSD50_ENV
+- mutex_enter(&AFSTOV(tvc)->v_interlock);
++ mutex_enter(AMP AFSTOV(tvc)->v_interlock);
+ #else
+- simple_lock(&AFSTOV(tvc)->v_interlock);
++ simple_lock(AMP AFSTOV(tvc)->v_interlock);
+ #endif
+ vd->afsvc = tvc;
+ AFSTOV(tvc)->v_data = vd;
+ genfs_node_init(AFSTOV(tvc), &afs_genfsops);
+ #ifdef AFS_NBSD50_ENV
+- mutex_exit(&AFSTOV(tvc)->v_interlock);
++ mutex_exit(AMP AFSTOV(tvc)->v_interlock);
+ #else
+ simple_unlock(&AFSTOV(tvc)->v_interlock);
+ #endif
diff --git a/openafs-git/patches/patch-src_auth_cellconfig.c b/openafs-git/patches/patch-src_auth_cellconfig.c
new file mode 100644
index 0000000000..03af035cf9
--- /dev/null
+++ b/openafs-git/patches/patch-src_auth_cellconfig.c
@@ -0,0 +1,16 @@
+$NetBSD$
+
+--- src/auth/cellconfig.c.orig 2018-05-07 18:33:21.000000000 +0000
++++ src/auth/cellconfig.c
+@@ -993,6 +993,11 @@ afsconf_LookupServer(const char *service
+ int pass = 0;
+ char *IANAname = (char *) afsconf_FindIANAName(service);
+ int tservice = afsconf_FindService(service);
++#ifdef __NetBSD__
++ res_state res;
++#else
++#define res (&_res)
++#endif
+
+ realCellName = NULL;
+
diff --git a/openafs-git/patches/patch-src_config_param.amd64__nbsd70.h b/openafs-git/patches/patch-src_config_param.amd64__nbsd70.h
new file mode 100644
index 0000000000..e98fba6d33
--- /dev/null
+++ b/openafs-git/patches/patch-src_config_param.amd64__nbsd70.h
@@ -0,0 +1,30 @@
+$NetBSD$
+
+--- src/config/param.amd64_nbsd70.h.orig 2018-05-07 18:33:22.000000000 +0000
++++ src/config/param.amd64_nbsd70.h
+@@ -20,3 +20,25 @@
+ #endif /* !defined(UKERNEL) */
+
+ #endif /* AFS_AMD64_PARAM_H */
++#ifndef AFS_AMD64_PARAM_H
++#define AFS_AMD64_PARAM_H
++
++#define AFS_X86_XBSD_ENV 1
++#define AFS_X86_ENV 1
++#define AFSLITTLE_ENDIAN 1
++
++#define SYS_NAME "amd64_nbsd70"
++#define SYS_NAME_ID SYS_NAME_ID_amd64_nbsd70
++
++#define AFS_64BITPOINTER_ENV 1
++#define AFS_64BITUSERPOINTER_ENV 1
++#ifndef UKERNEL
++/* This section for kernel libafs compiles only */
++
++#else /* !defined(UKERNEL) */
++
++/* This section for user space compiles only */
++
++#endif /* !defined(UKERNEL) */
++
++#endif /* AFS_AMD64_PARAM_H */
diff --git a/openafs-git/patches/patch-src_config_param.i386__nbsd70.h b/openafs-git/patches/patch-src_config_param.i386__nbsd70.h
new file mode 100644
index 0000000000..cbe187ebca
--- /dev/null
+++ b/openafs-git/patches/patch-src_config_param.i386__nbsd70.h
@@ -0,0 +1,28 @@
+$NetBSD$
+
+--- src/config/param.i386_nbsd70.h.orig 2018-05-07 18:33:22.000000000 +0000
++++ src/config/param.i386_nbsd70.h
+@@ -18,3 +18,23 @@
+ #endif /* !defined(UKERNEL) */
+
+ #endif /* AFS_I386_PARAM_H */
++#ifndef AFS_I386_PARAM_H
++#define AFS_I386_PARAM_H
++
++#define AFS_X86_XBSD_ENV 1
++#define AFS_X86_ENV 1
++#define AFSLITTLE_ENDIAN 1
++
++#define SYS_NAME "i386_nbsd70"
++#define SYS_NAME_ID SYS_NAME_ID_i386_nbsd70
++
++#ifndef UKERNEL
++/* This section for kernel libafs compiles only */
++
++#else /* !defined(UKERNEL) */
++
++/* This section for user space compiles only */
++
++#endif /* !defined(UKERNEL) */
++
++#endif /* AFS_I386_PARAM_H */
diff --git a/openafs-git/patches/patch-src_config_param.nbsd70.h b/openafs-git/patches/patch-src_config_param.nbsd70.h
new file mode 100644
index 0000000000..36414b66e5
--- /dev/null
+++ b/openafs-git/patches/patch-src_config_param.nbsd70.h
@@ -0,0 +1,182 @@
+$NetBSD$
+
+--- src/config/param.nbsd70.h.orig 2018-05-07 18:33:23.000000000 +0000
++++ src/config/param.nbsd70.h
+@@ -64,6 +64,177 @@
+
+ #include <afs/afs_sysnames.h>
+
++#define AFS_VM_RDWR_ENV 1
++#define AFS_VFS_ENV 1
++#define AFS_GREEDY43_ENV 1
++
++#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
++#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */
++#define AFS_GLOBAL_SUNLOCK 1
++
++/* Extra kernel definitions (from kdefs file) */
++#ifdef _KERNEL_DEPRECATED
++#define AFS_VFS34 1 /* What is VFS34??? */
++#define AFS_SHORTGID 1 /* are group id's short? */
++#define afsio_iov uio_iov
++#define afsio_iovcnt uio_iovcnt
++#define afsio_offset uio_offset
++#define afsio_seg uio_segflg
++#define afsio_resid uio_resid
++#define AFS_UIOSYS UIO_SYSSPACE
++#define AFS_UIOUSER UIO_USERSPACE
++#define AFS_CLBYTES CLBYTES
++#define osi_GetTime(x) microtime(x)
++#define AFS_KALLOC(x) kalloc(x)
++#define AFS_KFREE(x,y) kfree(x,y)
++#define v_count v_usecount
++#define v_vfsp v_mount
++#define vfs_bsize mnt_stat.f_bsize
++#define vfs_fsid mnt_stat.f_fsid
++#define va_nodeid va_fileid
++#define vfs_vnodecovered mnt_vnodecovered
++#define direct dirent
++
++#ifndef MUTEX_DEFAULT
++#define MUTEX_DEFAULT 0
++#endif /* MUTEX_DEFAULT */
++
++#ifndef SSYS
++#define SSYS 0x00002
++#endif /* SSYS */
++
++#define p_rcred p_ucred
++
++#define VN_RELE(vp) vrele(((struct vnode *)(vp)))
++#define VN_HOLD(vp) VREF(((struct vnode *)(vp)))
++
++#if !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
++enum vcexcl { NONEXCL, EXCL };
++
++#ifdef KERNEL
++#ifndef MIN
++#define MIN(A,B) ((A) < (B) ? (A) : (B))
++#endif
++#ifndef MAX
++#define MAX(A,B) ((A) > (B) ? (A) : (B))
++#endif
++#endif /* KERNEL */
++
++#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ && !defined(IGNORE_STDS_H) */
++#endif /* _KERNEL_DEPRECATED */
++
++#else /* !defined(UKERNEL) */
++
++
++/* This section for user space compiles only */
++
++#define UKERNEL 1 /* user space kernel */
++
++#include <afs/afs_sysnames.h>
++
++#define AFS_USERSPACE_IP_ADDR 1
++#define RXK_LISTENER_ENV 1
++#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
++
++#define afsio_iov uio_iov
++#define afsio_iovcnt uio_iovcnt
++#define afsio_offset uio_offset
++#define afsio_seg uio_segflg
++#define afsio_fmode uio_fmode
++#define afsio_resid uio_resid
++#define AFS_UIOSYS UIO_SYSSPACE
++#define AFS_UIOUSER UIO_USERSPACE
++#define AFS_CLBYTES MCLBYTES
++#define AFS_MINCHANGE 2
++#define VATTR_NULL usr_vattr_null
++
++#define AFS_DIRENT
++#ifndef CMSERVERPREF
++#define CMSERVERPREF
++#endif
++
++#if !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H) && !defined()
++#include <limits.h>
++#include <sys/param.h>
++#include <sys/types.h>
++#include <sys/mount.h>
++#include <sys/fcntl.h>
++#include <netinet/in.h>
++#include <sys/uio.h>
++#include <sys/socket.h>
++#endif
++
++#endif /* !defined(UKERNEL) */
++
++#define ROOTINO UFS_ROOTINO
++
++#endif /* AFS_PARAM_COMMON_H */
++/* NetBSD shared section */
++
++#ifndef AFS_PARAM_COMMON_H
++#define AFS_PARAM_COMMON_H 1
++
++#define AFS_NAMEI_ENV 1 /* User space interface to file system */
++#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
++#define AFS_64BIT_CLIENT 1
++
++#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
++#define AFS_SYSCALL 210
++
++#define AFS_KALLOC(n) kmem_alloc(n, KM_SLEEP)
++#define AFS_KALLOC_NOSLEEP(n) kmem_alloc(n, KM_NOSLEEP)
++#define AFS_KFREE kmem_free
++#define VATTR_NULL vattr_null
++
++#if 0
++/* including this file before sysincludes.h is canonical, but
++ * NBSD40's mount.h defines MOUNT_AFS */
++
++#ifndef MOUNT_AFS
++#define MOUNT_AFS AFS_MOUNT_AFS
++#endif
++
++#endif /* 0 */
++
++#define AFS_XBSD_ENV 1 /* {Free,Open,Net}BSD */
++
++#define AFS_NBSD_ENV 1
++#define AFS_NBSD15_ENV 1
++#define AFS_NBSD16_ENV 1
++#define AFS_NBSD20_ENV 1
++#define AFS_NBSD30_ENV 1
++#define AFS_NBSD40_ENV 1
++#define AFS_NBSD50_ENV 1
++#define AFS_NBSD60_ENV 1
++#define AFS_NBSD70_ENV 1
++#undef AFS_NONFSTRANS
++#define AFS_NONFSTRANS 1
++
++#define AFS_VFSINCL_ENV 1
++
++#define AFS_HAVE_FFS 1 /* Use system's ffs. */
++
++#if !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
++#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
++#endif
++
++#ifndef UKERNEL
++
++#if !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__) && !defined(IGNORE_STDS_H)
++#include <sys/param.h>
++#endif
++
++#define FTRUNC O_TRUNC
++
++#define IUPD 0x0010
++#define IACC 0x0020
++#define ICHG 0x0040
++#define IMOD 0x0080
++
++#define RXK_LISTENER_ENV 1
++
++#include <afs/afs_sysnames.h>
++
+ #define AFS_VFS_ENV 1
+ #define AFS_GREEDY43_ENV 1
+
diff --git a/openafs-git/patches/patch-src_config_shlib-build.in b/openafs-git/patches/patch-src_config_shlib-build.in
new file mode 100644
index 0000000000..88686da61c
--- /dev/null
+++ b/openafs-git/patches/patch-src_config_shlib-build.in
@@ -0,0 +1,73 @@
+$NetBSD$
+
+--- src/config/shlib-build.in.orig 2018-05-07 18:33:23.000000000 +0000
++++ src/config/shlib-build.in
+@@ -77,6 +77,15 @@ if [ -z "$library" ] && [ -z "$plain" ]
+ exit 1
+ fi
+
++RUNPATH=
++for i in @LDFLAGS@
++do
++ case "$i" in
++ -Wl,-R*)
++ RUNPATH="${RUNPATH} $i"
++ esac
++done
++
+ # Print out what we're doing while we do it for debugging.
+ export=
+ if [ -z "$filename" ] ; then
+@@ -98,8 +107,8 @@ rs_aix*)
+ > $library.exp
+ export="-bE:$library.exp"
+ fi
+- echo "$linker $export -o $filename $*"
+- $linker $export -o "$filename" "$@"
++ echo "$linker $export -o $filename $RUNPATH $*"
++ $linker $export -o "$filename" $RUNPATH "$@"
+ ;;
+ sun*_5*)
+ if [ -z "$plain" ] && [ -f "$srcdir/$library.map" ] ; then
+@@ -114,11 +123,11 @@ sun*_5*)
+ fi
+ fi
+ if [ -z "$soname" ] ; then
+- echo "$linker $export -o $filename $*"
+- $linker $export -o "$filename" "$@"
++ echo "$linker $export -o $filename $RUNPATH $*"
++ $linker $export -o "$filename" $RUNPATH "$@"
+ else
+- echo "$linker $export -h $soname -o $filename $*"
+- $linker $export -h "$soname" -o "$filename" "$@"
++ echo "$linker $export -h $soname -o $filename $RUNPATH $*"
++ $linker $export -h "$soname" -o "$filename" $RUNPATH "$@"
+ fi
+ ;;
+ *_linux*)
+@@ -126,19 +135,19 @@ sun*_5*)
+ export="-Wl,--version-script=$srcdir/$library.map"
+ fi
+ if [ -z "$soname" ] ; then
+- echo "$linker $export -o $filename $*"
+- $linker $export -o "$filename" "$@"
++ echo "$linker $export -o $filename $RUNPATH $*"
++ $linker $export -o "$filename" $RUNPATH "$@"
+ else
+- echo "$linker $export -Wl,-h,$soname -o $filename $*"
+- $linker $export -Wl,-h,"$soname" -o "$filename" "$@"
++ echo "$linker $export -Wl,-h,$soname -o $filename $RUNPATH $*"
++ $linker $export -Wl,-h,"$soname" -o "$filename" $RUNPATH "$@"
+ fi
+ ;;
+ hp_ux*)
+ if [ -z "$plain" ] && [ -f "$srcdir/$library.hp" ] ; then
+ export="-c $srcdir/$library.hp"
+ fi
+- echo "$linker $export -o $filename $*"
+- $linker $export -o "$filename" "$@"
++ echo "$linker $export -o $filename $RUNPATH $*"
++ $linker $export -o "$filename" "$RUNPATH $@"
+ ;;
+ *darwin*)
+ if [ -z "$plain" ] && [ -f "$srcdir/$library.map" ] ; then
diff --git a/openafs-git/patches/patch-src_config_shlib-install.in b/openafs-git/patches/patch-src_config_shlib-install.in
new file mode 100644
index 0000000000..b211a660ce
--- /dev/null
+++ b/openafs-git/patches/patch-src_config_shlib-install.in
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- src/config/shlib-install.in.orig 2018-05-07 18:33:23.000000000 +0000
++++ src/config/shlib-install.in
+@@ -56,6 +56,7 @@ if [ -z "$major" ] ; then
+ filename="$library.$suffix"
+ else
+ filename="$library.$suffix.$major.$minor"
++ install="$INSTALL -m 755"
+ fi
+ case $sysname in
+ rs_aix*)
diff --git a/openafs-git/patches/patch-src_crypto_hcrypto_kernel_config.h b/openafs-git/patches/patch-src_crypto_hcrypto_kernel_config.h
new file mode 100644
index 0000000000..0defdf6713
--- /dev/null
+++ b/openafs-git/patches/patch-src_crypto_hcrypto_kernel_config.h
@@ -0,0 +1,24 @@
+$NetBSD$
+
+--- src/crypto/hcrypto/kernel/config.h.orig 2018-05-07 18:33:23.000000000 +0000
++++ src/crypto/hcrypto/kernel/config.h
+@@ -60,15 +60,19 @@
+ #define calloc _afscrypto_calloc
+ void * _afscrypto_calloc(int, size_t);
+
++#undef malloc
+ #define malloc _afscrypto_malloc
+ void * _afscrypto_malloc(size_t);
+
++#undef free
+ #define free _afscrypto_free
+ void _afscrypto_free(void *);
+
++#undef strdup
+ #define strdup _afscrypto_strdup
+ char * _afscrypto_strdup(const char *);
+
++#undef realloc
+ #define realloc _afscrypto_realloc
+ void * _afscrypto_realloc(void *, size_t);
+
diff --git a/openafs-git/patches/patch-src_external_heimdal_roken_roken-common.h b/openafs-git/patches/patch-src_external_heimdal_roken_roken-common.h
new file mode 100644
index 0000000000..7c33525bcf
--- /dev/null
+++ b/openafs-git/patches/patch-src_external_heimdal_roken_roken-common.h
@@ -0,0 +1,38 @@
+$NetBSD$
+
+--- src/external/heimdal/roken/roken-common.h.orig 2018-05-07 18:33:23.000000000 +0000
++++ src/external/heimdal/roken/roken-common.h
+@@ -339,9 +339,11 @@ ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
+ wait_for_process_timed(pid_t, time_t (*)(void *),
+ void *, time_t);
+
++#ifndef _KERNEL
+ #define pipe_execv rk_pipe_execv
+ ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
+ pipe_execv(FILE**, FILE**, FILE**, const char*, ...);
++#endif
+
+ #define print_version rk_print_version
+ ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
+@@ -365,6 +367,7 @@ hostent_find_fqdn (const struct hostent
+ ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
+ esetenv(const char *, const char *, int);
+
++struct sockaddr;
+ #define socket_set_address_and_port rk_socket_set_address_and_port
+ ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
+ socket_set_address_and_port (struct sockaddr *, const void *, int);
+@@ -489,11 +492,13 @@ rk_xfree (void *);
+ ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
+ rk_cloexec(int);
+
++#ifndef _KERNEL
+ ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
+ rk_cloexec_file(FILE *);
+
+ ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
+ rk_cloexec_dir(DIR *);
++#endif
+
+ ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
+ ct_memcmp(const void *, const void *, size_t);
diff --git a/openafs-git/patches/patch-src_external_heimdal_roken_roken.h.in b/openafs-git/patches/patch-src_external_heimdal_roken_roken.h.in
new file mode 100644
index 0000000000..5f7e0093e5
--- /dev/null
+++ b/openafs-git/patches/patch-src_external_heimdal_roken_roken.h.in
@@ -0,0 +1,52 @@
+$NetBSD$
+
+--- src/external/heimdal/roken/roken.h.in.orig 2018-05-07 18:33:23.000000000 +0000
++++ src/external/heimdal/roken/roken.h.in
+@@ -268,6 +268,7 @@ struct sockaddr_dl;
+ #define rk_PATH_DELIM '\\'
+ #endif
+
++#ifndef _KERNEL
+ #ifndef HAVE_SSIZE_T
+ #ifndef SSIZE_T_DEFINED
+ #ifdef ssize_t
+@@ -281,6 +282,7 @@ typedef int ssize_t;
+ #define SSIZE_T_DEFINED
+ #endif /* SSIZE_T_DEFINED */
+ #endif /* HAVE_SSIZE_T */
++#endif
+
+ #include <roken-common.h>
+
+@@ -654,6 +656,7 @@ ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL se
+ #endif
+
+ #ifndef HAVE_LSTAT
++struct stat;
+ #define lstat rk_lstat
+ ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL lstat(const char *, struct stat *);
+ #endif
+@@ -729,6 +732,7 @@ ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL ge
+ #endif
+
+ #ifndef HAVE_WRITEV
++struct iovec;
+ #define writev rk_writev
+ ROKEN_LIB_FUNCTION ssize_t ROKEN_LIB_CALL
+ writev(int, const struct iovec *, int);
+@@ -787,6 +791,7 @@ int rk_flock(int fd, int operation);
+ #endif
+ #endif
+
++struct tm;
+ ROKEN_LIB_FUNCTION time_t ROKEN_LIB_CALL tm2time (struct tm, int);
+
+ ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL unix_verify_user(char *, char *);
+@@ -928,6 +933,7 @@ struct addrinfo {
+ };
+ #endif
+
++struct addrinfo;
+ #ifndef HAVE_GETADDRINFO
+ #define getaddrinfo rk_getaddrinfo
+ ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
diff --git a/openafs-git/patches/patch-src_libafs_MakefileProto.NBSD.in b/openafs-git/patches/patch-src_libafs_MakefileProto.NBSD.in
new file mode 100644
index 0000000000..18c62975a6
--- /dev/null
+++ b/openafs-git/patches/patch-src_libafs_MakefileProto.NBSD.in
@@ -0,0 +1,341 @@
+$NetBSD$
+
+--- src/libafs/MakefileProto.NBSD.in.orig 2018-05-07 18:33:24.000000000 +0000
++++ src/libafs/MakefileProto.NBSD.in
+@@ -1,122 +1,216 @@
+-# Copyright 2000, International Business Machines Corporation and others.
+-# All Rights Reserved.
+-#
+-# This software has been released under the terms of the IBM Public
+-# License. For details, see the LICENSE file in the top-level source
+-# directory or online at http://www.openafs.org/dl/license10.html
+-#
+-srcdir=@srcdir@
+-include @TOP_OBJDIR@/src/config/Makefile.config
+-INSTALL = @INSTALL@
+-INSTALL_DATA = @INSTALL_DATA@
+-INSTALL_PROGRAM = @INSTALL_PROGRAM@
+-INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-
+-
+-# OS specific object files:
+-AFS_OS_OBJS = \
+- osi_crypto.o \
+- osi_gcpags.o \
+- osi_groups.o \
+- osi_file.o \
+- osi_inode.o \
+- osi_misc.o \
+- osi_sleep.o \
+- osi_vcache.o \
+- osi_vm.o \
+- osi_vnodeops.o
+-
+-AFS_OS_NFSOBJS = \
+- osi_vfsops_nfs.o
+-
+-AFS_OS_NONFSOBJS = \
+- osi_vfsops.o
+-
+-
+-# System specific build commands and flags
+-KSRC = @BSD_KERNEL_PATH@
+-KBLD = @BSD_KERNEL_BUILD@
+-KARCHFLAGS = -Di386 -march=pentiumpro -mtune=pentiumpro
+-KOPTFLAGS = -D_KERNEL -DLKM -D_LKM -DDEBUG -DLOCKDEBUG
+-KDEFS=-Wall -ansi -nostdinc -I/usr/include \
+- ${KARCHFLAGS} ${KOPTFLAGS} \
+- -ffreestanding -Wno-pointer-sign -Wno-strict-aliasing \
+-<i386_nbsd50>
+- -std=gnu99 \
+-<all>
+- -I${KSRC} -I${KSRC}/sys \
+- -I${KBLD} -I../afs
+-DBUG = -O2 -g3
++# NetBSD: patch-src-libafs-MakefileProto.NBSD.in,v 1.1 2012/05/02 23:19:25 christos Exp
++
++.include <bsd.own.mk>
++
++S=${NETBSDSRCDIR}/sys
++
++KMOD= openafs
++
++.PATH.c: \
++ ${.CURDIR}/../afs/NBSD \
++ ${.CURDIR}/../afs/VNOPS \
++ ${.CURDIR}/../afs \
++ ${.CURDIR}/../auth \
++ ${.CURDIR}/../dir \
++ ${.CURDIR}/../fsint \
++ ${.CURDIR}/../opr \
++ ${.CURDIR}/../util \
++ ${.CURDIR}/../rx/NBSD \
++ ${.CURDIR}/../rx \
++ ${.CURDIR}/../rxkad \
++ ${.CURDIR}/../rxstat \
++ ${.CURDIR}/../vlserver \
++ ${.CURDIR}/../crypto/hcrypto/kernel \
++ ${.CURDIR}/../crypto/rfc3961/kernel \
++ ${.CURDIR}/../crypto/rfc3961 \
++ ${.CURDIR}/../external/heimdal/hcrypto \
++ ${.CURDIR}/../external/heimdal/krb5 \
++ ${.CURDIR}/../external/heimdal/roken
++
+ DEFINES= -DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT
+-OPTF=${OPT}
+-OPTF2=${OPT2}
+-CFLAGS=-I. -I.. -I${TOP_OBJDIR}/src/config ${FSINCLUDES} $(DEFINES) $(KDEFS) $(KOPTS) ${DBUG}
+-
+-
+-# Name of directory to hold object files and libraries.
+-KOBJ = MODLOAD
+-
+-# This tells Makefile.common to use it's single directory build target.
+-COMPDIRS = single_compdir
+-INSTDIRS = single_instdir
+-DESTDIRS = single_destdir
+-
+-include Makefile.common
+-
+-setup:
+- -mkdir $(KOBJ)
+- -$(RM) $(KOBJ)/Makefile $(KOBJ)/Makefile.common $(KOBJ)/config
+- ln -fs ../Makefile $(KOBJ)/Makefile
+- ln -fs ../Makefile.common $(KOBJ)/Makefile.common
+- ln -fs ../config $(KOBJ)/config
+- -$(RM) -f h net netinet rpc ufs nfs machine sys vm
+- -ln -fs ${KSRC}/net net
+- -ln -fs ${KSRC}/i386/include machine
+- -ln -fs ${KSRC}/netinet netinet
+- -ln -fs ${KSRC}/nfs nfs
+- -ln -fs /usr/include/rpc rpc
+- -ln -fs ${KSRC}/sys sys
+- -ln -fs ${KSRC}/ufs/ufs ufs
+- -ln -fs ${KSRC}/sys h
+- -ln -fs ${KSRC}/vm vm
+- -ln -fs ${KSRC}/arch/x86/include/via_padlock.h /usr/include/x86/via_padlock.h
+- -ln -fs ${KSRC}/arch/x86/include/cpufunc.h /usr/include/x86/cpufunc.h
+- -ln -fs ${KSRC}/arch/x86/include/pic.h /usr/include/machine/pic.h
+- -touch $(KOBJ)/sec_net.h
+-
+-
+-# Below this line are targets when in the COMMON directory:
+-LIBAFS = libafs.o
+-LIBAFSNONFS = libafs.nonfs.o
+-
+-INST_LIBAFS = ${DESTDIR}${afskerneldir}/${LIBAFS}
+-INST_LIBAFSNONFS = ${DESTDIR}${afskerneldir}/${LIBAFSNONFS}
+-
+-DEST_LIBAFS = ${DEST}/root.client/bin/${LIBAFS}
+-DEST_LIBAFSNONFS = ${DEST}/root.client/bin/${LIBAFSNONFS}
+-
+-<i386_nbsd40 i386_nbsd50>
+-# libafs: $(LIBAFS) $(LIBAFSNONFS)
+-libafs: $(LIBAFSNONFS)
+-# install_libafs: $(INST_LIBAFS) $(INST_LIBAFSNONFS)
+-#install_libafs: $(INST_LIBAFSNONFS)
+-install_libafs:
+-# dest_libafs: $(DEST_LIBAFS) $(DEST_LIBAFSNONFS)
+-dest_libafs: $(DEST_LIBAFSNONFS)
+-<all -i386_nbsd40 -i386_nbsd50>
+-libafs:
+- echo WARNING: No kernel module for ${SYS_NAME}
+-
+-install_libafs:
+- echo WARNING: No kernel module for ${SYS_NAME}
+-
+-dest_libafs:
+- echo WARNING: No kernel module for ${SYS_NAME}
+-<all>
+-
+-# for now, just skip it
+-#${LIBAFS}: $(AFSAOBJS) $(AFSNFSOBJS)
+-# $(LD) -r -z muldefs -o ${LIBAFS} ${AFSAOBJS} ${AFSNFSOBJS}
++DEFINES+=-DHAVE_CONFIG_H
+
+-${LIBAFSNONFS}: $(AFSAOBJS) $(AFSNONFSOBJS)
+- $(LD) -r -z muldefs -o ${LIBAFSNONFS} ${AFSAOBJS} ${AFSNONFSOBJS}
++CPPFLAGS+= ${DEFINES} \
++ -I${.CURDIR}/../afs/NBSD \
++ -I${.CURDIR}/../afs \
++ -I${.CURDIR}/../rx/NBSD \
++ -I${.CURDIR}/../rx \
++ -I${.CURDIR}/../rxkad \
++ -I${.CURDIR}/../fsint \
++ -I${.CURDIR}/../config \
++ -I${.CURDIR}/../crypto/rfc3961 \
++ -I${.CURDIR}/../crypto/hcrypto/kernel \
++ -I${.CURDIR}/../external/heimdal/krb5 \
++ -I${.CURDIR}/../../include \
++ -I${.CURDIR}/../../include/afs \
++ -I${.CURDIR}/../../include/hcrypto \
++ -I${.CURDIR}/.. \
++ -I${S}/sys
++
++AFS_SRCS=\
++ afs_atomlist.c \
++ afs_lhash.c \
++ afs_analyze.c \
++ afs_axscache.c \
++ afs_buffer.c \
++ afs_bypasscache.c \
++ afs_callback.c \
++ afs_cbqueue.c \
++ afs_cell.c \
++ afs_chunk.c \
++ afs_conn.c \
++ afs_daemons.c \
++ afs_dcache.c \
++ dir.c \
++ afs_disconnected.c \
++ afs_dynroot.c \
++ afs_error.c \
++ afs_icl.c \
++ afs_init.c \
++ afs_lock.c \
++ afs_mariner.c \
++ afs_memcache.c \
++ afs_fetchstore.c \
++ afs_osi.c \
++ afs_osidnlc.c \
++ afs_osi_alloc.c \
++ afs_osi_pag.c \
++ afs_osi_uio.c \
++ afs_osi_vget.c \
++ afs_osi_vm.c \
++ afs_segments.c \
++ afs_server.c \
++ afs_stat.c \
++ afs_syscall.c \
++ afs_tokens.c \
++ afs_user.c \
++ afs_util.c \
++ afs_vcache.c \
++ afs_vnop_access.c \
++ afs_vnop_attrs.c \
++ afs_vnop_create.c \
++ afs_vnop_dirops.c \
++ afs_vnop_fid.c \
++ afs_vnop_flock.c \
++ afs_vnop_link.c \
++ afs_vnop_lookup.c \
++ afs_vnop_open.c \
++ afs_vnop_read.c \
++ afs_vnop_readdir.c \
++ afs_vnop_remove.c \
++ afs_vnop_rename.c \
++ afs_vnop_strategy.c \
++ afs_vnop_symlink.c \
++ afs_vnop_write.c \
++ afs_volume.c \
++ afs_warn.c \
++ afsaux.c \
++ Kvice.xdr.c \
++ xdr_arrayn.c \
++ xdr_array.c \
++ xdr_int32.c \
++ xdr_int64.c \
++ Kvice.cs.c \
++ fcrypt.c \
++ rx.c \
++ rx_call.c \
++ rx_conn.c \
++ rx_peer.c \
++ rx_rdwr.c \
++ rx_clock.c \
++ rx_event.c \
++ rx_globals.c \
++ rx_identity.c \
++ rx_kmutex.c \
++ rx_knet.c \
++ rx_kcommon.c \
++ rx_misc.c \
++ rx_null.c \
++ rx_opaque.c \
++ rx_getaddr.c \
++ rx_packet.c \
++ rx_multi.c \
++ rx_stats.c \
++ rbtree.c \
++ xdr_rx.c \
++ xdr_mem.c \
++ xdr_len.c \
++ Kvldbint.cs.c \
++ Kvldbint.xdr.c \
++ Kcallback.ss.c \
++ Krxstat.ss.c \
++ Krxstat.xdr.c \
++ rxstat.c \
++ md5.c \
++ crypt_conn.c \
++ AFS_component_version_number.c\
++ afs_exporter.c \
++ rxkad_client.c \
++ rxkad_common.c \
++ xdr_afsuuid.c \
++ xdr.c \
++ Ktoken.xdr.c \
++ evp.c \
++ evp-algs.c \
++ rand.c \
++ alloc.c \
++ aes.c \
++ rijndael-alg-fst.c \
++ sha.c \
++ n-fold.c \
++ crypto.c \
++ algs.c \
++ crypto-aes.c \
++ context.c \
++ copy.c \
++ ct.c \
++ crypto-evp.c \
++ data.c \
++ keyblock.c \
++ store-int.c \
++ random.c \
++ uuid.c
++
++AFS_NFS_SRCS = \
++ afs_nfsclnt.c \
++ afs_nfsdisp.c \
++ afs_call_nfs.c \
++ afs_pioctl_nfs.c \
++ Kpagcb.cs.c \
++ Kpagcb.xdr.c \
++ osi_vfsops_nfs.c
++
++AFS_NO_NFS_SRCS = \
++ afs_call.c \
++ afs_pioctl.c \
++ osi_vfsops.c
++
++SRCS= \
++ ${AFS_SRCS} \
++ ${AFS_NO_NFS_SRCS} \
++ osi_crypto.c \
++ osi_gcpags.c \
++ osi_groups.c \
++ osi_file.c \
++ osi_inode.c \
++ osi_misc.c \
++ osi_sleep.c \
++ osi_vcache.c \
++ osi_vm.c \
++ osi_vnodeops.c \
++ osi_kmod.c \
++
++FAKE= err.h grp.h netdb.h pwd.h resolv.h
++FAKE+= h rpc/types.h arpa/inet.h arpa/nameser.h
++CLEANFILES += ${FAKE}
++
++.include <bsd.kmodule.mk>
++
++.if !make(obj) && !make(clean) && !make(cleandir)
++${OBJS}: ${FAKE}
++
++${FAKE}:
++ mkdir -p arpa rpc
++ ln -s $S/sys h
++ for i in ${FAKE}; do if [ ! -f $$i ]; then touch $$i; fi; done
++.endif
diff --git a/openafs-git/patches/patch-src_rxkad_fcrypt.c b/openafs-git/patches/patch-src_rxkad_fcrypt.c
new file mode 100644
index 0000000000..97c9a8a562
--- /dev/null
+++ b/openafs-git/patches/patch-src_rxkad_fcrypt.c
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- src/rxkad/fcrypt.c.orig 2018-05-07 18:33:27.000000000 +0000
++++ src/rxkad/fcrypt.c
+@@ -16,7 +16,6 @@
+ #include <afs/param.h>
+ #include <afs/stds.h>
+
+-#define DEBUG 0
+ #ifdef KERNEL
+ #ifndef UKERNEL
+ #if defined(AFS_AIX_ENV) || defined(AFS_AUX_ENV) || defined(AFS_SUN5_ENV)
Home |
Main Index |
Thread Index |
Old Index