/[packages]/updates/2/freeradius/current/SPECS/freeradius.spec
ViewVC logotype

Contents of /updates/2/freeradius/current/SPECS/freeradius.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 304022 - (show annotations) (download)
Tue Oct 9 21:43:38 2012 UTC (12 years ago) by luigiwalser
File size: 21360 byte(s)
add patch from redhat via mdv to fix CVE-2012-3547
1 %define _disable_ld_no_undefined 1
2
3 %define major 1
4 %define libname %mklibname freeradius %{major}
5 %define develname %mklibname -d freeradius
6 %define _requires_exceptions perl(DBI)
7
8 Summary: High-performance and highly configurable RADIUS server
9 Name: freeradius
10 Version: 2.1.12
11 %define subrel 1
12 Release: %mkrel 8
13 License: GPLv2+
14 Group: System/Servers
15 URL: http://www.freeradius.org/
16 Source0: ftp://ftp.freeradius.org/pub/radius/%{name}-server-%{version}.tar.bz2
17 Source1: ftp://ftp.freeradius.org/pub/radius/%{name}-server-%{version}.tar.bz2.sig
18 Source2: freeradius.pam-0.77
19 Source3: freeradius.pam
20 Source4: freeradius.init
21 Source5: freeradius.logrotate
22 Source6: freeradius.sysconfig
23 Source7: freeradius.service
24 # Fix certificate location
25 Patch0: freeradius-2.1.11-ssl-config.patch
26 Patch1: freeradius-server-2.1.6-fix-format-errors.patch
27 Patch4: freeradius-0.8.1-use-system-com_err.patch
28 Patch6: freeradius-server-2.1.10-avoid-version.diff
29 Patch7: freeradius-server-2.1.10-version-info.diff
30 Patch8: freeradius-2.0.0-samba3.patch
31 Patch9: freeradius-server-2.1.8-ltdl_no_la.patch
32 Patch10: freeradius-server-linkage_fix.diff
33 Patch11: freeradius-server-2.1.7-fix-perl-scripts.patch
34 Patch12: freeradius-server-2.1.11-CVE-2012-3547.diff
35 BuildRequires: gdbm-devel
36 BuildRequires: krb5-devel
37 BuildRequires: libsasl-devel
38 BuildRequires: libtool-devel
39 BuildRequires: mysql-devel
40 BuildRequires: openldap-devel
41 BuildRequires: openssl-devel
42 BuildRequires: pam-devel
43 BuildRequires: pcap-devel
44 BuildRequires: perl-devel
45 BuildRequires: postgresql-devel
46 BuildRequires: python-devel
47 BuildRequires: ruby-devel
48 BuildRequires: rpm-helper >= 0.21
49 BuildRequires: sqlite3-devel
50 BuildRequires: unixODBC-devel
51 BuildRequires: zlib-devel
52 # minimal version for ssl cert generation
53 Requires(post): openssl
54 Requires(post): rpm-helper >= 0.24.8-1
55 Requires(preun): rpm-helper >= 0.24.8-1
56 Conflicts: radiusd-cistron
57
58 %description
59 The FreeRADIUS Server Project is a high-performance and highly configurable
60 GPL'd RADIUS server. It is somewhat similar to the Livingston 2.0 RADIUS
61 server, but has many more features, and is much more configurable.
62
63 %package -n %{name}-krb5
64 Summary: The Kerberos module for %{name}
65 Group: System/Servers
66 Requires: krb5-libs
67 Requires: %{name} = %{version}-%{release}
68 Obsoletes: %{libname}-krb5
69
70 %description -n %{name}-krb5
71 The FreeRADIUS server can use Kerberos to authenticate users, and this module
72 is necessary for that.
73
74 %package -n %{name}-ldap
75 Summary: The LDAP module for %{name}
76 Group: System/Servers
77 Requires: %{name} = %{version}-%{release}
78 Obsoletes: %{libname}-ldap
79
80 %description -n %{name}-ldap
81 The FreeRADIUS server can use LDAP to authenticate users, and this module is
82 necessary for that.
83
84 %package -n %{name}-postgresql
85 Summary: The PostgreSQL module for %{name}
86 Group: System/Servers
87 Requires: %{name} = %{version}-%{release}
88 Obsoletes: %{libname}-postgresql
89
90 %description -n %{name}-postgresql
91 The FreeRADIUS server can use PostgreSQL to authenticate users and do
92 accounting, and this module is necessary for that.
93
94 %package -n %{name}-mysql
95 Summary: The MySQL module for %{name}
96 Group: System/Servers
97 Requires: %{name} = %{version}-%{release}
98 Obsoletes: %{libname}-mysql
99
100 %description -n %{name}-mysql
101 The FreeRADIUS server can use MySQL to authenticate users and do accounting,
102 and this module is necessary for that.
103
104 %package -n %{name}-unixODBC
105 Summary: The unixODBC module for %{name}
106 Group: System/Servers
107 Requires: %{name} = %{version}-%{release}
108 Obsoletes: %{libname}-unixODBC
109
110 %description -n %{name}-unixODBC
111 The FreeRADIUS server can use unixODBC to authenticate users and do accounting,
112 and this module is necessary for that.
113
114 %package -n %{name}-sqlite
115 Summary: The sqlite module for %{name}
116 Group: System/Servers
117 Requires: %{name} = %{version}-%{release}
118 Obsoletes: %{libname}-sqlite
119
120 %description -n %{name}-sqlite
121 The FreeRADIUS server can use sqlite to authenticate users and do accounting,
122 and this module is necessary for that.
123
124 %package -n %{libname}
125 Summary: Libraries for %{name}
126 Group: System/Libraries
127
128 %description -n %{libname}
129 Libraries for %{name}
130
131 %package -n %{develname}
132 Summary: Development headers for %{name}
133 Group: Development/C
134 Requires: %{libname} = %{version}-%{release}
135 Obsoletes: %{mklibname -d %{name} 1}
136 Provides: freeradius-devel = %{version}-%{release}
137 Obsoletes: freeradius-devel
138
139 %description -n %{develname}
140 Development headers and libraries for %{name}
141
142 %package web
143 Summary: Web based administration interface for freeradius
144 Group: System/Servers
145 Requires: apache-mod_php
146 Requires: freeradius
147 Requires: php-mysql
148 Requires: net-snmp-mibs
149 Requires: net-snmp-utils
150 Provides: dialup_admin = %{version}-%{release}
151 Obsoletes: dialup_admin
152
153 %description web
154 dialup_admin is a web based administration interface for the freeradius radius
155 server. It is written in PHP4. It is modular and right now it assumes that user
156 information is stored in an ldap server or an sql database and accounting in an
157 sql server.
158
159 %prep
160 %setup -q -n %{name}-server-%{version}
161
162 # fix strange perms
163 find . -type d -perm 0700 -exec chmod 755 {} \;
164 find . -type f -perm 0555 -exec chmod 755 {} \;
165 find . -type f -perm 0444 -exec chmod 644 {} \;
166
167 %patch0 -p0 -b .config
168 %patch4 -p0 -b .peroyvind
169 %patch6 -p1 -b .avoid-version
170 %patch7 -p1 -b .version-info
171 %patch8 -p0 -b .samba3
172 %patch9 -p1 -b .ltdl_no_la
173 %patch10 -p0 -b .linkage_fix
174 %patch11 -p1 -b .file-temp
175 %patch1 -p 1
176 %patch12 -p0 -b .CVE-2012-3547
177
178 # For pre release only:
179 perl -pi -e 's,\$\(RADIUSD_VERSION\),%{version},' doc/Makefile
180 perl -pi -e 's,\$\(RADIUSD_VERSION\),%{version},' doc/rfc/Makefile
181
182 # fix path
183 find . -type f | xargs perl -pi -e "s|/usr/local/bin|%{_bindir}|g"
184
185 # move php3 to php
186 find dialup_admin -name '*.php3' | while read php3; do
187 mv $php3 ${php3%%.php3}.php
188 done
189
190 find dialup_admin -type f | xargs perl -pi -e "s|\.php3|\.php|g"
191 perl -pi -e "s|\\\${bindir}|\\\${bindir}/|g" dialup_admin/Makefile
192
193 %build
194 %serverbuild
195
196 export CFLAGS="$CFLAGS -fPIC -DLDAP_DEPRECATED"
197 export CXXFLAGS="$CXXFLAGS -fPIC -DLDAP_DEPRECATED"
198
199 %configure2_5x \
200 --with-gnu-ld \
201 --with-threads \
202 --with-thread-pool \
203 --with-system-libtool \
204 --disable-static \
205 --libdir=%{_libdir}/%{name} \
206 --libexecdir=%{_libdir}/%{name} \
207 --localstatedir=%{_var} \
208 --with-logdir=%{_var}/log/radius \
209 --disable-ltdl-install \
210 --with-ltdl-lib=%{_libdir} \
211 --with-ltdl-include=%{_includedir} \
212 --with-radacctdir=%{_var}/log/radius/radacct \
213 --with-raddbdir=%{_sysconfdir}/raddb \
214 --with-static-modules="" \
215 --with-experimental-modules \
216 --with-large-files \
217 --with-rlm-dbm-lib-dir=%{_libdir} \
218 --with-rlm-eap-peap-lib-dir=%{_libdir} \
219 --with-openssl-libraries=%{_libdir} \
220 --with-rlm-krb5-lib-dir=%{_libdir} \
221 --with-rlm-ldap-lib-dir=%{_libdir} \
222 --with-rlm-ldap-include-dir=%{_includedir}/ldap \
223 --with-mysql-include-dir=%{_includedir}/mysql \
224 --with-mysql-lib-dir=%{_libdir}/mysql \
225 --with-mysql-dir=%{_prefix} \
226 --with-rlm-sql-postgresql-lib-dir=%{_libdir}/mysql \
227 --with-rlm-sql-postgresql-include-dir=%{_includedir}/pgsql \
228 --with-unixodbc-lib-dir=%{_libdir} \
229 --with-unixodbc-dir=%{_prefix} \
230 --without-rlm_sql_db2 \
231 --without-rlm_sql_firebird \
232 --without-rlm_sql_freetds \
233 --without-rlm_sql_iodbc \
234 --without-rlm_sql_oracle \
235 --without-rlm_sql_sybase \
236
237 # enable this one with a hack...
238 perl -pi \
239 -e "s|^TARGET.*|TARGET=rlm_dbm|g;" \
240 -e "s|^SRCS.*|SRCS=rlm_dbm.c|g;" \
241 -e "s|^RLM_UTILS.*|RLM_UTILS=rlm_dbm_parser rlm_dbm_cat|g;" \
242 -e "s|^RLM_CFLAGS.*|RLM_CFLAGS=-I%{_includedir}/gdbm -DHAVE_GDBM_NDBM_H|g;" \
243 -e "s|^RLM_LIBS.*|RLM_LIBS=-L%{_libdir} -lgdbm -lgdbm_compat|g;" \
244 -e "s|^RLM_INSTALL.*|RLM_INSTALL=rlm_dbm_install|g;" \
245 src/modules/rlm_dbm/Makefile
246
247 %if "%{_lib}" == "lib64"
248 perl -pi -e 's:sys_lib_search_path_spec=.*:sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64":' libtool
249 %endif
250
251 make
252
253 %install
254 rm -rf %{buildroot}
255
256 %__install -d -m 755 %{buildroot}%{_sysconfdir}/logrotate.d
257 %__install -d -m 755 %{buildroot}%{_sysconfdir}/pam.d
258 %__install -d -m 755 %{buildroot}%{_sysconfdir}/sysconfig
259 %__install -d -m 755 %{buildroot}%{_initrddir}
260 %__install -d -m 755 %{buildroot}%{_localstatedir}/run/radiusd
261 %__install -d -m 755 %{buildroot}%{_includedir}/%{name}
262 %__install -d -m 755 %{buildroot}%{_unitdir}
263
264 make install R=%{buildroot}
265
266 # fix default configuration file permissions
267 find %{buildroot}%{_sysconfdir}/raddb -type d | xargs chmod 755
268 find %{buildroot}%{_sysconfdir}/raddb -type f | xargs chmod 644
269 chmod 640 \
270 %{buildroot}%{_sysconfdir}/raddb/acct_users \
271 %{buildroot}%{_sysconfdir}/raddb/acct_users \
272 %{buildroot}%{_sysconfdir}/raddb/clients.conf \
273 %{buildroot}%{_sysconfdir}/raddb/preproxy_users \
274 %{buildroot}%{_sysconfdir}/raddb/users \
275
276 # install headers
277 %__install -m 644 src/include/* %{buildroot}%{_includedir}/%{name}/
278
279 # install distribution scripts and stuff...
280 %__install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/radiusd
281 %__install -m 755 %{SOURCE4} %{buildroot}%{_initrddir}/radiusd
282 %__install -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/logrotate.d/radiusd
283 %__install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysconfig/radiusd
284 %__install -m 644 %{SOURCE7} %{buildroot}%{_unitdir}/radiusd.service
285
286 # put the mibs in place
287 %__install -d -m 755 %{buildroot}%{_datadir}/snmp/mibs
288 %__install -m 644 mibs/RADIUS* %{buildroot}%{_datadir}/snmp/mibs/
289
290 # fix ghostfiles
291 touch %{buildroot}%{_localstatedir}/log/radius/radutmp
292 touch %{buildroot}%{_localstatedir}/log/radius/radwtmp
293 touch %{buildroot}%{_localstatedir}/log/radius/radius.log
294
295 # remove unneeded stuff
296 %__rm -f %{buildroot}%{_sbindir}/rc.radiusd
297 %__rm -f %{buildroot}%{_includedir}/%{name}/Makefile
298 %__rm -f %{buildroot}%{_sysconfdir}/raddb/Makefile
299 %__rm -rf %{buildroot}%{_sysconfdir}/raddb/sql/mssql
300 %__rm -rf %{buildroot}%{_sysconfdir}/raddb/sql/oracle
301 %__rm -f %{buildroot}%{_sysconfdir}/raddb/certs/*
302
303 find %{buildroot} -name '*.la' -delete
304 rm -f %{buildroot}%{_libdir}/%{name}/*.a
305
306 # include more docs
307 %__cp src/modules/rlm_sql/README README.sql
308 %__cp src/modules/rlm_cram/Readme Readme.cram
309 %__cp src/modules/rlm_cram/Standard.draft .
310 %__cp src/modules/rlm_cram/dictionary.sandy .
311 %__cp src/modules/rlm_smb/README README.smb
312
313 # put specific docs and files where they belong (prepare for doc inclusion)
314 %__cp doc/rlm_krb5 .
315 %__cp doc/RADIUS*.schema .
316 %__cp doc/rlm_ldap .
317
318 %multiarch_includes %{buildroot}%{_includedir}/freeradius/build-radpaths-h
319
320 %multiarch_includes %{buildroot}%{_includedir}/freeradius/radpaths.h
321
322 # the web cruft
323 install -d %{buildroot}%{_datadir}/%{name}-web
324 install -d %{buildroot}%{_sysconfdir}/%{name}-web
325
326 pushd dialup_admin
327 make \
328 DIALUP_PREFIX=%{buildroot}%{_datadir}/freeradius-web \
329 DIALUP_DOCDIR=%{buildroot}%{_docdir}/freeradius-web \
330 DIALUP_CONFDIR=%{buildroot}%{_sysconfdir}/freeradius-web \
331 install
332 popd
333
334 find %{buildroot}%{_datadir}/freeradius-web | xargs perl -pi \
335 -e 's|\.\./conf/config\.php|%{_sysconfdir}/freeradius-web/config\.php|g;' \
336 -e 's|%{buildroot}||g;'
337
338 find %{buildroot}%{_sysconfdir}/freeradius-web | xargs perl -pi \
339 -e 's|\.\./conf/admin\.conf|%{_sysconfdir}/freeradius-web/admin\.conf|g;' \
340 -e 's|%{buildroot}||g;'
341
342 find %{buildroot}%{_datadir}/freeradius-web/bin | xargs perl -pi \
343 -e 's|/data/local/dialupadmin/conf/admin\.conf|%{_sysconfdir}/freeradius-web/admin\.conf|g;' \
344 -e 's|/logs/radiusd/accounting|%{_localstatedir}/log/radius/accounting|g;'
345
346 mv %{buildroot}%{_datadir}/freeradius-web/bin/* %{buildroot}%{_bindir}
347 mv %{buildroot}%{_bindir}/snmpfinger \
348 %{buildroot}%{_bindir}/freeradius-web-snmpfinger
349
350 # fix a simple redirector
351 cat > %{buildroot}%{_datadir}/%{name}-web/index.html << EOF
352 <html>
353 <head>
354 <title></title>
355 <meta HTTP-EQUIV="REFRESH" CONTENT="0; URL=htdocs/index.html">
356 </head>
357 <body>
358 </body>
359 </html>
360 EOF
361
362 # apache configuration
363 install -d %{buildroot}%{_webappconfdir}
364 cat > %{buildroot}%{_webappconfdir}/%{name}-web.conf <<EOF
365 # %{name} Apache configuration
366 Alias /%{name}-web %{_datadir}/%{name}-web
367
368 <Directory %{_datadir}/%{name}-web>
369 Allow from all
370 </Directory>
371 EOF
372
373 # cron stuff
374 install -d %{buildroot}%{_sysconfdir}/cron.daily
375 cat > %{buildroot}%{_sysconfdir}/cron.daily/%{name}-web <<EOF
376 #!/bin/sh
377 %{_bindir}/tot_stats >/dev/null 2>&1
378 %{_bindir}/monthly_tot_stats >/dev/null 2>&1
379 EOF
380 chmod 755 %{buildroot}%{_sysconfdir}/cron.daily/%{name}-web
381
382 install -d %{buildroot}%{_sysconfdir}/cron.monthly
383 cat > %{buildroot}%{_sysconfdir}/cron.monthly/%{name}-web <<EOF
384 #!/bin/sh
385 %{_bindir}/truncate_radacct >/dev/null 2>&1
386 %{_bindir}/clean_radacct >/dev/null 2>&1
387 EOF
388 chmod 755 %{buildroot}%{_sysconfdir}/cron.monthly/%{name}-web
389
390 # cleanup
391 rm -rf %{buildroot}%{_docdir}/%{name}
392 rm -rf %{buildroot}%{_docdir}/freeradius-web
393 rm -rf %{buildroot}%{_datadir}/freeradius-web/bin
394 rm -rf %{buildroot}%{_datadir}/freeradius-web/sql
395 rm -f %{buildroot}%{_bindir}/dialup_admin.cron
396
397 %pre
398 %_pre_useradd radius %{_localstatedir}/log/radius/radacct /bin/false
399
400 %post
401 %_post_service radiusd
402 %create_ghostfile %{_localstatedir}/log/radius/radutmp radius radius 0644
403 %create_ghostfile %{_localstatedir}/log/radius/radwtmp radius radius 0644
404 %create_ghostfile %{_localstatedir}/log/radius/radius.log radius radius 0644
405 %_create_ssl_certificate radiusd -g radius
406 if [ $1 = 1 ]; then
407 openssl dhparam -out %{_sysconfdir}/raddb/certs/dh 1024 2>&1 >/dev/null
408 dd if=/dev/urandom of=%{_sysconfdir}/raddb/certs/random count=10 2>&1 >/dev/null
409 chgrp radius %{_sysconfdir}/raddb/certs/random
410 fi
411
412 %preun
413 %_preun_service radiusd
414
415 %postun
416 %_postun_userdel radius
417
418 %files
419 %doc doc COPYRIGHT CREDITS INSTALL LICENSE README
420 %doc README.sql README.smb Readme.cram Standard.draft dictionary.sandy
421 %{_initrddir}/radiusd
422 %{_unitdir}/radiusd.service
423 %config(noreplace) %{_sysconfdir}/pam.d/radiusd
424 %config(noreplace) %{_sysconfdir}/logrotate.d/radiusd
425 %config(noreplace) %{_sysconfdir}/sysconfig/radiusd
426 %dir %{_sysconfdir}/raddb
427 %config(noreplace) %{_sysconfdir}/raddb/attrs
428 %config(noreplace) %{_sysconfdir}/raddb/attrs.access_reject
429 %config(noreplace) %{_sysconfdir}/raddb/attrs.access_challenge
430 %config(noreplace) %{_sysconfdir}/raddb/attrs.accounting_response
431 %config(noreplace) %{_sysconfdir}/raddb/attrs.pre-proxy
432 %config(noreplace) %{_sysconfdir}/raddb/dictionary*
433 %config(noreplace) %{_sysconfdir}/raddb/experimental.conf
434 %config(noreplace) %{_sysconfdir}/raddb/example.pl
435 %config(noreplace) %{_sysconfdir}/raddb/hints
436 %config(noreplace) %{_sysconfdir}/raddb/huntgroups
437 %config(noreplace) %{_sysconfdir}/raddb/radiusd.conf
438 %config(noreplace) %{_sysconfdir}/raddb/policy.conf
439 %config(noreplace) %{_sysconfdir}/raddb/policy.txt
440 %config(noreplace) %{_sysconfdir}/raddb/proxy.conf
441 %config(noreplace) %{_sysconfdir}/raddb/eap.conf
442 %config(noreplace) %{_sysconfdir}/raddb/sql.conf
443 %config(noreplace) %{_sysconfdir}/raddb/sqlippool.conf
444 %config(noreplace) %{_sysconfdir}/raddb/templates.conf
445 # those contains passwords
446 %config(noreplace) %attr(0640,root,radius) %{_sysconfdir}/raddb/acct_users
447 %config(noreplace) %attr(0640,root,radius) %{_sysconfdir}/raddb/clients.conf
448 %config(noreplace) %attr(0640,root,radius) %{_sysconfdir}/raddb/preproxy_users
449 %config(noreplace) %attr(0640,root,radius) %{_sysconfdir}/raddb/users
450 %dir %{_sysconfdir}/raddb/certs
451 %dir %{_sysconfdir}/raddb/sites-available
452 %dir %{_sysconfdir}/raddb/sites-enabled
453 %config(noreplace) %{_sysconfdir}/raddb/sites-available/*
454 %config(noreplace) %{_sysconfdir}/raddb/sites-enabled/*
455 %dir %{_sysconfdir}/raddb/modules
456 %config(noreplace) %{_sysconfdir}/raddb/modules/*
457 %dir %{_sysconfdir}/raddb/sql
458 %dir %{_sysconfdir}/raddb/sql/ndb
459 %config(noreplace) %{_sysconfdir}/raddb/sql/ndb/README
460 %config(noreplace) %{_sysconfdir}/raddb/sql/ndb/admin.sql
461 %config(noreplace) %{_sysconfdir}/raddb/sql/ndb/schema.sql
462 %{_bindir}/radclient
463 %{_bindir}/radconf2xml
464 %{_bindir}/radcrypt
465 %{_bindir}/radeapclient
466 %{_bindir}/radlast
467 %{_bindir}/radsniff
468 %{_bindir}/radsqlrelay
469 %{_bindir}/radtest
470 %{_bindir}/radwho
471 %{_bindir}/radzap
472 %{_bindir}/rlm_dbm_cat
473 %{_bindir}/rlm_dbm_parser
474 %{_bindir}/rlm_ippool_tool
475 %{_bindir}/smbencrypt
476 %{_sbindir}/checkrad
477 %{_sbindir}/raddebug
478 %{_sbindir}/radiusd
479 %{_sbindir}/radmin
480 %{_sbindir}/radwatch
481 %attr(0755,radius,radius) %dir %{_localstatedir}/log/radius
482 %attr(0755,radius,radius) %dir %{_localstatedir}/log/radius/radacct
483 %attr(0755,radius,radius) %dir %{_localstatedir}/run/radiusd
484 %attr(0644,radius,radius) %ghost %{_localstatedir}/log/radius/radutmp
485 %attr(0644,radius,radius) %ghost %{_localstatedir}/log/radius/radwtmp
486 %attr(0644,radius,radius) %ghost %{_localstatedir}/log/radius/radius.log
487 %{_datadir}/snmp/mibs/*
488 %{_datadir}/freeradius
489 %{_mandir}/man*/*
490
491 %files -n %{name}-krb5
492 %doc rlm_krb5
493 %{_libdir}/%{name}/rlm_krb5.so
494
495 %files -n %{name}-ldap
496 %doc RADIUS*.schema rlm_ldap doc/examples/openldap.schema
497 %config(noreplace) %{_sysconfdir}/raddb/ldap.attrmap
498 %{_libdir}/%{name}/rlm_ldap.so
499
500 %files -n %{name}-postgresql
501 %doc src/billing
502 %config(noreplace) %{_sysconfdir}/raddb/sql/postgresql
503 %{_libdir}/%{name}/rlm_sql_postgresql.so
504
505 %files -n %{name}-mysql
506 %config(noreplace) %{_sysconfdir}/raddb/sql/mysql
507 %{_libdir}/%{name}/rlm_sql_mysql.so
508
509 %files -n %{name}-unixODBC
510 %{_libdir}/%{name}/rlm_sql_unixodbc.so
511
512 %files -n %{name}-sqlite
513 %{_libdir}/%{name}/rlm_sql_sqlite.so
514
515 %files -n %{libname}
516 %{_libdir}/%{name}/libfreeradius-radius.so.%{major}*
517 %{_libdir}/%{name}/libfreeradius-eap.so.%{major}*
518 %{_libdir}/%{name}/rlm_acctlog.so
519 %{_libdir}/%{name}/rlm_acct_unique.so
520 %{_libdir}/%{name}/rlm_always.so
521 %{_libdir}/%{name}/rlm_attr_filter.so
522 %{_libdir}/%{name}/rlm_attr_rewrite.so
523 %{_libdir}/%{name}/rlm_caching.so
524 %{_libdir}/%{name}/rlm_chap.so
525 %{_libdir}/%{name}/rlm_checkval.so
526 %{_libdir}/%{name}/rlm_copy_packet.so
527 %{_libdir}/%{name}/rlm_counter.so
528 %{_libdir}/%{name}/rlm_cram.so
529 %{_libdir}/%{name}/rlm_dbm.so
530 %{_libdir}/%{name}/rlm_detail.so
531 %{_libdir}/%{name}/rlm_digest.so
532 %{_libdir}/%{name}/rlm_dynamic_clients.so
533 %{_libdir}/%{name}/rlm_eap_gtc.so
534 %{_libdir}/%{name}/rlm_eap_leap.so
535 %{_libdir}/%{name}/rlm_eap_md5.so
536 %{_libdir}/%{name}/rlm_eap_mschapv2.so
537 %{_libdir}/%{name}/rlm_eap_peap.so
538 %{_libdir}/%{name}/rlm_eap_sim.so
539 %{_libdir}/%{name}/rlm_eap.so
540 %{_libdir}/%{name}/rlm_eap_tls.so
541 %{_libdir}/%{name}/rlm_eap_ttls.so
542 %{_libdir}/%{name}/rlm_example.so
543 %{_libdir}/%{name}/rlm_exec.so
544 %{_libdir}/%{name}/rlm_expiration.so
545 %{_libdir}/%{name}/rlm_expr.so
546 %{_libdir}/%{name}/rlm_fastusers.so
547 %{_libdir}/%{name}/rlm_files.so
548 %{_libdir}/%{name}/rlm_ippool.so
549 %{_libdir}/%{name}/rlm_jradius.so
550 %{_libdir}/%{name}/rlm_linelog.so
551 %{_libdir}/%{name}/rlm_logintime.so
552 %{_libdir}/%{name}/rlm_mschap.so
553 %{_libdir}/%{name}/rlm_otp.so
554 %{_libdir}/%{name}/rlm_pam.so
555 %{_libdir}/%{name}/rlm_pap.so
556 %{_libdir}/%{name}/rlm_passwd.so
557 %{_libdir}/%{name}/rlm_perl.so
558 %{_libdir}/%{name}/rlm_policy.so
559 %{_libdir}/%{name}/rlm_preprocess.so
560 %{_libdir}/%{name}/rlm_protocol_filter.so
561 %{_libdir}/%{name}/rlm_python.so
562 %{_libdir}/%{name}/rlm_radutmp.so
563 %{_libdir}/%{name}/rlm_realm.so
564 %{_libdir}/%{name}/rlm_replicate.so
565 %{_libdir}/%{name}/rlm_ruby.so
566 %{_libdir}/%{name}/rlm_sim_files.so
567 %{_libdir}/%{name}/rlm_smsotp.so
568 %{_libdir}/%{name}/rlm_soh.so
569 %{_libdir}/%{name}/rlm_sqlcounter.so
570 %{_libdir}/%{name}/rlm_sqlhpwippool.so
571 %{_libdir}/%{name}/rlm_sqlippool.so
572 %{_libdir}/%{name}/rlm_sql_log.so
573 %{_libdir}/%{name}/rlm_sql.so
574 %{_libdir}/%{name}/rlm_unix.so
575 %{_libdir}/%{name}/rlm_wimax.so
576
577 %files -n %{develname}
578 %doc todo
579 %{multiarch_includedir}/freeradius/build-radpaths-h
580 %{multiarch_includedir}/freeradius/radpaths.h
581 %{_includedir}/%{name}
582 %{_libdir}/%{name}/libfreeradius-radius.so
583 %{_libdir}/%{name}/libfreeradius-eap.so
584
585 %files -n %{name}-web
586 %doc dialup_admin/sql/mysql dialup_admin/sql/postgresql dialup_admin/sql/oracle
587 %doc dialup_admin/doc/AUTHORS dialup_admin/doc/FAQ dialup_admin/doc/HELP_WANTED
588 %doc dialup_admin/doc/HOWTO dialup_admin/doc/TODO dialup_admin/Changelog
589 %doc dialup_admin/README dialup_admin/bin/Changelog.*
590 %config(noreplace) %{_sysconfdir}/cron.daily/%{name}-web
591 %config(noreplace) %{_sysconfdir}/cron.monthly/%{name}-web
592 %config(noreplace) %{_webappconfdir}/%{name}-web.conf
593 %dir %{_sysconfdir}/%{name}-web
594 %config(noreplace) %{_sysconfdir}/%{name}-web/accounting.attrs
595 %config(noreplace) %{_sysconfdir}/%{name}-web/auth.request
596 %config(noreplace) %{_sysconfdir}/%{name}-web/default.vals
597 %config(noreplace) %{_sysconfdir}/%{name}-web/extra.ldap-attrmap
598 %config(noreplace) %{_sysconfdir}/%{name}-web/sql.attrmap
599 %config(noreplace) %{_sysconfdir}/%{name}-web/sql.attrs
600 %config(noreplace) %{_sysconfdir}/%{name}-web/user_edit.attrs
601 %config(noreplace) %{_sysconfdir}/%{name}-web/username.mappings
602 # those contains passwords
603 %config(noreplace) %attr(0640,root,apache) %{_sysconfdir}/%{name}-web/admin.conf
604 %config(noreplace) %attr(0640,root,apache) %{_sysconfdir}/%{name}-web/captions.conf
605 %config(noreplace) %attr(0640,root,apache) %{_sysconfdir}/%{name}-web/naslist.conf
606 %config(noreplace) %attr(0640,root,apache) %{_sysconfdir}/%{name}-web/config.php
607 %{_bindir}/backup_radacct
608 %{_bindir}/clean_radacct
609 %{_bindir}/clearsession
610 %{_bindir}/freeradius-web-snmpfinger
611 %{_bindir}/log_badlogins
612 %{_bindir}/monthly_tot_stats
613 %{_bindir}/showmodem
614 %{_bindir}/sqlrelay_query
615 %{_bindir}/tot_stats
616 %{_bindir}/truncate_radacct
617 %{_datadir}/%{name}-web

  ViewVC Help
Powered by ViewVC 1.1.30