diff options
Diffstat (limited to 'app-admin/denyhosts/files/denyhosts-2.6-hostname.patch')
-rw-r--r-- | app-admin/denyhosts/files/denyhosts-2.6-hostname.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/app-admin/denyhosts/files/denyhosts-2.6-hostname.patch b/app-admin/denyhosts/files/denyhosts-2.6-hostname.patch deleted file mode 100644 index 56d881319c5f..000000000000 --- a/app-admin/denyhosts/files/denyhosts-2.6-hostname.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -up ./denyhosts.py.orig ./denyhosts.py ---- ./denyhosts.py.orig 2012-01-30 13:14:41.146715839 -0600 -+++ ./denyhosts.py 2012-01-30 14:45:14.372539341 -0600 -@@ -1,5 +1,6 @@ - #!/usr/bin/env python - import os -+import platform - import sys - - import DenyHosts.python_version -@@ -107,6 +108,10 @@ if __name__ == '__main__': - print "DenyHosts version:", VERSION - sys.exit(0) - -+ # This is generally expected to be in the environment, but there's no -+ # non-hackish way to get systemd to set it, so just hack it in here. -+ os.environ['HOSTNAME'] = platform.node() -+ - prefs = Prefs(config_file) - - first_time = 0 |