~ubuntu-branches/ubuntu/natty/freeradius/natty-updates

« back to all changes in this revision

Viewing changes to suse/freeradius.spec

  • Committer: Bazaar Package Importer
  • Author(s): Josip Rodin
  • Date: 2009-11-23 03:57:37 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: james.westby@ubuntu.com-20091123035737-zsgtzhfych8hir68
Tags: 2.1.7+dfsg-1
* Adopting the package, closes: #536623.
* New upstream version, closes: #513484.
  + Fixes the blooper in unlang evaluation logic, closes: #526175.
* Used quilt (and added README.source), and moved upstream file patching
  into debian/patches/. The source is no longer in collab-maint git
  (to make it simpler for me to finally get this out the door), but
  kept the .gitignore should we need that again.
* Dropped the dialup_admin/bin/backup_radacct patch (integrated upstream).
* Dropped the raddb/Makefile patch (problem no longer exists upstream).
* Dropped the lib/packet.c lib/radius.c main/listen.c patches (was from
  upstream 2.0.5 anyway).
* Dropped references to otp.conf, it no longer exists upstream.
  Keep removing the conffile statoverride in prerm.
* Dropped references to snmp.conf, it no longer exists upstream.
  Keep removing the conffile statoverride in prerm.
* Ship /etc/freeradius/modules/* in the freeradius package.
* Stop shipping sites-enabled symlinks in the package and instead create
  them only on initial install, thanks to Matej Vela, closes: #533396.
* Add export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" to the init script
  at the request of John Morrissey, closes: #550143.
* Stop installing /var/run/freeradius in the package to silence Lintian.
  The init script already recreates it at will.
* Remove executable bit from example.pl to silence Lintian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
Group:        Productivity/Networking/Radius/Servers
4
4
Provides:     radiusd
5
5
Conflicts:    freeradius
6
 
Version:      2.0.4
 
6
Version: 2.1.7
7
7
Release:      0
8
8
URL:          http://www.freeradius.org/
9
9
Summary:      The world's most popular RADIUS Server
33
33
BuildRequires: glibc-devel
34
34
BuildRequires: libtool
35
35
BuildRequires: ncurses-devel
36
 
BuildRequires: net-snmp-devel
37
36
BuildRequires: openldap2-devel
38
37
BuildRequires: openssl-devel
39
38
BuildRequires: pam-devel
180
179
%build
181
180
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DLDAP_DEPRECATED -fPIC -DPIC"
182
181
#export CFLAGS="$CFLAGS -std=c99 -pedantic"
183
 
autoreconf
184
182
 
185
183
%configure \
186
184
                --libdir=%{_libdir}/freeradius \
326
324
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/preproxy_users
327
325
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/proxy.conf
328
326
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/radiusd.conf
329
 
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/snmp.conf
330
327
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sql.conf
331
328
%dir %attr(640,-,radiusd) /etc/raddb/sql
332
329
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sql/*/*.conf
333
330
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sql/*/*.sql
 
331
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sql/oracle/msqlippool.txt
334
332
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/users
335
333
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/experimental.conf
336
 
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/otp.conf
337
334
%dir %attr(750,-,radiusd) /etc/raddb/certs
338
335
/etc/raddb/certs/Makefile
339
336
/etc/raddb/certs/README
340
337
/etc/raddb/certs/xpextensions
341
338
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/certs/*.cnf
342
339
%attr(750,-,radiusd) /etc/raddb/certs/bootstrap
343
 
%attr(750,-,radiusd) %config /etc/raddb/sites-available/example
344
 
%attr(640,-,radiusd) /etc/raddb/sites-available/*
 
340
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sites-available/*
 
341
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/modules/*
345
342
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/sites-enabled/*
346
343
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/eap.conf
347
344
%attr(640,-,radiusd) /etc/raddb/example.pl
351
348
%attr(700,radiusd,radiusd) %dir /var/run/radiusd/
352
349
# binaries
353
350
%defattr(-,root,root)
354
 
/usr/sbin/check-radiusd-config
355
 
/usr/sbin/checkrad
356
 
/usr/sbin/radiusd
357
 
/usr/sbin/radrelay
358
 
/usr/sbin/radwatch
 
351
/usr/sbin/*
359
352
# man-pages
360
353
%doc %{_mandir}/man1/*
361
354
%doc %{_mandir}/man5/*