You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

528 lines
16 KiB

  1. #
  2. # Copyright (C) 2012-2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=strongswan
  9. PKG_VERSION:=5.3.3
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  12. PKG_SOURCE_URL:=http://download.strongswan.org/ http://download2.strongswan.org/
  13. PKG_MD5SUM:=5a25f3d1c31a77ef44d14a2e7b3eaad0
  14. PKG_LICENSE:=GPL-2.0+
  15. PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org>
  16. PKG_MOD_AVAILABLE:= \
  17. addrblock \
  18. aes \
  19. af-alg \
  20. agent \
  21. attr \
  22. attr-sql \
  23. blowfish \
  24. ccm \
  25. cmac \
  26. constraints \
  27. coupling \
  28. ctr \
  29. curl \
  30. des \
  31. dhcp \
  32. dnskey \
  33. duplicheck \
  34. eap-identity \
  35. eap-md5 \
  36. eap-mschapv2 \
  37. eap-radius \
  38. eap-tls \
  39. farp \
  40. fips-prf \
  41. gcm \
  42. gcrypt \
  43. gmp \
  44. ha \
  45. hmac \
  46. kernel-libipsec \
  47. kernel-netlink \
  48. ldap \
  49. led \
  50. load-tester \
  51. nonce \
  52. md4 \
  53. md5 \
  54. mysql \
  55. openssl \
  56. pem \
  57. pgp \
  58. pkcs1 \
  59. pkcs7 \
  60. pkcs8 \
  61. pkcs11 \
  62. pkcs12 \
  63. pubkey \
  64. random \
  65. rc2 \
  66. resolve \
  67. revocation \
  68. sha1 \
  69. sha2 \
  70. smp \
  71. socket-default \
  72. socket-dynamic \
  73. sql \
  74. sqlite \
  75. sshkey \
  76. stroke \
  77. test-vectors \
  78. unity \
  79. uci \
  80. updown \
  81. whitelist \
  82. x509 \
  83. xauth-eap \
  84. xauth-generic \
  85. xcbc
  86. PKG_CONFIG_DEPENDS:= \
  87. CONFIG_STRONGSWAN_ROUTING_TABLE \
  88. CONFIG_STRONGSWAN_ROUTING_TABLE_PRIO \
  89. $(patsubst %,CONFIG_PACKAGE_strongswan-mod-%,$(PKG_MOD_AVAILABLE)) \
  90. PKG_FIXUP:=autoreconf
  91. PKG_INSTALL:=1
  92. PKG_BUILD_PARALLEL:=1
  93. include $(INCLUDE_DIR)/package.mk
  94. define Package/strongswan/Default
  95. SUBMENU:=VPN
  96. SECTION:=net
  97. CATEGORY:=Network
  98. TITLE:=StrongSwan
  99. URL:=http://www.strongswan.org/
  100. endef
  101. define Package/strongswan/description/Default
  102. StrongSwan is an OpenSource IPsec implementation for the Linux operating system.
  103. endef
  104. define Package/strongswan
  105. $(call Package/strongswan/Default)
  106. DEPENDS:= +libpthread +ip \
  107. +kmod-crypto-authenc \
  108. +kmod-ipsec +kmod-ipsec4 +IPV6:kmod-ipsec6 \
  109. +kmod-ipt-ipsec +iptables-mod-ipsec
  110. endef
  111. define Package/strongswan/config
  112. source "$(SOURCE)/Config.in"
  113. endef
  114. define Package/strongswan/description
  115. $(call Package/strongswan/description/Default)
  116. This package contains shared libraries and scripts.
  117. endef
  118. define Package/strongswan-full
  119. $(call Package/strongswan/Default)
  120. TITLE+= (full)
  121. DEPENDS:= +strongswan \
  122. +strongswan-charon \
  123. +strongswan-mod-addrblock \
  124. +strongswan-mod-aes \
  125. +strongswan-mod-af-alg \
  126. +strongswan-mod-agent \
  127. +strongswan-mod-attr \
  128. +strongswan-mod-attr-sql \
  129. +strongswan-mod-blowfish \
  130. +strongswan-mod-ccm \
  131. +strongswan-mod-cmac \
  132. +strongswan-mod-constraints \
  133. +strongswan-mod-coupling \
  134. +strongswan-mod-ctr \
  135. +strongswan-mod-curl \
  136. +strongswan-mod-des \
  137. +strongswan-mod-dhcp \
  138. +strongswan-mod-dnskey \
  139. +strongswan-mod-duplicheck \
  140. +strongswan-mod-eap-identity \
  141. +strongswan-mod-eap-md5 \
  142. +strongswan-mod-eap-mschapv2 \
  143. +strongswan-mod-eap-radius \
  144. +strongswan-mod-eap-tls \
  145. +strongswan-mod-farp \
  146. +strongswan-mod-fips-prf \
  147. +strongswan-mod-gcm \
  148. +strongswan-mod-gcrypt \
  149. +strongswan-mod-gmp \
  150. +strongswan-mod-ha \
  151. +strongswan-mod-hmac \
  152. +strongswan-mod-kernel-netlink \
  153. +strongswan-mod-ldap \
  154. +strongswan-mod-led \
  155. +strongswan-mod-load-tester \
  156. +strongswan-mod-nonce \
  157. +strongswan-mod-md4 \
  158. +strongswan-mod-md5 \
  159. +strongswan-mod-mysql \
  160. +strongswan-mod-openssl \
  161. +strongswan-mod-pem \
  162. +strongswan-mod-pgp \
  163. +strongswan-mod-pkcs1 \
  164. +strongswan-mod-pkcs7 \
  165. +strongswan-mod-pkcs8 \
  166. +strongswan-mod-pkcs11 \
  167. +strongswan-mod-pkcs12 \
  168. +strongswan-mod-pubkey \
  169. +strongswan-mod-random \
  170. +strongswan-mod-rc2 \
  171. +strongswan-mod-resolve \
  172. +strongswan-mod-revocation \
  173. +strongswan-mod-sha1 \
  174. +strongswan-mod-sha2 \
  175. +strongswan-mod-smp \
  176. +strongswan-mod-socket-default \
  177. +strongswan-mod-sql \
  178. +strongswan-mod-sqlite \
  179. +strongswan-mod-sshkey \
  180. +strongswan-mod-stroke \
  181. +strongswan-mod-test-vectors \
  182. +strongswan-mod-uci \
  183. +strongswan-mod-unity \
  184. +strongswan-mod-updown \
  185. +strongswan-mod-whitelist \
  186. +strongswan-mod-x509 \
  187. +strongswan-mod-xauth-eap \
  188. +strongswan-mod-xauth-generic \
  189. +strongswan-mod-xcbc \
  190. +strongswan-utils \
  191. @DEVEL
  192. endef
  193. define Package/strongswan-full/description
  194. $(call Package/strongswan/description/Default)
  195. This meta-package contains dependencies for all of the strongswan plugins
  196. except kernel-libipsec,
  197. socket-dynamic and which are ommitted in favor of the kernel-netlink and
  198. socket-default plugins.
  199. endef
  200. define Package/strongswan-default
  201. $(call Package/strongswan/Default)
  202. TITLE+= (default)
  203. DEPENDS:= +strongswan \
  204. +strongswan-charon \
  205. +strongswan-mod-aes \
  206. +strongswan-mod-attr \
  207. +strongswan-mod-constraints \
  208. +strongswan-mod-des \
  209. +strongswan-mod-dnskey \
  210. +strongswan-mod-fips-prf \
  211. +strongswan-mod-gmp \
  212. +strongswan-mod-hmac \
  213. +strongswan-mod-kernel-netlink \
  214. +strongswan-mod-md5 \
  215. +strongswan-mod-nonce \
  216. +strongswan-mod-pem \
  217. +strongswan-mod-pgp \
  218. +strongswan-mod-pkcs1 \
  219. +strongswan-mod-pubkey \
  220. +strongswan-mod-random \
  221. +strongswan-mod-rc2 \
  222. +strongswan-mod-resolve \
  223. +strongswan-mod-revocation \
  224. +strongswan-mod-sha1 \
  225. +strongswan-mod-sha2 \
  226. +strongswan-mod-socket-default \
  227. +strongswan-mod-sshkey \
  228. +strongswan-mod-stroke \
  229. +strongswan-mod-updown \
  230. +strongswan-mod-x509 \
  231. +strongswan-mod-xauth-generic \
  232. +strongswan-mod-xcbc \
  233. +strongswan-utils
  234. endef
  235. define Package/strongswan-default/description
  236. $(call Package/strongswan/description/Default)
  237. This meta-package contains only dependencies to match upstream defaults.
  238. endef
  239. define Package/strongswan-minimal
  240. $(call Package/strongswan/Default)
  241. TITLE+= (minimal)
  242. DEPENDS:= +strongswan \
  243. +strongswan-charon \
  244. +strongswan-mod-aes \
  245. +strongswan-mod-gmp \
  246. +strongswan-mod-hmac \
  247. +strongswan-mod-kernel-netlink \
  248. +strongswan-mod-nonce \
  249. +strongswan-mod-pubkey \
  250. +strongswan-mod-random \
  251. +strongswan-mod-sha1 \
  252. +strongswan-mod-socket-default \
  253. +strongswan-mod-stroke \
  254. +strongswan-mod-updown \
  255. +strongswan-mod-x509 \
  256. +strongswan-mod-xcbc
  257. endef
  258. define Package/strongswan-minimal/description
  259. $(call Package/strongswan/description/Default)
  260. This meta-package contains only dependencies for a minimal IKEv2 setup.
  261. endef
  262. define Package/strongswan-charon
  263. $(call Package/strongswan/Default)
  264. TITLE+= IKEv1/IKEv2 keying daemon
  265. DEPENDS:= +strongswan
  266. endef
  267. define Package/strongswan-charon/description
  268. $(call Package/strongswan/description/Default)
  269. This package contains charon, an IKEv2 keying daemon.
  270. endef
  271. define Package/strongswan-utils
  272. $(call Package/strongswan/Default)
  273. TITLE+= utilities
  274. DEPENDS:= +strongswan
  275. endef
  276. define Package/strongswan-utils/description
  277. $(call Package/strongswan/description/Default)
  278. This package contains the pki & scepclient utilities.
  279. endef
  280. define Package/strongswan-libtls
  281. $(call Package/strongswan/Default)
  282. TITLE+= libtls
  283. DEPENDS:= +strongswan
  284. endef
  285. define Package/strongswan-libtls/description
  286. $(call Package/strongswan/description/Default)
  287. This package contains libtls for strongSwan plugins eap-tls, eap-ttls,
  288. eap-peap, tnc-tnccs
  289. endef
  290. define BuildPlugin
  291. define Package/strongswan-mod-$(1)
  292. $$(call Package/strongswan/Default)
  293. TITLE:= StrongSwan $(2) plugin
  294. DEPENDS:= +strongswan $(3)
  295. endef
  296. define Package/strongswan-mod-$(1)/install
  297. $(INSTALL_DIR) $$(1)/etc/strongswan.d/charon
  298. if [ -f $(PKG_INSTALL_DIR)/etc/strongswan.d/charon/$(1).conf ]; then \
  299. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/strongswan.d/charon/$(1).conf $$(1)/etc/strongswan.d/charon/; fi
  300. $(INSTALL_DIR) $$(1)/usr/lib/ipsec/plugins
  301. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/plugins/libstrongswan-$(1).so \
  302. $$(1)/usr/lib/ipsec/plugins/
  303. $(call Plugin/$(1)/install,$$(1))
  304. endef
  305. $$(eval $$(call BuildPackage,strongswan-mod-$(1)))
  306. endef
  307. CONFIGURE_ARGS+= \
  308. --disable-scripts \
  309. --disable-static \
  310. --disable-fast \
  311. --with-systemdsystemunitdir=no \
  312. $(if $(CONFIG_PACKAGE_strongswan-utils),--enable-pki --enable-scepclient,--disable-pki --disable-scepclient) \
  313. --with-random-device=/dev/random \
  314. --with-urandom-device=/dev/urandom \
  315. --with-routing-table="$(call qstrip,$(CONFIG_STRONGSWAN_ROUTING_TABLE))" \
  316. --with-routing-table-prio="$(call qstrip,$(CONFIG_STRONGSWAN_ROUTING_TABLE_PRIO))" \
  317. $(foreach m,$(PKG_MOD_AVAILABLE), \
  318. $(if $(CONFIG_PACKAGE_strongswan-mod-$(m)),--enable-$(m),--disable-$(m)) \
  319. )
  320. EXTRA_LDFLAGS+= -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
  321. define Package/strongswan/conffiles
  322. /etc/ipsec.conf
  323. /etc/ipsec.secrets
  324. /etc/ipsec.user
  325. /etc/strongswan.conf
  326. endef
  327. define Package/strongswan/install
  328. $(INSTALL_DIR) $(1)/etc
  329. $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/ipsec.conf $(1)/etc/
  330. $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/strongswan.conf $(1)/etc/
  331. $(INSTALL_DIR) $(1)/usr/lib/ipsec
  332. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/{libstrongswan.so.*,libhydra.so.*} $(1)/usr/lib/ipsec/
  333. $(INSTALL_CONF) ./files/ipsec.secrets $(1)/etc/
  334. $(INSTALL_CONF) ./files/ipsec.user $(1)/etc/
  335. $(INSTALL_DIR) $(1)/etc/init.d
  336. $(INSTALL_BIN) ./files/ipsec.init $(1)/etc/init.d/ipsec
  337. endef
  338. define Package/strongswan-default/install
  339. true
  340. endef
  341. define Package/strongswan-full/install
  342. true
  343. endef
  344. define Package/strongswan-minimal/install
  345. true
  346. endef
  347. define Package/strongswan-charon/install
  348. $(INSTALL_DIR) $(1)/usr/lib/ipsec
  349. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/ipsec/charon $(1)/usr/lib/ipsec/
  350. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/libcharon.so.* $(1)/usr/lib/ipsec/
  351. endef
  352. define Package/strongswan-utils/install
  353. $(INSTALL_DIR) $(1)/usr/sbin
  354. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ipsec $(1)/usr/sbin/
  355. $(INSTALL_DIR) $(1)/usr/bin
  356. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pki $(1)/usr/bin/
  357. $(INSTALL_DIR) $(1)/usr/lib/ipsec
  358. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/ipsec/scepclient $(1)/usr/lib/ipsec/
  359. endef
  360. define Package/strongswan-libtls/install
  361. $(INSTALL_DIR) $(1)/usr/lib/ipsec
  362. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/libtls.so.* $(1)/usr/lib/ipsec/
  363. endef
  364. define Plugin/duplicheck/install
  365. $(INSTALL_DIR) $(1)/usr/lib/ipsec/plugins
  366. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/duplicheck $(1)/usr/lib/ipsec/
  367. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/plugins/libstrongswan-duplicheck.so $(1)/usr/lib/ipsec/plugins/
  368. endef
  369. define Plugin/eap-radius/install
  370. $(INSTALL_DIR) $(1)/usr/lib/ipsec/plugins
  371. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/libradius.so.* $(1)/usr/lib/ipsec/
  372. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/plugins/libstrongswan-eap-radius.so $(1)/usr/lib/ipsec/plugins/
  373. endef
  374. define Plugin/attr-sql/install
  375. $(INSTALL_DIR) $(1)/usr/lib/ipsec
  376. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/pool $(1)/usr/lib/ipsec/
  377. endef
  378. define Plugin/stroke/install
  379. $(INSTALL_DIR) $(1)/etc/ipsec.d/aacerts
  380. $(INSTALL_DIR) $(1)/etc/ipsec.d/acerts
  381. $(INSTALL_DIR) $(1)/etc/ipsec.d/cacerts
  382. $(INSTALL_DIR) $(1)/etc/ipsec.d/certs
  383. $(INSTALL_DIR) $(1)/etc/ipsec.d/crls
  384. $(INSTALL_DIR) $(1)/etc/ipsec.d/ocspcerts
  385. $(INSTALL_DIR) $(1)/etc/ipsec.d/private
  386. $(INSTALL_DIR) $(1)/etc/ipsec.d/reqs
  387. $(INSTALL_DIR) $(1)/usr/lib/ipsec/plugins
  388. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/ipsec/{starter,stroke} $(1)/usr/lib/ipsec/
  389. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/plugins/libstrongswan-stroke.so $(1)/usr/lib/ipsec/plugins/
  390. endef
  391. define Plugin/updown/install
  392. $(INSTALL_DIR) $(1)/usr/lib/ipsec/plugins
  393. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/_updown $(1)/usr/lib/ipsec/
  394. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/plugins/libstrongswan-updown.so $(1)/usr/lib/ipsec/plugins/
  395. $(INSTALL_DIR) $(1)/etc
  396. endef
  397. define Plugin/whitelist/install
  398. $(INSTALL_DIR) $(1)/usr/lib/ipsec/plugins
  399. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/whitelist $(1)/usr/lib/ipsec/
  400. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/plugins/libstrongswan-whitelist.so $(1)/usr/lib/ipsec/plugins/
  401. endef
  402. define Plugin/kernel-libipsec/install
  403. $(INSTALL_DIR) $(1)/usr/lib/ipsec
  404. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/libipsec.so.* $(1)/usr/lib/ipsec/
  405. endef
  406. $(eval $(call BuildPackage,strongswan))
  407. $(eval $(call BuildPackage,strongswan-default))
  408. $(eval $(call BuildPackage,strongswan-full))
  409. $(eval $(call BuildPackage,strongswan-minimal))
  410. $(eval $(call BuildPackage,strongswan-charon))
  411. $(eval $(call BuildPackage,strongswan-utils))
  412. $(eval $(call BuildPackage,strongswan-libtls))
  413. $(eval $(call BuildPlugin,addrblock,RFC 3779 address block constraint support,))
  414. $(eval $(call BuildPlugin,aes,AES crypto,))
  415. $(eval $(call BuildPlugin,af-alg,AF_ALG crypto interface to Linux Crypto API,+kmod-crypto-user))
  416. $(eval $(call BuildPlugin,agent,SSH agent signing,))
  417. $(eval $(call BuildPlugin,attr,file based config,))
  418. $(eval $(call BuildPlugin,attr-sql,SQL based config,+strongswan-charon))
  419. $(eval $(call BuildPlugin,blowfish,Blowfish crypto,))
  420. $(eval $(call BuildPlugin,ccm,CCM AEAD wrapper crypto,))
  421. $(eval $(call BuildPlugin,cmac,CMAC crypto,))
  422. $(eval $(call BuildPlugin,constraints,advanced X509 constraint checking,))
  423. $(eval $(call BuildPlugin,coupling,IKEv2 plugin to couple peer certificates permanently to authentication,))
  424. $(eval $(call BuildPlugin,ctr,Counter Mode wrapper crypto,))
  425. $(eval $(call BuildPlugin,curl,cURL fetcher plugin,+PACKAGE_strongswan-mod-curl:libcurl))
  426. $(eval $(call BuildPlugin,des,DES crypto,))
  427. $(eval $(call BuildPlugin,dhcp,DHCP based attribute provider,))
  428. $(eval $(call BuildPlugin,dnskey,DNS RR key decoding,))
  429. $(eval $(call BuildPlugin,duplicheck,advanced duplicate checking,))
  430. $(eval $(call BuildPlugin,eap-identity,EAP identity helper,))
  431. $(eval $(call BuildPlugin,eap-md5,EAP MD5 (CHAP) EAP auth,))
  432. $(eval $(call BuildPlugin,eap-mschapv2,EAP MS-CHAPv2 EAP auth,+strongswan-mod-md4 +strongswan-mod-des))
  433. $(eval $(call BuildPlugin,eap-radius,EAP RADIUS auth,))
  434. $(eval $(call BuildPlugin,eap-tls,EAP TLS auth,+strongswan-libtls))
  435. $(eval $(call BuildPlugin,farp,fake arp respsonses,))
  436. $(eval $(call BuildPlugin,fips-prf,FIPS PRF crypto,+strongswan-mod-sha1))
  437. $(eval $(call BuildPlugin,gcm,GCM AEAD wrapper crypto,))
  438. $(eval $(call BuildPlugin,gcrypt,libgcrypt,+PACKAGE_strongswan-mod-gcrypt:libgcrypt))
  439. $(eval $(call BuildPlugin,gmp,libgmp,+PACKAGE_strongswan-mod-gmp:libgmp))
  440. $(eval $(call BuildPlugin,ha,high availability cluster,))
  441. $(eval $(call BuildPlugin,hmac,HMAC crypto,))
  442. $(eval $(call BuildPlugin,kernel-libipsec,libipsec kernel interface,))
  443. $(eval $(call BuildPlugin,kernel-netlink,netlink kernel interface,))
  444. $(eval $(call BuildPlugin,ldap,LDAP,+PACKAGE_strongswan-mod-ldap:libopenldap))
  445. $(eval $(call BuildPlugin,led,LED blink on IKE activity,))
  446. $(eval $(call BuildPlugin,load-tester,load testing,))
  447. $(eval $(call BuildPlugin,nonce,nonce genereation,))
  448. $(eval $(call BuildPlugin,md4,MD4 crypto,))
  449. $(eval $(call BuildPlugin,md5,MD5 crypto,))
  450. $(eval $(call BuildPlugin,mysql,MySQL database interface,+strongswan-mod-sql +PACKAGE_strongswan-mod-mysql:libmysqlclient-r))
  451. $(eval $(call BuildPlugin,openssl,OpenSSL crypto,+PACKAGE_strongswan-mod-openssl:libopenssl))
  452. $(eval $(call BuildPlugin,pem,PEM decoding,))
  453. $(eval $(call BuildPlugin,pgp,PGP key decoding,))
  454. $(eval $(call BuildPlugin,pkcs1,PKCS1 key decoding,))
  455. $(eval $(call BuildPlugin,pkcs7,PKCS7 key decoding,))
  456. $(eval $(call BuildPlugin,pkcs8,PKCS8 key decoding,))
  457. $(eval $(call BuildPlugin,pkcs11,PKCS11 key decoding,))
  458. $(eval $(call BuildPlugin,pkcs12,PKCS12 key decoding,))
  459. $(eval $(call BuildPlugin,pubkey,raw public key,))
  460. $(eval $(call BuildPlugin,random,RNG,))
  461. $(eval $(call BuildPlugin,rc2,RC2 crypto,))
  462. $(eval $(call BuildPlugin,resolve,DNS resolver,))
  463. $(eval $(call BuildPlugin,revocation,X509 CRL/OCSP revocation,))
  464. $(eval $(call BuildPlugin,sha1,SHA1 crypto,))
  465. $(eval $(call BuildPlugin,sha2,SHA2 crypto,))
  466. $(eval $(call BuildPlugin,smp,SMP configuration and control interface,+PACKAGE_strongswan-mod-smp:libxml2))
  467. $(eval $(call BuildPlugin,socket-default,default socket implementation for charon,))
  468. $(eval $(call BuildPlugin,socket-dynamic,dynamic socket implementation for charon,))
  469. $(eval $(call BuildPlugin,sql,SQL database interface,))
  470. $(eval $(call BuildPlugin,sqlite,SQLite database interface,+strongswan-mod-sql +PACKAGE_strongswan-mod-sqlite:libsqlite3))
  471. $(eval $(call BuildPlugin,sshkey,SSH key decoding,))
  472. $(eval $(call BuildPlugin,stroke,Stroke,+strongswan-utils))
  473. $(eval $(call BuildPlugin,test-vectors,crypto test vectors,))
  474. $(eval $(call BuildPlugin,uci,UCI config interface,+PACKAGE_strongswan-mod-uci:libuci))
  475. $(eval $(call BuildPlugin,unity,Cisco Unity extension,))
  476. $(eval $(call BuildPlugin,updown,updown firewall,))
  477. $(eval $(call BuildPlugin,whitelist,peer identity whitelisting,))
  478. $(eval $(call BuildPlugin,x509,x509 certificate,))
  479. $(eval $(call BuildPlugin,xauth-eap,EAP XAuth backend,))
  480. $(eval $(call BuildPlugin,xauth-generic,generic XAuth backend,))
  481. $(eval $(call BuildPlugin,xcbc,xcbc crypto,))