Date: Mon, 10 Mar 2014 01:50:20 GMT From: Corey Smith <corsmith@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/187408: [PATCH] security/denyhosts: set USE_PYTHON=2 Message-ID: <201403100150.s2A1oKet034373@cgiserv.freebsd.org> Resent-Message-ID: <201403100200.s2A202Dd055444@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403100150.s2A1oKet034373>