diff --git a/Formula/shibboleth-sp.rb b/Formula/shibboleth-sp.rb index f311346d0f..b0d18cde81 100644 --- a/Formula/shibboleth-sp.rb +++ b/Formula/shibboleth-sp.rb @@ -21,6 +21,9 @@ class ShibbolethSp < Formula depends_on "boost" depends_on "unixodbc" + depends_on "apr-util" => :build + depends_on "apr" => :build + def install ENV.O2 # Os breaks the build args = %W[ @@ -43,6 +46,18 @@ class ShibbolethSp < Formula system "make", "install" end + def caveats + mod = (build.with? "apache-22")? "mod_shib_22.so" : "mod_shib_24.so" + <<-EOS.undent + You must manually edit httpd.conf to include + LoadModule mod_shib #{lib}/shibboleth/#{mod} + You must also manually configure + #{etc}/shibboleth/shibboleth2.xml + as per your own requirements. For more information please see + https://wiki.shibboleth.net/confluence/display/EDS10/3.1+Configuring+the+Service+Provider + EOS + end + plist_options :startup => true, :manual => "shibd" def plist; <<-EOS.undent @@ -69,18 +84,6 @@ class ShibbolethSp < Formula EOS end - def caveats - mod = (build.with? "apache-22")? "mod_shib_22.so" : "mod_shib_24.so" - <<-EOS.undent - You must manually edit httpd.conf to include - LoadModule mod_shib #{lib}/shibboleth/#{mod} - You must also manually configure - #{etc}/shibboleth/shibboleth2.xml - as per your own requirements. For more information please see - https://wiki.shibboleth.net/confluence/display/EDS10/3.1+Configuring+the+Service+Provider - EOS - end - def post_install (var/"run/shibboleth/").mkpath (var/"cache/shibboleth").mkpath