View | Details | Raw Unified | Return to bug 230393 | Differences between
and this patch

Collapse All | Expand All

(-)b/security/base-audit/Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	base-audit
4
PORTNAME=	base-audit
5
PORTVERSION=	0.2
5
PORTVERSION=	0.3
6
CATEGORIES=	security
6
CATEGORIES=	security
7
MASTER_SITES=	# none
7
MASTER_SITES=	# none
8
DISTFILES=	# none
8
DISTFILES=	# none
(-)b/security/base-audit/files/405.pkg-base-audit.in (-2 / +6 lines)
Lines 100-107 audit_base() { Link Here
100
	if [ $rc -ne 0 -o \
100
	if [ $rc -ne 0 -o \
101
		$(( 86400 \* "${security_status_baseaudit_expiry}" )) \
101
		$(( 86400 \* "${security_status_baseaudit_expiry}" )) \
102
		-le $(( ${now} - ${then} + 600 )) ]; then
102
		-le $(( ${now} - ${then} + 600 )) ]; then
103
		## Random delay so the mirrors do not get slammed when run by periodic(8)
103
		## When non-interactive, sleep to reduce congestion on mirrors
104
		if [ ! -t 0 ]; then
104
		if [ -n "$anticongestion_sleeptime" ]; then
105
			# In FreeBSD 12.0 the anticongestion function should be
106
			# used instead of a hard-coded sleep
107
			anticongestion
108
		else
105
			sleep `jot -r 1 0 600`
109
			sleep `jot -r 1 0 600`
106
		fi
110
		fi
107
		f="-F"
111
		f="-F"

Return to bug 230393