1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
|
Source: taper
Section: admin
Priority: optional
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.1.0
Upstream-Source: <URL:http://www.e-survey.net.au/taper/>
Home-Page: <URL:http://www.e-survey.net.au/taper/>
Description: full-screen system backup utility
Packaged-For: Debian
Copyright: GPL
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Major-Changes:
[001] FHS support
[002] example script for backup by network
Build-Depends: debhelper (>= 2.0.40), sgml-tools
Patches: dpatch.*
Build: sh
case "$DEB_HOST_GNU_CPU" in
m68k|mips|powerpc|sparc|sparc64)
DEFINES2="DEFINES2=-DTAPER_BIG_ENDIAN" ;;
esac
make DEBUG=-g $DEFINES2
mkdir tmp || true
( cd tmp && sgml2html ../docs/Taper )
( cd tmp && sgml2html ../docs/FAQ )
for i in docs/CHANGES.html docs/ver*.html; do
sed $i -e 's/ BACKGROUND=".*"//g' -e 's/<IMG .*>//g' > \
tmp/$(basename $i)
done
Clean: sh
make clean || true
rm -rf tmp || true
Package: taper
Section: admin
Architecture: any
Depends: ${shlibs:Depends}
Suggests: debconf (>= 0.2), logrotate
Description: Full-screen system backup utility.
Taper is a tape backup and restore program that provides
a friendly user interface to allow backup/restore to a tape
drive. Alternatively, files can be backed up to hard disk
files. Selecting files for backup and restore is very similar
to the Mouseless Commander interface and allows easy traversal
of directories. Recursively selected directories are supported.
Incremental backup and automatic most recent restore are
defaults settings. SCSI, ftape, zftape, ide tape drives,
and removable drives are supported.
Install: sh
yada install -bin -into /usr/sbin taper
yada install -bin -into /usr/lib/taper bg_backup bg_restore
yada install -conffile -subdir taper debian/taper.prefs
yada install -conffile -subdir logrotate -as taper debian/taper.logrotate
yada install -dir /var/log
yada install -dir /var/lib
yada install -man debian/taper.8
yada install -doc docs/BUGS docs/COMPRESSION docs/CREDITS docs/INSTALL
yada install -doc docs/TODO docs/VERSION6.8 docs/WARNING
yada install -doc docs/Taper.sgml docs/FAQ.sgml
yada install -doc -subdir html -as index.html debian/taper.index.html
yada install -doc -subdir html tmp/*.html
yada install -doc -subdir examples debian/ftaper/*
yada install -doc -as changelog docs/MAJOR_CHANGES
dh_shlibdeps -P$ROOT
Finalise: sh
install -o root -g root -m 0644 debian/taper.templates $CONTROL/templates
install -o root -g root -m 0755 debian/taper.config $CONTROL/config
dh_md5sums -p$PACKAGE -P$ROOT
Postinst: sh
if [ "$1" = "configure" -a -n "$2" -a -e /usr/share/debconf/confmodule ] && \
dpkg --compare-versions "$2" lt-nl "6.9ra-7"; then
. /usr/share/debconf/confmodule
db_version 2.0
RET=""
db_get taper/non-fhs-found || true
if [ "$RET" = "true" ]; then
test -f /root/taper_prefs && \
mv -f /root/taper_prefs /etc/taper/taper.prefs && \
chmod 644 /etc/taper/taper.prefs && \
chown root.root /etc/taper/taper.prefs
test -f /root/taper_log && \
mv -f /root/taper_log /var/log/taper.log && \
chmod 640 /var/log/taper.log && \
chown root.adm /var/log/taper.log
test -d /root/taper_info && \
rm -rf /var/lib/taper && \
mv -f /root/taper_info /var/lib/taper && \
chmod 700 /var/lib/taper && \
chown root.root /var/lib/taper
fi
RET=""
db_get taper/var-state-found || true
if [ "$RET" = "true" ]; then
test -d /var/state/taper && \
mv -f /var/state/taper/* /var/lib/taper && \
rm -rf /var/state/taper && \
chmod 700 /var/lib/taper && \
chown root.root /var/lib/taper
fi
fi
if [ ! -f /var/log/taper.log ]; then
touch /var/log/taper.log
chmod 640 /var/log/taper.log
chown root:adm /var/log/taper.log
fi
if [ ! -d /var/lib/taper ]; then
mkdir /var/lib/taper
chmod 700 /var/lib/taper
chown root:root /var/lib/taper
fi
Postrm: sh
if [ "$1" = purge -a -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_version 2.0
db_purge
fi
.
if [ "$1" = "purge" ]; then
echo -n "Removing taper state and config files... "
rm -rf /var/log/taper.log /var/log/taper.log.0 /var/log/taper.log.*.gz
test -d /var/lib/taper && \
echo -n "/var/lib/taper " && \
rm -rf /var/lib/taper
test -d /etc/taper && \
echo -n "/etc/taper " && \
rm -rf /etc/taper
echo "Done."
fi
Menu:
?package(taper):needs="text" section="Apps/System/Admin" \
title="Taper backup" command="/usr/sbin/taper -T ftape"
Doc-Base:
Document: taper-doc
Title: Taper Documentation
Author: Yusuf Nagree
Abstract: Taper Documentation contains Frequently Asked Questions,
on-line documentation and taper version history.
Section: Apps/System/Admin
.
Format: HTML
Index: /usr/share/doc/taper/html/index.html
Files: /usr/share/doc/taper/html/*.html
.
Format: sgml
Files: /usr/share/doc/taper/*.sgml.gz
|