Browse Source

openvswitch: add openvswitch-ipsesc package back

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lilik-openwrt-22.03
Alexandru Ardelean 10 years ago
committed by Alexandru Ardelean
parent
commit
cfa1b5e17b
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      net/openvswitch/Makefile

+ 17
- 0
net/openvswitch/Makefile View File

@ -67,6 +67,17 @@ define Package/openvswitch-python/description
Provides bindings and libraries for using Python to manipulate/work with Open vSwitch. Provides bindings and libraries for using Python to manipulate/work with Open vSwitch.
endef endef
define Package/openvswitch-ipsec
$(call Package/openvswitch/Default)
TITLE:=Open vSwitch Userspace Package
DEPENDS:=@PACKAGE_openvswitch +PACKAGE_openvswitch:openvswitch-python
endef
define Package/openvswitch-ipsec/description
The ovs-monitor-ipsec script provides support for encrypting GRE tunnels with
IPsec.
endef
define Package/openvswitch-benchmark define Package/openvswitch-benchmark
$(call Package/openvswitch/Default) $(call Package/openvswitch/Default)
TITLE:=Open vSwitch Userspace Package TITLE:=Open vSwitch Userspace Package
@ -157,6 +168,11 @@ define Package/openvswitch-python/install
$(CP) $(PKG_BUILD_DIR)/python/ovs/ $(1)/usr/lib/python$(PYTHON_VERSION)/ $(CP) $(PKG_BUILD_DIR)/python/ovs/ $(1)/usr/lib/python$(PYTHON_VERSION)/
endef endef
define Package/openvswitch-ipsec/install
$(INSTALL_DIR) $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/debian/ovs-monitor-ipsec $(1)/usr/sbin/
endef
define Package/openvswitch-benchmark/install define Package/openvswitch-benchmark/install
$(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_DIR) $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/utilities/.libs/ovs-benchmark $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/utilities/.libs/ovs-benchmark $(1)/usr/bin/
@ -169,6 +185,7 @@ endef
$(eval $(call BuildPackage,openvswitch)) $(eval $(call BuildPackage,openvswitch))
$(eval $(call BuildPackage,openvswitch-python)) $(eval $(call BuildPackage,openvswitch-python))
$(eval $(call BuildPackage,openvswitch-ipsec))
$(eval $(call BuildPackage,openvswitch-benchmark)) $(eval $(call BuildPackage,openvswitch-benchmark))
$(eval $(call KernelPackage,openvswitch)) $(eval $(call KernelPackage,openvswitch))

Loading…
Cancel
Save