Exit nonzero if any unknown options are provided on the command line.
[secnet] / README.mac
CommitLineData
19a171f1
RK
1How to install secnet on a Fink-equipped OS X system:
2 - Install GMP:
3 fink install gmp
4 - Download and install ADNS:
5 ./configure --disable-dynamic
6 make
7 sudo make install
8 - Build secnet:
9 ./configure CPPFLAGS=-I/sw/include LDFLAGS=-L/sw/lib
10 make
11 sudo make install
12 - Install tuntap for OSX from http://tuntaposx.sourceforge.net/
13 - Create /etc/secnet/{key,secnet.conf,sites.conf} as usual
14 - If you don't want secnet 'always on', edit
15 uk.org.greenend.secnet.plist and remove *both* these two lines:
16 <key>RunAtLoad</key>
17 <true/>
18 - Create the 'secnet' user and install the job configuration:
19 ./setup.mac.
20
21To start secnet:
22 sudo launchctl start uk.org.greenend.secnet
23
24To stop secnet:
25 sudo launchctl stop uk.org.greenend.secnet
26
27To uninstall:
28 sudo launchctl unload uk.org.greenend.secnet
29 sudo rm -f /Library/LaunchDaemons/uk.org.greenend.secnet.plist
30
31Richard Kettlewell 2011-06-18