kill macos prior to panther
authorDerrick Brashear <shadow@dementia.org>
Wed, 17 Feb 2010 18:26:43 +0000 (13:26 -0500)
committerDerrick Brashear <shadow@dementia.org>
Wed, 17 Feb 2010 18:49:18 +0000 (10:49 -0800)
we haven't had a 10.2 machine to build on in quite a while...

might as well pull it, it probably doesn't work anymore

Change-Id: Iad809e83dadb0e7fa8c61b3f37f574a571042fc8
Reviewed-on: http://gerrit.openafs.org/1335
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

42 files changed:
acinclude.m4
src/afs/DARWIN/osi_machdep.h
src/afs/DARWIN/osi_module.c
src/afs/DARWIN/osi_sleep.c
src/afs/DARWIN/osi_vnodeops.c
src/afs/VNOPS/afs_vnop_attrs.c
src/afs/afs_analyze.c
src/afs/afs_call.c
src/afs/afs_conn.c
src/afs/afs_error.c
src/afs/afs_icl.c
src/afs/afs_pag_call.c
src/afs/afs_server.c
src/afs/afs_syscall.c
src/afs/afs_user.c
src/afs/afs_util.c
src/afs/afs_volume.c
src/afs/afs_warn.c
src/butc/dump.c
src/cf/osconf.m4
src/comerr/error_msg.c
src/config/param.ppc_darwin_12.h [deleted file]
src/config/param.ppc_darwin_13.h [deleted file]
src/config/param.ppc_darwin_14.h [deleted file]
src/config/param.ppc_darwin_60.h [deleted file]
src/config/param.ppc_darwin_70.h
src/config/param.ppc_darwin_80.h
src/config/param.ppc_darwin_90.h
src/config/param.x86_darwin_100.h
src/config/param.x86_darwin_80.h
src/config/param.x86_darwin_90.h
src/dir/dir.c
src/gtx/curseswindows.c
src/packaging/MacOS/InstallationCheck.7 [new file with mode: 0644]
src/packaging/MacOS/InstallationCheck.strings.7 [new file with mode: 0644]
src/packaging/MacOS/ReadMe.rtf.7 [new file with mode: 0644]
src/rx/DARWIN/rx_kmutex.c
src/rx/DARWIN/rx_kmutex.h
src/rx/rx_kcommon.c
src/rx/rx_kcommon.h
src/rxkad/rxkad_common.c
src/util/softsig.c

index 720efbe..554afe5 100644 (file)
@@ -576,69 +576,9 @@ else
                hppa*-hp-hpux10*)
                        AFS_SYSNAME="hp_ux102"
                        ;;
-               powerpc-apple-darwin1.2*)
-                       AFS_SYSNAME="ppc_darwin_12"
-                       ;;
-               powerpc-apple-darwin1.3*)
-                       AFS_SYSNAME="ppc_darwin_13"
-                       ;;
-               powerpc-apple-darwin1.4*)
-                       AFS_SYSNAME="ppc_darwin_14"
-                       ;;
-               powerpc-apple-darwin5.1*)
-                       AFS_SYSNAME="ppc_darwin_14"
-                       ;;
-               powerpc-apple-darwin5.2*)
-                       AFS_SYSNAME="ppc_darwin_14"
-                       ;;
-               powerpc-apple-darwin5.3*)
-                       AFS_SYSNAME="ppc_darwin_14"
-                       ;;
-               powerpc-apple-darwin5.4*)
-                       AFS_SYSNAME="ppc_darwin_14"
-                       ;;
-               powerpc-apple-darwin5.5*)
-                       AFS_SYSNAME="ppc_darwin_14"
-                       ;;
-               powerpc-apple-darwin6.0*)
-                       AFS_SYSNAME="ppc_darwin_60"
-                       ;;
-               powerpc-apple-darwin6.1*)
-                       AFS_SYSNAME="ppc_darwin_60"
-                       ;;
-               powerpc-apple-darwin6.2*)
-                       AFS_SYSNAME="ppc_darwin_60"
-                       ;;
-               powerpc-apple-darwin6.3*)
-                       AFS_SYSNAME="ppc_darwin_60"
-                       ;;
-               powerpc-apple-darwin6.4*)
-                       AFS_SYSNAME="ppc_darwin_60"
-                       ;;
-               powerpc-apple-darwin6.5*)
-                       AFS_SYSNAME="ppc_darwin_60"
-                       ;;
-               powerpc-apple-darwin7.0*)
-                       AFS_SYSNAME="ppc_darwin_70"
-                       ;;
-               powerpc-apple-darwin7.1*)
-                       AFS_SYSNAME="ppc_darwin_70"
-                       ;;
-               powerpc-apple-darwin7.2*)
-                       AFS_SYSNAME="ppc_darwin_70"
-                       ;;
-               powerpc-apple-darwin7.3*)
+               powerpc-apple-darwin7*)
                        AFS_SYSNAME="ppc_darwin_70"
                        ;;
-               powerpc-apple-darwin7.4*)
-                       AFS_SYSNAME="ppc_darwin_70"
-                       ;;
-               powerpc-apple-darwin7.5*)
-                       AFS_SYSNAME="ppc_darwin_70"
-                       ;;
-               powerpc-apple-darwin8.0*)
-                       AFS_SYSNAME="ppc_darwin_80"
-                       ;;
                powerpc-apple-darwin8.*)
                        AFS_SYSNAME="ppc_darwin_80"
                        ;;
index c9e23d7..6cd6a40 100644 (file)
@@ -121,9 +121,6 @@ extern int afs_osi_ctxtp_initialized;
 /* 
  * Time related macros
  */
-#ifndef AFS_DARWIN60_ENV
-extern struct timeval time;
-#endif
 #ifdef AFS_DARWIN80_ENV
 static inline time_t osi_Time(void) {
     struct timeval _now;
index 18711f5..020a89e 100644 (file)
@@ -23,11 +23,7 @@ extern open_close_fcn_t afs_cdev_nop_openclose;
 extern ioctl_fcn_t afs_cdev_ioctl;
 static void *afs_cdev_devfs_handle;
 #else
-#ifdef AFS_DARWIN60_ENV                /* not in Kernel.framework anymore !?! */
 #include <sys/syscall.h>
-#else
-#include "sys/syscall.h"
-#endif
 struct vfsconf afs_vfsconf;
 #endif
 #include <mach/kmod.h>
index 5c4085e..d248d0a 100644 (file)
@@ -185,13 +185,8 @@ afs_osi_Sleep(void *event)
 #else
        AFS_ASSERT_GLOCK();
        AFS_GUNLOCK();
-#ifdef AFS_DARWIN14_ENV
        /* this is probably safe for all versions, but testing is hard */
        sleep(event, PVFS);
-#else
-       assert_wait((event_t) event, 0);
-       thread_block(0);
-#endif
        AFS_GLOCK();
 #endif
     }
@@ -279,7 +274,6 @@ afs_osi_TimedSleep(void *event, afs_int32 ams, int aintok)
     evp->owner = current_thread();
 #else
     ticks = (ams * afs_hz) / 1000;
