Commit Graph

5 Commits (456b3ba3b5dd6676f3d83d180664aad22614982c)

Author SHA1 Message Date
Adam Vandenberg 610aba9d3a denyhosts: use install_symlink 2012-02-12 20:08:56 -08:00
Jack Nagel 6ce735db99 Add and use plist helper methods
These will be used to unify the label namespaces in embedded plists,
i.e. 'homebrew.mxcl.<formula>'.

plist_path returns the full path to a plist file located at the top
level of the keg; plist_path.basename can be used if just the filename
is needed.

c.f. Homebrew/homebrew#9346.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03 19:50:58 -06:00
Charlie Sharpsteen a66de23894 denyhosts: Fix script and plugin install paths
Ensure components don't wander into `/scripts` and `/plugins`.
2011-10-25 19:00:55 -07:00
Charlie Sharpsteen 08f5a812d3 DenyHosts: Fix CONFIG_FILE in constants.py
Substituted the value of a Python string variable without wrapping it in
quotes---this was causing the DenyHosts cron job to fail.
2011-09-25 22:35:07 -07:00
Charlie Sharpsteen 906fa9c9bf New Formula: DenyHosts
DenyHosts is a tool that monitors system logs for unauthorized SSH access
attempts and bans offending IP addresses by adding them to /etc/hosts.deny. A
launchctl plist is provided that runs the tool as a cron job. DenyHosts does
have a "daemon mode" but it is designed for rc.d style scripts and doesn't fit
the idiom that launchctl expects (direct control of the daemon process).

Also see issue Homebrew/homebrew#2955.
2011-09-24 14:01:50 -07:00