Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd use cleantags
details: https://anonhg.NetBSD.org/src/rev/e5a8f5a060fc
branches: trunk
changeset: 770228:e5a8f5a060fc
user: christos <christos%NetBSD.org@localhost>
date: Sat Oct 08 19:30:02 2011 +0000
description:
use cleantags
diffstat:
crypto/external/bsd/heimdal/heimdal2netbsd | 21 ++-------------------
crypto/external/bsd/openssl/openssl2netbsd | 17 ++---------------
2 files changed, 4 insertions(+), 34 deletions(-)
diffs (67 lines):
diff -r 660504b60c3a -r e5a8f5a060fc crypto/external/bsd/heimdal/heimdal2netbsd
--- a/crypto/external/bsd/heimdal/heimdal2netbsd Sat Oct 08 19:28:38 2011 +0000
+++ b/crypto/external/bsd/heimdal/heimdal2netbsd Sat Oct 08 19:30:02 2011 +0000
@@ -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 @@
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
diff -r 660504b60c3a -r e5a8f5a060fc crypto/external/bsd/openssl/openssl2netbsd
--- a/crypto/external/bsd/openssl/openssl2netbsd Sat Oct 08 19:28:38 2011 +0000
+++ b/crypto/external/bsd/openssl/openssl2netbsd Sat Oct 08 19:30:02 2011 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index