python3: update to 3.11.10
[openadk.git] / package / iptables / Makefile
blobf6e0ad777740ce4e111a63ac60bb3852d61f6f9c
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= iptables
7 PKG_VERSION:= 1.8.10
8 PKG_RELEASE:= 1
9 PKG_HASH:= 5cc255c189356e317d070755ce9371eb63a1b783c34498fb8c30264f3cc59c9c
10 PKG_DESCR:= netfilter firewalling software
11 PKG_SECTION:= net/firewall
12 PKG_DEPENDS:= libnetfilter_conntrack libmnl libnfnetlink
13 PKG_KDEPENDS:= ip-nf-iptables ip-nf-filter ip-nf-nat nf-conntrack-ipv4
14 PKG_KDEPENDS+= ip-nf-target-reject ip-nf-target-masquerade
15 PKG_BUILDDEP:= libnetfilter_conntrack pkgconf-host
16 PKG_URL:= http://www.netfilter.org/
17 PKG_SITES:= http://www.netfilter.org/projects/iptables/files/
18 PKG_OPTS:= dev
20 include ${ADK_TOPDIR}/mk/package.mk
22 $(eval $(call PKG_template,IPTABLES,iptables,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
24 TARGET_LDFLAGS+= -fPIC
25 CONFIGURE_ARGS+= --enable-devel \
26 --disable-nftables
28 iptables-install:
29 ${INSTALL_DIR} ${IDIR_IPTABLES}/{usr/lib,etc/xtables,usr/sbin}
30 ${INSTALL_DATA} ./files/firewall.conf ${IDIR_IPTABLES}/etc
31 ${INSTALL_DATA} ./files/connlabel.conf ${IDIR_IPTABLES}/etc/xtables
32 ${CP} ${WRKINST}/usr/sbin/xtables-legacy-multi ${IDIR_IPTABLES}/usr/sbin
33 ${CP} ${WRKINST}/usr/sbin/iptables ${IDIR_IPTABLES}/usr/sbin
34 ${CP} ${WRKINST}/usr/sbin/ip6tables ${IDIR_IPTABLES}/usr/sbin
35 ${CP} ${WRKINST}/usr/sbin/iptables-{save,restore} \
36 ${IDIR_IPTABLES}/usr/sbin
37 ${CP} ${WRKINST}/usr/lib/libip4tc.so* ${IDIR_IPTABLES}/usr/lib
38 ${CP} ${WRKINST}/usr/lib/libip6tc.so* ${IDIR_IPTABLES}/usr/lib
39 ${CP} ${WRKINST}/usr/lib/libxtables.so* ${IDIR_IPTABLES}/usr/lib
40 ${CP} ${WRKINST}/usr/lib/xtables ${IDIR_IPTABLES}/usr/lib
42 include ${ADK_TOPDIR}/mk/pkg-bottom.mk