Module Name:    src
Committed By:   darrenr
Date:           Wed Aug 19 18:51:24 UTC 2009

Modified Files:
        src/dist/ipf: ipf2netbsd

Log Message:
When preparing ipfilter to import, remove files that are not related to
NetBSD in any way (such as those for Linux, Solaris, etc.)


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/dist/ipf/ipf2netbsd

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

Modified files:

Index: src/dist/ipf/ipf2netbsd
diff -u src/dist/ipf/ipf2netbsd:1.21 src/dist/ipf/ipf2netbsd:1.22
--- src/dist/ipf/ipf2netbsd:1.21	Wed Apr 30 13:10:47 2008
+++ src/dist/ipf/ipf2netbsd	Wed Aug 19 18:51:24 2009
@@ -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/' \

Reply via email to