]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pkgs/freeradius/freeradius.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / freeradius / freeradius.nm
CommitLineData
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
6name = freeradius-server
7version = 2.1.9
8release = 2
c1c8b404 9
802ea3af
MT
10groups = System/Daemons
11url = http://www.freeradius.org
12license = GPLv2+ and LGPLv2+
13summary = High-performance and highly configurable free RADIUS server.
c1c8b404 14
802ea3af 15description
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 21end
c1c8b404 22
802ea3af 23source_dl =
c1c8b404 24
802ea3af
MT
25build
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
64end
65
66quality-agent
67 whitelist_rpath
68 /usr/lib/freeradius
69 end
70end
9d13f279
SS
71
72# Generate certificates after installation
73# Command: cd /etc/raddb/certs/ && make Makefile
802ea3af
MT
74
75packages
76 package %{name}
77 requires = make
78 end
79end