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