ports/162707: [PATCH] fix security/py-htpasswd
Aldis Berjoza
graudeejs at gmail.com
Sun Nov 20 22:20:11 UTC 2011
>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:
More information about the freebsd-ports-bugs
mailing list