head	1.9;
access;
symbols
	netbsd-11-0-RC4:1.9
	netbsd-11-0-RC3:1.9
	netbsd-11-0-RC2:1.9
	netbsd-11-0-RC1:1.9
	perseant-exfatfs-base-20250801:1.9
	netbsd-11:1.9.0.12
	netbsd-11-base:1.9
	netbsd-10-1-RELEASE:1.9
	perseant-exfatfs-base-20240630:1.9
	perseant-exfatfs:1.9.0.10
	perseant-exfatfs-base:1.9
	netbsd-8-3-RELEASE:1.8
	netbsd-9-4-RELEASE:1.8
	netbsd-10-0-RELEASE:1.9
	netbsd-10-0-RC6:1.9
	netbsd-10-0-RC5:1.9
	netbsd-10-0-RC4:1.9
	netbsd-10-0-RC3:1.9
	netbsd-10-0-RC2:1.9
	netbsd-10-0-RC1:1.9
	netbsd-10:1.9.0.8
	netbsd-10-base:1.9
	netbsd-9-3-RELEASE:1.8
	cjep_sun2x-base1:1.9
	cjep_sun2x:1.9.0.6
	cjep_sun2x-base:1.9
	cjep_staticlib_x-base1:1.9
	netbsd-9-2-RELEASE:1.8
	cjep_staticlib_x:1.9.0.4
	cjep_staticlib_x-base:1.9
	netbsd-9-1-RELEASE:1.8
	phil-wifi-20200421:1.9
	phil-wifi-20200411:1.9
	is-mlppp:1.9.0.2
	is-mlppp-base:1.9
	phil-wifi-20200406:1.9
	netbsd-8-2-RELEASE:1.8
	netbsd-9-0-RELEASE:1.8
	netbsd-9-0-RC2:1.8
	netbsd-9-0-RC1:1.8
	phil-wifi-20191119:1.9
	netbsd-9:1.8.0.32
	netbsd-9-base:1.8
	phil-wifi-20190609:1.8
	netbsd-8-1-RELEASE:1.8
	netbsd-8-1-RC1:1.8
	pgoyette-compat-merge-20190127:1.8
	pgoyette-compat-20190127:1.8
	pgoyette-compat-20190118:1.8
	pgoyette-compat-1226:1.8
	pgoyette-compat-1126:1.8
	pgoyette-compat-1020:1.8
	pgoyette-compat-0930:1.8
	pgoyette-compat-0906:1.8
	netbsd-7-2-RELEASE:1.8
	pgoyette-compat-0728:1.8
	netbsd-8-0-RELEASE:1.8
	phil-wifi:1.8.0.30
	phil-wifi-base:1.8
	pgoyette-compat-0625:1.8
	netbsd-8-0-RC2:1.8
	pgoyette-compat-0521:1.8
	pgoyette-compat-0502:1.8
	pgoyette-compat-0422:1.8
	netbsd-8-0-RC1:1.8
	pgoyette-compat-0415:1.8
	pgoyette-compat-0407:1.8
	pgoyette-compat-0330:1.8
	pgoyette-compat-0322:1.8
	pgoyette-compat-0315:1.8
	netbsd-7-1-2-RELEASE:1.8
	pgoyette-compat:1.8.0.28
	pgoyette-compat-base:1.8
	netbsd-7-1-1-RELEASE:1.8
	matt-nb8-mediatek:1.8.0.26
	matt-nb8-mediatek-base:1.8
	perseant-stdc-iso10646:1.8.0.24
	perseant-stdc-iso10646-base:1.8
	netbsd-8:1.8.0.22
	netbsd-8-base:1.8
	prg-localcount2-base3:1.8
	prg-localcount2-base2:1.8
	prg-localcount2-base1:1.8
	prg-localcount2:1.8.0.20
	prg-localcount2-base:1.8
	pgoyette-localcount-20170426:1.8
	bouyer-socketcan-base1:1.8
	pgoyette-localcount-20170320:1.8
	netbsd-7-1:1.8.0.18
	netbsd-7-1-RELEASE:1.8
	netbsd-7-1-RC2:1.8
	netbsd-7-nhusb-base-20170116:1.8
	bouyer-socketcan:1.8.0.16
	bouyer-socketcan-base:1.8
	pgoyette-localcount-20170107:1.8
	netbsd-7-1-RC1:1.8
	pgoyette-localcount-20161104:1.8
	netbsd-7-0-2-RELEASE:1.8
	localcount-20160914:1.8
	netbsd-7-nhusb:1.8.0.14
	netbsd-7-nhusb-base:1.8
	pgoyette-localcount-20160806:1.8
	pgoyette-localcount-20160726:1.8
	pgoyette-localcount:1.8.0.12
	pgoyette-localcount-base:1.8
	netbsd-7-0-1-RELEASE:1.8
	netbsd-7-0:1.8.0.10
	netbsd-7-0-RELEASE:1.8
	netbsd-7-0-RC3:1.8
	netbsd-7-0-RC2:1.8
	netbsd-7-0-RC1:1.8
	netbsd-5-2-3-RELEASE:1.3
	netbsd-5-1-5-RELEASE:1.3
	netbsd-6-0-6-RELEASE:1.6
	netbsd-6-1-5-RELEASE:1.6.6.1
	netbsd-7:1.8.0.8
	netbsd-7-base:1.8
	yamt-pagecache-base9:1.8
	yamt-pagecache-tag8:1.6.4.1
	netbsd-6-1-4-RELEASE:1.6.6.1
	netbsd-6-0-5-RELEASE:1.6
	tls-earlyentropy:1.8.0.6
	tls-earlyentropy-base:1.8
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.8
	riastradh-drm2-base3:1.8
	netbsd-6-1-3-RELEASE:1.6.6.1
	netbsd-6-0-4-RELEASE:1.6
	netbsd-5-2-2-RELEASE:1.3
	netbsd-5-1-4-RELEASE:1.3
	netbsd-6-1-2-RELEASE:1.6.6.1
	netbsd-6-0-3-RELEASE:1.6
	netbsd-5-2-1-RELEASE:1.3
	netbsd-5-1-3-RELEASE:1.3
	netbsd-6-1-1-RELEASE:1.6.6.1
	riastradh-drm2-base2:1.8
	riastradh-drm2-base1:1.8
	riastradh-drm2:1.8.0.2
	riastradh-drm2-base:1.8
	netbsd-6-1:1.6.6.1.0.2
	netbsd-6-0-2-RELEASE:1.6
	netbsd-6-1-RELEASE:1.6.6.1
	netbsd-6-1-RC4:1.6.6.1
	netbsd-6-1-RC3:1.6.6.1
	agc-symver:1.8.0.4
	agc-symver-base:1.8
	netbsd-6-1-RC2:1.6.6.1
	netbsd-6-1-RC1:1.6.6.1
	yamt-pagecache-base8:1.7
	netbsd-5-2:1.3.0.2
	netbsd-6-0-1-RELEASE:1.6
	yamt-pagecache-base7:1.7
	netbsd-5-2-RELEASE:1.3
	netbsd-5-2-RC1:1.3
	matt-nb6-plus-nbase:1.6
	yamt-pagecache-base6:1.7
	netbsd-6-0:1.6.0.12
	netbsd-6-0-RELEASE:1.6
	netbsd-6-0-RC2:1.6
	tls-maxphys:1.6.0.10
	tls-maxphys-base:1.8
	matt-nb6-plus:1.6.0.8
	matt-nb6-plus-base:1.6
	netbsd-6-0-RC1:1.6
	yamt-pagecache-base5:1.6
	yamt-pagecache-base4:1.6
	netbsd-6:1.6.0.6
	netbsd-6-base:1.6
	netbsd-5-1-2-RELEASE:1.3
	netbsd-5-1-1-RELEASE:1.3
	yamt-pagecache-base3:1.6
	yamt-pagecache-base2:1.6
	yamt-pagecache:1.6.0.4
	yamt-pagecache-base:1.6
	cherry-xenmp:1.6.0.2
	cherry-xenmp-base:1.6
	bouyer-quota2-nbase:1.6
	bouyer-quota2:1.4.0.2
	bouyer-quota2-base:1.6
	matt-mips64-premerge-20101231:1.4
	matt-nb5-mips64-premerge-20101231:1.3
	matt-nb5-pq3:1.3.0.14
	matt-nb5-pq3-base:1.3
	netbsd-5-1:1.3.0.12
	netbsd-5-1-RELEASE:1.3
	netbsd-5-1-RC4:1.3
	matt-nb5-mips64-k15:1.3
	netbsd-5-1-RC3:1.3
	netbsd-5-1-RC2:1.3
	netbsd-5-1-RC1:1.3
	netbsd-5-0-2-RELEASE:1.3
	matt-nb5-mips64-premerge-20091211:1.3
	matt-premerge-20091211:1.4
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.3
	matt-nb4-mips64-k7-u2a-k9b:1.3
	matt-nb5-mips64-u1-k1-k5:1.3
	matt-nb5-mips64:1.3.0.10
	netbsd-5-0-1-RELEASE:1.3
	jym-xensuspend-nbase:1.4
	netbsd-5-0:1.3.0.8
	netbsd-5-0-RELEASE:1.3
	netbsd-5-0-RC4:1.3
	netbsd-5-0-RC3:1.3
	netbsd-5-0-RC2:1.3
	jym-xensuspend:1.3.0.6
	jym-xensuspend-base:1.4
	netbsd-5-0-RC1:1.3
	netbsd-5:1.3.0.4
	netbsd-5-base:1.3
	matt-mips64-base2:1.3
	matt-mips64:1.2.0.28
	netbsd-4-0-1-RELEASE:1.2
	wrstuden-revivesa-base-3:1.3
	wrstuden-revivesa-base-2:1.3
	wrstuden-fixsa-newbase:1.2
	wrstuden-revivesa-base-1:1.3
	yamt-pf42-base4:1.2
	yamt-pf42-base3:1.2
	hpcarm-cleanup-nbase:1.2
	yamt-pf42-baseX:1.2
	yamt-pf42-base2:1.2
	wrstuden-revivesa:1.2.0.26
	wrstuden-revivesa-base:1.3
	yamt-pf42:1.2.0.24
	yamt-pf42-base:1.2
	keiichi-mipv6-nbase:1.2
	keiichi-mipv6:1.2.0.22
	keiichi-mipv6-base:1.2
	matt-armv6-nbase:1.2
	matt-armv6-prevmlocking:1.2
	wrstuden-fixsa-base-1:1.2
	netbsd-4-0:1.2.0.20
	netbsd-4-0-RELEASE:1.2
	cube-autoconf:1.2.0.18
	cube-autoconf-base:1.2
	netbsd-4-0-RC5:1.2
	netbsd-4-0-RC4:1.2
	netbsd-4-0-RC3:1.2
	netbsd-4-0-RC2:1.2
	netbsd-4-0-RC1:1.2
	matt-armv6:1.2.0.16
	matt-armv6-base:1.2
	matt-mips64-base:1.2
	hpcarm-cleanup:1.2.0.14
	hpcarm-cleanup-base:1.2
	netbsd-3-1-1-RELEASE:1.2
	netbsd-3-0-3-RELEASE:1.2
	wrstuden-fixsa:1.2.0.12
	wrstuden-fixsa-base:1.2
	abandoned-netbsd-4-base:1.2
	abandoned-netbsd-4:1.2.0.6
	netbsd-3-1:1.2.0.8
	netbsd-3-1-RELEASE:1.2
	netbsd-3-0-2-RELEASE:1.2
	netbsd-3-1-RC4:1.2
	netbsd-3-1-RC3:1.2
	netbsd-3-1-RC2:1.2
	netbsd-3-1-RC1:1.2
	netbsd-4:1.2.0.10
	netbsd-4-base:1.2
	netbsd-3-0-1-RELEASE:1.2
	netbsd-3-0:1.2.0.4
	netbsd-3-0-RELEASE:1.2
	netbsd-3-0-RC6:1.2
	netbsd-3-0-RC5:1.2
	netbsd-3-0-RC4:1.2
	netbsd-3-0-RC3:1.2
	netbsd-3-0-RC2:1.2
	netbsd-3-0-RC1:1.2
	netbsd-3:1.2.0.2
	netbsd-3-base:1.2;
