ports/187408: [PATCH] security/denyhosts: set USE_PYTHON=2
Corey Smith
corsmith at gmail.com
Mon Mar 10 02:00:03 UTC 2014
>Number: 187408
>Category: ports
>Synopsis: [PATCH] security/denyhosts: set USE_PYTHON=2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 10 02:00:02 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Corey Smith
>Release: 9.2-RELEASE
>Organization:
>Environment:
FreeBSD corsmith 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root at bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
denyhosts is a python application that does not work with python 3 so it should explicitly set USE_PYTHON=2 instead of USE_PYTHON=YES
>How-To-Repeat:
Set this option in make.conf and build the port:
DEFAULT_VERSIONS=python=3.3
The port with build and install but you will be unable to run the script as it uses python 2 only syntax.
>Fix:
Patch for the port attached.
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 347713)
+++ Makefile (working copy)
@@ -11,7 +11,7 @@
MAINTAINER= jmohacsi at bsd.hu
COMMENT= Script to thwart ssh attacks
-USE_PYTHON= yes
+USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= DenyHosts
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list