]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
update docs for OSX
authorAlan T. DeKok <aland@freeradius.org>
Wed, 8 Jan 2025 20:15:07 +0000 (15:15 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 8 Jan 2025 20:36:21 +0000 (15:36 -0500)
scripts/osx/README [deleted file]
scripts/osx/README.md [new file with mode: 0644]

diff --git a/scripts/osx/README b/scripts/osx/README
deleted file mode 100644 (file)
index 8713425..0000000
+++ /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 (file)
index 0000000..5977eeb
--- /dev/null
@@ -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