Date: Sun, 20 Nov 2011 22:17:54 GMT From: Aldis Berjoza <graudeejs@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/162707: [PATCH] fix security/py-htpasswd Message-ID: <201111202217.pAKMHsZE004839@red.freebsd.org> Resent-Message-ID: <201111202220.pAKMKBdm003598@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111202217.pAKMHsZE004839>