Browse Source

jool: package missing components

Jool as well as the jool-siit package depend on jool-common, which isn't
currently built nur packages up. Compile and include jool-common with
the jool package to fix this.

The iptables component is currently also not packaged up. Fix this also.

Signed-off-by: David Bauer <mail@david-bauer.net>
lilik-openwrt-22.03
David Bauer 5 years ago
parent
commit
1a85f72e51
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      net/jool/Makefile

+ 14
- 0
net/jool/Makefile View File

@ -40,6 +40,13 @@ define Build/Compile
SUBDIRS="$(PKG_BUILD_DIR)/src/mod/siit" \ SUBDIRS="$(PKG_BUILD_DIR)/src/mod/siit" \
V="$(V)" \ V="$(V)" \
modules modules
$(MAKE) -C "$(LINUX_DIR)" \
KERNEL_DIR="$(LINUX_DIR)" \
ARCH="$(LINUX_KARCH)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
SUBDIRS="$(PKG_BUILD_DIR)/src/mod/common" \
V="$(V)" \
modules
$(call Build/Compile/Default) $(call Build/Compile/Default)
endef endef
@ -75,6 +82,7 @@ define KernelPackage/jool
+kmod-nf-conntrack6 \ +kmod-nf-conntrack6 \
+kmod-nf-ipt +kmod-nf-ipt
FILES:= \ FILES:= \
$(PKG_BUILD_DIR)/src/mod/common/jool_common.$(LINUX_KMOD_SUFFIX) \
$(PKG_BUILD_DIR)/src/mod/nat64/jool.$(LINUX_KMOD_SUFFIX) \ $(PKG_BUILD_DIR)/src/mod/nat64/jool.$(LINUX_KMOD_SUFFIX) \
$(PKG_BUILD_DIR)/src/mod/siit/jool_siit.$(LINUX_KMOD_SUFFIX) $(PKG_BUILD_DIR)/src/mod/siit/jool_siit.$(LINUX_KMOD_SUFFIX)
endef endef
@ -110,6 +118,12 @@ define Package/jool-tools/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/jool $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/jool $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/joold $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/joold $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/jool_siit $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/jool_siit $(1)/usr/bin/
$(INSTALL_DIR) $(1)/usr/lib/iptables
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/iptables/libxt_JOOL_SIIT.so \
$(1)/usr/lib/iptables
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/iptables/libxt_JOOL.so \
$(1)/usr/lib/iptables
endef endef
$(eval $(call BuildPackage,jool)) $(eval $(call BuildPackage,jool))


Loading…
Cancel
Save