From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 1 19:00:25 2012 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 D88BF1065670 for ; Wed, 1 Feb 2012 19:00:25 +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 9AA8D8FC0C for ; Wed, 1 Feb 2012 19:00:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q11J0PNB068847 for ; Wed, 1 Feb 2012 19:00:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q11J0P6b068846; Wed, 1 Feb 2012 19:00:25 GMT (envelope-from gnats) Resent-Date: Wed, 1 Feb 2012 19:00:25 GMT Resent-Message-Id: <201202011900.q11J0P6b068846@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 9388A1065670 for ; Wed, 1 Feb 2012 18:58:19 +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 82F6C8FC0C for ; Wed, 1 Feb 2012 18:58:19 +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 q11IwJXV036434 for ; Wed, 1 Feb 2012 18:58:19 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q11IwJS7036433; Wed, 1 Feb 2012 18:58:19 GMT (envelope-from nobody) Message-Id: <201202011858.q11IwJS7036433@red.freebsd.org> Date: Wed, 1 Feb 2012 18:58:19 GMT From: Aldis Berjoza To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/164693: [PATCH] security/py-htpasswd fix Makefile 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: Wed, 01 Feb 2012 19:00:25 -0000 >Number: 164693 >Category: ports >Synopsis: [PATCH] security/py-htpasswd fix Makefile >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: Wed Feb 01 19:00:24 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Aldis Berjoza >Release: >Organization: >Environment: >Description: There is bug in Makefile, sed regex is incorrect >How-To-Repeat: >Fix: Patch attached with submission follows: diff -u py-htpasswd.bak/Makefile py-htpasswd/Makefile --- py-htpasswd.bak/Makefile 2012-02-01 20:50:49.647031406 +0200 +++ py-htpasswd/Makefile 2012-02-01 20:53:56.676455097 +0200 @@ -7,7 +7,7 @@ PORTNAME= htpasswd PORTVERSION= 2008.03.05 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security python MASTER_SITES= http://files.bsdroot.lv/my/FreeBSD/distfiles/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -24,7 +24,7 @@ NO_WRKSUBDIR= YES do-patch: - ${SED} -I.orig -e 's#^/usr/bin/python#/usr/bin/env python#' ${WRKDIR}/${PORTNAME}.py + ${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: