From owner-svn-ports-head@freebsd.org Mon Jun 3 19:59:50 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DFA5F15BC4AB; Mon, 3 Jun 2019 19:59:49 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 76C826CA9E; Mon, 3 Jun 2019 19:59:49 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5A73AADCB; Mon, 3 Jun 2019 19:59:49 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x53JxnOp016875; Mon, 3 Jun 2019 19:59:49 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x53JxmaH016872; Mon, 3 Jun 2019 19:59:48 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201906031959.x53JxmaH016872@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Mon, 3 Jun 2019 19:59:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r503419 - in head/security/base-audit: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/security/base-audit: . files X-SVN-Commit-Revision: 503419 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 76C826CA9E X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.975,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2019 19:59:50 -0000 Author: pi Date: Mon Jun 3 19:59:48 2019 New Revision: 503419 URL: https://svnweb.freebsd.org/changeset/ports/503419 Log: security/base-audit: upgrade 0.3 -> 0.4 - Since all supported FreeBSD versions have anticongestion function in /etc/default/periodic.conf, always use it to insert random sleep with non-interactive mode. - pet portlint PR: 236751 Submitted by: Yasuhiro KIMURA Approved by: Miroslav Lachman <000.fbsd@quip.cz> (maintainer) Modified: head/security/base-audit/Makefile head/security/base-audit/files/405.pkg-base-audit.in head/security/base-audit/pkg-descr Modified: head/security/base-audit/Makefile ============================================================================== --- head/security/base-audit/Makefile Mon Jun 3 19:14:18 2019 (r503418) +++ head/security/base-audit/Makefile Mon Jun 3 19:59:48 2019 (r503419) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= base-audit -PORTVERSION= 0.3 +PORTVERSION= 0.4 CATEGORIES= security MASTER_SITES= # none DISTFILES= # none Modified: head/security/base-audit/files/405.pkg-base-audit.in ============================================================================== --- head/security/base-audit/files/405.pkg-base-audit.in Mon Jun 3 19:14:18 2019 (r503418) +++ head/security/base-audit/files/405.pkg-base-audit.in Mon Jun 3 19:59:48 2019 (r503419) @@ -101,13 +101,7 @@ audit_base() { $(( 86400 \* "${security_status_baseaudit_expiry}" )) \ -le $(( ${now} - ${then} + 600 )) ]; then ## When non-interactive, sleep to reduce congestion on mirrors - if [ -n "$anticongestion_sleeptime" ]; then - # In FreeBSD 12.0 the anticongestion function should be - # used instead of a hard-coded sleep - anticongestion - else - sleep `jot -r 1 0 600` - fi + anticongestion f="-F" else echo -n 'Database fetched: ' Modified: head/security/base-audit/pkg-descr ============================================================================== --- head/security/base-audit/pkg-descr Mon Jun 3 19:14:18 2019 (r503418) +++ head/security/base-audit/pkg-descr Mon Jun 3 19:59:48 2019 (r503419) @@ -1,4 +1,4 @@ -Audit base system against known vulnerabilities and generate reports +Audit base system against known vulnerabilities and generate reports including references to security advisories. It uses pkg audit and Vuxml database as is used for packages but this script checks base system.