diff options
| author | Roman Valls Guimera | 2013-11-25 14:57:23 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-26 21:34:09 -0800 |
| commit | 57557ca87cc774e472e045685f4e0708a587000a (patch) | |
| tree | 4b1acbafc1931dc305002df6e03694cf4a8e9d88 /Library | |
| parent | 334fba8520cb3a3929aff519d2e8eeb3c79431d7 (diff) | |
| download | homebrew-57557ca87cc774e472e045685f4e0708a587000a.tar.bz2 | |
irods 3.3
Also add PAM AUTH and SSL to i-commands, thanks @cansmith
Closes #24647.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/irods.rb | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Library/Formula/irods.rb b/Library/Formula/irods.rb index 0b2768aa2..3ff20df44 100644 --- a/Library/Formula/irods.rb +++ b/Library/Formula/irods.rb @@ -2,8 +2,8 @@ require 'formula' class Irods < Formula homepage 'https://www.irods.org' - url 'https://www.irods.org/cgi-bin/upload16.cgi/irods3.2.tgz' - sha1 'd1dd7787e69cfda96b7719af2e50ffbc68485a23' + url 'https://github.com/irods/irods-legacy/archive/3.3.tar.gz' + sha1 '2e975fcda20b023155dfd53ff098dde0c3995f75' conflicts_with 'sleuthkit', :because => 'both install `ils`' @@ -12,8 +12,14 @@ class Irods < Formula depends_on 'fuse4x' if build.include? 'with-fuse' def install - system "./scripts/configure" - system "make" + chdir 'iRODS' + system './scripts/configure' + + # include PAM authentication by default + inreplace 'config/config.mk', '# PAM_AUTH = 1', 'PAM_AUTH = 1' + inreplace 'config/config.mk', '# USE_SSL = 1', 'USE_SSL = 1' + + system 'make' bin.install Dir['clients/icommands/bin/*'].select {|f| File.executable? f} @@ -23,7 +29,7 @@ class Irods < Formula inreplace 'config/config.mk', 'fuseHomeDir=/home/mwan/adil/fuse-2.7.0', "fuseHomeDir=#{HOMEBREW_PREFIX}" chdir 'clients/fuse' do inreplace 'Makefile', 'lfuse', 'lfuse4x' - system "make" + system 'make' end bin.install Dir['clients/fuse/bin/*'].select {|f| File.executable? f} end |
