shibboleth: depend on apr, apr-util.

Closes #5546.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Franklin Chen 2016-10-03 16:13:43 -04:00 committed by Mike McQuaid
parent 62caefb122
commit 0fa0c18439

View file

@ -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