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 # Freeradius requires make to generate it's certificates
43 define PKG_DESCRIPTION
44 The FreeRADIUS Server Project is a high performance and highly \
45 configurable GPL'd free RADIUS server. \
46 FreeRADIUS is an Internet authentication daemon, which implements \
47 the RADIUS protocol, as defined in RFC 2865. It allows \
48 Network Access Servers to perform authentication for dial-up users.
51 PKG_TARBALL = $(THISAPP).tar.gz
53 define QUALITY_AGENT_WHITELIST_RPATH
63 --libdir=/usr/lib/freeradius \
64 --localstatedir=/var \
65 --with-system-libtool \
68 --disable-ltdl-install \
70 --without-rlm_eap_ikev2 \
71 --without-rlm_sql_iodbc \
72 --without-rlm_sql_firebird \
73 --without-rlm_sql_db2 \
74 --without-rlm_sql_oracle
76 cd $(DIR_APP) && make LIBTOOL="libtool --tag=CC" #$(PARALLELISMFLAGS)
80 cd $(DIR_APP) && R=$(BUILDROOT) make install
83 define STAGE_INSTALL_CMDS
84 -mkdir -pv $(BUILDROOT)/etc/logrotate.d/
85 cp -vf $(DIR_SOURCE)/logrotate/freeradius $(BUILDROOT)/etc/logrotate.d/
88 # Generate certificates after installation
89 # Command: cd /etc/raddb/certs/ && make Makefile