Dear denyhosts users, This is most likely not a bug in denyhosts itself, but I am not familiar with python so I need help to find out what's going wrong. I had denyhosts running fine on OS X 10.5 and upgraded to 10.6 recently. Therefore I uninstalled all my Macports packages and rebuilt them, as recommended on the Macports page http://trac.macports.org/wiki/Migration One crucial difference is that python 2.5 is no longer required, which was installed alongside python 2.6 before the upgrade. Something must have gone wrong there, since /opt/local/bin/python was still pointing to /opt/local/bin/python2.5 which no longer exists, so I changed the symlink to /opt/local/bin/python2.6 which itself points to /opt/local/ Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 This is the binary which is referenced in the files in /opt/local/ share/denyhosts.
Now I installed the Macports denyhosts package denyho...@2.6_1 and ran $ cd /opt/local/share/denyhosts $ sudo python setup.py install running install running build running build_py error: package directory 'DenyHosts' does not exist Anyone know to which 'DenyHosts' directory this error message refers? What can I do to determine the cause for this? Should I contact the package maintainer instead? Thanks Olf Below is the setup.py as it comes with the denyhosts port. #!/usr/bin/env python # Copyright 2005-2006 (C) Phil Schwartz <phil_schwa...@users.sourceforge.net > from DenyHosts.version import VERSION from distutils.core import setup import os import os.path import sys from glob import glob libpath = "/opt/local/share/denyhosts" scriptspath = "%s/scripts" % libpath pluginspath = "%s/plugins" % libpath ######################################################################### setup(name="DenyHosts", version=VERSION, description="DenyHosts is a utility to help sys admins thwart ssh hackers", author="Phil Schwartz", author_email="phil_schwa...@users.sourceforge.net", url="http://denyhosts.sourceforge.net", scripts=['denyhosts.py'], package_dir={'DenyHosts': 'DenyHosts'}, packages=["DenyHosts"], data_files=[(libpath, glob("denyhosts.cfg-dist")), (libpath, glob("setup.py")), (libpath, glob("daemon-control-dist")), (libpath, glob("CHANGELOG.txt")), (libpath, glob("README.txt")), (scriptspath, glob("scripts/*")), (pluginspath, glob("plugins/*")), (libpath, glob("LICENSE.txt"))], license="GPL v2", ##extra_path='denyhosts', long_description=""" DenyHosts is a python program that automatically blocks ssh attacks by adding entries to /etc/hosts.deny. DenyHosts will also inform Linux administrators about offending hosts, attacked users and suspicious logins. """ ) ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Denyhosts-user mailing list Denyhosts-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/denyhosts-user