Bug 197224

Summary: net-mgmt/percona-monitoring-plugins: fix depends and shebangs
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Many People CC: alexey
Priority: --- Flags: bugzilla: maintainer-feedback? (alexey)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch none

Description Dmitry Marakasov freebsd_committer freebsd_triage 2015-01-31 14:50:41 UTC
Created attachment 152415 [details]
Patch

====> Compressing man pages (compress-man)
===========================================================================
====> Running Q/A tests (stage-qa)
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'bin/pmp-check-pt-table-checksum'
Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix for 'bin/pmp-cacti-extract-template'
Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix for 'bin/pmp-cacti-template'
Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix for 'bin/pmp-cacti-make-hashes'
Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix for 'bin/pmp-cacti-graph-defs'
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/percona-monitoring-plugins
====>> Error: stage-qa failures detected

To fix that, add USES=shebangfix

Also, since this port installs scripts which use bash and perl, add these to run-depends

While here, drop @dirrm* from plist
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-01-31 14:50:41 UTC
Maintainer CC'd
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-02-27 18:31:17 UTC
A commit references this bug:

Author: amdmi3
Date: Fri Feb 27 18:30:44 UTC 2015
New revision: 380114
URL: https://svnweb.freebsd.org/changeset/ports/380114

Log:
  - Fix shebangs
  - Add bash and perl to run-depends since this port installs scripts written in these
  - Drop @dirrm* from plist
  - Remove documentation file from plist it is handled by PORTDOCS
  - Add LICENSE_FILE

  PR:		197224
  Submitted by:	amdmi3
  Approved by:	maintainer timeout

Changes:
  head/net-mgmt/percona-monitoring-plugins/Makefile
  head/net-mgmt/percona-monitoring-plugins/pkg-plist