Browse Source

strongswan: add vici plugin

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
lilik-openwrt-22.03
Stijn Tintel 8 years ago
parent
commit
4bb5d8d892
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      net/strongswan/Makefile

+ 9
- 0
net/strongswan/Makefile View File

@ -86,6 +86,7 @@ PKG_MOD_AVAILABLE:= \
unity \ unity \
uci \ uci \
updown \ updown \
vici \
whitelist \ whitelist \
x509 \ x509 \
xauth-eap \ xauth-eap \
@ -203,6 +204,7 @@ $(call Package/strongswan/Default)
+strongswan-mod-uci \ +strongswan-mod-uci \
+strongswan-mod-unity \ +strongswan-mod-unity \
+strongswan-mod-updown \ +strongswan-mod-updown \
+strongswan-mod-vici \
+strongswan-mod-whitelist \ +strongswan-mod-whitelist \
+strongswan-mod-x509 \ +strongswan-mod-x509 \
+strongswan-mod-xauth-eap \ +strongswan-mod-xauth-eap \
@ -521,6 +523,12 @@ define Plugin/updown/install
$(INSTALL_DIR) $(1)/etc $(INSTALL_DIR) $(1)/etc
endef endef
define Plugin/vici/install
$(INSTALL_DIR) $(1)/usr/lib/ipsec/plugins
$(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/libvici.so $(1)/usr/lib/ipsec/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/plugins/libstrongswan-vici.so $(1)/usr/lib/ipsec/plugins/
endef
define Plugin/whitelist/install define Plugin/whitelist/install
$(INSTALL_DIR) $(1)/usr/lib/ipsec/plugins $(INSTALL_DIR) $(1)/usr/lib/ipsec/plugins
$(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/whitelist $(1)/usr/lib/ipsec/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/whitelist $(1)/usr/lib/ipsec/
@ -610,6 +618,7 @@ $(eval $(call BuildPlugin,test-vectors,crypto test vectors,))
$(eval $(call BuildPlugin,uci,UCI config interface,+PACKAGE_strongswan-mod-uci:libuci)) $(eval $(call BuildPlugin,uci,UCI config interface,+PACKAGE_strongswan-mod-uci:libuci))
$(eval $(call BuildPlugin,unity,Cisco Unity extension,)) $(eval $(call BuildPlugin,unity,Cisco Unity extension,))
$(eval $(call BuildPlugin,updown,updown firewall,)) $(eval $(call BuildPlugin,updown,updown firewall,))
$(eval $(call BuildPlugin,vici,Versatile IKE Configuration Interface,))
$(eval $(call BuildPlugin,whitelist,peer identity whitelisting,)) $(eval $(call BuildPlugin,whitelist,peer identity whitelisting,))
$(eval $(call BuildPlugin,x509,x509 certificate,)) $(eval $(call BuildPlugin,x509,x509 certificate,))
$(eval $(call BuildPlugin,xauth-eap,EAP XAuth backend,)) $(eval $(call BuildPlugin,xauth-eap,EAP XAuth backend,))


Loading…
Cancel
Save