From 63a8a53797793a033507b7c5f5cd27cdd1bb98c6 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 31 Aug 2011 20:16:07 +0000 Subject: [PATCH] Filter out Xref header and sign Supersedes --- sign.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/sign.sh b/sign.sh index aae358f..ff77b4e 100755 --- a/sign.sh +++ b/sign.sh @@ -6,8 +6,14 @@ # Heiko Schlichting (heiko@fu-berlin.de) # # $Log$ -# Revision 1.1 2003/07/06 18:58:06 eagle -# Import current version from ftp.isc.org /pub/pgpcontrol. +# Revision 1.2 2011/08/31 20:16:07 eagle +# Filter out Xref header and sign Supersedes +# +# Revision 1.10 1996/09/15 02:19:04 heiko +# Also sign Supersedes +# +# Revision 1.9 1996/08/09 23:31:43 heiko +# Filtering Xref header # # Revision 1.8 1996/08/09 22:25:27 heiko # ignore case in headers but keep the right case to sign @@ -90,7 +96,7 @@ while [ $# -gt 0 ]; do $GAWK -F: ' BEGIN{ # Which headers should be signed? - headernames="Subject:Control:Message-ID:Date:From:Sender:Newsgroups:Approved:Followup-To" + headernames="Subject:Control:Message-ID:Date:From:Sender:Newsgroups:Approved:Followup-To:Supersedes" split(headernames,header) IGNORECASE=1 body=0 @@ -143,7 +149,7 @@ while [ $# -gt 0 ]; do skip=0 version="unknown" # Which header should be filtered? - filternames="X-PGP-Sig:NNTP-Posting-Host:NNTP-Posting-User:Path:To:Cc:X-Access:Lines:X-Newsreader" + filternames="X-PGP-Sig:NNTP-Posting-Host:NNTP-Posting-User:Path:To:Cc:X-Access:Lines:X-Newsreader:Xref" split(filternames,filter,":") IGNORECASE=1 while ((getline header < artfile) >0) {