]>
Commit | Line | Data |
---|---|---|
c1c8b404 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
c1c8b404 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = freeradius-server |
7 | version = 2.1.9 | |
8 | release = 2 | |
c1c8b404 | 9 | |
802ea3af MT |
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. | |
c1c8b404 | 14 | |
802ea3af | 15 | description |
c1c8b404 MT |
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. | |
802ea3af | 21 | end |
c1c8b404 | 22 | |
802ea3af | 23 | source_dl = |
c1c8b404 | 24 | |
802ea3af MT |
25 | build |
26 | requires | |
27 | gdbm-devel | |
28 | libpcap-devel | |
29 | libtool | |
30 | libtool-devel | |
31 | openssl-devel | |
32 | perl | |
33 | end | |
c1c8b404 | 34 | |
802ea3af | 35 | build |
c1c8b404 | 36 | ./configure \ |
802ea3af | 37 | %{CONFIGURE_ARCH} \ |
c1c8b404 MT |
38 | --prefix=/usr \ |
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 | ||
802ea3af MT |
53 | make LIBTOOL="libtool --tag=CC" #%{PARALLELISMFLAGS} |
54 | end | |
c1c8b404 | 55 | |
802ea3af MT |
56 | install |
57 | R=%{BUILDROOT} make install | |
58 | end | |
c1c8b404 | 59 | |
802ea3af MT |
60 | install_cmds |
61 | mkdir -pv %{BUILDROOT}/etc/logrotate.d/ | |
62 | cp -vf %{DIR_SOURCE}/logrotate/freeradius %{BUILDROOT}/etc/logrotate.d/ | |
63 | end | |
64 | end | |
65 | ||
66 | quality-agent | |
67 | whitelist_rpath | |
68 | /usr/lib/freeradius | |
69 | end | |
70 | end | |
9d13f279 SS |
71 | |
72 | # Generate certificates after installation | |
73 | # Command: cd /etc/raddb/certs/ && make Makefile | |
802ea3af MT |
74 | |
75 | packages | |
76 | package %{name} | |
77 | requires = make | |
78 | end | |
79 | end |