-#ifdef AFS_DARWIN14_ENV
     /* this is probably safe for all versions, but testing is hard. */
     /* using tsleep instead of assert_wait/thread_set_timer/thread_block
      * allows shutdown to work in 1.4 */
@@ -293,12 +287,6 @@ afs_osi_TimedSleep(void *event, afs_int32 ams, int aintok)
     else
        prio = PVFS;
     code = tsleep(event, prio, "afs_osi_TimedSleep", ticks);
-#else
-    assert_wait((event_t) event, aintok ? THREAD_ABORTSAFE : THREAD_UNINT);
-    thread_set_timer(ticks, NSEC_PER_SEC / hz);
-    thread_block(0);
-    code = 0;
-#endif
     AFS_GLOCK();
 #endif
     if (seq == evp->seq)
@@ -321,12 +309,8 @@ afs_osi_Wakeup(void *event)
     evp = afs_getevent(event);
     if (evp->refcount > 1) {
        evp->seq++;
-#ifdef AFS_DARWIN14_ENV
        /* this is probably safe for all versions, but testing is hard. */
        wakeup(event);
-#else
-       thread_wakeup((event_t) event);
-#endif
        ret = 0;
     }
     relevent(evp);
index 77c2e4c..fab2fbb 100644 (file)
@@ -11,9 +11,7 @@
 #include <sys/malloc.h>
 #include <sys/namei.h>
 #include <sys/ubc.h>
-#if defined(AFS_DARWIN70_ENV)
 #include <vfs/vfs_support.h>
-#endif /* defined(AFS_DARWIN70_ENV) */
 #ifdef AFS_DARWIN80_ENV
 #include <sys/vnode_if.h>
 #include <sys/kauth.h>
@@ -68,9 +66,6 @@ int afs_vop_rmdir(struct VOPPROT(rmdir_args) *);
 int afs_vop_symlink(struct VOPPROT(symlink_args) *);
 int afs_vop_readdir(struct VOPPROT(readdir_args) *);
 int afs_vop_readlink(struct VOPPROT(readlink_args) *);
-#if !defined(AFS_DARWIN70_ENV)
-extern int ufs_abortop(struct vop_abortop_args *);
-#endif /* !defined(AFS_DARWIN70_ENV) */
 int afs_vop_inactive(struct VOPPROT(inactive_args) *);
 int afs_vop_reclaim(struct VOPPROT(reclaim_args) *);
 int afs_vop_strategy(struct VOPPROT(strategy_args) *);
@@ -132,13 +127,7 @@ struct vnodeopv_entry_desc afs_vnodeop_entries[] = {
     {VOPPREF(readdir_desc), (VOPFUNC)afs_vop_readdir}, /* readdir */
     {VOPPREF(readlink_desc), (VOPFUNC)afs_vop_readlink},       /* readlink */
 #ifndef AFS_DARWIN80_ENV
-#if defined(AFS_DARWIN70_ENV)
     {VOPPREF(abortop_desc), (VOPFUNC)nop_abortop },             /* abortop */
-#else /* ! defined(AFS_DARWIN70_ENV) */
-    /* Yes, we use the ufs_abortop call.  It just releases the namei
-     * buffer stuff */
-    {VOPPREF(abortop_desc), (VOPFUNC)ufs_abortop},     /* abortop */
-#endif /* defined(AFS_DARWIN70_ENV) */
 #endif
     {VOPPREF(inactive_desc), (VOPFUNC)afs_vop_inactive},       /* inactive */
     {VOPPREF(reclaim_desc), (VOPFUNC)afs_vop_reclaim}, /* reclaim */
@@ -484,7 +473,7 @@ afs_vop_open(ap)
     int error;
     struct vnode *vp = ap->a_vp;
     struct vcache *vc = VTOAFS(vp);
-#if defined(AFS_DARWIN14_ENV) && !defined(AFS_DARWIN80_ENV)
+#if !defined(AFS_DARWIN80_ENV)
     int didhold = 0;
     /*----------------------------------------------------------------
      * osi_VM_TryReclaim() removes the ubcinfo of a vnode, but that vnode
@@ -498,7 +487,7 @@ afs_vop_open(ap)
     if (vp->v_type == VREG && !(vp->v_flag & VSYSTEM)
       && vp->v_ubcinfo->ui_refcount < 2)
        didhold = ubc_hold(vp);
-#endif /* AFS_DARWIN14_ENV */
+#endif /* !AFS_DARWIN80_ENV */
     AFS_GLOCK();
     error = afs_open(&vc, ap->a_mode, vop_cred);
 #ifdef DIAGNOSTIC
@@ -507,10 +496,10 @@ afs_vop_open(ap)
 #endif
     osi_FlushPages(vc, vop_cred);
     AFS_GUNLOCK();
-#if defined(AFS_DARWIN14_ENV) && !defined(AFS_DARWIN80_ENV)
+#if !defined(AFS_DARWIN80_ENV)
     if (error && didhold)
        ubc_rele(vp);
-#endif /* AFS_DARWIN14_ENV */
+#endif /* !AFS_DARWIN80_ENV */
     return error;
 }
 
@@ -1755,7 +1744,6 @@ afs_vop_pathconf(ap)
     case _PC_PIPE_BUF:
        return EINVAL;
        break;
-#if defined(AFS_DARWIN70_ENV)
     case _PC_NAME_CHARS_MAX:
         *ap->a_retval = NAME_MAX;
        break;
@@ -1765,7 +1753,6 @@ afs_vop_pathconf(ap)
     case _PC_CASE_PRESERVING:
         *ap->a_retval = 1;
        break;
-#endif /* defined(AFS_DARWIN70_ENV) */
     default:
        return EINVAL;
     }
@@ -1968,13 +1955,9 @@ afs_vop_print(ap)
        printf("\n  UBC: ");
        if (UBCINFOEXISTS(vp)) {
            printf("exists, ");
-#ifdef AFS_DARWIN14_ENV
            printf("refs %d%s%s", vp->v_ubcinfo->ui_refcount,
                   ubc_issetflags(vp, UI_HASOBJREF) ? " HASOBJREF" : "",
                   ubc_issetflags(vp, UI_WASMAPPED) ? " WASMAPPED" : "");
-#else
-           printf("holdcnt %d", vp->v_ubcinfo->ui_holdcnt);
-#endif
        } else
            printf("does not exist");
     }
index 1c80de4..b1c1fea 100644 (file)
@@ -92,9 +92,9 @@ afs_CopyOutAttrs(register struct vcache *avc, register struct vattr *attrs)
     attrs->va_fsid = avc->v.v_vfsp->vfs_fsid.val[0];
 #elif defined(AFS_DARWIN80_ENV)
     VATTR_RETURN(attrs, va_fsid, vfs_statfs(vnode_mount(AFSTOV(avc)))->f_fsid.val[0]);
-#elif defined(AFS_DARWIN70_ENV)
+#elif defined(AFS_DARWIN_ENV)
     attrs->va_fsid = avc->v->v_mount->mnt_stat.f_fsid.val[0];
