- # Iptables doesn't install all headers
- mkdir -p /usr/include/net/netfilter
- cp -f $(DIR_APP)/include/net/netfilter/*.h /usr/include/net/netfilter/
- mkdir -p /usr/include/iptables
- cp -f $(DIR_APP)/include/iptables/*.h /usr/include/iptables/
- cp -f $(DIR_APP)/include/iptables.h /usr/include/
- mkdir -p /usr/include/libipulog
- cp -f $(DIR_APP)/include/libipulog/*.h /usr/include/libipulog/
- mkdir -p /usr/include/libiptc
- cp -f $(DIR_APP)/include/libiptc/*.h /usr/include/libiptc/
-
- cd $(DIR_SRC) && tar xfj $(DIR_DL)/libnfnetlink-1.0.0.tar.bz2
- cd $(DIR_SRC)/libnfnetlink-1.0.0 && ./configure --prefix=/usr
- cd $(DIR_SRC)/libnfnetlink-1.0.0 && make $(MAKETUNING) $(EXTRA_MAKE)
- cd $(DIR_SRC)/libnfnetlink-1.0.0 && make install
-
- cd $(DIR_SRC) && tar xfj $(DIR_DL)/libnetfilter_queue-0.0.17.tar.bz2
- cd $(DIR_SRC)/libnetfilter_queue-0.0.17 && ./configure --prefix=/usr
- cd $(DIR_SRC)/libnetfilter_queue-0.0.17 && make $(MAKETUNING) $(EXTRA_MAKE)
- cd $(DIR_SRC)/libnetfilter_queue-0.0.17 && make install
-
- @rm -rf $(DIR_APP) $(DIR_SRC)/libnfnetlink-1.0.0 $(DIR_SRC)/netfilter-layer7* $(DIR_SRC)/libnetfilter_queue-0.0.17