Bug 213192 - net/netatalk3 uses "python" executable but does not depend on anything that provides it
Summary: net/netatalk3 uses "python" executable but does not depend on anything that p...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-04 15:40 UTC by Vick Khera
Modified: 2016-10-08 20:26 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (marcus)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vick Khera 2016-10-04 15:40:38 UTC
netatalk provides a program afpstats, which uses python. The script starts with the line

    #!/usr/bin/env python

however, there is no python executable in my system. The netatalk3 port depends on python2, but not the python meta-port.

It should either run python2 (or python27) directly, or depend on the python port to get the python executable.
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-10-08 20:25:23 UTC
A commit references this bug:

Author: marcus
Date: Sat Oct  8 20:25:15 UTC 2016
New revision: 423537
URL: https://svnweb.freebsd.org/changeset/ports/423537

Log:
  Update to 3.1.10.

  * Clean up the port to use the new OPTIONS framework [1]
  * Make sure to use the right Python executable for afpstats [2]

  PR:		213192 [2]
  Submitted by:	bofh [1]
  Differential Revision:	D7537 [1]

Changes:
  head/net/netatalk3/Makefile
  head/net/netatalk3/distinfo
  head/net/netatalk3/files/patch-config_Makefile.in
  head/net/netatalk3/files/patch-configure
  head/net/netatalk3/files/patch-etc_afpd_Makefile.in
  head/net/netatalk3/files/patch-etc_afpd_volume.c
  head/net/netatalk3/files/patch-libatalk_vfs_extattr.c
  head/net/netatalk3/pkg-install
  head/net/netatalk3/pkg-plist
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2016-10-08 20:26:14 UTC
This has been fixed in 3.1.10.