[Bug 238487] deskutils/conkyemail: Calls /usr/bin/env python at runtime

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jun 23 22:39:02 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238487

--- Comment #11 from commit-hook at freebsd.org ---
A commit references this bug:

Author: kai
Date: Sun Jun 23 22:38:06 UTC 2019
New revision: 504996
URL: https://svnweb.freebsd.org/changeset/ports/504996

Log:
  MFH: r504995

  deskutils/conkyemail: Fix invocation of Python script at runtime

  Since the default version of Python has been switched to 3.6 in r498529 the
  script "conkyEmail.py" that is invoked by the shell script "conkyEmail"
  fails at runtime due incompatible code.

  This occurs only if the Python meta port is also installed otherwise it
  won't start at all due a hardcoded reference (= /usr/bin/env python) in the
  shell script, thus:

  * Update and simplify the patch for "conkyEmail" by using placeholders for
    the Python interpreter and ${DATADIR} that will be replaced by the
    post-patch target. [1]

  Also while I'm here:
  * Silence all commands of the post-patch target to reduce cluttering of
    logfiles
  * Add license information
  * Pet portlint

  PR:           238487
  Submitted by: Katsuyuki Miyoshi <katsubsd at gmail.com> (initial patch)
  Approved by:  ports-secteam (blanket: runtime fix, framework compliance)

Changes:
_U  branches/2019Q2/
  branches/2019Q2/deskutils/conkyemail/Makefile
  branches/2019Q2/deskutils/conkyemail/files/patch-conkyEmail

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-python mailing list