-#else /* ! AFS_DARWIN70_ENV */
+#else /* ! AFS_DARWIN_ENV */
     attrs->va_fsid = 1;
 #endif 
     if (avc->mvstat == 2) {
index 076c2e1..e9f0049 100644 (file)
@@ -26,7 +26,7 @@
 #ifdef AFS_SGI62_ENV
 #include "h/hashing.h"
 #endif
-#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_FBSD_ENV) && !defined(AFS_DARWIN60_ENV)
+#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_FBSD_ENV) && !defined(AFS_DARWIN_ENV)
 #include <netinet/in_var.h>
 #endif
 #endif /* !UKERNEL */
index 298eff7..8ed5f48 100644 (file)
@@ -20,7 +20,7 @@
 #ifdef AFS_SGI62_ENV
 #include "h/hashing.h"
 #endif
-#if !defined(AFS_HPUX110_ENV) && !defined(AFS_DARWIN60_ENV)
+#if !defined(AFS_HPUX110_ENV) && !defined(AFS_DARWIN_ENV)
 #include "netinet/in_var.h"
 #endif
 #endif /* !defined(UKERNEL) */
index 0a66679..d2091db 100644 (file)
@@ -26,7 +26,7 @@
 #ifdef AFS_SGI62_ENV
 #include "h/hashing.h"
 #endif
-#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN60_ENV)
+#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN_ENV)
 #include <netinet/in_var.h>
 #endif /* ! AFS_HPUX110_ENV */
 #endif /* !defined(UKERNEL) */
index e2c84bd..49f7d99 100644 (file)
@@ -26,7 +26,7 @@
 #ifdef AFS_SGI62_ENV
 #include "h/hashing.h"
 #endif
-#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_FBSD_ENV) && !defined(AFS_DARWIN60_ENV)
+#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_FBSD_ENV) && !defined(AFS_DARWIN_ENV)
 #include <netinet/in_var.h>
 #endif
 #endif /* !UKERNEL */
index 435553d..4eaaee2 100644 (file)
@@ -20,7 +20,7 @@
 #ifdef AFS_SGI62_ENV
 #include "h/hashing.h"
 #endif
-#if !defined(AFS_HPUX110_ENV) && !defined(AFS_DARWIN60_ENV)
+#if !defined(AFS_HPUX110_ENV) && !defined(AFS_DARWIN_ENV)
 #include "netinet/in_var.h"
 #endif
 #endif /* !defined(UKERNEL) */
index cdb4c45..e64645d 100644 (file)
@@ -21,7 +21,7 @@
 #ifdef AFS_SGI62_ENV
 #include "h/hashing.h"
 #endif
-#if !defined(AFS_HPUX110_ENV) && !defined(AFS_DARWIN60_ENV)
+#if !defined(AFS_HPUX110_ENV) && !defined(AFS_DARWIN_ENV)
 #include "netinet/in_var.h"
 #endif
 #endif /* !defined(UKERNEL) */
index 93e57fa..f5e25cf 100644 (file)
 #ifdef AFS_SGI62_ENV
 #include "h/hashing.h"
 #endif
-#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN60_ENV)
+#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN_ENV)
 #include <netinet/in_var.h>
 #endif /* AFS_HPUX110_ENV */
-#ifdef AFS_DARWIN60_ENV
+#ifdef AFS_DARWIN_ENV
 #include <net/if_var.h>
 #endif
 #endif /* !defined(UKERNEL) */
@@ -1137,7 +1137,7 @@ afsi_SetServerIPRank(struct srvAddr *sa, afs_int32 addr,
     return;
 }
 #else /* AFS_USERSPACE_IP_ADDR */
-#if (! defined(AFS_SUN5_ENV)) && !defined(AFS_DARWIN60_ENV) && defined(USEIFADDR)
+#if (! defined(AFS_SUN5_ENV)) && !defined(AFS_DARWIN_ENV) && defined(USEIFADDR)
 void
 afsi_SetServerIPRank(struct srvAddr *sa, struct in_ifaddr *ifa)
 {
@@ -1174,7 +1174,7 @@ afsi_SetServerIPRank(struct srvAddr *sa, struct in_ifaddr *ifa)
 #endif /* IFF_POINTTOPOINT */
 }
 #endif /*(!defined(AFS_SUN5_ENV)) && defined(USEIFADDR) */
-#if defined(AFS_DARWIN60_ENV) && defined(USEIFADDR)
+#if defined(AFS_DARWIN_ENV) && defined(USEIFADDR)
 #ifndef afs_min
 #define afs_min(A,B) ((A)<(B)) ? (A) : (B)
 #endif
@@ -1491,7 +1491,7 @@ static int afs_SetServerPrefs(struct srvAddr *sa) {
            ifnet_list_free(ifns);
        }
     }
-#elif defined(AFS_DARWIN60_ENV)
+#elif defined(AFS_DARWIN_ENV)
     {
        rx_ifnet_t ifn;
        rx_ifaddr_t ifa;
@@ -1499,7 +1499,7 @@ static int afs_SetServerPrefs(struct srvAddr *sa) {
            TAILQ_FOREACH(ifa, &ifn->if_addrhead, ifa_link) {
                afsi_SetServerIPRank(sa, ifa);
     }}}
