Bug 197224 - net-mgmt/percona-monitoring-plugins: fix depends and shebangs
Summary: net-mgmt/percona-monitoring-plugins: fix depends and shebangs
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-31 14:50 UTC by Dmitry Marakasov
Modified: 2015-02-27 18:31 UTC (History)
1 user (show)

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


Attachments
Patch (1.52 KB, patch)
2015-01-31 14:50 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov freebsd_committer 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 2015-01-31 14:50:41 UTC
Maintainer CC'd
Comment 2 commit-hook freebsd_committer 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