summaryrefslogtreecommitdiff
path: root/package/iptables/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-01 19:40:13 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-01 19:40:13 +0100
commiteb10ac0e97c1e5e98ce73a1966c97a7cedb9d086 (patch)
treef25892b4f15ef322487a2b00d674c255d148539c /package/iptables/Makefile
parentb3a54c520195f3cab1109cb90de8179e4dff433f (diff)
use pkill for startup scripts
- seems to solve the issue, that the same init script get killed otherwise - fine tune dansguardian, squid and iptables package - add default firewall config file (from freewrt) - add an example for transparent proxy via an ethernet bridge
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