shibboleth: depend on apr, apr-util.
Closes #5546. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
62caefb122
commit
0fa0c18439
1 changed files with 15 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue