diff options
author | Phil Sutter <phil@nwl.cc> | 2014-06-17 03:07:44 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-18 09:10:35 +0200 |
commit | 6d5d022dfb9fab36001811b106755b44c386abfa (patch) | |
tree | 98632df92e3b169811e51f776e2bc736abc4ee2b | |
parent | 24dbabef0044b976454623d8355f7d2c40e31ef4 (diff) |
package/iptables: install missing connlabel.conf
Otherwise the iptables utility will complain. Installed file is just a
sample, but must not be empty so better than nothing.
Signed-off-by: Phil Sutter <phil@nwl.cc>
-rw-r--r-- | package/iptables/Makefile | 5 | ||||
-rw-r--r-- | package/iptables/files/connlabel.conf | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile index 553f52ca3..7398596b6 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk PKG_NAME:= iptables PKG_VERSION:= 1.4.21 -PKG_RELEASE:= 6 +PKG_RELEASE:= 7 PKG_MD5SUM:= 536d048c8e8eeebcd9757d0863ebb0c0 PKG_DESCR:= netfilter firewalling software PKG_SECTION:= net/firewall @@ -30,8 +30,9 @@ TARGET_LDFLAGS+= -fPIC CONFIGURE_ARGS+= --enable-devel iptables-install: - ${INSTALL_DIR} ${IDIR_IPTABLES}/{usr/lib,etc,usr/sbin} + ${INSTALL_DIR} ${IDIR_IPTABLES}/{usr/lib,etc/xtables,usr/sbin} ${INSTALL_DATA} ./files/firewall.conf ${IDIR_IPTABLES}/etc + ${INSTALL_DATA} ./files/connlabel.conf ${IDIR_IPTABLES}/etc/xtables ${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} \ diff --git a/package/iptables/files/connlabel.conf b/package/iptables/files/connlabel.conf new file mode 100644 index 000000000..37ba97380 --- /dev/null +++ b/package/iptables/files/connlabel.conf @@ -0,0 +1,4 @@ +0 lan-in +1 lan-out +2 wan-in +3 wan-out |