FreeBSD Bugzilla – Attachment 196291 Details for
Bug 230393
security/base-audit: Use anticongestion function if available
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
modified patch, bumped version to 0.3
base-audit-0.3.patch (text/plain), 1.09 KB, created by
Miroslav Lachman
on 2018-08-17 16:32:23 UTC
(
hide
)
Description:
modified patch, bumped version to 0.3
Filename:
MIME Type:
Creator:
Miroslav Lachman
Created:
2018-08-17 16:32:23 UTC
Size:
1.09 KB
patch
obsolete
>diff --git a/security/base-audit/Makefile b/security/base-audit/Makefile >index 247b4eb..d30a12a 100644 >--- a/security/base-audit/Makefile >+++ b/security/base-audit/Makefile >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= base-audit >-PORTVERSION= 0.2 >+PORTVERSION= 0.3 > 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 8d317ca..9f94247 100644 >--- a/security/base-audit/files/405.pkg-base-audit.in >+++ b/security/base-audit/files/405.pkg-base-audit.in >@@ -100,8 +100,12 @@ audit_base() { > if [ $rc -ne 0 -o \ > $(( 86400 \* "${security_status_baseaudit_expiry}" )) \ > -le $(( ${now} - ${then} + 600 )) ]; then >- ## Random delay so the mirrors do not get slammed when run by periodic(8) >- if [ ! -t 0 ]; 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 > f="-F"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230393
:
195915
| 196291