From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 10 02:00:03 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4B1154B8 for ; Mon, 10 Mar 2014 02:00:03 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0F20F134 for ; Mon, 10 Mar 2014 02:00:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2A202bC055445 for ; Mon, 10 Mar 2014 02:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2A202Dd055444; Mon, 10 Mar 2014 02:00:02 GMT (envelope-from gnats) Resent-Date: Mon, 10 Mar 2014 02:00:02 GMT Resent-Message-Id: <201403100200.s2A202Dd055444@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Corey Smith Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5FB6B3EA for ; Mon, 10 Mar 2014 01:50:20 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4D90D8C for ; Mon, 10 Mar 2014 01:50:20 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2A1oKCj034374 for ; Mon, 10 Mar 2014 01:50:20 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2A1oKet034373; Mon, 10 Mar 2014 01:50:20 GMT (envelope-from nobody) Message-Id: <201403100150.s2A1oKet034373@cgiserv.freebsd.org> Date: Mon, 10 Mar 2014 01:50:20 GMT From: Corey Smith To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/187408: [PATCH] security/denyhosts: set USE_PYTHON=2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2014 02:00:03 -0000 >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: