From: Alan T. DeKok Date: Wed, 8 Jan 2025 20:15:07 +0000 (-0500) Subject: update docs for OSX X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16211bee72fd40b785fb9efe9e45429cfe865ed2;p=thirdparty%2Ffreeradius-server.git update docs for OSX --- diff --git a/scripts/osx/README b/scripts/osx/README deleted file mode 100644 index 8713425c018..00000000000 --- a/scripts/osx/README +++ /dev/null @@ -1,2 +0,0 @@ -cp ./org.freeradius.radius.plist /Library/LaunchDaemons -launchctl load -w Library/LaunchDaemons/org.freeradius.radiusd.plist diff --git a/scripts/osx/README.md b/scripts/osx/README.md new file mode 100644 index 00000000000..5977eeb6763 --- /dev/null +++ b/scripts/osx/README.md @@ -0,0 +1,40 @@ +# OSX + +Install (Homebrew)[https://brew.sh]. + +Run the `install_deps.sh` script to install the build dependencies. +You may want to copy it to a local file and remove things you don't +care about such as postgresql, etc. + +Install Xcode from the app store. + +Install the xcode command-line tools. + +``` +xcode-select --install +``` + +Update the `~/.zshrc` + +``` +cat scripts/osx/bash_profile >> ~/.zshrc +``` + +Open a new shell. + +``` +git clone https://github.com/FreeRADIUS/freeradius-server.git +cd freeradius-server +./configure +make +``` + + +## Running FreeRADIUS in the background all of the time. + +You don't need this. It's here for future reference. + +``` +cp ./org.freeradius.radius.plist /Library/LaunchDaemons +launchctl load -w Library/LaunchDaemons/org.freeradius.radiusd.plist +``` \ No newline at end of file