Commit graph

7 commits

Author SHA1 Message Date
Brett Koonce
50b18f3a0c fail2ban 0.8.12 2014-02-15 12:35:12 -06:00
Mike McQuaid
da97370cee fail2ban: cleanup python usage. 2014-01-04 13:19:22 +00:00
Brett Koonce
5fdc76d157 fail2ban 0.8.11
Closes Homebrew/homebrew#24978.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-12-06 18:50:56 -08:00
Samuel John
f6e80bdea2 Python 2.x and 3.x support
New `depends_on :python` Dependency.
New `depends_on :python3` Dependency.

To avoid having multiple formulae with endings -py2 and -py3,
we will handle support for different pythons (2.x vs. 3.x)
in the same formula.
Further brewed vs. external python will be transparently supported.

The formula also gets a new object `python`, which is false if
no Python is available or the user has disabled it. Otherwise
it is defined and provides several support methods:

python.site_packages # the site-packages in the formula's Cellar
python.global_site_packages
python.binary # the full path to the python binary
python.prefix
python.version
python.version.major
python.version.minor
python.xy # => e.g. "python2.7"
python.incdir # includes of python
python.libdir # the python dylib library
python.pkg_config_path # used internally by brew
python.from_osx?
python.framework?
python.universal?
python.pypy?
python.standard_caveats # Text to set PYTHONPATH for python.from_osx?
python.if3then3 # => "" for 2.x and to "3" for 3.x.

Further, to avoid code duplication, `python` takes an optional
block that is run twice if the formula defines depends_on
:python AND :python3.

python do
  system python, 'setup.py', "--prefix=#{prefix}"
end

Read more in the Homebrew wiki.
2013-06-03 17:29:43 +02:00
Manpreet Singh
0526324326 fail2ban: force stale socket cleanup for successful launch
Without this switch the load will keep on failing silently.

Closes Homebrew/homebrew#19157.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-12 18:57:34 -05:00
Mike McQuaid
7d44b84aee Make generic caveats for launchd plist files. 2012-11-25 23:05:52 +00:00
David Holm
4087190c65 Fail2Ban 0.8.7.1
Fail2Ban is a log scanner that looks for suspicious activity and then bans the
attackers IP. Similar to DenyHosts but supports any service, not just SSH, and
uses firewall rules (IPFW on OSX) rather than hosts.deny.

Closes Homebrew/homebrew#14819.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-09 10:50:34 -07:00