Bug 235510

Summary: security/py-pass-audit: fix python invocation
Product: Ports & Packages Reporter: Tobias Rehbein <tobias.rehbein>
Component: Individual Port(s)Assignee: Tobias Kortkamp <tobik>
Status: Closed FIXED    
Severity: Affects Only Me Flags: tobias.rehbein: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch that replaces python3 with ${PYTHON_CMD} in audit.bash
none
Patch that replaces python3 with ${PYTHON_CMD} in audit.bash
none
Patch that replaces python3 with ${PYTHON_CMD} in audit.bash none

Description Tobias Rehbein 2019-02-05 06:04:53 UTC
Created attachment 201737 [details]
Patch that replaces python3 with ${PYTHON_CMD} in audit.bash

- audit.bash: replace python3 with ${PYTHON_CMD}

The audit.bash script tries to start python3 instead of the current value of ${PYTHON_CMD}. This went unnoticed as I tested the port on a system, where python3 was symlinked to python3.6 (*sigh*).
Comment 1 Tobias Rehbein 2019-02-05 06:33:07 UTC
Created attachment 201739 [details]
Patch that replaces python3 with ${PYTHON_CMD} in audit.bash

Bump PORTREVISION
Comment 2 Tobias Rehbein 2019-02-05 06:39:28 UTC
Created attachment 201740 [details]
Patch that replaces python3 with ${PYTHON_CMD} in audit.bash

Reuploaded the patch, I swapped the diff parameters. Stupid me needs more coffee.
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-02-05 07:42:59 UTC
A commit references this bug:

Author: tobik
Date: Tue Feb  5 07:42:20 UTC 2019
New revision: 492193
URL: https://svnweb.freebsd.org/changeset/ports/492193

Log:
  security/py-pass-audit: Replace python3 with ${PYTHON_CMD} in audit.bash

  PR:		235510
  Submitted by:	maintainer

Changes:
  head/security/py-pass-audit/Makefile