]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - freeradius/freeradius.nm
freeradius: Update to 2.1.12.
[people/arne_f/ipfire-3.x.git] / freeradius / freeradius.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = freeradius-server
7 version = 2.1.12
8 release = 1
9
10 groups = System/Daemons
11 url = http://www.freeradius.org
12 license = GPLv2+ and LGPLv2+
13 summary = High-performance and highly configurable free RADIUS server.
14
15 description
16 The FreeRADIUS Server Project is a high performance and highly
17 configurable GPL'd free RADIUS server.
18 FreeRADIUS is an Internet authentication daemon, which implements
19 the RADIUS protocol, as defined in RFC 2865. It allows
20 Network Access Servers to perform authentication for dial-up users.
21 end
22
23 source_dl = ftp://ftp.freeradius.org/pub/freeradius/
24
25 build
26 requires
27 gdbm-devel
28 libpcap-devel
29 libtool
30 libtool-devel
31 openssl-devel
32 perl
33 end
34
35 PARALLELISMFLAGS = # Disabled
36
37 configure_options +=\
38 %{CONFIGURE_ARCH} \
39 --sysconfdir=/etc \
40 --libdir=/usr/lib/freeradius \
41 --localstatedir=/var \
42 --with-system-libtool \
43 --with-threads \
44 --with-thread-pool \
45 --disable-ltdl-install \
46 --with-gnu-ld \
47 --without-rlm_eap_ikev2 \
48 --without-rlm_sql_iodbc \
49 --without-rlm_sql_firebird \
50 --without-rlm_sql_db2 \
51 --without-rlm_sql_oracle
52
53 make_build_targets = LINK_MODE=-pie
54
55 install
56 make install R=%{BUILDROOT}
57
58 mkdir -pv %{BUILDROOT}/etc/logrotate.d/
59 cp -vf %{DIR_SOURCE}/logrotate/freeradius %{BUILDROOT}/etc/logrotate.d/
60 end
61 end
62
63 quality-agent
64 whitelist_rpath
65 /usr/lib/freeradius
66 end
67 end
68
69 # Generate certificates after installation
70 # Command: cd /etc/raddb/certs/ && make Makefile
71
72 packages
73 package %{name}
74 requires = make
75 end
76 end