Sync with the ipresend changes.
This commit is contained in:
parent
f1b5a13b25
commit
754a245e76
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
#
|
||||
# $NetBSD: ipfilter2netbsd,v 1.15 1997/11/23 20:59:42 veego Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.16 1997/11/23 23:20:08 veego Exp $
|
||||
#
|
||||
# Copyright (c) 1996 Matthew R. Green
|
||||
# All rights reserved.
|
||||
|
@ -67,9 +67,9 @@ cd $d/src/usr.sbin/ipf
|
|||
|
||||
echo creating main Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.15 1997/11/23 20:59:42 veego Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.16 1997/11/23 23:20:08 veego Exp $
|
||||
|
||||
SUBDIR= ipf ipfstat ipmon ipnat ipftest ipsend iptest rules
|
||||
SUBDIR= ipf ipfstat ipftest ipmon ipnat ipresend ipsend iptest rules
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
__eof_makefile
|
||||
|
@ -80,7 +80,7 @@ cd $d/src/usr.sbin/ipf
|
|||
|
||||
echo creating main Makefile.inc
|
||||
cat > Makefile.inc<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.15 1997/11/23 20:59:42 veego Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.16 1997/11/23 23:20:08 veego Exp $
|
||||
|
||||
WARNS?= 1
|
||||
|
||||
|
@ -101,7 +101,7 @@ cd $d/src/usr.sbin/ipf/ipf
|
|||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.15 1997/11/23 20:59:42 veego Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.16 1997/11/23 23:20:08 veego Exp $
|
||||
|
||||
PROG= ipf
|
||||
SRCS= ipf.c parse.c opt.c
|
||||
|
@ -128,7 +128,7 @@ cd $d/src/usr.sbin/ipf/ipfstat
|
|||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.15 1997/11/23 20:59:42 veego Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.16 1997/11/23 23:20:08 veego Exp $
|
||||
|
||||
PROG= ipfstat
|
||||
SRCS= kmem.c fils.c opt.c parse.c
|
||||
|
@ -154,7 +154,7 @@ cd $d/src/usr.sbin/ipf/ipftest
|
|||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.15 1997/11/23 20:59:42 veego Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.16 1997/11/23 23:20:08 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
|
||||
|
@ -179,7 +179,7 @@ cd $d/src/usr.sbin/ipf/ipmon
|
|||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.15 1997/11/23 20:59:42 veego Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.16 1997/11/23 23:20:08 veego Exp $
|
||||
|
||||
PROG= ipmon
|
||||
MAN= ipmon.8
|
||||
|
@ -204,7 +204,7 @@ mv ipnat.1 ipnat.8
|
|||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.15 1997/11/23 20:59:42 veego Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.16 1997/11/23 23:20:08 veego Exp $
|
||||
|
||||
PROG= ipnat
|
||||
SRCS= kmem.c ipnat.c
|
||||
|
@ -229,10 +229,10 @@ cd $d/src/usr.sbin/ipf/ipresend
|
|||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.15 1997/11/23 20:59:42 veego Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.16 1997/11/23 23:20:08 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
|
||||
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 ipft_pc.c
|
||||
MAN= ipresend.1
|
||||
CPPFLAGS+=-I${.CURDIR}/../ipfstat -I${.CURDIR}/../ipsend -I${.CURDIR}/../ipftest -I${.CURDIR}/../ipf
|
||||
|
||||
|
@ -256,7 +256,7 @@ cd $d/src/usr.sbin/ipf/ipsend
|
|||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.15 1997/11/23 20:59:42 veego Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.16 1997/11/23 23:20:08 veego Exp $
|
||||
|
||||
PROG= ipsend
|
||||
SRCS= ipsend.c ip.c ipsopt.c 44arp.c sbpf.c iplang_l.l iplang_y.y
|
||||
|
@ -285,7 +285,7 @@ cd $d/src/usr.sbin/ipf/iptest
|
|||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.15 1997/11/23 20:59:42 veego Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.16 1997/11/23 23:20:08 veego Exp $
|
||||
|
||||
PROG= iptest
|
||||
SRCS= iptest.c iptests.c ip.c sbpf.c 44arp.c sock.c
|
||||
|
@ -311,7 +311,7 @@ cd $d/src/usr.sbin/ipf/rules
|
|||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.15 1997/11/23 20:59:42 veego Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.16 1997/11/23 23:20:08 veego Exp $
|
||||
|
||||
FILESDIR= /usr/share/examples/ipf
|
||||
MAN= mkfilters.1
|
||||
|
@ -346,7 +346,7 @@ cd $d/src/sys/lkm/netinet/if_ipl
|
|||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.15 1997/11/23 20:59:42 veego Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.16 1997/11/23 23:20:08 veego Exp $
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
|
@ -373,7 +373,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.15 1997/11/23 20:59:42 veego Exp $ */
|
||||
/* $NetBSD: ipfilter2netbsd,v 1.16 1997/11/23 23:20:08 veego Exp $ */
|
||||
|
||||
__eof_header
|
||||
cat $c
|
||||
|
|
Loading…
Reference in New Issue