summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-12-05 01:57:09 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-12-05 01:58:03 +0100
commit5d1fa7fd4ad18efaa19259fb6277de020057cef5 (patch)
treecfd83cf489e59d728e34fe14c378fe1b01568bfc /package
parent2ece66c90281bb1475b8134cead332471baadae5 (diff)
iptables: use $(CP) for symlinks
Diffstat (limited to 'package')
-rw-r--r--package/iptables/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index 0ea807583..498dc5a98 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -5,7 +5,7 @@ include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= iptables
PKG_VERSION:= 1.6.0
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_HASH:= 4bb72a0a0b18b5a9e79e87631ddc4084528e5df236bc7624472dcaa8480f1c60
PKG_DESCR:= netfilter firewalling software
PKG_SECTION:= net/firewall
@@ -21,10 +21,6 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
include ${ADK_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
@@ -36,9 +32,9 @@ iptables-install:
${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} \
+ ${CP} ${WRKINST}/usr/sbin/iptables ${IDIR_IPTABLES}/usr/sbin
+ ${CP} ${WRKINST}/usr/sbin/ip6tables ${IDIR_IPTABLES}/usr/sbin
+ ${CP} ${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