-#elif defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV)
+#elif defined(AFS_FBSD_ENV)
     {
        struct in_ifaddr *ifa;
          TAILQ_FOREACH(ifa, &in_ifaddrhead, ia_link) {
index 90729ed..0bdfdf9 100644 (file)
@@ -24,7 +24,7 @@
 #ifdef AFS_SGI62_ENV
 #include "h/hashing.h"
 #endif
-#if !defined(AFS_HPUX110_ENV) && !defined(AFS_DARWIN60_ENV)
+#if !defined(AFS_HPUX110_ENV) && !defined(AFS_DARWIN_ENV)
 #include "netinet/in_var.h"
 #endif
 #endif /* !defined(UKERNEL) */
index 8fef606..7e04e7c 100644 (file)
@@ -26,7 +26,7 @@
 #ifdef AFS_SGI62_ENV
 #include "h/hashing.h"
 #endif
-#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN60_ENV)
+#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN_ENV)
 #include <netinet/in_var.h>
 #endif /* ! AFS_HPUX110_ENV */
 #endif /* !defined(UKERNEL) */
index c64fc09..bd57d2f 100644 (file)
@@ -28,7 +28,7 @@
 #ifdef AFS_SGI62_ENV
 #include "h/hashing.h"
 #endif
-#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN60_ENV)
+#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN_ENV)
 #include <netinet/in_var.h>
 #endif /* ! AFS_HPUX110_ENV */
 #endif /* !defined(UKERNEL) */
index 5c3775f..07c10a7 100644 (file)
@@ -31,7 +31,7 @@
 #ifdef AFS_SGI62_ENV
 #include "h/hashing.h"
 #endif
-#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN60_ENV)
+#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN_ENV)
 #include <netinet/in_var.h>
 #endif /* ! AFS_HPUX110_ENV */
 #endif /* !defined(UKERNEL) */
index f65f04e..f7a566f 100644 (file)
@@ -29,7 +29,7 @@
 #ifdef AFS_SGI62_ENV
 #include "h/hashing.h"
 #endif
-#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN60_ENV)
+#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN_ENV)
 #include <netinet/in_var.h>
 #endif /* ! AFS_HPUX110_ENV */
 #endif /* !defined(UKERNEL) */
index 49b99be..0c1acc3 100644 (file)
@@ -97,7 +97,7 @@ afs_int32 tapeblocks;         /* Number of 16K tape datablocks in buffer (!CONF_XBSA) *
    else \
      sprintf(dumpname, "%s (DumpId %u)", name, dbDumpId);
 
-#if defined(AFS_NT40_ENV) || (defined(AFS_DARWIN_ENV) && !defined(AFS_DARWIN60_ENV)) || defined(AFS_SUN4_ENV)
+#if defined(AFS_NT40_ENV) || defined(AFS_SUN4_ENV)
 int
 localtime_r(time_t * t, struct tm *tm)
 {
index 61e9403..7b79844 100644 (file)
@@ -473,58 +473,6 @@ case $AFS_SYSNAME in
                SHLIB_LINKER="${MT_CC} -shared"
                ;;
 
-       ppc_darwin_12)
-               CC="cc"
-               CCOBJ="cc"
-               MT_CC="cc"
-               AFSD_LDFLAGS="-F/System/Library/PrivateFrameworks -framework DiskArbitration"
-               LEX="lex -l"
-               REGEX_OBJ="regex.o"
-               XCFLAGS="-traditional-cpp"
-               SHLIB_LINKER="${MT_CC} -dynamiclib"
-               SHLIB_SUFFIX="dylib"
-               ;;
-
-       ppc_darwin_13)
-               CC="cc"
-               CCOBJ="cc"
-               MT_CC="cc"
-               AFSD_LDFLAGS="-F/System/Library/PrivateFrameworks -framework DiskArbitration"
-               LEX="lex -l"
-               LWP_OPTMZ="-O2"
-               REGEX_OBJ="regex.o"
-               XCFLAGS="-no-cpp-precomp"
-               SHLIB_LINKER="${MT_CC} -dynamiclib"
-               SHLIB_SUFFIX="dylib"
-               ;;
-
-       ppc_darwin_14)
-               CC="cc"
-               CCOBJ="cc"
-               MT_CC="cc"
-               AFSD_LDFLAGS="-F/System/Library/PrivateFrameworks -framework DiskArbitration"
-               LEX="lex -l"
-               LWP_OPTMZ="-O2"
-               REGEX_OBJ="regex.o"
-               XCFLAGS="-no-cpp-precomp"
-               SHLIB_LINKER="${MT_CC} -dynamiclib"
-               SHLIB_SUFFIX="dylib"
-               ;;
-
-       ppc_darwin_60)
-               CC="cc"
-               CCOBJ="cc"
-               MT_CC="cc"
-               AFSD_LDFLAGS="-F/System/Library/PrivateFrameworks -framework DiskArbitration"
-               LEX="lex -l"
-               LWP_OPTMZ="-O2"
-               REGEX_OBJ="regex.o"
-               XCFLAGS="-no-cpp-precomp"
-               TXLIBS="-lncurses"
-               SHLIB_LINKER="${MT_CC} -dynamiclib"
-               SHLIB_SUFFIX="dylib"
-               ;;
-
        ppc_darwin_70)
                CC="cc"
                CCOBJ="cc"
index bd82275..21d46fa 100644 (file)
@@ -18,7 +18,7 @@
 #ifdef HAVE_LIBINTL
 #include <libintl.h>
 #endif
-#ifdef AFS_DARWIN70_ENV
+#ifdef AFS_DARWIN_ENV
 #include <CoreFoundation/CoreFoundation.h>
 #endif
 #include <afs/errors.h>
@@ -115,7 +115,7 @@ volume_message(int code)
        return "unknown volume error";
 }
 
-#ifdef AFS_DARWIN70_ENV
+#ifdef AFS_DARWIN_ENV
 static_inline const char *
 _intlize(const char *msg, int base, char *str, size_t len)
 {
diff --git a/src/config/param.ppc_darwin_12.h b/src/config/param.ppc_darwin_12.h
deleted file mode 100644 (file)
index ea41ec0..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-#ifndef UKERNEL
-/* This section for kernel libafs compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
-#define AFS_PPC_ENV 1
-#define AFS_VFSINCL_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-#define AFS_DARWIN_ENV
-#undef  AFS_NONFSTRANS
-#define AFS_NONFSTRANS
-#define AFS_SYSCALL             230
-#define DARWIN_REFBASE 0
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS    "afs"
-
-/* Machine / Operating system information */
-#define sys_ppc_darwin_12   1
-#define SYS_NAME        "ppc_darwin_12"
-#define SYS_NAME_ID     SYS_NAME_ID_ppc_darwin_12
-#define AFSBIG_ENDIAN   1
-#define AFS_HAVE_FFS    1      /* Use system's ffs. */
-
-#define AFS_GCPAGS                1    /* if nonzero, garbage collect PAGs */
-#define RXK_LISTENER_ENV         1
-
-#ifdef KERNEL
-#undef MACRO_BEGIN
-#undef MACRO_END
-#include <kern/macro_help.h>
-#define AFS_GLOBAL_SUNLOCK        1
-#define AFS_VFS34       1      /* What is VFS34??? */
-#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
-#define vnode_t         struct vnode
-
-#define VN_RELE(vp)     vrele(((struct vnode *)(vp)))
-#define VN_HOLD(vp)     VREF(((struct vnode *)(vp)))
-
-#endif
-#endif /* AFS_PARAM_H */
-
-#else /* !defined(UKERNEL) */
-
-/* This section for user space compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFSINCL_ENV 1      /* NOBODY uses this.... */
-#define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
-#define AFS_PPC_ENV 1
-
-#include <afs/afs_sysnames.h>
-#define AFS_USERSPACE_ENV
-#define AFS_USR_DARWIN_ENV
-#undef  AFS_NONFSTRANS
-#define AFS_NONFSTRANS
-#define AFS_SYSCALL             230
-#define DARWIN_REFBASE 0
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS    "afs"
-
-/* Machine / Operating system information */
-#define sys_ppc_darwin_12   1
-#define SYS_NAME        "ppc_darwin_12"
-#define SYS_NAME_ID     SYS_NAME_ID_ppc_darwin_12
-#define AFSBIG_ENDIAN   1
-#define AFS_HAVE_FFS    1      /* Use system's ffs. */
-
-#define AFS_UIOSYS      UIO_SYSSPACE
-#define AFS_UIOUSER     UIO_USERSPACE
-
-#define AFS_GCPAGS                0    /* if nonzero, garbage collect PAGs */
-#define RXK_LISTENER_ENV          1
-
-#define AFS_VFS34       1      /* What is VFS34??? */
-#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        VATTR_NULL      usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
-
-#endif /* !defined(UKERNEL) */
diff --git a/src/config/param.ppc_darwin_13.h b/src/config/param.ppc_darwin_13.h
deleted file mode 100644 (file)
index aac7925..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-#ifndef UKERNEL
-/* This section for kernel libafs compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
-#define AFS_PPC_ENV 1
-#define AFS_VFSINCL_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-#define AFS_DARWIN_ENV
-#define AFS_DARWIN13_ENV
-#undef  AFS_NONFSTRANS
-#define AFS_NONFSTRANS
-#define AFS_SYSCALL             230
-#define DARWIN_REFBASE 0
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS    "afs"
-
-/* Machine / Operating system information */
-#define sys_ppc_darwin_12   1
-#define sys_ppc_darwin_13   1
-#define SYS_NAME        "ppc_darwin_13"
-#define SYS_NAME_ID     SYS_NAME_ID_ppc_darwin_13
-#define AFSBIG_ENDIAN   1
-#define AFS_HAVE_FFS    1      /* Use system's ffs. */
-
-#define AFS_GCPAGS                1    /* if nonzero, garbage collect PAGs */
-#define RXK_LISTENER_ENV         1
-
-#ifdef KERNEL
-#undef MACRO_BEGIN
-#undef MACRO_END
-#include <kern/macro_help.h>
-#define AFS_GLOBAL_SUNLOCK        1
-#define AFS_VFS34       1      /* What is VFS34??? */
-#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
-#define vnode_t         struct vnode
-
-#define VN_RELE(vp)     vrele(((struct vnode *)(vp)))
-#define VN_HOLD(vp)     VREF(((struct vnode *)(vp)))
-
-#endif
-#endif /* AFS_PARAM_H */
-
-#else /* !defined(UKERNEL) */
-
-/* This section for user space compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFSINCL_ENV 1      /* NOBODY uses this.... */
-#define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
-#define AFS_PPC_ENV 1
-
-#include <afs/afs_sysnames.h>
-#define AFS_USERSPACE_ENV
-#define AFS_USR_DARWIN_ENV
-#define AFS_USR_DARWIN13_ENV
-#undef  AFS_NONFSTRANS
-#define AFS_NONFSTRANS
-#define AFS_SYSCALL             230
-#define DARWIN_REFBASE 0
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS    "afs"
-
-/* Machine / Operating system information */
-#define sys_ppc_darwin_12   1
-#define sys_ppc_darwin_13   1
-#define SYS_NAME        "ppc_darwin_13"
-#define SYS_NAME_ID     SYS_NAME_ID_ppc_darwin_13
-#define AFSBIG_ENDIAN   1
-#define AFS_HAVE_FFS    1      /* Use system's ffs. */
-
-#define AFS_UIOSYS      UIO_SYSSPACE
-#define AFS_UIOUSER     UIO_USERSPACE
-
-#define AFS_GCPAGS                0    /* if nonzero, garbage collect PAGs */
-#define RXK_LISTENER_ENV          1
-
-#define AFS_VFS34       1      /* What is VFS34??? */
-#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        VATTR_NULL      usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
-
-#endif /* !defined(UKERNEL) */
diff --git a/src/config/param.ppc_darwin_14.h b/src/config/param.ppc_darwin_14.h
deleted file mode 100644 (file)
index 406b5de..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-#ifndef UKERNEL
-/* This section for kernel libafs compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
-#define AFS_PPC_ENV 1
-#define AFS_VFSINCL_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-#define AFS_DARWIN_ENV
-#define AFS_DARWIN13_ENV
-#define AFS_DARWIN14_ENV
-#undef  AFS_NONFSTRANS
-#define AFS_NONFSTRANS
-#define AFS_SYSCALL             230
-#define AFS_NAMEI_ENV 1
-#define DARWIN_REFBASE 0
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS    "afs"
-
-/* Machine / Operating system information */
-#define sys_ppc_darwin_12   1
-#define sys_ppc_darwin_13   1
-#define sys_ppc_darwin_14   1
-#define SYS_NAME        "ppc_darwin_14"
-#define SYS_NAME_ID     SYS_NAME_ID_ppc_darwin_14
-#define AFSBIG_ENDIAN   1
-#define AFS_HAVE_FFS    1      /* Use system's ffs. */
-
-#define AFS_GCPAGS                1    /* if nonzero, garbage collect PAGs */
-#define RXK_LISTENER_ENV         1
-
-#ifdef KERNEL
-#undef MACRO_BEGIN
-#undef MACRO_END
-#include <kern/macro_help.h>
-#define AFS_GLOBAL_SUNLOCK        1
-#define AFS_VFS34       1      /* What is VFS34??? */
-#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
-#define vnode_t         struct vnode
-
-#define VN_RELE(vp)     vrele(((struct vnode *)(vp)))
-#define VN_HOLD(vp)     VREF(((struct vnode *)(vp)))
-
-#endif
-#endif /* AFS_PARAM_H */
-
-#else /* !defined(UKERNEL) */
-
-/* This section for user space compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFSINCL_ENV 1      /* NOBODY uses this.... */
-#define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
-#define AFS_PPC_ENV 1
-
-#include <afs/afs_sysnames.h>
-#define AFS_USERSPACE_ENV
-#define AFS_USR_DARWIN_ENV
-#define AFS_USR_DARWIN13_ENV
-#define AFS_USR_DARWIN14_ENV
-#undef  AFS_NONFSTRANS
-#define AFS_NONFSTRANS
-#define AFS_SYSCALL             230
-#define DARWIN_REFBASE 0
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS    "afs"
-
-/* Machine / Operating system information */
-#define sys_ppc_darwin_12   1
-#define sys_ppc_darwin_13   1
-#define sys_ppc_darwin_14   1
-#define SYS_NAME        "ppc_darwin_14"
-#define SYS_NAME_ID     SYS_NAME_ID_ppc_darwin_14
-#define AFSBIG_ENDIAN   1
-#define AFS_HAVE_FFS    1      /* Use system's ffs. */
-
-#define AFS_UIOSYS      UIO_SYSSPACE
-#define AFS_UIOUSER     UIO_USERSPACE
-
-#define AFS_GCPAGS                0    /* if nonzero, garbage collect PAGs */
-#define RXK_LISTENER_ENV          1
-
-#define AFS_VFS34       1      /* What is VFS34??? */
-#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        VATTR_NULL      usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
-
-#endif /* !defined(UKERNEL) */
diff --git a/src/config/param.ppc_darwin_60.h b/src/config/param.ppc_darwin_60.h
deleted file mode 100644 (file)
index 13fa536..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
-#ifndef UKERNEL
-/* This section for kernel libafs compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
-#define AFS_PPC_ENV 1
-#define AFS_VFSINCL_ENV 1
-
-#include <afs/afs_sysnames.h>
-
-#define AFS_DARWIN_ENV
-#define AFS_DARWIN13_ENV
-#define AFS_DARWIN14_ENV
-#define AFS_DARWIN60_ENV
-#undef  AFS_NONFSTRANS
-#define AFS_NONFSTRANS
-#define AFS_SYSCALL             230
-#define AFS_NAMEI_ENV 1
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS    "afs"
-
-/* Machine / Operating system information */
-#define sys_ppc_darwin_12   1
-#define sys_ppc_darwin_13   1
-#define sys_ppc_darwin_14   1
-#define sys_ppc_darwin_60   1
-#define SYS_NAME        "ppc_darwin_60"
-#define SYS_NAME_ID     SYS_NAME_ID_ppc_darwin_60
-#define AFSBIG_ENDIAN   1
-#define AFS_HAVE_FFS    1      /* Use system's ffs. */
-
-#define AFS_GCPAGS                1    /* if nonzero, garbage collect PAGs */
-#define RXK_LISTENER_ENV         1
-
-#ifdef KERNEL
-#undef MACRO_BEGIN
-#undef MACRO_END
-#include <kern/macro_help.h>
-#define AFS_GLOBAL_SUNLOCK        1
-#define AFS_VFS34       1      /* What is VFS34??? */
-#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
-#define vnode_t         struct vnode
-
-#define VN_RELE(vp)     vrele(((struct vnode *)(vp)))
-#define VN_HOLD(vp)     VREF(((struct vnode *)(vp)))
-
-#endif
-#endif /* AFS_PARAM_H */
-
-#else /* !defined(UKERNEL) */
-
-/* This section for user space compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#define AFS_VFSINCL_ENV 1      /* NOBODY uses this.... */
-#define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
-#define AFS_PPC_ENV 1
-
-#include <afs/afs_sysnames.h>
-#define AFS_USERSPACE_ENV
-#define AFS_USR_DARWIN_ENV
-#define AFS_USR_DARWIN13_ENV
-#define AFS_USR_DARWIN14_ENV
-#define AFS_USR_DARWIN60_ENV
-#undef  AFS_NONFSTRANS
-#define AFS_NONFSTRANS
-#define AFS_SYSCALL             230
-
-/* File system entry (used if mount.h doesn't define MOUNT_AFS */
-#define AFS_MOUNT_AFS    "afs"
-
-/* Machine / Operating system information */
-#define sys_ppc_darwin_12   1
-#define sys_ppc_darwin_13   1
-#define sys_ppc_darwin_14   1
-#define sys_ppc_darwin_60   1
-#define SYS_NAME        "ppc_darwin_60"
-#define SYS_NAME_ID     SYS_NAME_ID_ppc_darwin_60
-#define AFSBIG_ENDIAN   1
-#define AFS_HAVE_FFS    1      /* Use system's ffs. */
-
-#define AFS_UIOSYS      UIO_SYSSPACE
-#define AFS_UIOUSER     UIO_USERSPACE
-
-#define AFS_GCPAGS                0    /* if nonzero, garbage collect PAGs */
-#define RXK_LISTENER_ENV          1
-
-#define AFS_VFS34       1      /* What is VFS34??? */
-#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        VATTR_NULL      usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#endif /* AFS_PARAM_H */
-
-#endif /* !defined(UKERNEL) */
index eaddf36..f937ebd 100644 (file)
@@ -13,9 +13,6 @@
 #include <afs/afs_sysnames.h>
 
 #define AFS_DARWIN_ENV
-#define AFS_DARWIN13_ENV
-#define AFS_DARWIN14_ENV
-#define AFS_DARWIN60_ENV
 #define AFS_DARWIN70_ENV
 #undef  AFS_NONFSTRANS
 #define AFS_NONFSTRANS
@@ -89,9 +86,6 @@
 #include <afs/afs_sysnames.h>
 #define AFS_USERSPACE_ENV
 #define AFS_USR_DARWIN_ENV
-#define AFS_USR_DARWIN13_ENV
-#define AFS_USR_DARWIN14_ENV
-#define AFS_USR_DARWIN60_ENV
 #define AFS_USR_DARWIN70_ENV
 #undef  AFS_NONFSTRANS
 #define AFS_NONFSTRANS
index bef7fff..f9d24f7 100644 (file)
@@ -20,9 +20,6 @@
 #include <afs/afs_sysnames.h>
 
 #define AFS_DARWIN_ENV
-#define AFS_DARWIN13_ENV
-#define AFS_DARWIN14_ENV
-#define AFS_DARWIN60_ENV
 #define AFS_DARWIN70_ENV
 #define AFS_DARWIN80_ENV
 #undef  AFS_NONFSTRANS
 #include <afs/afs_sysnames.h>
 #define AFS_USERSPACE_ENV
 #define AFS_USR_DARWIN_ENV
-#define AFS_USR_DARWIN13_ENV
-#define AFS_USR_DARWIN14_ENV
-#define AFS_USR_DARWIN60_ENV
 #define AFS_USR_DARWIN70_ENV
 #define AFS_USR_DARWIN80_ENV
 #undef  AFS_NONFSTRANS
index 2e4bdf6..b58a39d 100644 (file)
@@ -20,9 +20,6 @@
 #include <afs/afs_sysnames.h>
 
 #define AFS_DARWIN_ENV
-#define AFS_DARWIN13_ENV
-#define AFS_DARWIN14_ENV
-#define AFS_DARWIN60_ENV
 #define AFS_DARWIN70_ENV
 #define AFS_DARWIN80_ENV
 #define AFS_DARWIN90_ENV
 #include <afs/afs_sysnames.h>
 #define AFS_USERSPACE_ENV
 #define AFS_USR_DARWIN_ENV
-#define AFS_USR_DARWIN13_ENV
-#define AFS_USR_DARWIN14_ENV
-#define AFS_USR_DARWIN60_ENV
 #define AFS_USR_DARWIN70_ENV
 #define AFS_USR_DARWIN80_ENV
 #define AFS_USR_DARWIN90_ENV
index 38ede9b..7558d8d 100644 (file)
@@ -23,9 +23,6 @@
 #include <afs/afs_sysnames.h>
 
 #define AFS_DARWIN_ENV
-#define AFS_DARWIN13_ENV
-#define AFS_DARWIN14_ENV
-#define AFS_DARWIN60_ENV
 #define AFS_DARWIN70_ENV
 #define AFS_DARWIN80_ENV
 #define AFS_DARWIN90_ENV
 #include <afs/afs_sysnames.h>
 #define AFS_USERSPACE_ENV
 #define AFS_USR_DARWIN_ENV
-#define AFS_USR_DARWIN13_ENV
-#define AFS_USR_DARWIN14_ENV
-#define AFS_USR_DARWIN60_ENV
 #define AFS_USR_DARWIN70_ENV
 #define AFS_USR_DARWIN80_ENV
 #define AFS_USR_DARWIN90_ENV
index 68b3334..7126112 100644 (file)
@@ -20,9 +20,6 @@
 #include <afs/afs_sysnames.h>
 
 #define AFS_DARWIN_ENV
-#define AFS_DARWIN13_ENV
-#define AFS_DARWIN14_ENV
-#define AFS_DARWIN60_ENV
 #define AFS_DARWIN70_ENV
 #define AFS_DARWIN80_ENV
 #undef  AFS_NONFSTRANS
 #include <afs/afs_sysnames.h>
 #define AFS_USERSPACE_ENV
 #define AFS_USR_DARWIN_ENV
-#define AFS_USR_DARWIN13_ENV
-#define AFS_USR_DARWIN14_ENV
-#define AFS_USR_DARWIN60_ENV
 #define AFS_USR_DARWIN70_ENV
 #define AFS_USR_DARWIN80_ENV
 #undef  AFS_NONFSTRANS
index 61e674a..49c1970 100644 (file)
@@ -20,9 +20,6 @@
 #include <afs/afs_sysnames.h>
 
 #define AFS_DARWIN_ENV
-#define AFS_DARWIN13_ENV
-#define AFS_DARWIN14_ENV
-#define AFS_DARWIN60_ENV
 #define AFS_DARWIN70_ENV
 #define AFS_DARWIN80_ENV
 #define AFS_DARWIN90_ENV
 #include <afs/afs_sysnames.h>
 #define AFS_USERSPACE_ENV
 #define AFS_USR_DARWIN_ENV
-#define AFS_USR_DARWIN13_ENV
-#define AFS_USR_DARWIN14_ENV
-#define AFS_USR_DARWIN60_ENV
 #define AFS_USR_DARWIN70_ENV
 #define AFS_USR_DARWIN80_ENV
 #define AFS_USR_DARWIN90_ENV
index de69433..952714f 100644 (file)
@@ -33,7 +33,7 @@
 #if    defined(AFS_SUN56_ENV) || defined(AFS_HPUX_ENV) || defined(AFS_FBSD_ENV) || defined(AFS_DARWIN80_ENV)
 #include "afs/sysincludes.h"
 #endif
-#if !defined(AFS_SGI64_ENV) && !defined(AFS_DARWIN60_ENV)
+#if !defined(AFS_SGI64_ENV) && !defined(AFS_DARWIN_ENV)
 #include "h/user.h"
 #endif /* AFS_SGI64_ENV */
 #include "h/uio.h"
index fba2260..bbb50b6 100644 (file)
@@ -769,10 +769,7 @@ gator_cursesgwin_getdimensions(struct gwin *gwp, struct gwin_sizeparams *aparms)
     struct gator_cursesgwin *cwp;      /*Curses-specific data */
 
     cwp = (struct gator_cursesgwin *)(gwp->w_data);
-#if defined(AFS_DARWIN_ENV) && !defined(AFS_DARWIN60_ENV)
-    aparms->maxx = cwp->wp->maxx;
-    aparms->maxy = cwp->wp->maxy;
-#elif defined(AFS_NBSD_ENV) || defined(AFS_DARWIN100_ENV)
+#if defined(AFS_NBSD_ENV) || defined(AFS_DARWIN100_ENV)
     aparms->maxx = getmaxx(cwp->wp);
     aparms->maxy = getmaxy(cwp->wp);
 #else
diff --git a/src/packaging/MacOS/InstallationCheck.7 b/src/packaging/MacOS/InstallationCheck.7
new file mode 100644 (file)
index 0000000..0ed3d53
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+majorvers=`uname -r | sed 's/\..*//'`
+if [ $majorvers -ne 7 ]; then
+       exit 112
+fi
+
+# check for temporary versions of ThisCell and CellAlias
+# and move them aside
+tmpthiscell=/private/tmp/org.OpenAFS.Install.ThisCell.$USER
+tmpcellalias=/private/tmp/org.OpenAFS.Install.CellAlias.$USER
+date=`date +%Y%m%d%H%M`
+if [ -e $tmpthiscell ]; then
+    mv -f $tmpthiscell $tmpthiscell.$date
+fi
+if [ -e $tmpcellalias ]; then
+    mv -f $tmpcellalias $tmpcellalias.$date
+fi
+
+exit 0
diff --git a/src/packaging/MacOS/InstallationCheck.strings.7 b/src/packaging/MacOS/InstallationCheck.strings.7
new file mode 100644 (file)
index 0000000..43017bb
--- /dev/null
@@ -0,0 +1 @@
+"16" = "This OpenAFS release requires Panther (10.3)";
diff --git a/src/packaging/MacOS/ReadMe.rtf.7 b/src/packaging/MacOS/ReadMe.rtf.7
new file mode 100644 (file)
index 0000000..b19ded4
--- /dev/null
@@ -0,0 +1,11 @@
+{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf250
+{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
+{\colortbl;\red255\green255\blue255;}
+\margl1440\margr1440\vieww9000\viewh9000\viewkind0
+\pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural
+
+\f0\fs24 \cf0 This release of OpenAFS is targeted at MacOS 10.3. (Panther)\
+\
+The included afssettings program is distributed under the Apple Public Source License, version 2.0. See http://www.opensource.apple.com/apsl/2.0.txt or the included file 2.0.txt.\
+\
+Reboot when all of this is done.}
\ No newline at end of file
index c502536..1789291 100644 (file)
@@ -28,9 +28,7 @@
 #include <sys/malloc.h>
 #include <sys/namei.h>
 #include <sys/ubc.h>
-#if defined(AFS_DARWIN70_ENV)
 #include <vfs/vfs_support.h>
-#endif /* defined(AFS_DARWIN70_ENV) */
 
 lck_grp_t * openafs_lck_grp;
 static lck_grp_attr_t * openafs_lck_grp_attr;
index 6fc153e..2a7ae4f 100644 (file)
@@ -48,7 +48,6 @@ extern boolean_t lck_rw_try_lock(lck_rw_t *lck, lck_rw_type_t lck_rw_type);
  */
 #define CV_INIT(cv,a,b,c)
 #define CV_DESTROY(cv)
-#ifdef AFS_DARWIN14_ENV
 #ifdef AFS_DARWIN80_ENV
 #define CV_WAIT(cv, lck)    do { \
                                int isGlockOwner = ISAFS_GLOCK(); \
@@ -99,31 +98,6 @@ extern boolean_t lck_rw_try_lock(lck_rw_t *lck, lck_rw_type_t lck_rw_type);
 #endif
 #define CV_SIGNAL(cv)           wakeup_one((void *)(cv))
 #define CV_BROADCAST(cv)        wakeup((void *)(cv))
-#else
-#define CV_WAIT(cv, lck)    { \
-                               int isGlockOwner = ISAFS_GLOCK(); \
-                               if (isGlockOwner) AFS_GUNLOCK();  \
-                               assert_wait((event_t)(cv), 0);  \
-                               MUTEX_EXIT(lck);        \
-                               thread_block(0);                \
-                               if (isGlockOwner) AFS_GLOCK();  \
-                               MUTEX_ENTER(lck); \
-                           }
-
-#define CV_TIMEDWAIT(cv,lck,t)  { \
-                               int isGlockOwner = ISAFS_GLOCK(); \
-                               if (isGlockOwner) AFS_GUNLOCK();  \
-                               assert_wait((event_t)(cv), 0);  \
-                               thread_set_timer(t, NSEC_PER_SEC/hz);   \
-                               MUTEX_EXIT(lck);        \
-                               thread_block(0);                \
-                               if (isGlockOwner) AFS_GLOCK();  \
-                               MUTEX_ENTER(lck);       \
-                               }
-
-#define CV_SIGNAL(cv)           thread_wakeup_one((event_t)(cv))
-#define CV_BROADCAST(cv)        thread_wakeup((event_t)(cv))
-#endif
 
 #ifdef AFS_DARWIN80_ENV
 typedef struct {
index 90e68d1..d2bf5e0 100644 (file)
@@ -743,7 +743,7 @@ rxi_GetIFInfo(void)
     return different;
 }
 
-#if defined(AFS_DARWIN60_ENV) || defined(AFS_XBSD_ENV)
+#if defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV)
 /* Returns ifnet which best matches address */
 rx_ifnet_t
 rxi_FindIfnet(afs_uint32 addr, afs_uint32 * maskp)
@@ -762,7 +762,7 @@ rxi_FindIfnet(afs_uint32 addr, afs_uint32 * maskp)
     return (ifad ? rx_ifaddr_ifnet(ifad) : NULL);
 }
 
