summaryrefslogtreecommitdiff
path: root/filesystems/openafs
diff options
context:
space:
mode:
authorjakllsch <jakllsch>2012-08-30 17:37:54 +0000
committerjakllsch <jakllsch>2012-08-30 17:37:54 +0000
commit5f9f45e8e9b11d1f7c65faab35096b379f390462 (patch)
tree52178e2662346ce3e1ba613c41a8911d1bbebc74 /filesystems/openafs
parent7a8e4973551d0091701cf8f5d12c5462d6740779 (diff)
downloadpkgsrc-5f9f45e8e9b11d1f7c65faab35096b379f390462.tar.gz
Move net/openafs to filesystems/openafs-devel.
Re-add net/openafs as of 2012-05-01 as filesystems/openafs.
Diffstat (limited to 'filesystems/openafs')
-rw-r--r--filesystems/openafs/DESCR8
-rw-r--r--filesystems/openafs/Makefile57
-rw-r--r--filesystems/openafs/PLIST238
-rw-r--r--filesystems/openafs/PLIST.pam3
-rw-r--r--filesystems/openafs/distinfo10
-rw-r--r--filesystems/openafs/files/bosserver.sh19
-rw-r--r--filesystems/openafs/options.mk45
-rw-r--r--filesystems/openafs/patches/patch-aa61
-rw-r--r--filesystems/openafs/patches/patch-src_afsd_afsd.c17
-rw-r--r--filesystems/openafs/patches/patch-src_comerr_Makefile.in13
-rw-r--r--filesystems/openafs/patches/patch-src_config_param.nbsd30.h12
-rw-r--r--filesystems/openafs/patches/patch-src_config_param.nbsd40.h12
12 files changed, 495 insertions, 0 deletions
diff --git a/filesystems/openafs/DESCR b/filesystems/openafs/DESCR
new file mode 100644
index 00000000000..c546dc9592e
--- /dev/null
+++ b/filesystems/openafs/DESCR
@@ -0,0 +1,8 @@
+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.
diff --git a/filesystems/openafs/Makefile b/filesystems/openafs/Makefile
new file mode 100644
index 00000000000..03a0ca2d049
--- /dev/null
+++ b/filesystems/openafs/Makefile
@@ -0,0 +1,57 @@
+# $NetBSD: Makefile,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+
+DISTNAME= openafs-1.4.14-src
+PKGNAME= ${DISTNAME:C/-src//}
+CATEGORIES= filesystems net sysutils
+MASTER_SITES= http://www.openafs.org/dl/openafs/1.4.14/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= gendalia@NetBSD.org
+HOMEPAGE= http://www.openafs.org/
+COMMENT= File system for sharing, scalability and transparent data migration
+LICENSE= ibm-public-license-1.0
+
+PREV_PKGPATH= net/openafs
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+CONFLICTS+= arla-[0-9]*
+CONFLICTS+= heimdal-[0-9]*
+CONFLICTS+= lwp-[0-9]*
+CONFLICTS+= rx-[0-9]*
+
+MAKE_JOBS_SAFE=no
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= lex
+RCD_SCRIPTS+= bosserver
+
+.include "options.mk"
+
+CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+
+USE_GNU_CONFIGURE_HOST= no
+
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+
+PLIST_SRC+= ${.CURDIR}/PLIST
+OWN_DIRS+= ${PKG_SYSCONFDIR}/openafs
+OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/openafs/server ${ROOT_USER} ${ROOT_GROUP} 775
+OWN_DIRS_PERMS+= ${VARBASE}/openafs ${ROOT_USER} ${ROOT_GROUP} 770
+OWN_DIRS+= ${VARBASE}/openafs/logs
+OWN_DIRS_PERMS+= ${VARBASE}/openafs/db ${ROOT_USER} ${ROOT_GROUP} 700
+
+FILES_SUBST+= HOSTNAME_CMD=${HOSTNAME_CMD:Q}
+
+BUILD_DEFS+= VARBASE
+
+# attempt to future-proof configuration
+pre-build:
+ cd ${WRKSRC}/src/config && for i in 50 60 70 80 90; do \
+ ${SED} -e 's|nbsd40|nbsd'$$i'|g' param.i386_nbsd40.h > param.i386_nbsd$$i.h; \
+ ${SED} -e 's|nbsd40|nbsd'$$i'|g' param.amd64_nbsd40.h > param.amd64_nbsd$$i.h; \
+ ${CP} param.nbsd40.h param.nbsd$$i.h; \
+ done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/filesystems/openafs/PLIST b/filesystems/openafs/PLIST
new file mode 100644
index 00000000000..a76a1719b2d
--- /dev/null
+++ b/filesystems/openafs/PLIST
@@ -0,0 +1,238 @@
+@comment $NetBSD: PLIST,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+bin/afs_compile_et
+bin/afsmonitor
+bin/bos
+bin/cmdebug
+bin/dlog
+bin/dpass
+bin/fs
+bin/klog
+bin/klog.krb
+bin/knfs
+bin/kpasswd
+bin/kpwvalid
+bin/livesys
+bin/pagsh
+bin/pagsh.krb
+bin/pts
+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_lhash.h
+include/afs/afs_stats.h
+include/afs/afs_sysnames.h
+include/afs/afscbint.h
+include/afs/afsint.h
+include/afs/afssyscalls.h
+include/afs/afsutil.h
+include/afs/afsutil_prototypes.h
+include/afs/assert.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/debug.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/fs_stats.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/kaport.h
+include/afs/kauth.h
+include/afs/kautils.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/netutils.h
+include/afs/nfs.h
+include/afs/nfsclient.h
+include/afs/osi_inode.h
+include/afs/packages.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/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/remote.h
+include/afs/rxgen_consts.h
+include/afs/softsig.h
+include/afs/stds.h
+include/afs/sysctl.h
+include/afs/tcdata.h
+include/afs/unified_afs.h
+include/afs/usd.h
+include/afs/venus.h
+include/afs/vice.h
+include/afs/viceinode.h
+include/afs/vl_opcodes.h
+include/afs/vldbint.h
+include/afs/vlserver.h
+include/afs/vnode.h
+include/afs/voldefs.h
+include/afs/volint.h
+include/afs/volser.h
+include/afs/volume.h
+include/afs/xfsattrs.h
+include/afs/xstat_cm.h
+include/afs/xstat_fs.h
+include/des.h
+include/des_conf.h
+include/des_odd.h
+include/des_prototypes.h
+include/lock.h
+include/lwp.h
+include/mit-cpyright.h
+include/potpourri.h
+include/preempt.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_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/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/libcom_err.a
+lib/afs/libdir.a
+lib/afs/libfsprobe.a
+lib/afs/libgtx.a
+lib/afs/libkauth.a
+lib/afs/libkauth.krb.a
+lib/afs/libnull.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/libafssetpag.so
+lib/libafssetpag.so.1
+lib/libafssetpag.so.1.0
+lib/libdes.a
+lib/liblwp.a
+lib/librx.a
+lib/librxkad.a
+lib/librxstat.a
+lib/libubik.a
+libexec/openafs/buserver
+libexec/openafs/fileserver
+libexec/openafs/kaserver
+libexec/openafs/ptserver
+libexec/openafs/salvager
+libexec/openafs/upclient
+libexec/openafs/upserver
+libexec/openafs/vlserver
+libexec/openafs/volserver
+sbin/afsd
+sbin/backup
+sbin/bos_util
+sbin/bosserver
+sbin/butc
+sbin/fms
+sbin/fstrace
+sbin/kadb_check
+sbin/kas
+sbin/ka-forwarder
+sbin/kdb
+sbin/kdump
+sbin/kpwvalid
+sbin/prdb_check
+sbin/pt_util
+sbin/read_tape
+sbin/restorevol
+sbin/rmtsysd
+sbin/rxdebug
+sbin/uss
+sbin/vldb_check
+sbin/vldb_convert
+sbin/voldump
+sbin/volinfo
+sbin/vos
+sbin/vsys
+share/examples/rc.d/bosserver
+@pkgdir lib/openafs
diff --git a/filesystems/openafs/PLIST.pam b/filesystems/openafs/PLIST.pam
new file mode 100644
index 00000000000..0472102b2cc
--- /dev/null
+++ b/filesystems/openafs/PLIST.pam
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.pam,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+lib/pam_afs.krb.so.1
+lib/pam_afs.so.1
diff --git a/filesystems/openafs/distinfo b/filesystems/openafs/distinfo
new file mode 100644
index 00000000000..e4d85f23256
--- /dev/null
+++ b/filesystems/openafs/distinfo
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+
+SHA1 (openafs-1.4.14-src.tar.bz2) = 2b4e7c839bbf8f577fdd4831e7a3b3ebb9c41926
+RMD160 (openafs-1.4.14-src.tar.bz2) = ecc038d7f9068d420cf1c94f9c01db5ecd1accac
+Size (openafs-1.4.14-src.tar.bz2) = 11813993 bytes
+SHA1 (patch-aa) = 3dde7848f9773fd8398156149368748146564eee
+SHA1 (patch-src_afsd_afsd.c) = ccc518675fc4b4fa594bb6b3a9f2c36e03df2ea6
+SHA1 (patch-src_comerr_Makefile.in) = f325c813dab0dc62592abead6d112ce15df086c9
+SHA1 (patch-src_config_param.nbsd30.h) = 64bbe81ef7208b6e3f70af4eddcb9d535e8a9c34
+SHA1 (patch-src_config_param.nbsd40.h) = ddfb69d2255629946e6df8416e6e2fcbfc0ffabb
diff --git a/filesystems/openafs/files/bosserver.sh b/filesystems/openafs/files/bosserver.sh
new file mode 100644
index 00000000000..88b80877775
--- /dev/null
+++ b/filesystems/openafs/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: arlad
+# 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/filesystems/openafs/options.mk b/filesystems/openafs/options.mk
new file mode 100644
index 00000000000..918f46320ce
--- /dev/null
+++ b/filesystems/openafs/options.mk
@@ -0,0 +1,45 @@
+# $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 bos-new-config fast-restart
+PKG_SUPPORTED_OPTIONS+= largefile kernel-module supergroups namei
+.if ${MACHINE_ARCH} != "x86_64"
+PKG_SUPPORTED_OPTIONS+= pam
+.endif
+PKG_SUGGESTED_OPTIONS= server bitmap-later bos-new-config fast-restart
+PKG_SUGGESTED_OPTIONS+= namei largefile -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:Mbos-new-config)
+CONFIGURE_ARGS+= --enable-bos-new-config
+.endif
+.if !empty(PKG_OPTIONS:Mfast-restart)
+CONFIGURE_ARGS+= --enable-fast-restart
+.endif
+.if !empty(PKG_OPTIONS:Mlargefile)
+CONFIGURE_ARGS+= --enable-largefile-fileserver
+.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
+.if !empty(PKG_OPTIONS:Mpam)
+CONFIGURE_ARGS+= --enable-pam
+.include "../../mk/pam.buildlink3.mk"
+PLIST_SRC+= ${.CURDIR}/PLIST.pam
+.else
+CONFIGURE_ARGS+= --disable-pam
+.endif
diff --git a/filesystems/openafs/patches/patch-aa b/filesystems/openafs/patches/patch-aa
new file mode 100644
index 00000000000..592402654d4
--- /dev/null
+++ b/filesystems/openafs/patches/patch-aa
@@ -0,0 +1,61 @@
+$NetBSD: patch-aa,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+
+--- configure.orig 2010-12-17 16:06:16.000000000 +0000
++++ configure
+@@ -5999,6 +5999,22 @@ echo $ECHO_N "checking your AFS sysname.
+ AFS_PARAM_COMMON=param.nbsd40.h
+ AFS_SYSNAME="i386_nbsd40"
+ ;;
++ i?86-*-netbsd*5.[0-8]*)
++ AFS_PARAM_COMMON=param.nbsd50.h
++ AFS_SYSNAME="i386_nbsd50"
++ ;;
++ x86_64-*-netbsd*5.[0-8]*)
++ AFS_PARAM_COMMON=param.nbsd50.h
++ AFS_SYSNAME="amd64_nbsd50"
++ ;;
++ i?86-*-netbsd*5.99*)
++ AFS_PARAM_COMMON=param.nbsd60.h
++ AFS_SYSNAME="i386_nbsd60"
++ ;;
++ x86_64-*-netbsd*5.99*)
++ AFS_PARAM_COMMON=param.nbsd60.h
++ AFS_SYSNAME="amd64_nbsd60"
++ ;;
+ hppa*-hp-hpux11.0*)
+ AFS_SYSNAME="hp_ux110"
+ ;;
+@@ -24555,7 +24571,7 @@ case $AFS_SYSNAME in
+ YACC="byacc"
+ ;;
+
+- *nbsd2*|*nbsd3*|*nbsd4*)
++ *nbsd2*|*nbsd3*|*nbsd4*|*nbsd5*|*nbsd6*)
+ LEX="flex -l"
+ MT_CFLAGS='${XCFLAGS} -DAFS_PTHREAD_ENV -D_REENTRANT '
+ MT_LIBS="-lpthread" # XXX -pthread soon
+@@ -24563,7 +24579,14 @@ case $AFS_SYSNAME in
+ SHLIB_LDFLAGS="-shared -Xlinker -x"
+ SHLIB_LINKER="${MT_CC} -shared"
+ TXLIBS="/usr/lib/libcurses.so"
+- XCFLAGS="-O2 -pipe"
++ case $AFS_SYSNAME in
++ amd64_nbsd*)
++ XCFLAGS="-O2 -pipe -fPIC"
++ ;;
++ *_nbsd*)
++ XCFLAGS="-O2 -pipe"
++ ;;
++ esac
+ YACC="yacc"
+ ;;
+
+@@ -25490,6 +25513,8 @@ if test "x$enable_optimize_lwp" = "xno";
+ LWP_OPTMZ=
+ fi
+
++XCFLAGS="${XCFLAGS} ${CFLAGS}"
++
+ if test "x$enable_strip_binaries" != "xno"; then
+ if test "x$enable_strip_binaries" = "xmaybe" -a "x$enable_debug" = "xyes"; then
+ NO_STRIP_BIN=-ns
diff --git a/filesystems/openafs/patches/patch-src_afsd_afsd.c b/filesystems/openafs/patches/patch-src_afsd_afsd.c
new file mode 100644
index 00000000000..13ae39e9e12
--- /dev/null
+++ b/filesystems/openafs/patches/patch-src_afsd_afsd.c
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_afsd_afsd.c,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+
+--- src/afsd/afsd.c.orig 2010-12-17 15:58:42.000000000 +0000
++++ src/afsd/afsd.c
+@@ -2382,8 +2382,12 @@ mainproc(struct cmd_syndesc *as, void *a
+ if ((mount("AFS", cacheMountDir, MOUNT_AFS, 0, NULL)) < 0) {
+ #else
+ /* This is the standard mount used by the suns and rts */
++#if defined(__NetBSD__) && __NetBSD_Prereq__(4,99,24)
++ if (1) {
++#else
+ if ((mount(MOUNT_AFS, cacheMountDir, mountFlags, (caddr_t) 0)) < 0) {
+ #endif
++#endif
+ printf("%s: Can't mount AFS on %s(%d)\n", rn, cacheMountDir,
+ errno);
+ exit(1);
diff --git a/filesystems/openafs/patches/patch-src_comerr_Makefile.in b/filesystems/openafs/patches/patch-src_comerr_Makefile.in
new file mode 100644
index 00000000000..beb5a5783fa
--- /dev/null
+++ b/filesystems/openafs/patches/patch-src_comerr_Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_comerr_Makefile.in,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+
+--- src/comerr/Makefile.in.orig 2010-12-17 15:58:42.000000000 +0000
++++ src/comerr/Makefile.in
+@@ -11,7 +11,7 @@ all: compile_et ${TOP_INCDIR}/afs/com_er
+
+ et_lex.lex.c: et_lex.lex.l
+ $(RM) -f et_lex.lex.c
+- $(LEX) -t $(srcdir)/et_lex.lex.l > et_lex.lex.c
++ $(LEX) -l -t $(srcdir)/et_lex.lex.l > et_lex.lex.c
+
+ compile_et: compile_et.o error_table.o
+ case $(SYS_NAME) in \
diff --git a/filesystems/openafs/patches/patch-src_config_param.nbsd30.h b/filesystems/openafs/patches/patch-src_config_param.nbsd30.h
new file mode 100644
index 00000000000..3d0b79169a3
--- /dev/null
+++ b/filesystems/openafs/patches/patch-src_config_param.nbsd30.h
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_config_param.nbsd30.h,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+
+--- src/config/param.nbsd30.h.orig 2010-12-17 15:58:42.000000000 +0000
++++ src/config/param.nbsd30.h
+@@ -23,7 +23,6 @@
+ #define AFS_NBSD20_ENV 1
+ #define AFS_NBSD30_ENV 1
+ #define AFS_NONFSTRANS 1
+-#define AFS_KERBEROS_ENV 1
+
+ #define AFS_VFSINCL_ENV 1
+
diff --git a/filesystems/openafs/patches/patch-src_config_param.nbsd40.h b/filesystems/openafs/patches/patch-src_config_param.nbsd40.h
new file mode 100644
index 00000000000..84649616e10
--- /dev/null
+++ b/filesystems/openafs/patches/patch-src_config_param.nbsd40.h
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_config_param.nbsd40.h,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+
+--- src/config/param.nbsd40.h.orig 2010-12-17 15:58:42.000000000 +0000
++++ src/config/param.nbsd40.h
+@@ -24,7 +24,6 @@
+ #define AFS_NBSD30_ENV 1
+ #define AFS_NBSD40_ENV 1
+ #define AFS_NONFSTRANS 1
+-#define AFS_KERBEROS_ENV 1
+
+ #define AFS_VFSINCL_ENV 1
+