* README.osx: new file with some instructions for Mac OS-X users, before-retrans-udp-tcp-split
authorErez Zadok <ezk@cs.sunysb.edu>
Thu, 17 Feb 2005 03:56:21 +0000 (03:56 +0000)
committerErez Zadok <ezk@cs.sunysb.edu>
Thu, 17 Feb 2005 03:56:21 +0000 (03:56 +0000)
courtesy Kevin Layer.

.cvsignore
AUTHORS
ChangeLog
Makefile.am
README.osx [new file with mode: 0644]

index 99988c785e067fc1c9a0d767ca23577057f07fec..ba6eecba14d1a16e976a598e11df0a91edbfcf94 100644 (file)
@@ -133,3 +133,4 @@ A.i386-unknown-openbsd3.6
 A.powerpc-apple-darwin7.6.0
 A.powerpc-ibm-aix5.3.0.0
 A.powerpc-ibm-aix5.3.0.0-cc
+A.i386-pc-linux-rhel3
diff --git a/AUTHORS b/AUTHORS
index 08229a9bdc435fffff76c631c3fa3b616e34e6fb..36f176359d8a8e4eba32f78cbc2458f643ff8f60 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -397,3 +397,6 @@ fork().
 * David Rage <rage@ucl.ac.uk>
 January 17, 2005: prevent Amd from logging 'Read-only filesystem' errors
 when the mount point has an ancestor (i.e. '/') that is mounted read-only.
+
+* Kevin Layer <layer@franz.com>
+January 28, 2005: basic instructions how to setup Amd on Mac OS-X.
index d83b18807c60061061fb99a62fc02d9240865643..290ec6c6dcd4f12ecc08c33d60fb57476e57602a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-02-16  Erez Zadok  <ezk@cs.sunysb.edu>
 
+       * README.osx: new file with some instructions for Mac OS-X users,
+       courtesy Kevin Layer.
+
        * amd/get_args.c (get_args): move call to switch_to_logfile()
        after processing -v, so we don't print "no logfile defined; using
        stderr" when we're about to print version info and exit anyway.
index 4cf78e4a0bd2c95f1334aaa94009f4078f774d8e..23af4a1cd88d98bcc441d49429fa05abe9b31173 100644 (file)
@@ -281,6 +281,7 @@ EXTRA_DIST =                        \
        MIRRORS.html            \
        README.autofs           \
        README.ldap             \
+       README.osx              \
        README.y2k              \
        bootstrap               \
        buildall                \
diff --git a/README.osx b/README.osx
new file mode 100644 (file)
index 0000000..5aea891
--- /dev/null
@@ -0,0 +1,74 @@
+Here some unconfirmed instructions for how to setup Amd on a MAC OS-X
+machine.  Please direct all comments about this information, as well fixes,
+updates, and corrections to the am-utils mailing list (see
+www.am-utils.org).
+
+Thanks,
+Erez.
+
+--cut--here----cut--here----cut--here----cut--here----cut--here----cut--here--
+
+
+Date: Fri, 28 Jan 2005 06:53:50 -0800
+From: Kevin Layer
+
+The stock amd didn't work for us in Mac OS X 10.3.
+Here's how we installed am-utils-6.1-20031025:
+
+./configure --prefix=/usr
+make
+make install
+
+Create /System/Library/StartupItems/AMD with the files:
+
+AMD
+Resources/     -- copy from other directories in ..
+StartupParameters.plist
+
+Then, make sure that AMDSERVER=-YES- is added to /etc/hostconfig.
+
+******************* the file AMD:
+
+#!/bin/sh
+
+##
+# Start AMD
+##
+
+. /etc/rc.common
+
+if [ "${AMDSERVER:=-NO-}" = "-YES-" ]; then
+    ConsoleMessage "Starting AMD server"
+
+    if [ ! -f /etc/amd.conf -a -r /etc/amd.conf.template ]; then
+        cp /etc/amd.conf.template /etc/amd.conf
+    fi
+    if [ ! -f /etc/amd.map -a -r /etc/amd.map.template ]; then
+        cp /etc/amd.map.template /etc/amd.map
+    fi
+    /usr/sbin/amd
+fi
+
+******************* the file StartupParameters.plist:
+
+{
+  Description     = "AMD server";
+  Provides        = ("AMD");
+  Requires        = ("Resolver");
+  OrderPreference = "None";
+  Messages =
+  {
+    start = "Starting AMD server";
+    stop  = "Stopping AMD server";
+  };
+}
+
+*******************
+
+With the beta's of 10.4 (64-bit) we're having issues with realpath()
+and amd mounted directories, but hopefully this is just a bug that
+they'll fix.
+
+--
+Kevin Layer                     http://www.franz.com/
+