locks; strict;
comment	@# @;


1.9
date	2019.08.13.09.48.24;	author maxv;	state Exp;
branches;
next	1.8;
commitid	lLRwqbqayMfrMQyB;

1.8
date	2013.02.09.15.36.40;	author rmind;	state Exp;
branches
	1.8.30.1;
next	1.7;

1.7
date	2012.09.15.17.46.25;	author plunky;	state Exp;
branches;
next	1.6;

1.6
date	2011.02.04.00.19.52;	author rmind;	state Exp;
branches
	1.6.4.1
	1.6.6.1
	1.6.10.1;
next	1.5;

1.5
date	2011.02.02.02.20.26;	author rmind;	state Exp;
branches;
next	1.4;

1.4
date	2009.04.22.15.23.06;	author lukem;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2008.06.18.09.06.28;	author yamt;	state Exp;
branches
	1.3.6.1;
next	1.2;

1.2
date	2005.02.22.14.40.02;	author peter;	state Exp;
branches
	1.2.24.1
	1.2.26.1;
next	1.1;

1.1
date	2004.11.11.11.54.51;	author yamt;	state Exp;
branches;
next	;

1.8.30.1
date	2020.04.13.08.05.56;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.6.4.1
date	2012.10.30.19.00.49;	author yamt;	state Exp;
branches;
next	1.6.4.2;

