head	1.17;
access;
symbols
	RELENG_5_5_0_RELEASE:1.16
	RELENG_5_5:1.16.0.8
	RELENG_5_5_BP:1.16
	RELENG_5_4_0_RELEASE:1.16
	RELENG_5_4:1.16.0.6
	RELENG_5_4_BP:1.16
	RELENG_4_11_0_RELEASE:1.4.2.6
	RELENG_4_11:1.4.2.6.0.12
	RELENG_4_11_BP:1.4.2.6
	RELENG_5_3_0_RELEASE:1.16
	RELENG_5_3:1.16.0.4
	RELENG_5_3_BP:1.16
	RELENG_5:1.16.0.2
	RELENG_5_BP:1.16
	RELENG_4_10_0_RELEASE:1.4.2.6
	RELENG_4_10:1.4.2.6.0.10
	RELENG_4_10_BP:1.4.2.6
	RELENG_5_2_1_RELEASE:1.15
	RELENG_5_2_0_RELEASE:1.15
	RELENG_5_2:1.15.0.2
	RELENG_5_2_BP:1.15
	RELENG_4_9_0_RELEASE:1.4.2.6
	RELENG_4_9:1.4.2.6.0.8
	RELENG_4_9_BP:1.4.2.6
	RELENG_5_1_0_RELEASE:1.14
	RELENG_5_1:1.14.0.4
	RELENG_5_1_BP:1.14
	RELENG_4_8_0_RELEASE:1.4.2.6
	RELENG_4_8:1.4.2.6.0.6
	RELENG_4_8_BP:1.4.2.6
	RELENG_5_0_0_RELEASE:1.14
	RELENG_5_0:1.14.0.2
	RELENG_5_0_BP:1.14
	RELENG_4_7_0_RELEASE:1.4.2.6
	RELENG_4_7:1.4.2.6.0.4
	RELENG_4_7_BP:1.4.2.6
	RELENG_4_6_2_RELEASE:1.4.2.6
	RELENG_4_6_1_RELEASE:1.4.2.6
	RELENG_4_6_0_RELEASE:1.4.2.6
	RELENG_4_6:1.4.2.6.0.2
	RELENG_4_6_BP:1.4.2.6
	RELENG_4_5_0_RELEASE:1.4.2.5
	RELENG_4_5:1.4.2.5.0.2
	RELENG_4_5_BP:1.4.2.5
	RELENG_4_4_0_RELEASE:1.4.2.3
	RELENG_4_4:1.4.2.3.0.2
	RELENG_4_4_BP:1.4.2.3
	RELENG_4_3_0_RELEASE:1.4.2.1
	RELENG_4_3:1.4.2.1.0.2
	RELENG_4_3_BP:1.4.2.1
	RELENG_4_2_0_RELEASE:1.4.2.1
	RELENG_4_1_1_RELEASE:1.4.2.1
	PRE_SMPNG:1.6
	RELENG_4_1_0_RELEASE:1.4.2.1
	RELENG_4_0_0_RELEASE:1.4
	RELENG_4:1.4.0.2
	RELENG_4_BP:1.4
	old_RELENG_3_3_0_RELEASE:1.1
	old_RELENG_3_2_PAO:1.1.0.4
	old_RELENG_3_2_PAO_BP:1.1
	old_RELENG_3_2_0_RELEASE:1.1
	old_RELENG_3_1_0_RELEASE:1.1
	old_RELENG_3:1.1.0.2
	old_RELENG_3_BP:1.1
	old_RELENG_3_0_0_RELEASE:1.1;
locks; strict;
comment	@# @;


1.17
date	2005.04.25.18.59.29;	author darrenr;	state dead;
branches;
next	1.16;

1.16
date	2004.02.23.20.13.53;	author johan;	state Exp;
branches
	1.16.2.1;
next	1.15;

1.15
date	2003.06.06.11.30.49;	author guido;	state Exp;
branches;
next	1.14;

1.14
date	2002.03.20.09.01.48;	author darrenr;	state Exp;
branches;
next	1.13;

1.13
date	2002.03.19.15.07.29;	author darrenr;	state Exp;
branches;
next	1.12;

1.12
date	2001.12.04.02.19.49;	author obrien;	state Exp;
branches;
next	1.11;

1.11
date	2001.06.18.15.55.26;	author ru;	state Exp;
branches;
next	1.10;

