aboutsummaryrefslogtreecommitdiffstats
path: root/security/base-audit
diff options
context:
space:
mode:
Diffstat (limited to 'security/base-audit')
-rw-r--r--security/base-audit/Makefile2
-rw-r--r--security/base-audit/files/405.pkg-base-audit.in8
-rw-r--r--security/base-audit/pkg-descr2
3 files changed, 3 insertions, 9 deletions
diff --git a/security/base-audit/Makefile b/security/base-audit/Makefile
index d30a12a4b38d..6b5b76143ae4 100644
--- a/security/base-audit/Makefile
+++ b/security/base-audit/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= base-audit
-PORTVERSION= 0.3
+PORTVERSION= 0.4
CATEGORIES= security
MASTER_SITES= # none
DISTFILES= # none
diff --git a/security/base-audit/files/405.pkg-base-audit.in b/security/base-audit/files/405.pkg-base-audit.in
index 9f94247152e3..94f9899907b5 100644
--- a/security/base-audit/files/405.pkg-base-audit.in
+++ b/security/base-audit/files/405.pkg-base-audit.in
@@ -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: '
diff --git a/security/base-audit/pkg-descr b/security/base-audit/pkg-descr
index 0b560575e978..11e8cb99a1aa 100644
--- a/security/base-audit/pkg-descr
+++ b/security/base-audit/pkg-descr
@@ -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.