Skip to content

Commit

Permalink
Revert "strongswan: add strongswan-mod-socket"
Browse files Browse the repository at this point in the history
The original PR for this change is openwrt#16373, where it's cleary stated it
doesn't work. This should have never been merged. It causes the
following recursive dependency:

tmp/.config-package.in:122354:error: recursive dependency detected!
tmp/.config-package.in:122354:  symbol PACKAGE_strongswan-default depends on PACKAGE_strongswan-mod-socket-default
tmp/.config-package.in:123534:  symbol PACKAGE_strongswan-mod-socket-default is selected by PACKAGE_strongswan-default

This reverts commit 603f70e.

Signed-off-by: Stijn Tintel <[email protected]>
  • Loading branch information
stintel committed Aug 16, 2022
1 parent ca78c20 commit d960988
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions net/strongswan/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ endef
define Package/strongswan-charon
$(call Package/strongswan/Default)
TITLE+= IKEv1/IKEv2 keying daemon
DEPENDS:= strongswan strongswan-mod-socket
DEPENDS:= strongswan
endef

define Package/strongswan-charon/description
Expand Down Expand Up @@ -454,9 +454,6 @@ define BuildPlugin
$$(call Package/strongswan/Default)
TITLE:= StrongSwan $(2) plugin
DEPENDS:= strongswan $(3)
ifneq ($(4),)
PROVIDES:=strongswan-mod-$(4)
endif
endef

define Package/strongswan-mod-$(1)/install
Expand All @@ -472,13 +469,6 @@ endif
$$(eval $$(call BuildPackage,strongswan-mod-$(1)))
endef

define BuildPluginProvides
ifeq ($(4),)
$$(error BuildPluginProvides requires provider suffix)
endif
$(call BuildPlugin,$1,$2,$3,$4)
endef

CONFIGURE_ARGS+= \
--disable-scripts \
--disable-static \
Expand Down Expand Up @@ -746,8 +736,8 @@ $(eval $(call BuildPlugin,sha1,SHA1 crypto,))
$(eval $(call BuildPlugin,sha2,SHA2 crypto,))
$(eval $(call BuildPlugin,sha3,SHA3 and SHAKE crypto,))
$(eval $(call BuildPlugin,smp,SMP configuration and control interface,+PACKAGE_strongswan-mod-smp:libxml2))
$(eval $(call BuildPluginProvides,socket-default,default socket implementation for charon,,socket))
$(eval $(call BuildPluginProvides,socket-dynamic,dynamic socket implementation for charon,,socket))
$(eval $(call BuildPlugin,socket-default,default socket implementation for charon,))
$(eval $(call BuildPlugin,socket-dynamic,dynamic socket implementation for charon,))
$(eval $(call BuildPlugin,sql,SQL database interface,))
$(eval $(call BuildPlugin,sqlite,SQLite database interface,+strongswan-mod-sql +PACKAGE_strongswan-mod-sqlite:libsqlite3))
$(eval $(call BuildPlugin,sshkey,SSH key decoding,))
Expand Down

0 comments on commit d960988

Please sign in to comment.