1.10
date	2001.06.11.17.41.56;	author ru;	state Exp;
branches;
next	1.9;

1.9
date	2001.05.18.13.41.25;	author ru;	state Exp;
branches;
next	1.8;

1.8
date	2001.03.26.14.33.07;	author ru;	state Exp;
branches;
next	1.7;

1.7
date	2000.10.31.22.29.26;	author nectar;	state Exp;
branches;
next	1.6;

1.6
date	2000.08.28.11.36.30;	author n_hibma;	state Exp;
branches;
next	1.5;

1.5
date	2000.05.24.20.04.38;	author darrenr;	state Exp;
branches;
next	1.4;

1.4
date	99.12.15.19.48.02;	author guido;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	99.11.23.21.53.16;	author guido;	state Exp;
branches;
next	1.2;

1.2
date	99.10.10.15.08.35;	author peter;	state dead;
branches;
next	1.1;

1.1
date	98.03.21.13.53.06;	author peter;	state Exp;
branches;
next	;

1.16.2.1
date	2006.07.09.19.49.25;	author markm;	state Exp;
branches;
next	;

1.4.2.1
date	2000.07.20.05.46.06;	author kris;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	2001.04.25.10.58.28;	author ru;	state Exp;
branches;
next	1.4.2.3;

1.4.2.3
date	2001.08.01.08.17.17;	author obrien;	state Exp;
branches;
next	1.4.2.4;

1.4.2.4
date	2001.11.14.14.01.34;	author guido;	state Exp;
branches;
next	1.4.2.5;

1.4.2.5
date	2001.11.14.14.15.03;	author guido;	state Exp;
branches;
next	1.4.2.6;

1.4.2.6
date	2002.04.27.18.12.33;	author darrenr;	state Exp;
branches;
next	1.4.2.7;

1.4.2.7
date	2005.01.07.09.18.31;	author guido;	state Exp;
branches;
next	1.4.2.8;

1.4.2.8
date	2012.11.17.07.24.31;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.17
log
@remove old directories used to build ipfilter tools
@
text
@# $FreeBSD: src/sbin/ipnat/Makefile,v 1.16 2004/02/23 20:13:53 johan Exp $

