summaryrefslogtreecommitdiff
path: root/package/iptables/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/iptables/Makefile')
-rw-r--r--package/iptables/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index b8e1df9c2..0548aad57 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= iptables
PKG_VERSION:= 1.4.5
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 44f13990132c20299c1994cd6f425140
PKG_DESCR:= The netfilter firewalling software
PKG_SECTION:= net
@@ -24,7 +24,6 @@ include ${TOPDIR}/mk/package.mk
#include ${LINUX_DIR}/.config
$(eval $(call PKG_template,IPTABLES,iptables,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,IPTABLES_UTILS,iptables-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,IP6TABLES,ip6tables,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
@@ -32,21 +31,16 @@ CONFIGURE_ARGS+= --enable-devel
BUILD_STYLE:= auto
INSTALL_STYLE:= auto
-SUB_INSTALL-${ADK_PACKAGE_IPTABLES_UTILS}+= iptables-utils-install
SUB_INSTALL-${ADK_PACKAGE_IP6TABLES}+= ip6tables-install
post-install: ${SUB_INSTALL-m} ${SUB_INSTALL-y}
- ${INSTALL_DIR} ${IDIR_IPTABLES}/usr/lib
- ${INSTALL_DIR} ${IDIR_IPTABLES}/usr/sbin
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/iptables ${IDIR_IPTABLES}/usr/sbin/
+ ${INSTALL_DIR} ${IDIR_IPTABLES}/{usr/lib,etc,usr/sbin}
+ ${INSTALL_DATA} ./files/firewall.conf ${IDIR_IPTABLES}/etc
+ ${CP} ${WRKINST}/usr/sbin/iptables* ${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/libxtables.so* ${IDIR_IPTABLES}/usr/lib
-iptables-utils-install:
- ${INSTALL_DIR} ${IDIR_IPTABLES_UTILS}/usr/sbin
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/iptables-{save,restore} ${IDIR_IPTABLES_UTILS}/usr/sbin/
-
ip6tables-install:
${INSTALL_DIR} ${IDIR_IP6TABLES}/usr/lib
${INSTALL_DIR} ${IDIR_IP6TABLES}/usr/sbin