Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/dist/ipf When preparing ipfilter to import, remove files tha...
details: https://anonhg.NetBSD.org/src/rev/bd08dfa1c77f
branches: trunk
changeset: 746779:bd08dfa1c77f
user: darrenr <darrenr%NetBSD.org@localhost>
date: Wed Aug 19 18:51:24 2009 +0000
description:
When preparing ipfilter to import, remove files that are not related to
NetBSD in any way (such as those for Linux, Solaris, etc.)
diffstat:
dist/ipf/ipf2netbsd | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r d1cb972bfdde -r bd08dfa1c77f dist/ipf/ipf2netbsd
--- a/dist/ipf/ipf2netbsd Wed Aug 19 16:31:28 2009 +0000
+++ b/dist/ipf/ipf2netbsd Wed Aug 19 18:51:24 2009 +0000
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $NetBSD: ipf2netbsd,v 1.21 2008/04/30 13:10:47 martin Exp $
+# $NetBSD: ipf2netbsd,v 1.22 2009/08/19 18:51:24 darrenr Exp $
#
# Copyright (c) 1999 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -104,6 +104,22 @@
cd $r/test
pax -rvw * $dregress
+### Remove uninteresting bits
+echo "removing extraneous files and directiones."
+(
+ cd ${dest}/src/dist/ipf
+ find . -name .cvsignore | xargs /bin/rm -f
+ for i in 4bsd AIX BSD BSDOS BSDOS3 BSDOS4 COMPILE.2.5 COMPILE.Solaris2 \
+ FAQ.FreeBSD FreeBSD FreeBSD-2.2 FreeBSD-3 FreeBSD-4.0 HPUX \
+ INST.FreeBSD-2.2 INSTALL.BSDOS INSTALL.FreeBSD INSTALL.IRIX \
+ INSTALL.Sol2 INSTALL.SunOS INSTALL.Tru64 Linux IRIX OSF \
+ INSTALL.NetBSD INSTALL.Linux INSTALL.xBSD INSTALL.BSDOS3 NAT.FreeBSD OpenBSD OpenBSD-2 OpenBSD-3 SunOS4 SunOS5 ipsend/.OLD; do
+ echo "removing $i";
+ /bin/rm -rf "$i"
+ done
+)
+echo done
+
### Remove the $'s around various RCSIDs
find $dest -type f -print | while read f; do
sed -e 's/\$\(Id.*\) \$/\1/' \
Home |
Main Index |
Thread Index |
Old Index