1.6.4.2
date	2014.05.22.11.43.08;	author yamt;	state Exp;
branches;
next	;
commitid	wmvImESqVQCgMwBx;

1.6.6.1
date	2013.02.11.21.49.50;	author riz;	state Exp;
branches;
next	;

1.6.10.1
date	2012.11.20.03.03.03;	author tls;	state Exp;
branches;
next	1.6.10.2;

1.6.10.2
date	2013.02.25.00.30.47;	author tls;	state Exp;
branches;
next	;

1.4.2.1
date	2011.02.08.16.20.16;	author bouyer;	state Exp;
branches;
next	;

1.3.6.1
date	2009.05.13.19.20.32;	author jym;	state Exp;
branches;
next	;

1.2.24.1
date	2008.05.25.17.52.54;	author peter;	state Exp;
branches;
next	;

1.2.26.1
date	2008.06.23.04.32.13;	author wrstuden;	state Exp;
branches;
next	;


desc
@@


1.9
log
@sync with reality
@
text
@#	$NetBSD: Makefile,v 1.8 2013/02/09 15:36:40 rmind Exp $
#	$OpenBSD: Makefile,v 1.3 2006/11/26 11:31:13 deraadt Exp $

PROG=	ftp-proxy
SRCS=	ftp-proxy.c filter.c
MAN=	ftp-proxy.8

