~ubuntu-branches/ubuntu/utopic/maradns/utopic

« back to all changes in this revision

Viewing changes to build/uninstall.sh

  • Committer: Package Import Robot
  • Author(s): Nicholas Bamber
  • Date: 2012-01-06 08:47:03 UTC
  • mfrom: (1.1.17) (10.1.12 experimental)
  • Revision ID: package-import@ubuntu.com-20120106084703-e3kw2c5a6djne2gw
Tags: 2.0.04-1
* Allowed watch file to pick up 2.x releases
* New upstream release
* Refreshed patches
* Added override to stop deletion of server/MaraDNS.c.orig
* Added patch to stop corruption of deadwood source code
* Added public domain stanza trying to give useful information about
  the public domain status (or otherwise) of certain files.
* Updated doc-base index file
* Split out documentation into separate package as it is written from
  an upstream point of view
* Added askmara-tcp tool to maradns-zoneserver package
* Added experimental maradns-deadwood package (Closes: #612229)
* Turned on compilation for IPv6 (Closes: #477787)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
 
3
 
3
4
# Shell script which uninstalls the MaraDNS files 
4
5
 
5
6
# We call install.locations to set BIN, SBIN, MAN1, and MAN8
13
14
echo Removing MaraDNS by erasing programs in $BIN and $SBIN,
14
15
echo man pages in $MAN1 and $MAN8, and the directory tree $DOCS
15
16
cd $SBIN
16
 
rm maradns zoneserver
 
17
rm maradns zoneserver Deadwood
17
18
cd $BIN
18
19
rm askmara getzone
19
20
cd $MAN1
20
 
rm askmara.1 getzone.1
 
21
rm askmara.1 getzone.1 Deadwood.1
21
22
cd $MAN8
22
23
rm maradns.8 zoneserver.8
23
24
rm -fr $DOCS
26
27
        rm /etc/rc.d/rc3.d/S60maradns
27
28
        rm /etc/rc.d/rc5.d/S60maradns
28
29
        rm /etc/rc.d/init.d/maradns
 
30
        rm /etc/rc.d/rc3.d/K60maradns.zoneserver
 
31
        rm /etc/rc.d/rc5.d/K60maradns.zoneserver
 
32
        rm /etc/rc.d/init.d/maradns.zoneserver
 
33
        rm /etc/rc.d/rc3.d/S60maradns.deadwood
 
34
        rm /etc/rc.d/rc5.d/S60maradns.deadwood
 
35
        rm /etc/rc.d/init.d/maradns.deadwood
29
36
fi
30
37
 
31
38
echo Note that cahced copies of man pages may still be lurking around
32
39
echo
33
40
echo Not removing configuration files.  If you wish to completely purge 
34
 
echo MaraDNS from your system, rm /etc/mararc and the /etc/maradns/
35
 
echo directory, and remove any cached copies of MaraDNS man pages
 
41
echo MaraDNS from your system, rm /etc/mararc, /etc/dwood3rc and the 
 
42
echo /etc/maradns/ directory, as well as any cached copies of MaraDNS man pages
36
43