1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
25 include $(PKGROOT)/Include
27 PKG_NAME = freeradius-server
32 PKG_GROUPS = System/Daemons
33 PKG_URL = http://www.freeradius.org
34 PKG_LICENSE = GPLv2+ and LGPLv2+
35 PKG_SUMMARY = High-performance and highly configurable free RADIUS server.
37 PKG_BUILD_DEPS+= gdbm-devel libpcap-devel libtool libtool-devel openssl-devel \
40 define PKG_DESCRIPTION
41 The FreeRADIUS Server Project is a high performance and highly \
42 configurable GPL'd free RADIUS server. \
43 FreeRADIUS is an Internet authentication daemon, which implements \
44 the RADIUS protocol, as defined in RFC 2865. It allows \
45 Network Access Servers to perform authentication for dial-up users.
48 PKG_TARBALL = $(THISAPP).tar.gz
50 define QUALITY_AGENT_WHITELIST_RPATH
60 --libdir=/usr/lib/freeradius \
61 --localstatedir=/var \
62 --with-system-libtool \
65 --disable-ltdl-install \
67 --without-rlm_eap_ikev2 \
68 --without-rlm_sql_iodbc \
69 --without-rlm_sql_firebird \
70 --without-rlm_sql_db2 \
71 --without-rlm_sql_oracle
73 cd $(DIR_APP) && make LIBTOOL="libtool --tag=CC" #$(PARALLELISMFLAGS)
77 cd $(DIR_APP) && R=$(BUILDROOT) make install
80 define STAGE_INSTALL_CMDS
81 -mkdir -pv $(BUILDROOT)/etc/logrotate.d/
82 cp -vf $(DIR_SOURCE)/logrotate/freeradius $(BUILDROOT)/etc/logrotate.d/