X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=README.mac;fp=README.mac;h=899f4d1afde54d223163196d86ad0df2d2255bb5;hb=19a171f1601ef89d9b38bd7628b14d64962ab9e1;hp=0000000000000000000000000000000000000000;hpb=29672515f5b2864a1e5b849a209cefd2adfac757;p=secnet.git
diff --git a/README.mac b/README.mac
new file mode 100644
index 0000000..899f4d1
--- /dev/null
+++ b/README.mac
@@ -0,0 +1,31 @@
+How to install secnet on a Fink-equipped OS X system:
+ - Install GMP:
+ fink install gmp
+ - Download and install ADNS:
+ ./configure --disable-dynamic
+ make
+ sudo make install
+ - Build secnet:
+ ./configure CPPFLAGS=-I/sw/include LDFLAGS=-L/sw/lib
+ make
+ sudo make install
+ - Install tuntap for OSX from http://tuntaposx.sourceforge.net/
+ - Create /etc/secnet/{key,secnet.conf,sites.conf} as usual
+ - If you don't want secnet 'always on', edit
+ uk.org.greenend.secnet.plist and remove *both* these two lines:
+ RunAtLoad
+
+ - Create the 'secnet' user and install the job configuration:
+ ./setup.mac.
+
+To start secnet:
+ sudo launchctl start uk.org.greenend.secnet
+
+To stop secnet:
+ sudo launchctl stop uk.org.greenend.secnet
+
+To uninstall:
+ sudo launchctl unload uk.org.greenend.secnet
+ sudo rm -f /Library/LaunchDaemons/uk.org.greenend.secnet.plist
+
+Richard Kettlewell 2011-06-18