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