From 51e5e2ad61ebd9da85ab5fbd85d900162cfc45e0 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 14 Oct 2012 12:35:10 -0700 Subject: Remove staticrouted. "Official" download no longer works, and no replacement has been proposed. --- Library/Formula/staticrouted.rb | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 Library/Formula/staticrouted.rb (limited to 'Library/Formula') diff --git a/Library/Formula/staticrouted.rb b/Library/Formula/staticrouted.rb deleted file mode 100644 index ba82d9242..000000000 --- a/Library/Formula/staticrouted.rb +++ /dev/null @@ -1,34 +0,0 @@ -require 'formula' - -class Staticrouted < Formula - url 'http://alastairs-place.net/stuff/staticrouted.tar.bz2' - homepage 'http://lists.apple.com/archives/macos-x-server/2010/Jul/msg00220.html' - version '1.0.1' - md5 '1f76b4f15d3bc332d40732bde154a20e' - - depends_on :xcode # For working xcodebuild. - - def install - system "xcodebuild SYMROOT=build -target Everything" - sbin.install ["build/Release/staticroute", "build/Release/staticrouted"] - man8.install ["staticroute.8", "staticrouted.8"] - prefix.install "com.coriolis-systems.staticrouted.plist" - (prefix+"com.coriolis-systems.staticrouted.plist").chmod 0644 - end - - def caveats; <<-EOS.undent - If this is your first install, automatically load on login with: - sudo mkdir -p /Library/LaunchDaemons - sudo cp #{prefix}/com.coriolis-systems.staticrouted.plist /Library/LaunchDaemons/ - sudo launchctl load -w /Library/LaunchDaemons/com.coriolis-systems.staticrouted.plist - - If this is an upgrade and you already have the com.coriolis-systems.staticrouted.plist loaded: - sudo launchctl unload -w /Library/LaunchDaemons/com.coriolis-systems.staticrouted.plist - sudo cp #{prefix}/com.coriolis-systems.staticrouted.plist /Library/LaunchDaemons/ - sudo launchctl load -w /Library/LaunchDaemons/com.coriolis-systems.staticrouted.plist - - Or start it manually: - sudo staticrouted - EOS - end -end -- cgit v1.2.3