Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2019 19:59:48 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
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
Message-ID:  <201906031959.x53JxmaH016872@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <yasu@utahime.org>
  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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906031959.x53JxmaH016872>