-#else /* DARWIN60 || XBSD */
+#else /* DARWIN || XBSD */
 
 /* Returns ifnet which best matches address */
 rx_ifnet_t
@@ -805,7 +805,7 @@ rxi_FindIfnet(afs_uint32 addr, afs_uint32 * maskp)
        *maskp = ifad->ia_subnetmask;
     return (ifad ? ifad->ia_ifp : NULL);
 }
-#endif /* else DARWIN60 || XBSD */
+#endif /* else DARWIN || XBSD */
 #endif /* else AFS_USERSPACE_IP_ADDR */
 #endif /* !SUN5 && !SGI62 */
 
index d9a46b9..249db80 100644 (file)
@@ -94,17 +94,17 @@ typedef unsigned short etap_event_t;
 #include "netinet/in_systm.h"
 #endif
 #include "netinet/ip.h"
-#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN60_ENV) && !defined(AFS_OBSD_ENV)
+#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN_ENV) && !defined(AFS_OBSD_ENV)
 #include "netinet/in_pcb.h"
 #endif /* ! AFS_HPUX110_ENV && ! AFS_LINUX22_ENV */
 #ifndef AFS_LINUX22_ENV
-#if !defined(AFS_DARWIN60_ENV)
+#if !defined(AFS_DARWIN_ENV)
 #include "netinet/ip_var.h"
 #endif
 #include "netinet/ip_icmp.h"
 #endif /* AFS_LINUX22_ENV */
 #include "netinet/udp.h"
