]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - pkgs/freeradius/freeradius.nm
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x into systemd
[people/arne_f/ipfire-3.x.git] / pkgs / freeradius / freeradius.nm
1 ###############################################################################
2 # #
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5 # #
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. #
10 # #
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. #
15 # #
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/>. #
18 # #
19 ###############################################################################
20
21 ###############################################################################
22 # Definitions
23 ###############################################################################
24
25 include $(PKGROOT)/Include
26
27 PKG_NAME = freeradius-server
28 PKG_VER = 2.1.9
29 PKG_REL = 1
30
31 PKG_MAINTAINER =
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.
36
37 PKG_BUILD_DEPS+= gdbm-devel libpcap-devel libtool libtool-devel openssl-devel \
38 perl
39
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.
46 endef
47
48 PKG_TARBALL = $(THISAPP).tar.gz
49
50 define QUALITY_AGENT_WHITELIST_RPATH
51 /usr/lib/freeradius
52 endef
53
54 define STAGE_BUILD
55 cd $(DIR_APP) && \
56 ./configure \
57 $(CONFIGURE_ARCH) \
58 --prefix=/usr \
59 --sysconfdir=/etc \
60 --libdir=/usr/lib/freeradius \
61 --localstatedir=/var \
62 --with-system-libtool \
63 --with-threads \
64 --with-thread-pool \
65 --disable-ltdl-install \
66 --with-gnu-ld \
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
72
73 cd $(DIR_APP) && make LIBTOOL="libtool --tag=CC" #$(PARALLELISMFLAGS)
74 endef
75
76 define STAGE_INSTALL
77 cd $(DIR_APP) && R=$(BUILDROOT) make install
78 endef
79
80 define STAGE_INSTALL_CMDS
81 -mkdir -pv $(BUILDROOT)/etc/logrotate.d/
82 cp -vf $(DIR_SOURCE)/logrotate/freeradius $(BUILDROOT)/etc/logrotate.d/
83 endef