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.

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