-#if !defined(AFS_SGI62_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN60_ENV)
+#if !defined(AFS_SGI62_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN_ENV)
 #include "netinet/udp_var.h"
 #endif
 #if defined(AFS_HPUX102_ENV) || (defined(AFS_SGI62_ENV) && !defined(AFS_SGI64_ENV))
@@ -124,7 +124,7 @@ typedef unsigned short etap_event_t;
 #endif
 #include "net/if.h"
 #endif
-#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN60_ENV)
+#if !defined(AFS_HPUX110_ENV) && !defined(AFS_LINUX22_ENV) && !defined(AFS_DARWIN_ENV)
 #include "netinet/in_var.h"
 #endif /* ! AFS_HPUX110_ENV && ! AFS_LINUX22_ENV */
 #if !defined(AFS_LINUX22_ENV) && !defined(AFS_DUX40_ENV)
index 59dc9a2..49176f4 100644 (file)
@@ -30,7 +30,7 @@
 #if defined(AFS_AIX_ENV) || defined(AFS_AUX_ENV) || defined(AFS_SUN5_ENV) 
 #include "h/systm.h"
 #endif
-#if defined(AFS_DARWIN60_ENV) || defined(AFS_OBSD_ENV)
+#if defined(AFS_DARWIN_ENV) || defined(AFS_OBSD_ENV)
 #include "h/kernel.h"
 #endif
 #include "h/types.h"
