diff options
author | joerg <joerg@pkgsrc.org> | 2007-07-10 15:27:57 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-07-10 15:27:57 +0000 |
commit | 80fbcad27402307ed876048d8934c90e91f30589 (patch) | |
tree | e84b9a7ab55e86d5b2026048e830599ef078be1f /security | |
parent | eb66d11868e786dce70779460db8ef022d90418c (diff) | |
download | pkgsrc-80fbcad27402307ed876048d8934c90e91f30589.tar.gz |
Avoid embedding $NetBSD\$ and similiar constructs in-tree files.
The strings would be picked up for +BUILD_VERSION and create mismatches
when using ident on the same files.
Diffstat (limited to 'security')
-rwxr-xr-x | security/audit-packages/files/audit-packages | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/audit-packages/files/audit-packages b/security/audit-packages/files/audit-packages index 5f136bc077d..6d88a30c930 100755 --- a/security/audit-packages/files/audit-packages +++ b/security/audit-packages/files/audit-packages @@ -1,6 +1,6 @@ #! @SH@ # -# $NetBSD: audit-packages,v 1.30 2006/12/09 12:30:47 adrianp Exp $ +# $NetBSD: audit-packages,v 1.31 2007/07/10 15:27:57 joerg Exp $ # # Copyright (c) 2000-2003 Alistair Crooks. All rights reserved. # @@ -165,7 +165,7 @@ case "$errmsg" in "") errmsg="No checksum algorithm found in $vuls file" errsolution="$ERR_DOWNLOAD" ;; - *) calcsum=`@AWK@ '$1 == "#CHECKSUM" || /\$NetBSD.*/ { next } { print }' "$vuls" | @DIGEST@ "$recordedalg"` + *) calcsum=`@AWK@ '$1 == "#CHECKSUM" || /\$[N]etBSD.*/ { next } { print }' "$vuls" | @DIGEST@ "$recordedalg"` if [ "$recordedsum" != "$calcsum" ]; then errmsg="Checksum mismatch - recorded $recordedalg checksum \"$recordedsum\", calculated checksum \"$calcsum\"" errsolution="$ERR_DOWNLOAD" |