ipf is build with -static and installed in /sbin
This commit is contained in:
parent
5386901ec4
commit
b97a9a425b
@ -1,6 +1,6 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# $NetBSD: ipfilter2netbsd,v 1.4 1997/04/13 14:49:38 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.5 1997/04/13 18:42:20 veego Exp $
|
||||
#
|
||||
# Copyright (c) 1996 Matthew R. Green
|
||||
# All rights reserved.
|
||||
@ -76,13 +76,16 @@ mv ipf.1 ipf.8
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.4 1997/04/13 14:49:38 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.5 1997/04/13 18:42:20 veego Exp $
|
||||
|
||||
PROG= ipf
|
||||
SRCS= ipf.c parse.c opt.c
|
||||
MAN= ipf.8 ipf.4 ipf.5 ipl.4
|
||||
MLINKS= ipl.4 ipfilter.4
|
||||
|
||||
BINDIR= /sbin
|
||||
LDSTATIC= -static
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
__eof_makefile
|
||||
### end ipf ###############################
|
||||
@ -100,7 +103,7 @@ cd $d/src/usr.sbin/ipf/ipfstat
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.4 1997/04/13 14:49:38 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.5 1997/04/13 18:42:20 veego Exp $
|
||||
|
||||
PROG= ipfstat
|
||||
SRCS= kmem.c fils.c opt.c parse.c
|
||||
@ -124,7 +127,7 @@ cd $d/src/usr.sbin/ipf/ipftest
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.4 1997/04/13 14:49:38 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.5 1997/04/13 18:42:20 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
|
||||
@ -149,7 +152,7 @@ cd $d/src/usr.sbin/ipf/ipmon
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.4 1997/04/13 14:49:38 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.5 1997/04/13 18:42:20 veego Exp $
|
||||
|
||||
PROG= ipmon
|
||||
MAN= ipmon.8
|
||||
@ -174,7 +177,7 @@ mv ipnat.1 ipnat.8
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.4 1997/04/13 14:49:38 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.5 1997/04/13 18:42:20 veego Exp $
|
||||
|
||||
PROG= ipnat
|
||||
SRCS= kmem.c ipnat.c
|
||||
@ -197,7 +200,7 @@ cd $d/src/usr.sbin/ipf/ipresend
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.4 1997/04/13 14:49:38 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.5 1997/04/13 18:42:20 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
|
||||
@ -220,7 +223,7 @@ cd $d/src/usr.sbin/ipf/ipsend
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.4 1997/04/13 14:49:38 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.5 1997/04/13 18:42:20 veego Exp $
|
||||
|
||||
PROG= ipsend
|
||||
SRCS= ipsend.c ip.c ipsopt.c 44arp.c sbpf.c
|
||||
@ -243,7 +246,7 @@ cd $d/src/usr.sbin/ipf/iptest
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.4 1997/04/13 14:49:38 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.5 1997/04/13 18:42:20 veego Exp $
|
||||
|
||||
PROG= iptest
|
||||
SRCS= iptest.c iptests.c ip.c sbpf.c 44arp.c sock.c
|
||||
@ -274,7 +277,7 @@ cd $d/src/sys/lkm/netinet/if_ipl
|
||||
|
||||
echo creating Makefile
|
||||
cat > Makefile<<'__eof_makefile'
|
||||
# $NetBSD: ipfilter2netbsd,v 1.4 1997/04/13 14:49:38 mrg Exp $
|
||||
# $NetBSD: ipfilter2netbsd,v 1.5 1997/04/13 18:42:20 veego Exp $
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
@ -298,7 +301,7 @@ find $d -name '*.[ch]' -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.4 1997/04/13 14:49:38 mrg Exp $ */
|
||||
/* $NetBSD: ipfilter2netbsd,v 1.5 1997/04/13 18:42:20 veego Exp $ */
|
||||
|
||||
__eof_header
|
||||
cat $c
|
||||
|
Loading…
Reference in New Issue
Block a user