.PATH:	${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man

PROG=	ipnat
MAN=	ipnat.1 ipnat.4 ipnat.5
MLINKS=	ipnat.5 ipnat.conf.5
SRCS=	ipnat.c kmem.c natparse.c common.c printnat.c
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\"
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
WARNS?=	0

DPADD=	${LIBKVM}
LDADD=	-lkvm

MAINTAINER=	darrenr@@freebsd.org

.include <bsd.prog.mk>
@


1.16
log
@style.Makefile(5):
	Use WARNS?= instead of WARNS=.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.16.2.1
log
@MFC: keep the maintainers consistent with HEAD.
@
text
@d18 2
@


1.15
log
@Move my maintainership of parts of ipfilter back to Darren Reed
@
text
@d13 1
a13 1
WARNS=	0
@


1.14
log
@* need to compile printnat.c now that this function is in a separate .c file
* add extra -I path to get the "matching" header files.
@
text
@d18 1
a18 1
MAINTAINER=	guido@@freebsd.org
@


1.13
log
@both ipnat and ipfstat now use libkvm rather than their own home-rolled
kmem accessors, allowing them to be used with crash dumps as well as live
systems, now.
@
text
@d8 1
a8 1
SRCS=	ipnat.c kmem.c natparse.c common.c
d11 1
@


1.12
log
@Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by:	mike
@
text
@d14 3
@


1.11
log
@Pick up the correct headers from sys/contrib/ipfilter/netinet.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipnat/Makefile,v 1.10 2001/06/11 17:41:56 ru Exp $
d12 1
@


1.10
log
@Backout previous change (removal of -I${.CURDIR}/../../sys/netinet).
This is needed to pick up the right headers.  Wrong headers from
src/contrib/ipfilter are used otherwise.

The right fix would be to fix contrib/ipfilter C sources to pick up
headers from <sys/netinet>.

Noticed by:	peter
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipnat/Makefile,v 1.9 2001/05/18 13:41:25 ru Exp $
d9 3
a11 1
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
@


1.9
log
@Removed -I${.CURDIR}/.../sys from CFLAGS.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipnat/Makefile,v 1.8 2001/03/26 14:33:07 ru Exp $
d9 1
a9 1
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I${.CURDIR}/../../contrib/ipfilter
@


1.8
log
@- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipnat/Makefile,v 1.7 2000/10/31 22:29:26 nectar Exp $
d9 1
a9 1
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
@


1.7
log
@Build with -DUSE_INET6 so that we can actually use the IPv6 support in
IPFilter 3.4.x.

Approved by:	darrenr, guido
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipnat/Makefile,v 1.6 2000/08/28 11:36:30 n_hibma Exp $
d6 1
a6 3
MAN1=	ipnat.1
MAN4=	ipnat.4
MAN5=	ipnat.5
@


1.6
log
@No more hunting around for ipnat.conf(5) man page.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipnat/Makefile,v 1.5 2000/05/24 20:04:38 darrenr Exp $
d11 1
a11 1
CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
@


1.5
log
@add common.c to SRCS to fix compile problems
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipnat/Makefile,v 1.4 1999/12/15 19:48:02 guido Exp $
d9 1
@


1.4
log
@Add MAINTAINER tag.

The Makefiles in sbin/{ipfstat,ipmon,ipnat} were repository copied
from the respective directories in usr.sbin
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipnat/Makefile,v 1.3 1999/11/23 21:53:16 guido Exp $
d9 1
a9 1
SRCS=	ipnat.c kmem.c natparse.c
@


1.4.2.1
log
@Yet another world fixage.

Submitted by:	Bryan Liesner <bleez@@bellatlantic.net>
@
text
@d1 1
a1 1
# $FreeBSD$
d9 1
a9 1
SRCS=	ipnat.c kmem.c natparse.c common.c
@


1.4.2.2
log
@MFC: MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipnat/Makefile,v 1.4.2.1 2000/07/20 05:46:06 kris Exp $
d6 3
a8 1
MAN=	ipnat.1 ipnat.4 ipnat.5
@


1.4.2.3
log
@MFC: reduce diffs to -current
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipnat/Makefile,v 1.4.2.2 2001/04/25 10:58:28 ru Exp $
d8 1
a8 3
CFLAGS+=-DIPL_NAME=\"/dev/ipl\"
CFLAGS+=-I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
@


1.4.2.4
log
@Enable IPv6 support for IPF in -stable (just the userland; it already
is enabled in kernel space)
@
text
@d1 1
a1 1
# $FreeBSD$
d8 1
a8 1
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\"
@


1.4.2.5
log
@ipfilter was moved inside kernel space from sys/netinet to
sys/contrib/ipfilter/netinet
Update makefiles accordingly
@
text
@d9 1
a9 2
CFLAGS+=-I- -I${.CURDIR}/../../sys/contrib/ipfilter/netinet
CFLAGS+=-I${.CURDIR}/../../sys
@


1.4.2.6
log
@* Adjust include paths to match changes in source code - ie. no longer need
 to include ipfilter/netinet, just ipfilter.
* man page for ipnat is now in section 8, not 1
* ipnat now links against and is dependant on libkvm.
@
text
@d6 2
a7 2
MAN=	ipnat.8 ipnat.4 ipnat.5
SRCS=	ipnat.c kmem.c natparse.c common.c printnat.c
d9 1
a9 1
CFLAGS+=-I- -I${.CURDIR}/../../sys/contrib/ipfilter
a11 3

DPADD+=	${LIBKVM}
LDADD+=  -lkvm
@


1.4.2.7
log
@MFC: 1.6 (link ipnat.conf manpage)

Requested by: Hideyuki KURASHINA <rushani@@FreeBSD.org>
@
text
@a6 1
MLINKS=	ipnat.5 ipnat.conf.5
@


1.4.2.8
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sbin/ipnat/Makefile 139846 2005-01-07 09:18:31Z guido $
@


1.3
log
@Revive userland stuff for ipfilter.
Also fixes:
PR:		7791
@
text
@d1 1
a1 1
# $FreeBSD$
d11 2
@


1.2
log
@Nuke the old antique copy of ipfilter from the tree.  This is old enough
to be dangerous.  It will better serve us as a port building a KLD,
ala SKIP.
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ipnat/Makefile,v 1.1 1998/03/21 13:53:06 peter Exp $
d9 1
a9 1
SRCS=	ipnat.c kmem.c
@


1.1
log
@Initial bmake scaffolding for ipfilter userland stuff.

Obtained from: large chunks stolen from OpenBSD and NetBSD
@
text
@d1 1
a1 1
# $FreeBSD$
@
