pkgsrc-wip/iptables/Makefile
Jeremy C. Reed 2f1df155b9 Update to iptables-1.2.9. The changes are:
- ip(6)tables-save/restore: fix memory leaks
- ip6tables: fix printout of odd length netmasks
- condition match: fix iptables-save
- fuzzy match: fix ip(6)tables-save
- mac match: fix ip(6)tables-save if used inverted (!)
- ip6tables udp match: check for invalid port ranges
- LOG target: fix iptables-save (save loglevel numerically)
- mport match: fix iptables-save (save numerically)
- libipq: fix ipq_id_t definition on 'real' 64bit/64bit architectures
- libip6tc: fix ipv6_prefix_length endianness bugs
- MASQUERADE target: don't accept negative port numbers
- physdev match: fix new structure layout for kernel > 2.6.0-test8
- build plugins for connlimit, iprange, realm, CLASSIFY, CONNMARK, NETMAP
- libip(6)tc: Speedup due to inceremental chain cache updates
- recent match: Update to version 0.3.1 that was submitted to the kernel
- physdev match: add --physdev-is-{in,out,bridge} option
- REJECT target: add support for ICMP administratively prohibited
- conntrack match: add suport for CONFIRMED / unconfirmed state
- ROUTE target: new option: continue traversal
- varios cosmetic cleanups
- iptables/libiptc: add support for the new 'raw' table

Allow manpages to install to custom location.

Get rid of hard-coded KERNEL_DIR from a non-existing local directory.
(This needs to be improved to use linux-kernel-headers package
if needed.)
2004-06-04 19:40:28 +00:00

39 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2004/06/04 19:40:28 jeremy-c-reed Exp $
DISTNAME= iptables-1.2.9
CATEGORIES= security
MASTER_SITES= http://www.netfilter.org/files/
MASTER_SITES+= ftp://ftp.netfilter.org/pub/iptables/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://www.netfilter.org/
COMMENT= Interface to Linux netfilter firewalling subsystem
# This package requires a Linux 2.4.4 kernel, or above.
ONLY_FOR_PLATFORM= Linux-[2-9]*-*
USE_GNU_TOOLS+= make
NO_CONFIGURE= YES
PKGMANDIR?= man # until this in official pkgsrc
do-build:
cd ${WRKSRC} && \
${GMAKE} BINDIR=${LOCALBASE}/bin LIBDIR=${LOCALBASE}/lib \
MANDIR=${LOCALBASE}/${PKGMANDIR}
do-install:
cd ${WRKSRC} && \
${GMAKE} BINDIR=${LOCALBASE}/bin LIBDIR=${LOCALBASE}/lib \
MANDIR=${LOCALBASE}/${PKGMANDIR} install
# If you are a developer, you can install the headers, development libraries
# and associated development man pages, with:
# make install-devel
# If you want to build a statically linked version of the iptables binary,
# without the need for loading the plugins at runtime (e.g. for an embedded
# device or router-on-a-disk), please use
# make NO_SHARED_LIBS=1
.include "../../mk/bsd.pkg.mk"