freeradius2: backport fix for CVE-2015-4680
[feed/packages.git] / net / freeradius2 / Makefile
1 #
2 # Copyright (C) 2008-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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=freeradius2
11 PKG_VERSION:=2.2.5
12 PKG_RELEASE:=2.1
13
14 PKG_SOURCE:=freeradius-server-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=\
16 ftp://ftp.freeradius.org/pub/freeradius/ \
17 ftp://ftp.freeradius.org/pub/freeradius/old/
18 PKG_MD5SUM:=40535bace507d7a3134c3d858f3cbc5a
19 PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
20
21 PKG_BUILD_DIR:=$(BUILD_DIR)/freeradius-server-$(PKG_VERSION)
22 PKG_FIXUP:=autoreconf
23
24 PKG_CONFIG_DEPENDS := \
25 FREERADIUS_OPENSSL \
26 FREERADIUS_NOSSL
27
28 include $(INCLUDE_DIR)/package.mk
29
30 define Package/freeradius2/config
31 source "$(SOURCE)/Config.in"
32 endef
33
34 define Package/freeradius2/Default
35 SECTION:=net
36 CATEGORY:=Network
37 URL:=http://freeradius.org/
38 SUBMENU:=FreeRADIUS (version 2)
39 endef
40
41 define Package/freeradius2
42 $(call Package/freeradius2/Default)
43 DEPENDS:=+libltdl +libreadline +freeradius2-common
44 TITLE:=A flexible RADIUS server (version 2)
45 endef
46
47 define Package/freeradius2/conffiles
48 /etc/freeradius2/clients.conf
49 /etc/freeradius2/radiusd.conf
50 /etc/freeradius2/sites/default
51 endef
52
53 define Package/freeradius2-democerts
54 $(call Package/freeradius2/Default)
55 DEPENDS:=freeradius2
56 TITLE:=Demo certificates to test the server
57 endef
58
59 define Package/freeradius2-common
60 $(call Package/freeradius2/Default)
61 TITLE:=common files
62 DEPENDS:=+libpthread +FREERADIUS_OPENSSL:libopenssl
63 endef
64
65 define Package/freeradius2-mod-chap
66 $(call Package/freeradius2/Default)
67 DEPENDS:=freeradius2
68 TITLE:=CHAP module
69 endef
70
71 define Package/freeradius2-mod-chap/conffiles
72 /etc/freeradius2/modules/chap
73 endef
74
75 define Package/freeradius2-mod-detail
76 $(call Package/freeradius2/Default)
77 DEPENDS:=freeradius2
78 TITLE:=Detailed accounting module
79 endef
80
81 define Package/freeradius2-mod-detail/conffiles
82 /etc/freeradius2/modules/detail
83 endef
84
85 define Package/freeradius2-mod-eap
86 $(call Package/freeradius2/Default)
87 DEPENDS:=freeradius2
88 TITLE:=Base EAP module
89 endef
90
91 define Package/freeradius2-mod-eap/conffiles
92 /etc/freeradius2/eap.conf
93 endef
94
95 define Package/freeradius2-mod-eap-gtc
96 $(call Package/freeradius2/Default)
97 DEPENDS:=freeradius2-mod-eap
98 TITLE:=EAP/GTC module
99 endef
100
101 define Package/freeradius2-mod-eap-md5
102 $(call Package/freeradius2/Default)
103 DEPENDS:=freeradius2-mod-eap
104 TITLE:=EAP/MD5 module
105 endef
106
107 define Package/freeradius2-mod-eap-mschapv2
108 $(call Package/freeradius2/Default)
109 DEPENDS:=freeradius2-mod-eap +freeradius2-mod-mschap
110 TITLE:=EAP/MS-CHAPv2 module
111 endef
112
113 define Package/freeradius2-mod-eap-peap
114 $(call Package/freeradius2/Default)
115 DEPENDS:=freeradius2-mod-eap @FREERADIUS_OPENSSL
116 TITLE:=EAP/PEAP module
117 endef
118
119 define Package/freeradius2-mod-eap-tls
120 $(call Package/freeradius2/Default)
121 DEPENDS:=freeradius2-mod-eap @FREERADIUS_OPENSSL
122 TITLE:=EAP/TLS module
123 endef
124
125 define Package/freeradius2-mod-eap-ttls
126 $(call Package/freeradius2/Default)
127 DEPENDS:=freeradius2-mod-eap-tls
128 TITLE:=EAP/TTLS module
129 endef
130
131 define Package/freeradius2-mod-exec
132 $(call Package/freeradius2/Default)
133 DEPENDS:=freeradius2
134 TITLE:=EXEC module
135 endef
136
137 define Package/freeradius2-mod-exec/conffiles
138 /etc/freeradius2/modules/exec
139 endef
140
141 define Package/freeradius2-mod-expiration
142 $(call Package/freeradius2/Default)
143 DEPENDS:=freeradius2
144 TITLE:=Expiration module
145 endef
146
147 define Package/freeradius2-mod-expiration/conffiles
148 /etc/freeradius2/modules/expiration
149 endef
150
151 define Package/freeradius2-mod-always
152 $(call Package/freeradius2/Default)
153 DEPENDS:=freeradius2
154 TITLE:=Always module
155 endef
156
157 define Package/freeradius2-mod-always/conffiles
158 /etc/freeradius2/modules/always
159 endef
160
161 define Package/freeradius2-mod-expr
162 $(call Package/freeradius2/Default)
163 DEPENDS:=freeradius2
164 TITLE:=EXPR module
165 endef
166
167 define Package/freeradius2-mod-expr/conffiles
168 /etc/freeradius2/modules/expr
169 endef
170
171 define Package/freeradius2-mod-attr-filter
172 $(call Package/freeradius2/Default)
173 DEPENDS:=freeradius2
174 TITLE:=ATTR filter module
175 endef
176
177 define Package/freeradius2-mod-attr-filter/conffiles
178 /etc/freeradius2/modules/attr_filter
179 /etc/freeradius2/attrs
180 /etc/freeradius2/attrs.access_reject
181 /etc/freeradius2/attrs.accounting_response
182 /etc/freeradius2/attrs.pre-proxy
183 endef
184
185 define Package/freeradius2-mod-attr-rewrite
186 $(call Package/freeradius2/Default)
187 DEPENDS:=freeradius2
188 TITLE:=ATTR rewrite module
189 endef
190
191 define Package/freeradius2-mod-attr-rewrite/conffiles
192 /etc/freeradius2/modules/attr_rewrite
193 endef
194
195 define Package/freeradius2-mod-files
196 $(call Package/freeradius2/Default)
197 DEPENDS:=freeradius2
198 TITLE:=Module using local files for authorization
199 endef
200
201 define Package/freeradius2-mod-files/conffiles
202 /etc/freeradius2/acct_users
203 /etc/freeradius2/preproxy_users
204 /etc/freeradius2/users
205 /etc/freeradius2/modules/files
206 endef
207
208 define Package/freeradius2-mod-passwd
209 $(call Package/freeradius2/Default)
210 DEPENDS:=freeradius2
211 TITLE:=Rlm passwd module
212 endef
213
214 define Package/freeradius2-mod-passwd/conffiles
215 /etc/freeradius2/modules/passwd
216 endef
217
218 define Package/freeradius2-mod-ldap
219 $(call Package/freeradius2/Default)
220 DEPENDS:=freeradius2 +PACKAGE_freeradius2-mod-ldap:libopenldap
221 TITLE:=LDAP module
222 endef
223
224 define Package/freeradius2-mod-ldap/conffiles
225 /etc/freeradius2/ldap.attrmap
226 /etc/freeradius2/modules/ldap
227 endef
228
229 define Package/freeradius2-mod-logintime
230 $(call Package/freeradius2/Default)
231 DEPENDS:=freeradius2
232 TITLE:=Logintime module
233 endef
234
235 define Package/freeradius2-mod-logintime/conffiles
236 /etc/freeradius2/modules/logintime
237 endef
238
239 define Package/freeradius2-mod-mschap
240 $(call Package/freeradius2/Default)
241 DEPENDS:=freeradius2
242 TITLE:=MS-CHAP and MS-CHAPv2 module
243 endef
244
245 define Package/freeradius2-mod-mschap/conffiles
246 /etc/freeradius2/modules/mschap
247 endef
248
249 define Package/freeradius2-mod-pap
250 $(call Package/freeradius2/Default)
251 DEPENDS:=freeradius2
252 TITLE:=PAP module
253 endef
254
255 define Package/freeradius2-mod-pap/conffiles
256 /etc/freeradius2/modules/pap
257 endef
258
259 define Package/freeradius2-mod-preprocess
260 $(call Package/freeradius2/Default)
261 DEPENDS:=freeradius2
262 TITLE:=Request pre-processing module
263 endef
264
265 define Package/freeradius2-mod-preprocess/conffiles
266 /etc/freeradius2/hints
267 /etc/freeradius2/huntgroups
268 /etc/freeradius2/modules/preprocess
269 endef
270
271 define Package/freeradius2-mod-realm
272 $(call Package/freeradius2/Default)
273 DEPENDS:=freeradius2
274 TITLE:=Realms handling module
275 endef
276
277 define Package/freeradius2-mod-realm/conffiles
278 /etc/freeradius2/proxy.conf
279 /etc/freeradius2/modules/realm
280 endef
281
282 define Package/freeradius2-mod-sql
283 $(call Package/freeradius2/Default)
284 DEPENDS:=freeradius2
285 TITLE:=Base SQL module
286 endef
287
288 define Package/freeradius2-mod-sql/conffiles
289 /etc/freeradius2/sql.conf
290 endef
291
292 define Package/freeradius2-mod-sql-mysql
293 $(call Package/freeradius2/Default)
294 DEPENDS:=freeradius2-mod-sql \
295 +PACKAGE_freeradius2-mod-sql-mysql:libmysqlclient-r
296 TITLE:=MySQL module
297 endef
298
299 define Package/freeradius2-mod-sql-pgsql
300 $(call Package/freeradius2/Default)
301 DEPENDS:=freeradius2-mod-sql \
302 +PACKAGE_freeradius2-mod-sql-pgsql:libpq
303 TITLE:=PostgreSQL module
304 endef
305
306 define Package/freeradius2-mod-sql-sqlite
307 $(call Package/freeradius2/Default)
308 DEPENDS:=freeradius2-mod-sql \
309 +PACKAGE_freeradius2-mod-sql-sqlite:libsqlite3
310 TITLE:=SQLite module
311 endef
312
313 define Package/freeradius2-mod-sqlcounter
314 $(call Package/freeradius2/Default)
315 DEPENDS:=freeradius2-mod-sql
316 TITLE:=Generic SQL Counter module
317 endef
318
319 define Package/freeradius2-mod-radutmp
320 $(call Package/freeradius2/Default)
321 DEPENDS:=freeradius2
322 TITLE:=Radius UTMP module
323 endef
324
325 define Package/freeradius2-mod-radutmp/conffiles
326 /etc/freeradius2/modules/radutmp
327 /etc/freeradius2/modules/sradutmp
328 endef
329
330 define Package/freeradius2-utils
331 $(call Package/freeradius2/Default)
332 DEPENDS:=+freeradius2-common
333 TITLE:=Misc. client utilities
334 endef
335
336 define Package/freeradius2-mod-sqllog
337 $(call Package/freeradius2/Default)
338 DEPENDS:=freeradius2
339 TITLE:=SQL Logging module
340 endef
341
342 CONFIGURE_ARGS+= \
343 --libdir=/usr/lib/freeradius2 \
344 --libexecdir=/usr/lib/freeradius2 \
345 --enable-shared \
346 --disable-static \
347 --disable-developer \
348 --with-threads \
349 $(if $(CONFIG_FREERADIUS_OPENSSL),--with,--without)-openssl \
350 $(if $(CONFIG_FREERADIUS_OPENSSL),--with-openssl-includes="$(STAGING_DIR)/usr/include",) \
351 $(if $(CONFIG_FREERADIUS_OPENSSL),--with-openssl-libraries="$(STAGING_DIR)/usr/lib",) \
352 --with-system-libtool \
353 --with-system-libltdl \
354 --enable-strict-dependencies \
355 --with-raddbdir=/etc/freeradius2 \
356 --with-radacctdir=/var/db/radacct \
357 --with-logdir=/var/log \
358 --without-edir \
359 --without-snmp \
360 --without-rlm_checkval \
361 --without-rlm_dbm \
362 --without-rlm_counter \
363 --with-rlm_expr \
364 --with-rlm_eap \
365 --without-rlm_eap_sim \
366 --without-rlm_example \
367 --without-rlm_ippool \
368 --without-rlm_krb5 \
369 --without-rlm_otp \
370 --without-rlm_smsotp \
371 --without-rlm_pam \
372 --without-rlm_perl \
373 --without-rlm_python \
374 --without-rlm_smb \
375 --with-rlm_sql \
376 --with-rlm_sqlcounter \
377 --without-rlm_sqlhpwippool \
378 --without-rlm_sqlippool \
379 --without-rlm_sql_db2 \
380 --without-rlm_sql_firebird \
381 --without-rlm_sql_freetds \
382 --without-rlm_sql_iodbc \
383 --without-rlm_sql_oracle \
384 --without-rlm_sql_sybase \
385 --without-rlm_sql_unixodbc \
386 --without-rlm_sql_log \
387 --without-rlm_unix \
388 --without-rlm_eap_tnc \
389 --without-rlm_eap_ikev2 \
390 --without-rlm_opendirectory \
391 --without-rlm_wimax \
392 --without-rlm_ruby \
393 --without-rlm_caching \
394 --without-rlm_redis \
395 --without-rlm_rediswho \
396 --without-rlm_soh \
397 --without-rlm_sim \
398 --without-rlm_replicate \
399 --without-rlm_protocol_filter \
400 --without-rlm_policy \
401 --without-rlm_linelog \
402 --without-rlm_jradius \
403 --without-rlm_fastusers \
404 --without-rlm_eap_leap \
405 --without-rlm_dynamic_clients \
406 --without-rlm_digest \
407 --without-rlm_cram \
408 --without-rlm_copy_packet \
409 --without-rlm_acct_unique \
410 --without-rlm_acctlog
411
412
413 PKG_DICTIONARIES:= \
414 freeradius freeradius.internal \
415 rfc2865 rfc2866 rfc2867 rfc2868 rfc2869 rfc3162 rfc3576 rfc3580 \
416 rfc4372 rfc4675 rfc4679 \
417 microsoft \
418 wispr \
419
420 #ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-ldap),)
421 # CONFIGURE_ARGS+= \
422 # --with-rlm_ldap-include-dir="$(STAGING_DIR)/usr/include" \
423 # --with-rlm_ldap-lib-dir="$(STAGING_DIR)/usr/lib"
424 # CONFIGURE_LIBS+= -lcrypto -lssl
425 #else
426 CONFIGURE_ARGS+= --without-rlm_ldap
427 #endif
428
429 #ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-sql-mysql),)
430 # CONFIGURE_ARGS+= \
431 # --with-mysql-include-dir="$(STAGING_DIR)/usr/include" \
432 # --with-mysql-lib-dir="$(STAGING_DIR)/usr/lib/mysql"
433 # CONFIGURE_LIBS+= -lz
434 # CONFIGURE_VARS+= ac_cv_lib_mysqlclient_r_mysql_init=yes
435 #else
436 CONFIGURE_ARGS+= --without-rlm_sql_mysql
437 #endif
438
439 ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-sql-pgsql),)
440 CONFIGURE_ARGS+= \
441 --with-rlm_sql_postgresql-include-dir="$(STAGING_DIR)/usr/include" \
442 --with-rlm_sql_postgresql-lib-dir="$(STAGING_DIR)/usr/lib"
443 else
444 CONFIGURE_ARGS+= --without-rlm_sql_postgresql
445 endif
446
447 ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-sqllog),)
448 CONFIGURE_ARGS+= \
449 --with-rlm_sql_log \
450 --with-experimental-modules \
451 else
452 CONFIGURE_ARGS+= --without-rlm_sql_log
453 endif
454
455
456 ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-sql-sqlite),)
457 CONFIGURE_ARGS+= \
458 --with-rlm_sql_sqlite \
459 --with-experimental-modules \
460 --with-sqlite-include-dir="$(STAGING_DIR)/usr/include" \
461 --with-sqlite-lib-dir="$(STAGING_DIR)/usr/lib"
462 else
463 CONFIGURE_ARGS+= --without-rlm_sql_sqlite
464 endif
465
466 ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-eap-peap),)
467 CONFIGURE_ARGS+= \
468 --with-rlm_eap_peap \
469 --with-rlm_eap_peap-include-dir="$(STAGING_DIR)/usr/include" \
470 --with-rlm_eap_peap-lib-dir="$(STAGING_DIR)/usr/lib"
471 CONFIGURE_LIBS+= -lcrypto -lssl
472 else
473 CONFIGURE_ARGS+= --without-rlm_eap_peap
474 endif
475
476 ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-eap-tls),)
477 CONFIGURE_ARGS+= \
478 --with-rlm_eap_tls \
479 --with-rlm_eap_tls-include-dir="$(STAGING_DIR)/usr/include" \
480 --with-rlm_eap_tls-lib-dir="$(STAGING_DIR)/usr/lib"
481 CONFIGURE_LIBS+= -lcrypto -lssl
482 else
483 CONFIGURE_ARGS+= --without-rlm_eap_tls
484 endif
485
486 ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-eap-ttls),)
487 CONFIGURE_ARGS+= \
488 --with-rlm_eap_ttls \
489 --with-rlm_eap_ttls-include-dir="$(STAGING_DIR)/usr/include" \
490 --with-rlm_eap_ttls-lib-dir="$(STAGING_DIR)/usr/lib"
491 CONFIGURE_LIBS+= -lcrypto -lssl
492 else
493 CONFIGURE_ARGS+= --without-rlm_eap_ttls
494 endif
495
496 ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-attr-rewrite),)
497 CONFIGURE_ARGS+= --with-rlm_attr-rewrite
498 else
499 CONFIGURE_ARGS+= --without-rlm_attr-rewrite
500 endif
501
502 ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-radutmp),)
503 CONFIGURE_ARGS+= --with-rlm_radutmp
504 else
505 CONFIGURE_ARGS+= --without-rlm_radutmp
506 endif
507
508 ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-logintime),)
509 CONFIGURE_ARGS+= --with-rlm_logintime
510 else
511 CONFIGURE_ARGS+= --without-rlm_logintime
512 endif
513
514 ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-expiration),)
515 CONFIGURE_ARGS+= --with-rlm_expiration
516 else
517 CONFIGURE_ARGS+= --without-rlm_expiration
518 endif
519
520 ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-always),)
521 CONFIGURE_ARGS+= --with-rlm_always
522 else
523 CONFIGURE_ARGS+= --without-rlm_always
524 endif
525
526 CONFIGURE_VARS+= \
527 LDFLAGS="$$$$LDFLAGS" \
528 LIBS="$(CONFIGURE_LIBS)" \
529 MYSQL_CONFIG="no" \
530 ac_cv_lib_readline=no \
531
532 define Build/Compile
533 $(MAKE) -C $(PKG_BUILD_DIR) \
534 R="$(PKG_INSTALL_DIR)" \
535 INSTALLSTRIP="" \
536 all certs install
537 endef
538
539 define Package/freeradius2-common/install
540 $(INSTALL_DIR) $(1)/etc/freeradius2
541 chmod 771 $(1)/etc/freeradius2
542 $(CP) $(PKG_INSTALL_DIR)/etc/freeradius2/dictionary $(1)/etc/freeradius2/ ; \
543 $(INSTALL_DIR) $(1)/usr/lib/freeradius2
544 $(CP) $(PKG_INSTALL_DIR)/usr/lib/freeradius2/libfreeradius-radius{,-*}.so $(1)/usr/lib/freeradius2
545 $(CP) $(PKG_INSTALL_DIR)/usr/lib/freeradius2/libfreeradius-eap{,-*}.so $(1)/usr/lib/freeradius2
546 $(INSTALL_DIR) $(1)/usr/share/freeradius2
547 $(CP) $(PKG_INSTALL_DIR)/usr/share/freeradius/dictionary $(1)/usr/share/freeradius2/
548 $(SED) "s,^\(\$$$$INCLUDE\),#\1,g" $(1)/usr/share/freeradius2/dictionary
549 for f in $(PKG_DICTIONARIES); do \
550 $(CP) $(PKG_INSTALL_DIR)/usr/share/freeradius/dictionary.$$$${f} $(1)/usr/share/freeradius2/ ; \
551 $(SED) "s,^#\(\$$$$INCLUDE dictionary\.$$$${f}\),\1,g" $(1)/usr/share/freeradius2/dictionary ; \
552 done
553 endef
554
555 define Package/freeradius2/install
556 $(INSTALL_DIR) $(1)/etc/freeradius2/modules
557 $(INSTALL_DIR) $(1)/etc/freeradius2/sites
558 for f in clients.conf radiusd.conf policy.conf; do \
559 $(CP) $(PKG_INSTALL_DIR)/etc/freeradius2/$$$${f} $(1)/etc/freeradius2/ ; \
560 done
561 $(CP) $(PKG_INSTALL_DIR)/etc/freeradius2/sites-available/default $(1)/etc/freeradius2/sites/default
562 $(INSTALL_DIR) $(1)/usr/sbin
563 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/radiusd $(1)/usr/sbin/
564 $(INSTALL_DIR) $(1)/etc/init.d
565 $(INSTALL_BIN) ./files/radiusd.init $(1)/etc/init.d/radiusd
566 endef
567
568 define Package/freeradius2-democerts/install
569 $(INSTALL_DIR) $(1)/etc/freeradius2/certs
570 $(CP) \
571 $(PKG_BUILD_DIR)/raddb/certs/ca.pem \
572 $(PKG_BUILD_DIR)/raddb/certs/dh \
573 $(PKG_BUILD_DIR)/raddb/certs/random \
574 $(PKG_BUILD_DIR)/raddb/certs/server.pem \
575 $(1)/etc/freeradius2/certs/
576 endef
577
578 define Package/freeradius2-utils/install
579 $(INSTALL_DIR) $(1)/usr/bin
580 for f in radclient radeapclient radwho; do \
581 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$$$${f} $(1)/usr/bin/ ; \
582 done
583 endef
584
585 define BuildPlugin
586 define Package/$(1)/install
587 [ -z "$(2)" ] || $(INSTALL_DIR) $$(1)/usr/lib/freeradius2
588 for m in $(2); do \
589 $(CP) $(PKG_INSTALL_DIR)/usr/lib/freeradius2/$$$$$$$${m}{,-*}.so $$(1)/usr/lib/freeradius2 ; \
590 done
591 [ -z "$(3)" ] || $(INSTALL_DIR) $$(1)/etc/freeradius2
592 [ -z "$(4)" ] || $(INSTALL_DIR) $$(1)/etc/freeradius2/$(4)
593 for f in $(3); do \
594 $(CP) $(PKG_INSTALL_DIR)/etc/freeradius2/$$$$$$$${f} $$(1)/etc/freeradius2/$$$$$$$${f} ; \
595 done
596 endef
597
598 $$(eval $$(call BuildPackage,$(1)))
599 endef
600
601 $(eval $(call BuildPackage,freeradius2))
602 $(eval $(call BuildPackage,freeradius2-common))
603 $(eval $(call BuildPackage,freeradius2-democerts))
604 $(eval $(call BuildPlugin,freeradius2-mod-chap,rlm_chap,modules/chap,modules,))
605 $(eval $(call BuildPlugin,freeradius2-mod-detail,rlm_detail,modules/detail,modules,))
606 $(eval $(call BuildPlugin,freeradius2-mod-eap,rlm_eap,eap.conf))
607 $(eval $(call BuildPlugin,freeradius2-mod-eap-gtc,rlm_eap_gtc,))
608 $(eval $(call BuildPlugin,freeradius2-mod-eap-md5,rlm_eap_md5,))
609 $(eval $(call BuildPlugin,freeradius2-mod-eap-mschapv2,rlm_eap_mschapv2,))
610 $(eval $(call BuildPlugin,freeradius2-mod-eap-peap,rlm_eap_peap,))
611 $(eval $(call BuildPlugin,freeradius2-mod-eap-tls,rlm_eap_tls,))
612 $(eval $(call BuildPlugin,freeradius2-mod-eap-ttls,rlm_eap_ttls,))
613 $(eval $(call BuildPlugin,freeradius2-mod-exec,rlm_exec,modules/exec modules/echo ,modules,))
614 $(eval $(call BuildPlugin,freeradius2-mod-attr-rewrite,rlm_attr_rewrite,modules/attr_rewrite,modules,))
615 $(eval $(call BuildPlugin,freeradius2-mod-files,rlm_files,acct_users preproxy_users users modules/files,modules,))
616 $(eval $(call BuildPlugin,freeradius2-mod-passwd,rlm_passwd,modules/passwd,modules,))
617 #$(eval $(call BuildPlugin,freeradius2-mod-ldap,rlm_ldap,ldap.attrmap modules/ldap,modules,))
618 $(eval $(call BuildPlugin,freeradius2-mod-mschap,rlm_mschap,modules/mschap,modules,))
619 $(eval $(call BuildPlugin,freeradius2-mod-pap,rlm_pap,modules/pap,modules,))
620 $(eval $(call BuildPlugin,freeradius2-mod-preprocess,rlm_preprocess,hints huntgroups modules/preprocess,modules,))
621 $(eval $(call BuildPlugin,freeradius2-mod-realm,rlm_realm,proxy.conf modules/realm modules/inner-eap,modules,))
622 $(eval $(call BuildPlugin,freeradius2-mod-sql,rlm_sql,sql.conf,))
623 #$(eval $(call BuildPlugin,freeradius2-mod-sql-mysql,rlm_sql_mysql,))
624 $(eval $(call BuildPlugin,freeradius2-mod-sql-pgsql,rlm_sql_postgresql,))
625 $(eval $(call BuildPlugin,freeradius2-mod-sql-sqlite,rlm_sql_sqlite,))
626 $(eval $(call BuildPlugin,freeradius2-mod-sqlcounter,rlm_sqlcounter,))
627 $(eval $(call BuildPlugin,freeradius2-mod-sqllog,rlm_sql_log,))
628 $(eval $(call BuildPlugin,freeradius2-mod-radutmp,rlm_radutmp,modules/radutmp modules/sradutmp,modules,))
629 $(eval $(call BuildPlugin,freeradius2-mod-logintime,rlm_logintime,modules/logintime,modules,))
630 $(eval $(call BuildPlugin,freeradius2-mod-expr,rlm_expr,modules/expr,modules,))
631 $(eval $(call BuildPlugin,freeradius2-mod-attr-filter,rlm_attr_filter,modules/attr_filter attrs attrs.access_reject attrs.accounting_response attrs.pre-proxy,modules,,))
632 $(eval $(call BuildPlugin,freeradius2-mod-expiration,rlm_expiration,modules/expiration,modules,))
633 $(eval $(call BuildPlugin,freeradius2-mod-always,rlm_always,modules/always,modules,))
634 $(eval $(call BuildPackage,freeradius2-utils))