From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 23 09:19:17 2015 Return-Path: Delivered-To: freebsd-ports-bugs@nevdull.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B674D81C for ; Tue, 23 Jun 2015 09:19:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 98328B8A for ; Tue, 23 Jun 2015 09:19:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5N9JH2g006236 for ; Tue, 23 Jun 2015 09:19:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 201071] net-mgmt/nagios-check_ports: broken on FreeBSD 8, 9 even when WITH_PKGNG=yes Date: Tue, 23 Jun 2015 09:19:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tps@vr-web.de X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2015 09:19:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201071 Bug ID: 201071 Summary: net-mgmt/nagios-check_ports: broken on FreeBSD 8,9 even when WITH_PKGNG=yes Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: tps@vr-web.de CC: ryanrfrederick@gmail.com Flags: maintainer-feedback?(ryanrfrederick@gmail.com) CC: ryanrfrederick@gmail.com nagios-check_ports broken on FreeBSD 8-stable, 9-stable if WITH_PKGNG=yes is set: # /usr/local/libexec/nagios/check_ports /usr/local/libexec/nagios/check_ports: /usr/local/sbin/portaudit: not found [: -gt: unexpected operator PORTS OK - security problem(s). | total_updates=0;0;0 security_problems=;0;0 # /bin/sh -xe /usr/local/libexec/nagios/check_ports + PKG_VERSION=/usr/sbin/pkg_version + PKG=/usr/sbin/pkg + JEXEC=/usr/sbin/jexec + JLS=/usr/sbin/jls + TMP_PATH=/tmp/jailaudit + PROGNAME=check_ports + VERSION=0.7.1 + DATE='23 Jun 2014' + PROJECTURL=https://github.com/rfrederick/check_ports + uname -r + RELEASE=8.4-STABLE + RELEASE=8 + ANY_UPDATE=0 + WARN_ON_ANY_UPDATE=0 + CHECK_PORTS_AGE=0 + UNPRIV_MODE=0 + MSG_STATE=0 + PORTSAGE=0 + UPDATES=0 + UPDATES_LIST='' + USE_PKG=0 + PKGVERSION_OPTS='-Ivl <' + PKG_OPTS='version -Ivl <' + getopts I:P:hvcawpuj:g opt + PORTDIR=/usr/ports + : /usr/ports/INDEX-8 + : /usr/local/sbin/portaudit + [ -n '' ] + [ 0 -eq 1 -a 0 -eq 1 ] + [ 8 -ge 10 ] + [ -z ] + [ 0 -eq 1 ] + run_main + [ 0 -eq 1 -o 0 -eq 1 ] + [ 0 -eq 1 ] + [ 0 -eq 0 ] + /usr/local/sbin/portaudit /usr/local/libexec/nagios/check_ports: /usr/local/sbin/portaudit: not found + grep 'problem(s) in your\|the installed packages found.' + awk '{ print $1 }' + PROBLEMS='' + run_gen_state + MSG_PROBLEMS=' security problem(s)' + [ 0 -eq 1 -o 0 -eq 1 ] + [ 0 -eq 1 -a 0 -gt 0 ] + [ 0 -eq 1 -a 0 -gt 0 ] + [ 0 -eq 1 -a 0 -eq 0 ] + MSG_PERFDATA='total_updates=0;0;0 security_problems=;0;0' + [ -n '' ] + [ -gt 0 ] [: -gt: unexpected operator + print_state ' security problem(s). | total_updates=0;0;0 security_problems=;0;0' 0 + STATE=OK + printf 'PORTS OK - security problem(s). | total_updates=0;0;0 security_problems=;0;0\n' PORTS OK - security problem(s). | total_updates=0;0;0 security_problems=;0;0 + exit 0 Looks like check_ports assumes pkg_*-tools if RELEASE is below 10, regardless off WITH_PKGNG=yes set and if WITH_PKGNG=yes building world seems not to build pkg_*-tools any more ... -- You are receiving this mail because: You are the assignee for the bug.