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