From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 20 22:20:11 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C25B81065677 for ; Sun, 20 Nov 2011 22:20:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 86F5D8FC22 for ; Sun, 20 Nov 2011 22:20:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id pAKMKBbH003602 for ; Sun, 20 Nov 2011 22:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id pAKMKBdm003598; Sun, 20 Nov 2011 22:20:11 GMT (envelope-from gnats) Resent-Date: Sun, 20 Nov 2011 22:20:11 GMT Resent-Message-Id: <201111202220.pAKMKBdm003598@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, Aldis Berjoza Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 291051065674 for ; Sun, 20 Nov 2011 22:17:55 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 1937D8FC08 for ; Sun, 20 Nov 2011 22:17:55 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pAKMHs7G004840 for ; Sun, 20 Nov 2011 22:17:54 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id pAKMHsZE004839; Sun, 20 Nov 2011 22:17:54 GMT (envelope-from nobody) Message-Id: <201111202217.pAKMHsZE004839@red.freebsd.org> Date: Sun, 20 Nov 2011 22:17:54 GMT From: Aldis Berjoza To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/162707: [PATCH] fix security/py-htpasswd X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Nov 2011 22:20:11 -0000 >Number: 162707 >Category: ports >Synopsis: [PATCH] fix security/py-htpasswd >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Nov 20 22:20:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Aldis Berjoza >Release: >Organization: >Environment: >Description: s#/usr/bin/python#/usr/bin/env python# >How-To-Repeat: >Fix: Patch attached with submission follows: diff -u py-htpasswd.bak/Makefile py-htpasswd/Makefile --- py-htpasswd.bak/Makefile 2011-11-21 00:10:36.248623608 +0200 +++ py-htpasswd/Makefile 2011-11-21 00:16:53.899098893 +0200 @@ -7,6 +7,7 @@ PORTNAME= htpasswd PORTVERSION= 2008.03.05 +PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= http://files.bsdroot.lv/my/FreeBSD/distfiles/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -22,6 +23,8 @@ NO_BUILD= YES NO_WRKSUBDIR= YES +do-patch: + ${SED} -I.orig -e 's#^/usr/bin/python#/usr/bin/env python#' ${WRKDIR}/${PORTNAME}.py do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.py ${PREFIX}/bin/ >Release-Note: >Audit-Trail: >Unformatted: