Commit | Line | Data |
---|---|---|
19a171f1 RK |
1 | How 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 | ||
21 | To start secnet: | |
22 | sudo launchctl start uk.org.greenend.secnet | |
23 | ||
24 | To stop secnet: | |
25 | sudo launchctl stop uk.org.greenend.secnet | |
26 | ||
27 | To uninstall: | |
28 | sudo launchctl unload uk.org.greenend.secnet | |
29 | sudo rm -f /Library/LaunchDaemons/uk.org.greenend.secnet.plist | |
30 | ||
31 | Richard Kettlewell 2011-06-18 |