diff options
| author | Mike McQuaid | 2014-01-04 13:05:27 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-04 13:19:22 +0000 |
| commit | c166463f4740919ae73cd0936f5a7eb51c2a02d9 (patch) | |
| tree | 3869d8fe62f8d2335bfb3084d0010b9fc9748728 /Library/Formula | |
| parent | 0b51d186cd88b40c2976a9cf4c055b49bb4b837b (diff) | |
| download | homebrew-c166463f4740919ae73cd0936f5a7eb51c2a02d9.tar.bz2 | |
fail2ban: cleanup python usage.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/fail2ban.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Formula/fail2ban.rb b/Library/Formula/fail2ban.rb index c84b57f9b..778cf2414 100644 --- a/Library/Formula/fail2ban.rb +++ b/Library/Formula/fail2ban.rb @@ -5,8 +5,6 @@ class Fail2ban < Formula url 'https://github.com/fail2ban/fail2ban/archive/0.8.11.tar.gz' sha1 'd38ec5e5b983ef45c87f3324a095df85c2003303' - depends_on :python - def install rm 'setup.cfg' inreplace 'setup.py' do |s| @@ -27,9 +25,7 @@ class Fail2ban < Formula inreplace 'setup.py', '/usr/share/doc/fail2ban', (libexec/'doc') - python do - system python, "setup.py", "install", "--prefix=#{prefix}", "--install-lib=#{libexec}" - end + system "python", "setup.py", "install", "--prefix=#{prefix}", "--install-lib=#{libexec}" end plist_options :startup => true @@ -56,7 +52,6 @@ class Fail2ban < Formula def caveats <<-EOS.undent - #{python.standard_caveats if python} Before using Fail2Ban for the first time you should edit jail configuration and enable the jails that you want to use, for instance ssh-ipfw. Also make sure that they point to the correct configuration |