index 4c202b9..b318368 100644 (file)
@@ -37,9 +37,9 @@ static pthread_t softsig_tid;
 static struct {
     void (*handler) (int);
     int pending;
-#if !(defined(AFS_DARWIN60_ENV) || (defined(AFS_NBSD_ENV) && !defined(AFS_NBSD50_ENV)))
+#if !(defined(AFS_DARWIN_ENV) || (defined(AFS_NBSD_ENV) && !defined(AFS_NBSD50_ENV)))
     int fatal;
-#endif /* !defined(AFS_DARWIN60_ENV) || !defined(AFS_NBSD_ENV) */
+#endif /* !defined(AFS_DARWIN_ENV) || !defined(AFS_NBSD_ENV) */
     int inited;
 } softsig_sigs[NSIG];
 
@@ -54,7 +54,7 @@ softsig_thread(void *arg)
     pthread_sigmask(SIG_BLOCK, &ss, &os);
     pthread_sigmask(SIG_SETMASK, &os, NULL);
     sigaddset(&ss, SIGUSR1);
-#if defined(AFS_DARWIN60_ENV) || (defined(AFS_NBSD_ENV) && !defined(AFS_NBSD50_ENV))
+#if defined(AFS_DARWIN_ENV) || (defined(AFS_NBSD_ENV) && !defined(AFS_NBSD50_ENV))
     pthread_sigmask (SIG_BLOCK, &ss, NULL);
     sigdelset (&os, SIGUSR1);
 #elif !defined(AFS_HPUX_ENV)
