123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= iptables
- PKG_VERSION:= 1.4.21
- PKG_RELEASE:= 6
- PKG_MD5SUM:= 536d048c8e8eeebcd9757d0863ebb0c0
- PKG_DESCR:= netfilter firewalling software
- PKG_SECTION:= net/firewall
- PKG_DEPENDS:= libnetfilter_conntrack libmnl libnfnetlink
- PKG_BUILDDEP:= autotool libnetfilter_conntrack
- PKG_URL:= http://www.netfilter.org/
- PKG_SITES:= http://www.netfilter.org/projects/iptables/files/
- PKG_OPTS:= dev
- DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
- include ${TOPDIR}/mk/package.mk
- # right now default extensions are builtin
- # use --disable-static in CONFIGURE_ARGS to change and optimize package
- #include ${LINUX_DIR}/.config
- $(eval $(call PKG_template,IPTABLES,iptables,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
- AUTOTOOL_STYLE:= autoreconf
- TARGET_LDFLAGS+= -fPIC
- CONFIGURE_ARGS+= --enable-devel
- iptables-install:
- ${INSTALL_DIR} ${IDIR_IPTABLES}/{usr/lib,etc,usr/sbin}
- ${INSTALL_DATA} ./files/firewall.conf ${IDIR_IPTABLES}/etc
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/iptables ${IDIR_IPTABLES}/usr/sbin
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/ip6tables ${IDIR_IPTABLES}/usr/sbin
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/iptables-{save,restore} \
- ${IDIR_IPTABLES}/usr/sbin
- ${CP} ${WRKINST}/usr/sbin/xtables-multi ${IDIR_IPTABLES}/usr/sbin
- ${CP} ${WRKINST}/usr/lib/libiptc.so* ${IDIR_IPTABLES}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libip4tc.so* ${IDIR_IPTABLES}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libip6tc.so* ${IDIR_IPTABLES}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libxtables.so* ${IDIR_IPTABLES}/usr/lib
- include ${TOPDIR}/mk/pkg-bottom.mk
|