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.

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