Bug 191525

Summary: net-mgmt/nagios-check_ports installs net-mgmt/nagios-portaudit even if WITH_PKGNG=yes
Product: Ports & Packages Reporter: freebsd
Component: Individual Port(s)Assignee: Stephen Hurd <shurd>
Status: Closed FIXED    
Severity: Affects Some People CC: freebsd, ryanrfrederick, shurd
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to prevent addition of ports-mgmt/portaudit as a dependency if WITH_PKGNG is defined. ryanrfrederick: maintainer-approval+

Description freebsd 2014-07-01 11:07:55 UTC
net-mgmt/nagios-check_ports installs net-mgmt/nagios-portaudit even if WITH_PKGNG=yes - and portaudit does not work with pkgng.

After every update of nagios-check_ports I have to pkg delete -f portaudit. pkgng brings its own portaudit: pkg audit - and it's autodetected by nagios-check_ports.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-07-04 00:17:47 UTC
Notify maintainer.
Comment 2 Ryan Frederick 2014-07-04 20:14:49 UTC
Acknowledged. I hope to have a patch ready by the end of the holiday weekend.
Comment 3 Ryan Frederick 2014-07-04 21:15:03 UTC
Created attachment 144413 [details]
Patch to prevent addition of ports-mgmt/portaudit as a dependency if WITH_PKGNG is defined.
Comment 4 Ryan Frederick 2014-07-04 21:18:03 UTC
I have a patch (attached) ready for commit.
Comment 5 commit-hook freebsd_committer freebsd_triage 2014-07-14 19:48:15 UTC
A commit references this bug:

Author: shurd
Date: Mon Jul 14 19:47:29 UTC 2014
New revision: 361825
URL: http://svnweb.freebsd.org/changeset/ports/361825

Log:
  Remove the RUN_DEPENDS in portaudit when USE_PKGNG is set on < 10.0

  PR:		ports/191525
  Submitted by:	ryanrfrederick@gmail.com (maintainer)

Changes:
  head/net-mgmt/nagios-check_ports/Makefile
Comment 6 Stephen Hurd freebsd_committer freebsd_triage 2014-07-14 19:48:51 UTC
Committed with minor changes, thanks!