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.

598 lines
17 KiB

  1. #
  2. # Copyright (C) 2008-2016 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:=freeradius3
  9. PKG_VERSION:=release_3_0_11
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://github.com/FreeRADIUS/freeradius-server/archive
  13. PKG_MD5SUM:=612cb1d9ad0d66e881d8b0592cd51720
  14. PKG_MAINTAINER:=Lucile Quirion <lucile.quirion@savoirfairelinux.com>
  15. PKG_LICENSE:=GPL-2.0
  16. PKG_LICENSE_FILES:=COPYRIGHT LICENSE
  17. PKG_BUILD_DIR:=$(BUILD_DIR)/freeradius-server-$(PKG_VERSION)
  18. PKG_FIXUP:=autoreconf
  19. PKG_CONFIG_DEPENDS := \
  20. FREERADIUS3_OPENSSL \
  21. FREERADIUS3_NOSSL
  22. include $(INCLUDE_DIR)/package.mk
  23. define Package/freeradius3/config
  24. source "$(SOURCE)/Config.in"
  25. endef
  26. define Package/freeradius3/Default
  27. SECTION:=net
  28. CATEGORY:=Network
  29. URL:=http://freeradius.org/
  30. SUBMENU:=FreeRADIUS (version 3)
  31. endef
  32. define Package/freeradius3
  33. $(call Package/freeradius3/Default)
  34. DEPENDS:=+freeradius3-common
  35. TITLE:=A flexible RADIUS server (version 3)
  36. endef
  37. define Package/freeradius3/conffiles
  38. /etc/freeradius3/clients.conf
  39. /etc/freeradius3/radiusd.conf
  40. /etc/freeradius3/sites/default
  41. endef
  42. define Package/freeradius3-common
  43. $(call Package/freeradius3/Default)
  44. TITLE:=common files
  45. DEPENDS:=+USE_GLIBC:libpthread +FREERADIUS3_OPENSSL:libopenssl +libcap +libpcap +libncurses +PACKAGE_libpcre:libpcre +libreadline +libtalloc
  46. endef
  47. define Package/freeradius3-default
  48. $(call Package/freeradius3/Default)
  49. DEPENDS:=freeradius3 \
  50. +freeradius3-democerts \
  51. +freeradius3-mod-always \
  52. +freeradius3-mod-attr-filter \
  53. +freeradius3-mod-chap \
  54. +freeradius3-mod-detail \
  55. +freeradius3-mod-digest \
  56. +freeradius3-mod-eap \
  57. +freeradius3-mod-eap-gtc \
  58. +freeradius3-mod-eap-leap \
  59. +freeradius3-mod-eap-md5 \
  60. +freeradius3-mod-eap-mschapv2 \
  61. +freeradius3-mod-eap-peap \
  62. +freeradius3-mod-eap-tls \
  63. +freeradius3-mod-eap-ttls \
  64. +freeradius3-mod-exec \
  65. +freeradius3-mod-expiration \
  66. +freeradius3-mod-expr \
  67. +freeradius3-mod-files \
  68. +freeradius3-mod-logintime \
  69. +freeradius3-mod-mschap \
  70. +freeradius3-mod-pap \
  71. +freeradius3-mod-preprocess \
  72. +freeradius3-mod-radutmp \
  73. +freeradius3-mod-realm \
  74. +freeradius3-mod-unix
  75. TITLE:=Modules needed for Radius default configuration
  76. endef
  77. define Package/freeradius3-democerts
  78. $(call Package/freeradius3/Default)
  79. DEPENDS:=freeradius3
  80. TITLE:=Demo certificates to test the server
  81. endef
  82. define Package/freeradius3-mod-chap
  83. $(call Package/freeradius3/Default)
  84. DEPENDS:=freeradius3
  85. TITLE:=CHAP module
  86. endef
  87. define Package/freeradius3-mod-chap/conffiles
  88. /etc/freeradius3/mods-available/chap
  89. /etc/freeradius3/mods-enabled/chap
  90. endef
  91. define Package/freeradius3-mod-detail
  92. $(call Package/freeradius3/Default)
  93. DEPENDS:=freeradius3
  94. TITLE:=Detailed accounting module
  95. endef
  96. define Package/freeradius3-mod-detail/conffiles
  97. /etc/freeradius3/mods-available/detail
  98. /etc/freeradius3/mods-enabled/detail
  99. endef
  100. define Package/freeradius3-mod-digest
  101. $(call Package/freeradius3/Default)
  102. DEPENDS:=freeradius3
  103. TITLE:=HTTP Digest Authentication
  104. endef
  105. define Package/freeradius3-mod-digest/conffiles
  106. /etc/freeradius3/mods-available/digest
  107. /etc/freeradius3/mods-enabled/digest
  108. endef
  109. define Package/freeradius3-mod-eap
  110. $(call Package/freeradius3/Default)
  111. DEPENDS:=freeradius3
  112. TITLE:=Base EAP module
  113. endef
  114. define Package/freeradius3-mod-eap/conffiles
  115. /etc/freeradius3/mods-available/eap
  116. /etc/freeradius3/mods-enabled/eap
  117. /etc/freeradius3/policy.d/eap
  118. /etc/freeradius3/sites-enabled/inner-tunnel
  119. /etc/freeradius3/sites-available/inner-tunnel
  120. endef
  121. define Package/freeradius3-mod-eap-gtc
  122. $(call Package/freeradius3/Default)
  123. DEPENDS:=freeradius3-mod-eap
  124. TITLE:=EAP/GTC module
  125. endef
  126. define Package/freeradius3-mod-eap-leap
  127. $(call Package/freeradius3/Default)
  128. DEPENDS:=freeradius3-mod-eap
  129. TITLE:=EAP/LEAP module
  130. endef
  131. define Package/freeradius3-mod-eap-md5
  132. $(call Package/freeradius3/Default)
  133. DEPENDS:=freeradius3-mod-eap
  134. TITLE:=EAP/MD5 module
  135. endef
  136. define Package/freeradius3-mod-eap-mschapv2
  137. $(call Package/freeradius3/Default)
  138. DEPENDS:=freeradius3-mod-eap +freeradius3-mod-mschap
  139. TITLE:=EAP/MS-CHAPv2 module
  140. endef
  141. define Package/freeradius3-mod-eap-peap
  142. $(call Package/freeradius3/Default)
  143. DEPENDS:=freeradius3-mod-eap @FREERADIUS3_OPENSSL
  144. TITLE:=EAP/PEAP module
  145. endef
  146. define Package/freeradius3-mod-eap-tls
  147. $(call Package/freeradius3/Default)
  148. DEPENDS:=freeradius3-mod-eap @FREERADIUS3_OPENSSL
  149. TITLE:=EAP/TLS module
  150. endef
  151. define Package/freeradius3-mod-eap-ttls
  152. $(call Package/freeradius3/Default)
  153. DEPENDS:=freeradius3-mod-eap-tls
  154. TITLE:=EAP/TTLS module
  155. endef
  156. define Package/freeradius3-mod-exec
  157. $(call Package/freeradius3/Default)
  158. DEPENDS:=freeradius3
  159. TITLE:=EXEC module
  160. endef
  161. define Package/freeradius3-mod-exec/conffiles
  162. /etc/freeradius3/mods-available/exec
  163. /etc/freeradius3/mods-enabled/exec
  164. endef
  165. define Package/freeradius3-mod-expiration
  166. $(call Package/freeradius3/Default)
  167. DEPENDS:=freeradius3
  168. TITLE:=Expiration module
  169. endef
  170. define Package/freeradius3-mod-expiration/conffiles
  171. /etc/freeradius3/mods-available/expiration
  172. /etc/freeradius3/mods-enabled/expiration
  173. endef
  174. define Package/freeradius3-mod-always
  175. $(call Package/freeradius3/Default)
  176. DEPENDS:=freeradius3
  177. TITLE:=Always module
  178. endef
  179. define Package/freeradius3-mod-always/conffiles
  180. /etc/freeradius3/mods-available/always
  181. /etc/freeradius3/mods-enabled/always
  182. endef
  183. define Package/freeradius3-mod-expr
  184. $(call Package/freeradius3/Default)
  185. DEPENDS:=freeradius3
  186. TITLE:=EXPR module
  187. endef
  188. define Package/freeradius3-mod-expr/conffiles
  189. /etc/freeradius3/mods-available/expr
  190. /etc/freeradius3/mods-enabled/expr
  191. endef
  192. define Package/freeradius3-mod-attr-filter
  193. $(call Package/freeradius3/Default)
  194. DEPENDS:=freeradius3
  195. TITLE:=ATTR filter module
  196. endef
  197. define Package/freeradius3-mod-attr-filter/conffiles
  198. /etc/freeradius3/mods-available/attr_filter
  199. /etc/freeradius3/mods-enabled/attr_filter
  200. /etc/freeradius3/mods-config/attr_filter/access_challenge
  201. /etc/freeradius3/mods-config/attr_filter/access_reject
  202. /etc/freeradius3/mods-config/attr_filter/accounting_response
  203. /etc/freeradius3/mods-config/attr_filter/post-proxy
  204. /etc/freeradius3/mods-config/attr_filter/pre-proxy
  205. endef
  206. define Package/freeradius3-mod-attr-rewrite
  207. $(call Package/freeradius3/Default)
  208. DEPENDS:=freeradius3
  209. TITLE:=ATTR rewrite module
  210. endef
  211. define Package/freeradius3-mod-files
  212. $(call Package/freeradius3/Default)
  213. DEPENDS:=freeradius3
  214. TITLE:=Module using local files for authorization
  215. endef
  216. define Package/freeradius3-mod-files/conffiles
  217. /etc/freeradius3/mods-available/files
  218. /etc/freeradius3/mods-enabled/files
  219. /etc/freeradius3/mods-config/files/accounting
  220. /etc/freeradius3/mods-config/files/authorize
  221. /etc/freeradius3/mods-config/files/pre-proxy
  222. endef
  223. define Package/freeradius3-mod-passwd
  224. $(call Package/freeradius3/Default)
  225. DEPENDS:=freeradius3
  226. TITLE:=Rlm passwd module
  227. endef
  228. define Package/freeradius3-mod-passwd/conffiles
  229. /etc/freeradius3/mods-available/passwd
  230. /etc/freeradius3/mods-enabled/passwd
  231. endef
  232. # LDAP support has not been ported
  233. define Package/freeradius3-mod-logintime
  234. $(call Package/freeradius3/Default)
  235. DEPENDS:=freeradius3
  236. TITLE:=Logintime module
  237. endef
  238. define Package/freeradius3-mod-logintime/conffiles
  239. /etc/freeradius3/mods-available/logintime
  240. /etc/freeradius3/mods-enabled/logintime
  241. endef
  242. define Package/freeradius3-mod-mschap
  243. $(call Package/freeradius3/Default)
  244. DEPENDS:=freeradius3
  245. TITLE:=MS-CHAP and MS-CHAPv2 module
  246. endef
  247. define Package/freeradius3-mod-mschap/conffiles
  248. /etc/freeradius3/mods-available/mschap
  249. /etc/freeradius3/mods-enabled/mschap
  250. endef
  251. define Package/freeradius3-mod-pap
  252. $(call Package/freeradius3/Default)
  253. DEPENDS:=freeradius3
  254. TITLE:=PAP module
  255. endef
  256. define Package/freeradius3-mod-pap/conffiles
  257. /etc/freeradius3/mods-available/pap
  258. /etc/freeradius3/mods-enabled/pap
  259. endef
  260. define Package/freeradius3-mod-preprocess
  261. $(call Package/freeradius3/Default)
  262. DEPENDS:=freeradius3
  263. TITLE:=Request pre-processing module
  264. endef
  265. define Package/freeradius3-mod-preprocess/conffiles
  266. /etc/freeradius3/mods-config/preprocess/hints
  267. /etc/freeradius3/mods-config/preprocess/huntgroups
  268. /etc/freeradius3/mods-available/preprocess
  269. /etc/freeradius3/mods-enabled/preprocess
  270. endef
  271. define Package/freeradius3-mod-realm
  272. $(call Package/freeradius3/Default)
  273. DEPENDS:=freeradius3
  274. TITLE:=Realms handling module
  275. endef
  276. define Package/freeradius3-mod-realm/conffiles
  277. /etc/freeradius3/proxy.conf
  278. /etc/freeradius3/mods-available/realm
  279. /etc/freeradius3/mods-enabled/realm
  280. endef
  281. # SQL support has not been ported
  282. define Package/freeradius3-mod-radutmp
  283. $(call Package/freeradius3/Default)
  284. DEPENDS:=freeradius3
  285. TITLE:=Radius UTMP module
  286. endef
  287. define Package/freeradius3-mod-radutmp/conffiles
  288. /etc/freeradius3/mods-available/radutmp
  289. /etc/freeradius3/mods-enabled/radutmp
  290. /etc/freeradius3/mods-available/sradutmp
  291. /etc/freeradius3/mods-enabled/sradutmp
  292. endef
  293. define Package/freeradius3-mod-unix
  294. $(call Package/freeradius3/Default)
  295. DEPENDS:=freeradius3
  296. TITLE:=System Authentication
  297. endef
  298. define Package/freeradius3-mod-unix/conffiles
  299. /etc/freeradius3/mods-available/unix
  300. /etc/freeradius3/mods-enabled/unix
  301. endef
  302. define Package/freeradius3-utils
  303. $(call Package/freeradius3/Default)
  304. DEPENDS:=+freeradius3-common
  305. TITLE:=Misc. client utilities
  306. endef
  307. CONFIGURE_ARGS+= \
  308. --libdir=/usr/lib/freeradius3 \
  309. --libexecdir=/usr/lib/freeradius3 \
  310. --disable-developer \
  311. --with-threads \
  312. $(if $(CONFIG_FREERADIUS3_OPENSSL),--with,--without)-openssl \
  313. $(if $(CONFIG_FREERADIUS3_OPENSSL),--with-openssl-includes="$(STAGING_DIR)/usr/include",) \
  314. $(if $(CONFIG_FREERADIUS3_OPENSSL),--with-openssl-libraries="$(STAGING_DIR)/usr/lib",) \
  315. $(if $(CONFIG_FREERADIUS3_OPENSSL),--disable-openssl-version-check,) \
  316. --with-talloc-include-dir="$(STAGING_DIR)/usr/include" \
  317. --with-talloc-lib-dir="$(STAGING_DIR)/usr/lib" \
  318. --enable-strict-dependencies \
  319. --with-dictdir=/usr/share/freeradius3 \
  320. --with-raddbdir=/etc/freeradius3 \
  321. --with-radacctdir=/var/db/radacct \
  322. --with-logdir=/var/log \
  323. --without-edir \
  324. --without-snmp \
  325. --without-rlm_cache \
  326. --without-rlm_cache_memcached \
  327. --without-rlm_couchbase \
  328. --without-rlm_counter \
  329. --without-rlm_eap_ikev2 \
  330. --without-rlm_eap_pwd \
  331. --without-rlm_eap_sim \
  332. --without-rlm_eap_tnc \
  333. --without-rlm_example \
  334. --without-rlm_idn \
  335. --without-rlm_ippool \
  336. --without-rlm_krb5 \
  337. --without-rlm_ldap \
  338. --without-rlm_opendirectory \
  339. --without-rlm_pam \
  340. --without-rlm_perl \
  341. --without-rlm_python \
  342. --without-rlm_redis \
  343. --without-rlm_rediswho \
  344. --without-rlm_rest \
  345. --without-rlm_ruby \
  346. --without-rlm_securid \
  347. --without-rlm_smsotp \
  348. --without-rlm_sql \
  349. --without-rlm_sql_db2 \
  350. --without-rlm_sql_firebird \
  351. --without-rlm_sql_freetds \
  352. --without-rlm_sql_iodbc \
  353. --without-rlm_sql_mysql \
  354. --without-rlm_sql_oracle \
  355. --without-rlm_sql_postgresql \
  356. --without-rlm_sql_sqlite \
  357. --without-rlm_sql_unixodbc \
  358. --without-rlm_sqlcounter \
  359. --without-rlm_sqlhpwippool \
  360. --without-rlm_sqlippool \
  361. --without-rlm_unbound \
  362. --without-rlm_yubikey \
  363. PKG_DICTIONARIES:= \
  364. compat \
  365. freeradius freeradius.internal \
  366. rfc2865 rfc2866 rfc2867 rfc2868 rfc2869 rfc3162 rfc3576 rfc3580 \
  367. rfc4372 rfc4675 rfc4679 rfc5580\
  368. microsoft \
  369. wispr \
  370. ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-eap-peap),)
  371. CONFIGURE_ARGS+= \
  372. --with-rlm_eap_peap \
  373. --with-rlm_eap_peap-include-dir="$(STAGING_DIR)/usr/include" \
  374. --with-rlm_eap_peap-lib-dir="$(STAGING_DIR)/usr/lib"
  375. CONFIGURE_LIBS+= -lcrypto -lssl
  376. else
  377. CONFIGURE_ARGS+= --without-rlm_eap_peap
  378. endif
  379. ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-eap-tls),)
  380. CONFIGURE_ARGS+= \
  381. --with-rlm_eap_tls \
  382. --with-rlm_eap_tls-include-dir="$(STAGING_DIR)/usr/include" \
  383. --with-rlm_eap_tls-lib-dir="$(STAGING_DIR)/usr/lib"
  384. CONFIGURE_LIBS+= -lcrypto -lssl
  385. else
  386. CONFIGURE_ARGS+= --without-rlm_eap_tls
  387. endif
  388. ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-eap-ttls),)
  389. CONFIGURE_ARGS+= \
  390. --with-rlm_eap_ttls \
  391. --with-rlm_eap_ttls-include-dir="$(STAGING_DIR)/usr/include" \
  392. --with-rlm_eap_ttls-lib-dir="$(STAGING_DIR)/usr/lib"
  393. CONFIGURE_LIBS+= -lcrypto -lssl
  394. else
  395. CONFIGURE_ARGS+= --without-rlm_eap_ttls
  396. endif
  397. ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-radutmp),)
  398. CONFIGURE_ARGS+= --with-rlm_radutmp
  399. else
  400. CONFIGURE_ARGS+= --without-rlm_radutmp
  401. endif
  402. ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-unix),)
  403. CONFIGURE_ARGS+= --with-rlm_unix
  404. else
  405. CONFIGURE_ARGS+= --without-rlm_unix
  406. endif
  407. CONFIGURE_VARS+= \
  408. LDFLAGS="$$$$LDFLAGS" \
  409. LIBS="$(CONFIGURE_LIBS)" \
  410. MYSQL_CONFIG="no" \
  411. ac_cv_lib_readline=no \
  412. ax_cv_cc_builtin_choose_expr=yes \
  413. ax_cv_cc_builtin_types_compatible_p=yes ax_cv_cc_builtin_bswap64=yes \
  414. ax_cv_cc_bounded_attribute=no \
  415. ac_cv_lib_collectdclient_lcc_connect=no \
  416. ac_cv_lib_execinfo_backtrace_symbols=no
  417. define Build/Compile
  418. # Compile jlibtool for the host once the configuration is done
  419. (cd $(PKG_BUILD_DIR); \
  420. mkdir -p build/make; \
  421. $(HOSTCC) $(HOST_CFLAGS) scripts/jlibtool.c -o build/make/jlibtool; \
  422. )
  423. $(MAKE) -C $(PKG_BUILD_DIR) \
  424. R="$(PKG_INSTALL_DIR)" \
  425. INSTALLSTRIP="" \
  426. all install
  427. endef
  428. define Package/freeradius3-common/install
  429. $(INSTALL_DIR) $(1)/etc/freeradius3
  430. chmod 771 $(1)/etc/freeradius3
  431. $(CP) $(PKG_INSTALL_DIR)/etc/freeradius3/dictionary $(1)/etc/freeradius3/ ; \
  432. $(INSTALL_DIR) $(1)/usr/lib/freeradius3
  433. $(CP) $(PKG_INSTALL_DIR)/usr/lib/freeradius3/libfreeradius-{dhcp,eap,radius,server}.so $(1)/usr/lib/freeradius3
  434. $(INSTALL_DIR) $(1)/usr/share/freeradius3
  435. $(CP) $(PKG_INSTALL_DIR)/usr/share/freeradius3/dictionary $(1)/usr/share/freeradius3/
  436. $(SED) "s,^\(\$$$$INCLUDE\),#\1,g" $(1)/usr/share/freeradius3/dictionary
  437. for f in $(PKG_DICTIONARIES); do \
  438. $(CP) $(PKG_INSTALL_DIR)/usr/share/freeradius3/dictionary.$$$${f} $(1)/usr/share/freeradius3/ ; \
  439. $(SED) "s,^#\(\$$$$INCLUDE dictionary\.$$$${f}\)$$$$,\1,g" $(1)/usr/share/freeradius3/dictionary ; \
  440. done
  441. endef
  442. define Package/freeradius3/install
  443. $(INSTALL_DIR) $(1)/etc/freeradius3
  444. $(INSTALL_DIR) $(1)/etc/freeradius3/policy.d
  445. $(INSTALL_DIR) $(1)/etc/freeradius3/sites-available
  446. $(INSTALL_DIR) $(1)/etc/freeradius3/sites-enabled
  447. for f in clients.conf radiusd.conf proxy.conf; do \
  448. $(CP) $(PKG_INSTALL_DIR)/etc/freeradius3/$$$${f} $(1)/etc/freeradius3/ ; \
  449. done
  450. for f in accounting filter; do \
  451. $(CP) $(PKG_INSTALL_DIR)/etc/freeradius3/policy.d/$$$${f} $(1)/etc/freeradius3/policy.d/ ; \
  452. done
  453. for f in default; do \
  454. $(CP) $(PKG_INSTALL_DIR)/etc/freeradius3/sites-available/$$$${f} $(1)/etc/freeradius3/sites-available/ ; \
  455. $(CP) $(PKG_INSTALL_DIR)/etc/freeradius3/sites-enabled/$$$${f} $(1)/etc/freeradius3/sites-enabled/ ; \
  456. done
  457. $(INSTALL_DIR) $(1)/usr/sbin
  458. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/radiusd $(1)/usr/sbin/
  459. $(INSTALL_DIR) $(1)/etc/init.d
  460. $(INSTALL_BIN) ./files/radiusd.init $(1)/etc/init.d/radiusd
  461. endef
  462. define Package/freeradius3-democerts/install
  463. $(INSTALL_DIR) $(1)/etc/freeradius3/certs
  464. $(CP) \
  465. $(PKG_INSTALL_DIR)/etc/freeradius3/certs/ca.pem \
  466. $(PKG_INSTALL_DIR)/etc/freeradius3/certs/dh \
  467. $(PKG_INSTALL_DIR)/etc/freeradius3/certs/server.pem \
  468. $(1)/etc/freeradius3/certs/
  469. endef
  470. define Package/freeradius3-utils/install
  471. $(INSTALL_DIR) $(1)/usr/bin
  472. for f in radclient radeapclient radwho; do \
  473. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$$$${f} $(1)/usr/bin/ ; \
  474. done
  475. endef
  476. define BuildPlugin
  477. define Package/$(1)/install
  478. [ -z "$(2)" ] || $(INSTALL_DIR) $$(1)/usr/lib/freeradius3
  479. for m in $(2); do \
  480. $(CP) $(PKG_INSTALL_DIR)/usr/lib/freeradius3/$$$$$$$${m}.so $$(1)/usr/lib/freeradius3 ; \
  481. done
  482. # Install configuration files
  483. for f in $(strip $(call Package/$(1)/conffiles)); do \
  484. $(INSTALL_DIR) $$(1)/$$$$$$$${f%/*} ; \
  485. $(CP) $(PKG_INSTALL_DIR)/$$$$$$$${f} $$(1)/$$$$$$$${f}; \
  486. done
  487. endef
  488. $$(eval $$(call BuildPackage,$(1)))
  489. endef
  490. $(eval $(call BuildPackage,freeradius3))
  491. $(eval $(call BuildPackage,freeradius3-common))
  492. $(eval $(call BuildPackage,freeradius3-default))
  493. $(eval $(call BuildPackage,freeradius3-democerts))
  494. $(eval $(call BuildPlugin,freeradius3-mod-always,rlm_always,))
  495. $(eval $(call BuildPlugin,freeradius3-mod-attr-filter,rlm_attr_filter,))
  496. $(eval $(call BuildPlugin,freeradius3-mod-chap,rlm_chap,))
  497. $(eval $(call BuildPlugin,freeradius3-mod-detail,rlm_detail,))
  498. $(eval $(call BuildPlugin,freeradius3-mod-digest,rlm_digest,))
  499. $(eval $(call BuildPlugin,freeradius3-mod-eap-gtc,rlm_eap_gtc,))
  500. $(eval $(call BuildPlugin,freeradius3-mod-eap-leap,rlm_eap_leap,))
  501. $(eval $(call BuildPlugin,freeradius3-mod-eap-md5,rlm_eap_md5,))
  502. $(eval $(call BuildPlugin,freeradius3-mod-eap-mschapv2,rlm_eap_mschapv2,))
  503. $(eval $(call BuildPlugin,freeradius3-mod-eap-peap,rlm_eap_peap,))
  504. $(eval $(call BuildPlugin,freeradius3-mod-eap,rlm_eap,))
  505. $(eval $(call BuildPlugin,freeradius3-mod-eap-tls,rlm_eap_tls,))
  506. $(eval $(call BuildPlugin,freeradius3-mod-eap-ttls,rlm_eap_ttls,))
  507. $(eval $(call BuildPlugin,freeradius3-mod-exec,rlm_exec,))
  508. $(eval $(call BuildPlugin,freeradius3-mod-expiration,rlm_expiration,))
  509. $(eval $(call BuildPlugin,freeradius3-mod-expr,rlm_expr,))
  510. $(eval $(call BuildPlugin,freeradius3-mod-files,rlm_files,))
  511. $(eval $(call BuildPlugin,freeradius3-mod-logintime,rlm_logintime,))
  512. $(eval $(call BuildPlugin,freeradius3-mod-mschap,rlm_mschap,))
  513. $(eval $(call BuildPlugin,freeradius3-mod-pap,rlm_pap,))
  514. $(eval $(call BuildPlugin,freeradius3-mod-passwd,rlm_passwd,))
  515. $(eval $(call BuildPlugin,freeradius3-mod-preprocess,rlm_preprocess,))
  516. $(eval $(call BuildPlugin,freeradius3-mod-radutmp,rlm_radutmp,))
  517. $(eval $(call BuildPlugin,freeradius3-mod-realm,rlm_realm,))
  518. $(eval $(call BuildPlugin,freeradius3-mod-unix,rlm_unix,))
  519. $(eval $(call BuildPackage,freeradius3-utils))