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

« back to all changes in this revision

Viewing changes to debian/freeradius.prerm

  • 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:
12
12
 
13
13
        for file in /etc/freeradius/preproxy_users \
14
14
          /etc/freeradius/policy.conf \
15
 
          /etc/freeradius/snmp.conf \
16
15
          /etc/freeradius/eap.conf \
17
16
          /etc/freeradius/experimental.conf \
18
17
          /etc/freeradius/huntgroups \
21
20
          /etc/freeradius/hints \
22
21
          /etc/freeradius/sql.conf \
23
22
          /etc/freeradius/ldap.attrmap \
24
 
          /etc/freeradius/otp.conf \
25
23
          /etc/freeradius/attrs \
26
24
          /etc/freeradius/policy.txt \
27
25
          /etc/freeradius/attrs.accounting_response \
34
32
          fi
35
33
        done
36
34
 
 
35
        # old files shipped by this package previously - still need to
 
36
        # get rid of the overrides otherwise they corrupt the database
 
37
        for file in \
 
38
          /etc/freeradius/otp.conf \
 
39
          /etc/freeradius/snmp.conf
 
40
        do
 
41
          if dpkg-statoverride --list | grep -qw $file$; then
 
42
            dpkg-statoverride --remove $file
 
43
          fi
 
44
        done
 
45
 
37
46
        for dir in /etc/freeradius/certs \
38
47
          /etc/freeradius/sites-available \
39
48
          /etc/freeradius/sites-enabled \