ports/164693: [PATCH] security/py-htpasswd fix Makefile
Aldis Berjoza
graudeejs at gmail.com
Wed Feb 1 19:00:25 UTC 2012
>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:
More information about the freebsd-ports-bugs
mailing list