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