~ubuntu-branches/ubuntu/maverick/pdns/maverick-updates

« back to all changes in this revision

Viewing changes to debian/pdns-backend-sqlite.prerm

  • Committer: Bazaar Package Importer
  • Author(s): Debian PowerDNS Maintainers
  • Date: 2005-07-29 20:24:33 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050729202433-cfrk71byx0mmmbk6
Tags: 2.9.18-1
* New upstream release (Closes: #318798)
* Drop patches: 64bit-compile-fix.dpatch, addfeatures-ldapbackend.dpatch,
  amd64-compilefix.dpatch, blankout-domain-fix.dpatch,
  consistent-sql.dpatch, dosfix-ldapbackend.dpatch, fix-exit-status.dpatch,
  gpgsql-compilefix.dpatch, gsqlite-compilefix.dpatch, gsqlite-slave.dpatch,
  recursor-slowdown.patch.dpatch, typoinitscript.dpatch, zone2ldap.dpatch
  They are applied upstream.
* The ldapbackend did not properly escape all queries, allowing it to fail
  and not answer questions. (CAN-2005-2301)
* Questions from clients denied recursion could blank out answers to clients
  who are allowed recursion services, temporarily. (CAN-2005-2302)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# prerm script for pdns-backend-sqlite
 
3
#
 
4
# see: dh_installdeb(1)
 
5
 
 
6
set -e
 
7
 
 
8
# summary of how this script can be called:
 
9
#        * <prerm> `remove'
 
10
#        * <old-prerm> `upgrade' <new-version>
 
11
#        * <new-prerm> `failed-upgrade' <old-version>
 
12
#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
 
13
#        * <deconfigured's-prerm> `deconfigure' `in-favour'
 
14
#          <package-being-installed> <version> `removing'
 
15
#          <conflicting-package> <version>
 
16
# for details, see http://www.debian.org/doc/debian-policy/ or
 
17
# the debian-policy package
 
18
 
 
19
 
 
20
case "$1" in
 
21
    remove|upgrade|deconfigure)
 
22
        ;;
 
23
    failed-upgrade)
 
24
        ;;
 
25
    *)
 
26
        echo "prerm called with unknown argument \`$1'" >&2
 
27
        exit 1
 
28
    ;;
 
29
esac
 
30
 
 
31
if [ -x "/etc/init.d/pdns" ]; then
 
32
  if [ -x /usr/sbin/invoke-rc.d ] ; then
 
33
    invoke-rc.d pdns stop || exit 0
 
34
  else
 
35
    /etc/init.d/pdns stop || exit 0
 
36
  fi
 
37
fi
 
38
 
 
39
# dh_installdeb will replace this with shell code automatically
 
40
# generated by other debhelper scripts.
 
41
 
 
42
#DEBHELPER#
 
43
 
 
44
exit 0
 
45