Bug 237266 - security/denyhosts: Make compatible with python 3
Summary: security/denyhosts: Make compatible with python 3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Sunpoet Po-Chuan Hsieh
Depends on:
Reported: 2019-04-13 19:29 UTC by Muhammad Moinur Rahman
Modified: 2019-10-03 19:34 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)

python 3 (6.05 KB, patch)
2019-04-13 19:29 UTC, Muhammad Moinur Rahman
no flags Details | Diff
Log showing various errors when trying to start denyhosts (1.79 KB, text/plain)
2019-08-26 13:19 UTC, Terry Kennedy
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Muhammad Moinur Rahman freebsd_committer 2019-04-13 19:29:16 UTC
Created attachment 203650 [details]
python 3

Make security/denyhosts compatible with python 3
Comment 1 Terry Kennedy 2019-08-26 13:19:42 UTC
Created attachment 206922 [details]
Log showing various errors when trying to start denyhosts

The patch provided in this PR lets denyhosts build with Python 3.6 and install, but it fails to start with a number of errors. These are related to various FooType declarations and after fixing those it still fails to start with a more complex error (see attached logfile).

There is nothing wrong with the denyhosts WORK_DIR as this config works fine when denyhosts is built with the default Python 2.7.
Comment 2 Walter Schwarzenfeld freebsd_triage 2019-08-27 16:59:52 UTC
In this PR is an update patch to 3.1.
Comment 3 Sunpoet Po-Chuan Hsieh freebsd_committer 2019-10-03 19:34:44 UTC
This port was updated to 3.1 which is compatible with Python 3. Thanks!