From e6fe163706d6b072433fbac93ebdc3a4d2c251d7 Mon Sep 17 00:00:00 2001 From: Jim Rees Date: Thu, 20 Feb 2003 22:04:47 +0000 Subject: [PATCH 1/1] openbsd-20030220 OpenBSD: Add some minimal build notes to README. Change client package name to openafs-client. --- README | 45 +++++++++++++++++++++++++++------------ src/packaging/OpenBSD/buildpkg.sh | 2 +- src/packaging/OpenBSD/desc | 2 +- 3 files changed, 33 insertions(+), 16 deletions(-) diff --git a/README b/README index 49447aa..ad4dacb 100644 --- a/README +++ b/README @@ -115,22 +115,12 @@ B Building e.g. sun4x_57/dest or i386_linux22/dest 2. As appropriate you can clean up or, if you're using Linux, build for - another kernel version: - a. To clean up: + another kernel version. + To clean up: % make clean - b. To build for another Linux kernel version: - the system type defined in step A1. - % ./configure --with-afs-sysname=i386_linux22 --with-linux-kernel-headers=/usr/src/linux-2.2.19-i686 - % make - - Your dest tree will now include an additional kernel module for your - additional kernel headers. Be aware that if the kernel version string - which UTS_RELEASE is defined to in include/linux/version.h matches - the last kernel you built for, the previous kernel module will be - overwritten. - C Problems + If you have a problem building this source, you may want to visit http://www.openafs.org/ to see if any problems have been reported or to find out how to get more help. @@ -138,7 +128,21 @@ C Problems Mailing lists have been set up to help; More details can be found on the openafs.org site. -D Notes +D Linux Notes + + To build for another Linux kernel version: + the system type defined in step A1. + % ./configure --with-afs-sysname=i386_linux22 --with-linux-kernel-headers=/usr/src/linux-2.2.19-i686 + % make + + Your dest tree will now include an additional kernel module for your + additional kernel headers. Be aware that if the kernel version string + which UTS_RELEASE is defined to in include/linux/version.h matches the + last kernel you built for, the previous kernel module will be + overwritten. + +E HP-UX 11.0 Notes + HP-UX 11.0 requires a header called vfs_vm.h which HP has provided on their web site: http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,687,00.html To navigate down from the top level of the portal, one would do @@ -146,3 +150,16 @@ D Notes www.hp.com/dspp -> i want to... -> download software -> operating systems to get to the same page. + +F OpenBSD Notes + + For now, you need kernel source installed to build OpenAFS. + + There is a package builder in src/packaging/OpenBSD. "sh buildpkg.sh" + should make a package for the client. Use pkg_add to install. There is + no server package, but I am told that "make install" will put server + binaries in /usr/afs. + + Your kernel may panic when you try to shutdown after running the OpenAFS + client. To prevent this, change the "dangling vnode" panic in + sys/kern/vfs_syscalls.c to a printf and build a new kernel. diff --git a/src/packaging/OpenBSD/buildpkg.sh b/src/packaging/OpenBSD/buildpkg.sh index 245bc12..9a333f0 100644 --- a/src/packaging/OpenBSD/buildpkg.sh +++ b/src/packaging/OpenBSD/buildpkg.sh @@ -29,4 +29,4 @@ ln -s $SRC/afsd/afs.rc.obsd usr/vice/etc/rc.securelevel.afs echo '/afs:/usr/vice/cache:96000' >usr/vice/etc/cacheinfo -pkg_create -v -h -f packinglist -c -OpenAFS -d desc -p / -s $PWD openafs +pkg_create -v -h -f packinglist -c -OpenAFS -d desc -p / -s $PWD openafs-client diff --git a/src/packaging/OpenBSD/desc b/src/packaging/OpenBSD/desc index b5d65a7..d4cfc2d 100644 --- a/src/packaging/OpenBSD/desc +++ b/src/packaging/OpenBSD/desc @@ -1 +1 @@ -OpenAFS for OpenBSD 3.1 +OpenAFS client for OpenBSD -- 1.9.4