Date: Wed, 1 Feb 2012 18:58:19 GMT From: Aldis Berjoza <graudeejs@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/164693: [PATCH] security/py-htpasswd fix Makefile Message-ID: <201202011858.q11IwJS7036433@red.freebsd.org> Resent-Message-ID: <201202011900.q11J0P6b068846@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202011858.q11IwJS7036433>