Bug 235510 - security/py-pass-audit: fix python invocation
Summary: security/py-pass-audit: fix python invocation
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-05 06:04 UTC by tobias.rehbein
Modified: 2019-02-05 07:42 UTC (History)
0 users

See Also:
tobias.rehbein: maintainer-feedback+


Attachments
Patch that replaces python3 with ${PYTHON_CMD} in audit.bash (496 bytes, patch)
2019-02-05 06:04 UTC, tobias.rehbein
no flags Details | Diff
Patch that replaces python3 with ${PYTHON_CMD} in audit.bash (691 bytes, patch)
2019-02-05 06:33 UTC, tobias.rehbein
no flags Details | Diff
Patch that replaces python3 with ${PYTHON_CMD} in audit.bash (693 bytes, patch)
2019-02-05 06:39 UTC, tobias.rehbein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 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