FreeBSD Bugzilla – Attachment 195915 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]
patch file
security_base-audit.patch (text/plain), 1011 bytes, created by
Yasuhiro Kimura
on 2018-08-05 20:20:04 UTC
(
hide
)
Description:
patch file
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2018-08-05 20:20:04 UTC
Size:
1011 bytes
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 476349) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= base-audit > PORTVERSION= 0.2 >+PORTREVISION= 1 > CATEGORIES= security > MASTER_SITES= # none > DISTFILES= # none >Index: files/405.pkg-base-audit.in >=================================================================== >--- files/405.pkg-base-audit.in (revision 476349) >+++ files/405.pkg-base-audit.in (working copy) >@@ -100,8 +100,12 @@ > 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