Updated for the missing ipftest.1 manpage.

This commit is contained in:
veego 1997-11-11 10:07:31 +00:00
parent c12c7ee684
commit 13cfd2b17f
1 changed files with 17 additions and 15 deletions

View File

@ -1,6 +1,6 @@
#! /bin/sh
#
# $NetBSD: ipfilter2netbsd,v 1.12 1997/10/30 16:10:01 mrg Exp $
# $NetBSD: ipfilter2netbsd,v 1.13 1997/11/11 10:07:31 veego Exp $
#
# Copyright (c) 1996 Matthew R. Green
# All rights reserved.
@ -67,7 +67,7 @@ cd $d/src/usr.sbin/ipf
echo creating main Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.12 1997/10/30 16:10:01 mrg Exp $
# $NetBSD: ipfilter2netbsd,v 1.13 1997/11/11 10:07:31 veego Exp $
SUBDIR= ipf ipfstat ipmon ipnat ipftest ipsend iptest
.if make(install)
@ -83,7 +83,7 @@ cd $d/src/usr.sbin/ipf
echo creating main Makefile.inc
cat > Makefile.inc<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.12 1997/10/30 16:10:01 mrg Exp $
# $NetBSD: ipfilter2netbsd,v 1.13 1997/11/11 10:07:31 veego Exp $
WARNS?= 1
@ -104,7 +104,7 @@ cd $d/src/usr.sbin/ipf/ipf
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.12 1997/10/30 16:10:01 mrg Exp $
# $NetBSD: ipfilter2netbsd,v 1.13 1997/11/11 10:07:31 veego Exp $
PROG= ipf
SRCS= ipf.c parse.c opt.c
@ -131,7 +131,7 @@ cd $d/src/usr.sbin/ipf/ipfstat
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.12 1997/10/30 16:10:01 mrg Exp $
# $NetBSD: ipfilter2netbsd,v 1.13 1997/11/11 10:07:31 veego Exp $
PROG= ipfstat
SRCS= kmem.c fils.c opt.c parse.c
@ -148,18 +148,20 @@ __eof_makefile
cd $r
echo ipftest:
src='ipt.c ipft_sn.c ipft_ef.c ipft_td.c ipft_pc.c ipft_tx.c misc.c ipft_hx.c ipt.h snoop.h pcap.h'
man=ipftest.1
pax -rvw $src test $d/src/usr.sbin/ipf/ipftest
cd man; pax -rvw $man $d/src/usr.sbin/ipf/ipftest; cd ..
cd $d/src/usr.sbin/ipf/ipftest
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.12 1997/10/30 16:10:01 mrg Exp $
# $NetBSD: ipfilter2netbsd,v 1.13 1997/11/11 10:07:31 veego Exp $
PROG= ipftest
SRCS= ipt.c ipft_sn.c ipft_ef.c ipft_td.c ipft_pc.c opt.c ipft_tx.c misc.c ip_frag.c ip_state.c ip_nat.c ipft_hx.c ip_fil.c fil.c parse.c ip_proxy.c ip_auth.c
NOMAN= yes
MAN= ipftest.1
CPPFLAGS+=-I${.CURDIR} -I${.CURDIR}/../ipf
.PATH: ${.CURDIR}/../ipf ${.CURDIR}/../../../sys/netinet
@ -180,7 +182,7 @@ cd $d/src/usr.sbin/ipf/ipmon
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.12 1997/10/30 16:10:01 mrg Exp $
# $NetBSD: ipfilter2netbsd,v 1.13 1997/11/11 10:07:31 veego Exp $
PROG= ipmon
MAN= ipmon.8
@ -205,7 +207,7 @@ mv ipnat.1 ipnat.8
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.12 1997/10/30 16:10:01 mrg Exp $
# $NetBSD: ipfilter2netbsd,v 1.13 1997/11/11 10:07:31 veego Exp $
PROG= ipnat
SRCS= kmem.c ipnat.c
@ -230,7 +232,7 @@ cd $d/src/usr.sbin/ipf/ipresend
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.12 1997/10/30 16:10:01 mrg Exp $
# $NetBSD: ipfilter2netbsd,v 1.13 1997/11/11 10:07:31 veego Exp $
PROG= ipresend
SRCS= ipresend.c ip.c resend.c opt.c ipft_ef.c ipft_hx.c ipft_sn.c ipft_td.c ipft_tx.c sbpf.c 44arp.c
@ -257,7 +259,7 @@ cd $d/src/usr.sbin/ipf/ipsend
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.12 1997/10/30 16:10:01 mrg Exp $
# $NetBSD: ipfilter2netbsd,v 1.13 1997/11/11 10:07:31 veego Exp $
PROG= ipsend
SRCS= ipsend.c ip.c ipsopt.c 44arp.c sbpf.c iplang_l.l iplang_y.y
@ -286,7 +288,7 @@ cd $d/src/usr.sbin/ipf/iptest
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.12 1997/10/30 16:10:01 mrg Exp $
# $NetBSD: ipfilter2netbsd,v 1.13 1997/11/11 10:07:31 veego Exp $
PROG= iptest
SRCS= iptest.c iptests.c ip.c sbpf.c 44arp.c sock.c
@ -308,7 +310,7 @@ cd $d/src/usr.sbin/ipf/rules
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.12 1997/10/30 16:10:01 mrg Exp $
# $NetBSD: ipfilter2netbsd,v 1.13 1997/11/11 10:07:31 veego Exp $
FILESDIR= /usr/share/samples/ipf
@ -342,7 +344,7 @@ cd $d/src/sys/lkm/netinet/if_ipl
echo creating Makefile
cat > Makefile<<'__eof_makefile'
# $NetBSD: ipfilter2netbsd,v 1.12 1997/10/30 16:10:01 mrg Exp $
# $NetBSD: ipfilter2netbsd,v 1.13 1997/11/11 10:07:31 veego Exp $
.include "../Makefile.inc"
@ -369,7 +371,7 @@ find $d -name '*.[chly]' -print | while read c; do
< $c > /tmp/ipf2n$$ && mv /tmp/ipf2n$$ $c && echo transformed $c
sed 1q < $c | grep '\$NetBSD' || (
cat <<'__eof_header'
/* $NetBSD: ipfilter2netbsd,v 1.12 1997/10/30 16:10:01 mrg Exp $ */
/* $NetBSD: ipfilter2netbsd,v 1.13 1997/11/11 10:07:31 veego Exp $ */
__eof_header
cat $c