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.

576 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.1
  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:=4eba9474f7dc6c8c8d7037261358e68d
  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. --with-systemdsystemunitdir=no \
  345. $(if $(CONFIG_PACKAGE_strongswan-utils),--enable-pki --enable-scepclient,--disable-pki --disable-scepclient) \
  346. --with-random-device=/dev/random \
  347. --with-urandom-device=/dev/urandom \
  348. --with-routing-table="$(call qstrip,$(CONFIG_STRONGSWAN_ROUTING_TABLE))" \
  349. --with-routing-table-prio="$(call qstrip,$(CONFIG_STRONGSWAN_ROUTING_TABLE_PRIO))" \
  350. $(foreach m,$(PKG_MOD_AVAILABLE), \
  351. $(if $(CONFIG_PACKAGE_strongswan-mod-$(m)),--enable-$(m),--disable-$(m)) \
  352. ) \
  353. ac_cv_search___atomic_load=no
  354. EXTRA_LDFLAGS+= -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
  355. define Package/strongswan/conffiles
  356. /etc/ipsec.d/
  357. /etc/ipsec.conf
  358. /etc/ipsec.secrets
  359. /etc/ipsec.user
  360. /etc/strongswan.conf
  361. /etc/strongswan.d/
  362. endef
  363. define Package/strongswan/install
  364. $(INSTALL_DIR) $(1)/etc
  365. $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/ipsec.conf $(1)/etc/
  366. $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/strongswan.conf $(1)/etc/
  367. $(INSTALL_DIR) $(1)/usr/lib/ipsec
  368. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/libstrongswan.so.* $(1)/usr/lib/ipsec/
  369. $(INSTALL_CONF) ./files/ipsec.secrets $(1)/etc/
  370. $(INSTALL_CONF) ./files/ipsec.user $(1)/etc/
  371. $(INSTALL_DIR) $(1)/etc/init.d
  372. $(INSTALL_BIN) ./files/ipsec.init $(1)/etc/init.d/ipsec
  373. endef
  374. define Package/strongswan-default/install
  375. true
  376. endef
  377. define Package/strongswan-full/install
  378. true
  379. endef
  380. define Package/strongswan-isakmp/install
  381. true
  382. endef
  383. define Package/strongswan-minimal/install
  384. true
  385. endef
  386. define Package/strongswan-charon/install
  387. $(INSTALL_DIR) $(1)/usr/lib/ipsec
  388. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/ipsec/charon $(1)/usr/lib/ipsec/
  389. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/libcharon.so.* $(1)/usr/lib/ipsec/
  390. endef
  391. define Package/strongswan-utils/install
  392. $(INSTALL_DIR) $(1)/usr/sbin
  393. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ipsec $(1)/usr/sbin/
  394. $(INSTALL_DIR) $(1)/usr/bin
  395. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pki $(1)/usr/bin/
  396. $(INSTALL_DIR) $(1)/usr/lib/ipsec
  397. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/ipsec/scepclient $(1)/usr/lib/ipsec/
  398. endef
  399. define Package/strongswan-libtls/install
  400. $(INSTALL_DIR) $(1)/usr/lib/ipsec
  401. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/libtls.so.* $(1)/usr/lib/ipsec/
  402. endef
  403. define Plugin/duplicheck/install
  404. $(INSTALL_DIR) $(1)/usr/lib/ipsec/plugins
  405. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/duplicheck $(1)/usr/lib/ipsec/
  406. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/plugins/libstrongswan-duplicheck.so $(1)/usr/lib/ipsec/plugins/
  407. endef
  408. define Plugin/eap-radius/install
  409. $(INSTALL_DIR) $(1)/usr/lib/ipsec/plugins
  410. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/libradius.so.* $(1)/usr/lib/ipsec/
  411. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/plugins/libstrongswan-eap-radius.so $(1)/usr/lib/ipsec/plugins/
  412. endef
  413. define Plugin/attr-sql/install
  414. $(INSTALL_DIR) $(1)/usr/lib/ipsec
  415. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/pool $(1)/usr/lib/ipsec/
  416. endef
  417. define Plugin/stroke/install
  418. $(INSTALL_DIR) $(1)/etc/ipsec.d/aacerts
  419. $(INSTALL_DIR) $(1)/etc/ipsec.d/acerts
  420. $(INSTALL_DIR) $(1)/etc/ipsec.d/cacerts
  421. $(INSTALL_DIR) $(1)/etc/ipsec.d/certs
  422. $(INSTALL_DIR) $(1)/etc/ipsec.d/crls
  423. $(INSTALL_DIR) $(1)/etc/ipsec.d/ocspcerts
  424. $(INSTALL_DIR) $(1)/etc/ipsec.d/private
  425. $(INSTALL_DIR) $(1)/etc/ipsec.d/reqs
  426. $(INSTALL_DIR) $(1)/usr/lib/ipsec/plugins
  427. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/ipsec/{starter,stroke} $(1)/usr/lib/ipsec/
  428. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/plugins/libstrongswan-stroke.so $(1)/usr/lib/ipsec/plugins/
  429. endef
  430. define Plugin/updown/install
  431. $(INSTALL_DIR) $(1)/usr/lib/ipsec/plugins
  432. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/_updown $(1)/usr/lib/ipsec/
  433. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/plugins/libstrongswan-updown.so $(1)/usr/lib/ipsec/plugins/
  434. $(INSTALL_DIR) $(1)/etc
  435. endef
  436. define Plugin/whitelist/install
  437. $(INSTALL_DIR) $(1)/usr/lib/ipsec/plugins
  438. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/whitelist $(1)/usr/lib/ipsec/
  439. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/plugins/libstrongswan-whitelist.so $(1)/usr/lib/ipsec/plugins/
  440. endef
  441. define Plugin/kernel-libipsec/install
  442. $(INSTALL_DIR) $(1)/usr/lib/ipsec
  443. $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/libipsec.so.* $(1)/usr/lib/ipsec/
  444. endef
  445. $(eval $(call BuildPackage,strongswan))
  446. $(eval $(call BuildPackage,strongswan-default))
  447. $(eval $(call BuildPackage,strongswan-full))
  448. $(eval $(call BuildPackage,strongswan-minimal))
  449. $(eval $(call BuildPackage,strongswan-isakmp))
  450. $(eval $(call BuildPackage,strongswan-charon))
  451. $(eval $(call BuildPackage,strongswan-utils))
  452. $(eval $(call BuildPackage,strongswan-libtls))
  453. $(eval $(call BuildPlugin,addrblock,RFC 3779 address block constraint support,))
  454. $(eval $(call BuildPlugin,aes,AES crypto,))
  455. $(eval $(call BuildPlugin,af-alg,AF_ALG crypto interface to Linux Crypto API,+kmod-crypto-user))
  456. $(eval $(call BuildPlugin,agent,SSH agent signing,))
  457. $(eval $(call BuildPlugin,attr,file based config,))
  458. $(eval $(call BuildPlugin,attr-sql,SQL based config,+strongswan-charon))
  459. $(eval $(call BuildPlugin,blowfish,Blowfish crypto,))
  460. $(eval $(call BuildPlugin,ccm,CCM AEAD wrapper crypto,))
  461. $(eval $(call BuildPlugin,cmac,CMAC crypto,))
  462. $(eval $(call BuildPlugin,connmark,netfilter connection marking,))
  463. $(eval $(call BuildPlugin,constraints,advanced X509 constraint checking,))
  464. $(eval $(call BuildPlugin,coupling,IKEv2 plugin to couple peer certificates permanently to authentication,))
  465. $(eval $(call BuildPlugin,ctr,Counter Mode wrapper crypto,))
  466. $(eval $(call BuildPlugin,curl,cURL fetcher plugin,+PACKAGE_strongswan-mod-curl:libcurl))
  467. $(eval $(call BuildPlugin,des,DES crypto,))
  468. $(eval $(call BuildPlugin,dhcp,DHCP based attribute provider,))
  469. $(eval $(call BuildPlugin,dnskey,DNS RR key decoding,))
  470. $(eval $(call BuildPlugin,duplicheck,advanced duplicate checking,))
  471. $(eval $(call BuildPlugin,eap-identity,EAP identity helper,))
  472. $(eval $(call BuildPlugin,eap-md5,EAP MD5 (CHAP) EAP auth,))
  473. $(eval $(call BuildPlugin,eap-mschapv2,EAP MS-CHAPv2 EAP auth,+strongswan-mod-md4 +strongswan-mod-des))
  474. $(eval $(call BuildPlugin,eap-radius,EAP RADIUS auth,))
  475. $(eval $(call BuildPlugin,eap-tls,EAP TLS auth,+strongswan-libtls))
  476. $(eval $(call BuildPlugin,farp,fake arp respsonses,))
  477. $(eval $(call BuildPlugin,fips-prf,FIPS PRF crypto,+strongswan-mod-sha1))
  478. $(eval $(call BuildPlugin,forecast,forward multi/broadcast traffic,+kmod-ipt-conntrack-extra))
  479. $(eval $(call BuildPlugin,gcm,GCM AEAD wrapper crypto,))
  480. $(eval $(call BuildPlugin,gcrypt,libgcrypt,+PACKAGE_strongswan-mod-gcrypt:libgcrypt))
  481. $(eval $(call BuildPlugin,gmp,libgmp,+PACKAGE_strongswan-mod-gmp:libgmp))
  482. $(eval $(call BuildPlugin,gmpdh,DH-Groups; no libgmp dep,))
  483. $(eval $(call BuildPlugin,ha,high availability cluster,))
  484. $(eval $(call BuildPlugin,hmac,HMAC crypto,))
  485. $(eval $(call BuildPlugin,kernel-libipsec,libipsec kernel interface,))
  486. $(eval $(call BuildPlugin,kernel-netlink,netlink kernel interface,))
  487. $(eval $(call BuildPlugin,ldap,LDAP,+PACKAGE_strongswan-mod-ldap:libopenldap))
  488. $(eval $(call BuildPlugin,led,LED blink on IKE activity,))
  489. $(eval $(call BuildPlugin,load-tester,load testing,))
  490. $(eval $(call BuildPlugin,nonce,nonce genereation,))
  491. $(eval $(call BuildPlugin,md4,MD4 crypto,))
  492. $(eval $(call BuildPlugin,md5,MD5 crypto,))
  493. $(eval $(call BuildPlugin,mysql,MySQL database interface,+strongswan-mod-sql +PACKAGE_strongswan-mod-mysql:libmysqlclient-r))
  494. $(eval $(call BuildPlugin,openssl,OpenSSL crypto,+PACKAGE_strongswan-mod-openssl:libopenssl))
  495. $(eval $(call BuildPlugin,pem,PEM decoding,))
  496. $(eval $(call BuildPlugin,pgp,PGP key decoding,))
  497. $(eval $(call BuildPlugin,pkcs1,PKCS1 key decoding,))
  498. $(eval $(call BuildPlugin,pkcs7,PKCS7 key decoding,))
  499. $(eval $(call BuildPlugin,pkcs8,PKCS8 key decoding,))
  500. $(eval $(call BuildPlugin,pkcs11,PKCS11 key decoding,))
  501. $(eval $(call BuildPlugin,pkcs12,PKCS12 key decoding,))
  502. $(eval $(call BuildPlugin,pubkey,raw public key,))
  503. $(eval $(call BuildPlugin,random,RNG,))
  504. $(eval $(call BuildPlugin,rc2,RC2 crypto,))
  505. $(eval $(call BuildPlugin,resolve,DNS resolver,))
  506. $(eval $(call BuildPlugin,revocation,X509 CRL/OCSP revocation,))
  507. $(eval $(call BuildPlugin,sha1,SHA1 crypto,))
  508. $(eval $(call BuildPlugin,sha2,SHA2 crypto,))
  509. $(eval $(call BuildPlugin,smp,SMP configuration and control interface,+PACKAGE_strongswan-mod-smp:libxml2))
  510. $(eval $(call BuildPlugin,socket-default,default socket implementation for charon,))
  511. $(eval $(call BuildPlugin,socket-dynamic,dynamic socket implementation for charon,))
  512. $(eval $(call BuildPlugin,sql,SQL database interface,))
  513. $(eval $(call BuildPlugin,sqlite,SQLite database interface,+strongswan-mod-sql +PACKAGE_strongswan-mod-sqlite:libsqlite3))
  514. $(eval $(call BuildPlugin,sshkey,SSH key decoding,))
  515. $(eval $(call BuildPlugin,stroke,Stroke,+strongswan-charon +strongswan-utils))
  516. $(eval $(call BuildPlugin,test-vectors,crypto test vectors,))
  517. $(eval $(call BuildPlugin,uci,UCI config interface,+PACKAGE_strongswan-mod-uci:libuci))
  518. $(eval $(call BuildPlugin,unity,Cisco Unity extension,))
  519. $(eval $(call BuildPlugin,updown,updown firewall,))
  520. $(eval $(call BuildPlugin,whitelist,peer identity whitelisting,))
  521. $(eval $(call BuildPlugin,x509,x509 certificate,))
  522. $(eval $(call BuildPlugin,xauth-eap,EAP XAuth backend,))
  523. $(eval $(call BuildPlugin,xauth-generic,generic XAuth backend,))
  524. $(eval $(call BuildPlugin,xcbc,xcbc crypto,))