Module Name:    src
Committed By:   christos
Date:           Sat Oct  8 19:30:03 UTC 2011

Modified Files:
        src/crypto/external/bsd/heimdal: heimdal2netbsd
        src/crypto/external/bsd/openssl: openssl2netbsd

Log Message:
use cleantags


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/crypto/external/bsd/heimdal/heimdal2netbsd
cvs rdiff -u -r1.1 -r1.2 src/crypto/external/bsd/openssl/openssl2netbsd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/heimdal/heimdal2netbsd
diff -u src/crypto/external/bsd/heimdal/heimdal2netbsd:1.3 src/crypto/external/bsd/heimdal/heimdal2netbsd:1.4
--- src/crypto/external/bsd/heimdal/heimdal2netbsd:1.3	Thu Apr 14 14:16:21 2011
+++ src/crypto/external/bsd/heimdal/heimdal2netbsd	Sat Oct  8 15:30:02 2011
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-#	$NetBSD: heimdal2netbsd,v 1.3 2011/04/14 18:16:21 elric Exp $
+#	$NetBSD: heimdal2netbsd,v 1.4 2011/10/08 19:30:02 christos Exp $
 #
 # Copyright (c) 2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -191,24 +191,7 @@ find $d -type f -print | xargs egrep -l 
 done
 
 ### Remove the $'s around RCS tags
-find $d -type f -print | xargs egrep -l \
-    '\$(Author|Date|Header|Id|Locker|Log|Name|RCSfile|Revision|Source|State)' |
-    while read f; do
-	sed \
-	    -e 's/\$\(Author.*\) \$/\1/' \
-	    -e 's/\$\(Date.*\) \$/\1/' \
-	    -e 's/\$\(Header.*\) \$/\1/' \
-	    -e 's/\$\(Id.*\)\$/\1/' \
-	    -e 's/\$\(Locker.*\) \$/\1/' \
-	    -e 's/\$\(Log.*\) \$/\1/' \
-	    -e 's/\$\(Name.*\) \$/\1/' \
-	    -e 's/\$\(RCSfile.*\) \$/\1/' \
-	    -e 's/\$\(Revision.*\) \$/\1/' \
-	    -e 's/\$\(Source.*\) \$/\1/' \
-	    -e 's/\$\(State.*\) \$/\1/' \
-	    < $f > /tmp/heimdal1f$$ && mv /tmp/heimdal1f$$ $f && \
-	echo removed \$RCS tag from $f
-done
+cleantags $d
 
 ### Add our NetBSD RCS Id
 find $d -type f -name '*.[chly]' -print | while read c; do

Index: src/crypto/external/bsd/openssl/openssl2netbsd
diff -u src/crypto/external/bsd/openssl/openssl2netbsd:1.1 src/crypto/external/bsd/openssl/openssl2netbsd:1.2
--- src/crypto/external/bsd/openssl/openssl2netbsd:1.1	Sun Jul 19 19:30:37 2009
+++ src/crypto/external/bsd/openssl/openssl2netbsd	Sat Oct  8 15:30:02 2011
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-#	$NetBSD: openssl2netbsd,v 1.1 2009/07/19 23:30:37 christos Exp $
+#	$NetBSD: openssl2netbsd,v 1.2 2011/10/08 19:30:02 christos Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -33,17 +33,4 @@ then
 	exit 1
 fi
 ### Remove the $'s around RCS tags
-find $1 -type f -print | xargs egrep -l '\$(Author|Date|Header|Id|Locker|Log|Name|RCSfile|Revision|Source|State)' | while read f; do
-	sed -e 's/\$\(Author.*\) \$/\1/' \
-	    -e 's/\$\(Date.*\) \$/\1/' \
-	    -e 's/\$\(Header.*\) \$/\1/' \
-	    -e 's/\$\(Locker.*\) \$/\1/' \
-	    -e 's/\$\(Log.*\) \$/\1/' \
-	    -e 's/\$\(Name.*\) \$/\1/' \
-	    -e 's/\$\(RCSfile.*\) \$/\1/' \
-	    -e 's/\$\(Revision.*\) \$/\1/' \
-	    -e 's/\$\(Source.*\) \$/\1/' \
-	    -e 's/\$\(State.*\) \$/\1/' \
-	    < $f > /tmp/drcs.$$ && mv /tmp/drcs.$$ $f && \
-	echo removed \$RCS tag from $f
-done
+cleantags $1

Reply via email to