CFLAGS+= -I${.CURDIR}
LDADD+=	-levent
DPADD+= ${LIBEVENT}

CPPFLAGS+=-I${NETBSDSRCDIR}/sys

.include <bsd.own.mk>

# NPF support
.if (${MKNPF} != "no")
#SRCS+=		npf.c
#CPPFLAGS+=	-DWITH_NPF
#PROGDPLIBS+=	nv ${NETBSDSRCDIR}/external/bsd/libnv/lib
#LDADD+=		-lnpf
.endif

# IP Filter support
.if (${MKIPFILTER} != "no")
SRCS+=	ipf.c
CPPFLAGS+=-DWITH_IPF
.endif

BINDIR= /usr/sbin

.include <bsd.prog.mk>

.PATH: ${NETBSDSRCDIR}/dist/pf/usr.sbin/ftp-proxy
@


1.8
log
@Disable -DWITH_NPF for now; will be converted to BPF mechanism.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2012/09/15 17:46:25 plunky Exp $
d20 2
a21 1
#LDADD+=		-lnpf -lprop
@


1.8.30.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
d20 1
a20 2
#PROGDPLIBS+=	nv ${NETBSDSRCDIR}/external/bsd/libnv/lib
#LDADD+=		-lnpf
@


1.7
log
@does not need -I${NETBSDSRCDIR}/sys/dist/ipf here, the include files
are installed in /usr/include/netinet
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2011/02/04 00:19:52 rmind Exp $
d18 3
a20 3
SRCS+=		npf.c
CPPFLAGS+=	-DWITH_NPF
LDADD+=		-lnpf -lprop
@


