FreeBSD Bugzilla – Attachment 83651 Details for
Bug 119464
[patch] [request] Add 'sorted' option to etc/periodic/security/security.functions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 939 bytes, created by
Esa Karkkainen
on 2008-01-08 19:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Esa Karkkainen
Created:
2008-01-08 19:30:01 UTC
Size:
939 bytes
patch
obsolete
>--- /usr/src/etc/periodic/security/security.functions 2005-08-27 11:21:02.000000000 +0300 >+++ security.functions 2007-11-07 22:39:30.000000000 +0200 >@@ -37,16 +37,25 @@ > # Usage: COMMAND | check_diff [new_only] LABEL - MSG > # COMMAND > TMPFILE; check_diff [new_only] LABEL TMPFILE MSG > # if $1 is new_only, show only the 'new' part of the diff. >+# if $1 is sorted, show 'old' and 'new' parts of the diff sorted by filename > # LABEL is the base name of the ${LOG}/${label}.{today,yesterday} files. > > check_diff() { > rc=0 >- if [ "$1" = "new_only" ]; then >- shift >- filter="grep '^[>+]'" >- else >- filter="cat" >- fi >+ case "$1" >+ in >+ "new_only") >+ shift >+ filter="grep '^[>+]'" >+ ;; >+ "sorted") >+ shift >+ filter="grep '^[>+-]' | sort -k 11" >+ ;; >+ *) >+ filter="cat" >+ ;; >+ esac > label="$1"; shift > tmpf="$1"; shift > msg="$1"; shift
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 119464
:
83651
|
237415
|
237416
|
237417