From owner-freebsd-pkg@FreeBSD.ORG Mon Sep 22 09:25:14 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 686919D for ; Mon, 22 Sep 2014 09:25:14 +0000 (UTC) Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E2B8A8A9 for ; Mon, 22 Sep 2014 09:25:13 +0000 (UTC) Received: by mail-lb0-f177.google.com with SMTP id z12so6220546lbi.8 for ; Mon, 22 Sep 2014 02:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=+STFmTnf5649Os9DISrf12b/NmzfdqhFlOHFpdAUoDo=; b=lyuRewKF9xANBfrN3khxEaHVTwnQ4xfUGLLSHzgONUcz1urxlZticceF2uYUasqYX7 3OJe0sLaButuvIP/CygcRXaj+SlMEyq2dfK5CmVEXvIoo7Jvy4a+IGjjEmKvbm6rn4t2 tIotZxens2nhGbdyWuJJy03Af0IwjHlTcohvlKlXMHiLJWjmTocXNk0I8sr5y2k782VW ndP3dTfqGrFkGbQmHLG0Tp3RyA6HkeckOQ8K0QWW/8zuMiAuuisn/K3eGn6ARwwPyjt6 U3RYYbk0PLzokk1BMMEmAcXN0OSngyP0m5M9hpwVmYDt6CxDylcLqB5C6HPJenQsywGv sILg== MIME-Version: 1.0 X-Received: by 10.152.36.4 with SMTP id m4mr24301891laj.17.1411377911885; Mon, 22 Sep 2014 02:25:11 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.197.107 with HTTP; Mon, 22 Sep 2014 02:25:11 -0700 (PDT) In-Reply-To: <20140922085626.GA93280@admin.sibptus.tomsk.ru> References: <20140921153841.GA75919@admin.sibptus.tomsk.ru> <20140922012612.GA81996@admin.sibptus.tomsk.ru> <20140922085626.GA93280@admin.sibptus.tomsk.ru> Date: Mon, 22 Sep 2014 02:25:11 -0700 X-Google-Sender-Auth: JX18fI3L9avJ0VULw9uumWd1zAo Message-ID: Subject: Re: portaudit -C From: Craig Rodrigues To: Victor Sudakov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 09:25:14 -0000 On Mon, Sep 22, 2014 at 1:56 AM, Victor Sudakov wrote: > > > > > > > > > cd /usr/ports/net/asterisk11 > > > > pkg audit `make -V PKGNAME` > > > > > > This requires that net/asterisk11 be already installed, doesn't it? > > > > > > > No. > > $ > $ pwd > /var/poudriere/ports/default/www/squid > $ pkg audit `make -V PKGNAME` > 0 problem(s) in the installed packages found. > $ > > I see the phrase "installed packages" there. > The message from 'pkg audit' is wrong. It parses /var/db/pkg/vuln.xml to list the vulnerabilities. If you give it an exact package name, it searches vuln.xml for that. The package does not need to be installed. For example: pkg audit phpmyfaq-1.5.2 -- Craig