1.6
log
@Fix sun2 builds.  Noted by joerg@@.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2011/02/02 02:20:26 rmind Exp $
d26 1
a26 1
CPPFLAGS+=-I${NETBSDSRCDIR}/sys/dist/ipf -DWITH_IPF
@


1.6.6.1
log
@Pull up following revision(s) (requested by rmind in ticket #817):
	usr.sbin/npf/npfctl/npfctl.8: revision 1.12
	usr.sbin/npf/npfctl/npf.conf.5: revision 1.27
	usr.sbin/npf/npfctl/npf_parse.y: revision 1.18
	usr.sbin/npf/npfctl/npf_build.c: revision 1.20
	usr.sbin/npf/npfctl/npfctl.c: revision 1.28
	lib/libnpf/npf.c: revision 1.16
	usr.sbin/npf/npfctl/npfctl.c: revision 1.29
	lib/libnpf/npf.c: revision 1.17
	sys/modules/npf/Makefile: revision 1.12
	sys/net/npf/npf_rproc.c: revision 1.6
	usr.sbin/npf/npftest/README: revision 1.4
	sys/net/npf/npf_tableset.c: revision 1.17
	sys/net/npf/npf_ctl.c: revision 1.21
	sys/net/npf/npf_ctl.c: revision 1.22
	usr.sbin/npf/npfctl/npfctl.h: revision 1.25
	lib/libnpf/npf.h: revision 1.13
	usr.sbin/npf/npftest/npftest.conf: revision 1.2
	usr.sbin/npf/npfctl/npfctl.h: revision 1.26
	sys/net/npf/npf_ruleset.c: revision 1.17
	lib/libnpf/npf.h: revision 1.14
	sys/net/npf/npf_ruleset.c: revision 1.18
	sys/net/npf/npf_conf.c: revision 1.1
	usr.sbin/npf/npfctl/npf_scan.l: revision 1.10
	sys/net/npf/npf_conf.c: revision 1.2
	sys/net/npf/npf_instr.c: revision 1.16
	sys/net/npf/npf_handler.c: revision 1.26
	sys/net/npf/npf_impl.h: revision 1.26
	usr.sbin/npf/npfctl/npf_disassemble.c: revision 1.14
	sys/net/npf/npf_processor.c: revision 1.15
	sys/net/npf/npf_impl.h: revision 1.27
	sys/net/npf/npf_alg_icmp.c: revision 1.15
	usr.sbin/npf/npfctl/npf_disassemble.c: revision 1.15
	usr.sbin/npf/npfctl/npf_disassemble.c: revision 1.16
	sys/net/npf/npf_ncode.h: revision 1.11
	sys/net/npf/files.npf: revision 1.10
	usr.sbin/npf/npftest/Makefile: revision 1.4
	usr.sbin/npf/npfctl/npfctl.c: revision 1.30
	lib/libnpf/npf.3: revision 1.8
	usr.sbin/npf/npftest/libnpftest/npf_rule_test.c: revision 1.4
	sys/net/npf/npf_session.c: revision 1.21
	usr.sbin/npf/npftest/libnpftest/npf_rule_test.c: revision 1.5
	usr.sbin/npf/npfctl/npf_build.c: revision 1.18
	usr.sbin/npf/npfctl/npf_build.c: revision 1.19
	sys/net/npf/npf_alg.c: revision 1.7
	usr.sbin/npf/npfctl/Makefile: revision 1.10
	sys/net/npf/npf_inet.c: revision 1.21
	sys/net/npf/npf.h: revision 1.26
	sys/net/npf/npf.h: revision 1.27
	usr.sbin/pf/ftp-proxy/Makefile: revision 1.8
	sys/net/npf/npf_nat.c: revision 1.19
	sys/net/npf/npf.c: revision 1.15
	sys/net/npf/npf_state.c: revision 1.14
	sys/net/npf/npf_sendpkt.c: revision 1.14
	sys/rump/net/lib/libnpf/Makefile: revision 1.4
IPv6 linklocal address printing cosmetics
NPF:
- Implement dynamic NPF rules.  Controlled through npf(3) library of via
  npfctl rule command.  A rule can be removed using a unique identifier,
  returned on addition, or using a key which is SHA1 hash of the rule.
  Adjust npftest and add a regression test.
- Improvements to rule inspection mechanism.
- Initial BPF support as an alternative to n-code.
- Minor fixes; bump the version.
Disable -DWITH_NPF for now; will be converted to BPF mechanism.
- Fix NPF config reload with dynamic rules present.
- Implement list and flush commands on a dynamic ruleset.
Allow filtering on IP addresses even if the L4 protocol is unknown.
Patch from spz@@.
npftest: adjust for recent change.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2011/02/04 00:19:52 rmind Exp $
d18 3
a20 3
#SRCS+=		npf.c
#CPPFLAGS+=	-DWITH_NPF
#LDADD+=		-lnpf -lprop
@


1.6.10.1
log
@Resync to 2012-11-19 00:00:00 UTC
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2012/09/15 17:46:25 plunky Exp $
d26 1
a26 1
CPPFLAGS+=-DWITH_IPF
@


1.6.10.2
log
@resync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6.10.1 2012/11/20 03:03:03 tls Exp $
d18 3
a20 3
#SRCS+=		npf.c
#CPPFLAGS+=	-DWITH_NPF
#LDADD+=		-lnpf -lprop
@


1.6.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2011/02/04 00:19:52 rmind Exp $
d26 1
a26 1
CPPFLAGS+=-DWITH_IPF
@


1.6.4.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6.4.1 2012/10/30 19:00:49 yamt Exp $
d18 3
a20 3
#SRCS+=		npf.c
#CPPFLAGS+=	-DWITH_NPF
#LDADD+=		-lnpf -lprop
@


1.5
log
@NPF checkpoint:
- Add libnpf(3) - a library to control NPF (configuration, ruleset, etc).
- Add NPF support for ftp-proxy(8).
- Add rc.d script for NPF.
- Convert npfctl(8) to use libnpf(3) and thus make it less depressive.
  Note: next clean-up step should be a parser, once dholland@@ will finish it.
- Add more documentation.
- Various fixes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2009/04/22 15:23:06 lukem Exp $
d20 1
a20 1
LDADD+=		-lnpf
@


1.4
log
@Enable WARNS=4 by default, except for:
	cpuctl  dumplfs  hprop  ipf  iprop-log  kadmin  kcm  kdc  kdigest
	kimpersonate  kstash  ktutil  makefs  ndbootd  ntp  pppd  quot
	racoon  racoonctl  rtadvd  sntp  sup  tcpdchk  tcpdmatch  tcpdump
	traceroute  traceroute6  user  veriexecgen  wsmoused  zic
(Mostly third-party applications)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2008/06/18 09:06:28 yamt Exp $
d16 7
@


1.4.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2011/02/04 00:19:52 rmind Exp $
a15 7
# NPF support
.if (${MKNPF} != "no")
SRCS+=		npf.c
CPPFLAGS+=	-DWITH_NPF
LDADD+=		-lnpf -lprop
.endif

@


1.3
log
@merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@@.  requested by core@@
@
text
@d1 1
a1 1
#	$NetBSD$
a7 2
WARNS?=	2

@


1.3.6.1
log
@Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2009/04/22 15:23:06 lukem Exp $
d8 2
@


1.2
log
@Add MKIPFILTER; if set to no, don't build and install the ipf(4) programs,
headers and LKM.

Add MKPF; if set to no, don't build and install the pf(4) programs,
headers, LKM and spamd.

Both options default to yes, so nothing changed in the default build.

Reviewed by lukem.
@
text
@d1 2
a2 3
#	$NetBSD: Makefile,v 1.1 2004/11/11 11:54:51 yamt Exp $
#	$OpenBSD: Makefile,v 1.4 2003/11/20 23:23:09 avsm Exp $
#	@@(#)Makefile	8.2 (Berkeley) 4/4/94
d5 1
a5 1
SRCS=	ftp-proxy.c getline.c util.c
d10 4
d24 1
a24 5
CPPFLAGS+=-DLIBWRAP
LDADD+=	-lwrap
DPADD+=	${LIBWRAP}

BINDIR=	/usr/libexec
d28 1
a28 1
.PATH: ${NETBSDSRCDIR}/dist/pf/libexec/ftp-proxy
@


1.2.26.1
log
@Sync w/ -current. 34 merge conflicts to follow.
@
text
@d1 3
a3 2
#	$NetBSD: Makefile,v 1.2 2005/02/22 14:40:02 peter Exp $
#	$OpenBSD: Makefile,v 1.3 2006/11/26 11:31:13 deraadt Exp $
d6 1
a6 1
SRCS=	ftp-proxy.c filter.c
a10 4
CFLAGS+= -I${.CURDIR}
LDADD+=	-levent
DPADD+= ${LIBEVENT}

d21 5
a25 1
BINDIR= /usr/sbin
d29 1
a29 1
.PATH: ${NETBSDSRCDIR}/dist/pf/usr.sbin/ftp-proxy
@


1.2.24.1
log
@Switch to the new libevent based ftp-proxy.
@
text
@d1 3
a3 2
#	$NetBSD$
#	$OpenBSD: Makefile,v 1.3 2006/11/26 11:31:13 deraadt Exp $
d6 1
a6 1
SRCS=	ftp-proxy.c filter.c
a10 4
CFLAGS+= -I${.CURDIR}
LDADD+=	-levent
DPADD+= ${LIBEVENT}

d21 5
a25 1
BINDIR= /usr/sbin
d29 1
a29 1
.PATH: ${NETBSDSRCDIR}/dist/pf/usr.sbin/ftp-proxy
@


1.1
log
@move pf reachover makefiles into usr.sbin/pf.  ok'ed by itojun.

before:
	sbin/pfctl
	usr.sbin/authpf
	usr.sbin/spamdb
	libexec/ftp-proxy
	libexec/spamd
	libexec/spamd-setup
	libexec/spamlogd
after:
	usr.sbin/pf/pfctl
	usr.sbin/pf/authpf
	usr.sbin/pf/spamdb
	usr.sbin/pf/ftp-proxy
	usr.sbin/pf/spamd
	usr.sbin/pf/spamd-setup
	usr.sbin/pf/spamlogd
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2004/11/11 10:30:13 yamt Exp $
d13 4
a16 1
# ipfilter support
d18 2
a19 1
CPPFLAGS+=-I${NETBSDSRCDIR}/sys/dist/ipf
@
