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.

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