@@ -69,11 +69,11 @@ softsig_thread(void *arg)
            softsig_sigs[i].fatal = 1;
        }
     }
-#endif /* defined(AFS_DARWIN60_ENV) || defined(AFS_NBSD_ENV) */
+#endif /* defined(AFS_DARWIN_ENV) || defined(AFS_NBSD_ENV) */
 
     while (1) {
        void (*h) (int);
-#if !defined(AFS_DARWIN60_ENV) && !defined(AFS_NBSD_ENV)
+#if !defined(AFS_DARWIN_ENV) && !defined(AFS_NBSD_ENV)
        int sigw;
 #endif
 
@@ -82,10 +82,10 @@ softsig_thread(void *arg)
        for (i = 0; i < NSIG; i++) {
            if (softsig_sigs[i].handler && !softsig_sigs[i].inited) {
                sigaddset(&ss, i);
-#if defined(AFS_DARWIN60_ENV) || (defined(AFS_NBSD_ENV) && !defined(AFS_NBSD50_ENV))
+#if defined(AFS_DARWIN_ENV) || (defined(AFS_NBSD_ENV) && !defined(AFS_NBSD50_ENV))
                pthread_sigmask (SIG_BLOCK, &ss, NULL);
                sigdelset (&os, i);
-#endif /* defined(AFS_DARWIN60_ENV) || defined(AFS_NBSD_ENV) */
+#endif /* defined(AFS_DARWIN_ENV) || defined(AFS_NBSD_ENV) */
                softsig_sigs[i].inited = 1;
            }
            if (softsig_sigs[i].pending) {
@@ -95,16 +95,16 @@ softsig_thread(void *arg)
            }
        }
        if (i == NSIG) {
-#if defined(AFS_DARWIN60_ENV) || (defined(AFS_NBSD_ENV) && !defined(AFS_NBSD50_ENV))
+#if defined(AFS_DARWIN_ENV) || (defined(AFS_NBSD_ENV) && !defined(AFS_NBSD50_ENV))
            sigsuspend (&os);
-#else /* !defined(AFS_DARWIN60_ENV) && !defined(AFS_NBSD_ENV) */
+#else /* !defined(AFS_DARWIN_ENV) && !defined(AFS_NBSD_ENV) */
            sigwait(&ss, &sigw);
            if (sigw != SIGUSR1) {
                if (softsig_sigs[sigw].fatal)
                    exit(0);
                softsig_sigs[sigw].pending = 1;
            }
-#endif /* defined(AFS_DARWIN60_ENV) || defined(AFS_NBSD_ENV) */
+#endif /* defined(AFS_DARWIN_ENV) || defined(AFS_NBSD_ENV) */
        } else if (h)
            h(i);
     }