The attached patch adds support for AIX 5.3 to openafs 1.3.81. The only changes are to add a sysname and make the auto*-stuff aware of it.
It seems to work for me on AIX 5.3 Maintenance level 1 using vac.C 6.x.
Caveat: Using JFS2 for the cache most certainly does NOT work, so use either good old JFS or memcache. I suspect that this statement is valid on AIX 5.2 too, so this patch doesn't make the situation worse.
However, a check to make sure people doesn't try to use JFS2 for the cache should be added, since the behaviour now is to panic which isn't the nicest thing to do. Anyone clued that has ideas on how to do this? Add a quick kludge in the startup script, or should there be something more advanced?
/Nikke -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se | [EMAIL PROTECTED] --------------------------------------------------------------------------- You are being held by a force of 2 gravities. <Delenn> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
diff -x afsconfig.h.in -x configure-libafs -x configure -x aclocal.m4 -x '*.o'
-wru ../openafs-1.3.81.orig/acinclude.m4 ./acinclude.m4
--- ../openafs-1.3.81.orig/acinclude.m4 2005-04-03 21:32:38.000000000 +0200
+++ ./acinclude.m4 2005-04-19 13:56:37.000000000 +0200
@@ -498,6 +498,10 @@
AFS_SYSNAME="rs_aix52"
enable_pam="no"
;;
+ power*-ibm-aix5.3*)
+ AFS_SYSNAME="rs_aix53"
+ enable_pam="no"
+ ;;
x86_64-*-linux-gnu)
AFS_SYSNAME="amd64_linuxXX"
enable_pam="no"
diff -x afsconfig.h.in -x configure-libafs -x configure -x aclocal.m4 -x '*.o'
-wru ../openafs-1.3.81.orig/src/cf/osconf.m4 ./src/cf/osconf.m4
--- ../openafs-1.3.81.orig/src/cf/osconf.m4 2005-04-03 22:01:13.000000000
+0200
+++ ./src/cf/osconf.m4 2005-04-19 13:51:08.000000000 +0200
@@ -491,6 +491,22 @@
SHLIB_LINKER="${MT_CC} -bM:SRE -berok"
AIX64=""
;;
+
+ rs_aix53)
+ DBG="-g"
+ LEX="lex"
+ LIBSYS_AIX_EXP="afsl.exp"
+ MT_CC="xlc_r"
+ MT_CFLAGS='-DAFS_PTHREAD_ENV ${XCFLAGS}'
+ MT_LIBS="-lpthreads"
+ SHLIB_SUFFIX="o"
+ TXLIBS="-lcurses"
+ XCFLAGS="-K -D_NO_PROTO -D_NONSTD_TYPES -D_MBI=void"
+ XLIBS="${LIB_AFSDB} -ldl"
+ SHLIB_LINKER="${MT_CC} -bM:SRE -berok"
+ AIX64=""
+ ;;
+
s390_linux22)
CC="gcc"
CCOBJ="gcc"
diff -x afsconfig.h.in -x configure-libafs -x configure -x aclocal.m4 -x '*.o'
-wru ../openafs-1.3.81.orig/src/config/afs_sysnames.h
./src/config/afs_sysnames.h
--- ../openafs-1.3.81.orig/src/config/afs_sysnames.h 2005-04-03
22:01:14.000000000 +0200
+++ ./src/config/afs_sysnames.h 2005-04-19 13:51:43.000000000 +0200
@@ -67,6 +67,7 @@
#define SYS_NAME_ID_rs_aix51 704
#define SYS_NAME_ID_rs_aix43 705
#define SYS_NAME_ID_rs_aix52 706
+#define SYS_NAME_ID_rs_aix53 707
#define SYS_NAME_ID_sun3_411 906
#define SYS_NAME_ID_sun3x_411 912
diff -x afsconfig.h.in -x configure-libafs -x configure -x aclocal.m4 -x '*.o'
-wru ../openafs-1.3.81.orig/src/libafs/MakefileProto.AIX.in
./src/libafs/MakefileProto.AIX.in
--- ../openafs-1.3.81.orig/src/libafs/MakefileProto.AIX.in 2004-06-21
21:53:07.000000000 +0200
+++ ./src/libafs/MakefileProto.AIX.in 2005-04-19 13:54:20.000000000 +0200
@@ -70,7 +70,7 @@
<rs_aix42>
KMODS=32
-<rs_aix50 rs_aix51 rs_aix52>
+<rs_aix50 rs_aix51 rs_aix52 rs_aix53>
KMODS=32 64
<all>
