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 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
|
Source: taper
Section: utils
Priority: optional
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.5.8
Upstream-Source: <URL:http://easynews.dl.sourceforge.net/sourceforge/taper/taper-7.0pre-1.tar.gz>
Home-Page: <URL:http://taper.sourceforge.net/>
Description: full-screen system backup utility
Origin: 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] #ifndef NULL for compress/lzrw3.h
Build-Depends: linuxdoc-tools, libncurses-dev, groff
Patches: patches/*.diff
Build: sh
case "$DEB_HOST_GNU_CPU" in
hppa|m68k|mips|powerpc|s390|sparc|sparc64|sheb)
DEFINES2="DEFINES2=-DTAPER_BIG_ENDIAN" ;;
esac
CC=gcc
CFLAGS="-Wall -g -pipe"
LDFLAGS=
if [ "${DEB_BUILD_OPTIONS#*noopt}" != "$DEB_BUILD_OPTIONS" ]; then
CFLAGS="$CFLAGS -O0"
else
CFLAGS="$CFLAGS -O2"
fi
make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" CC="$CC" $DEFINES2
mkdir tmp || true
( cd tmp && sgml2html ../docs/Taper )
( cd tmp && sgml2html ../docs/FAQ )
for i in docs/CHANGES.html.raw 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
Architecture: any
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 -dir /var/log
yada install -dir /var/lib
yada install -man debian/taper.8
yada install -doc docs/BUGS docs/COMPRESSION docs/CREDITS
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 -as changelog docs/MAJOR_CHANGES
Templates:
Template: taper/non-fhs-found
Type: boolean
Default: true
Description: Do you want to move these files now?
The old non-FHS files was found. It is recommended to move these
files to new place:
.
/root/taper_prefs -> /etc/taper/taper.prefs
.
/root/taper_info/* -> /var/lib/taper/*
.
/root/taper_log -> /var/log/taper.log
.
You should modify your configuration file if you used this path.
Description-de: Diese Dateien jetzt verschieben?
Alte nicht FHS-kompatible Dateien wurden gefunden. Es wird empfohlen,
diese Dateien an einen anderen Ort zu verschieben:
.
/root/taper_prefs -> /etc/taper/taper.prefs
.
/root/taper_info/* -> /var/lib/taper/*
.
/root/taper_log -> /var/log/taper.log
.
Sie sollten Ihre Konfiguration auf die neuen Pfade anpassen.
.
Template: taper/var-state-found
Type: boolean
Default: true
Description: Do you want to move the contents of this directory now?
FHS standard says the /var/lib directory is correct. Previous versions of
taper had the /var/state/taper directory. These files should be moved to
the /var/lib/taper directory.
.
You should modify your configuration file if you used this path.
Description-de: Verzeichnisinhalt jetzt verschieben?
Der FHS-Standard sagt aus, das das Verzeichnis /var/lib korrekt ist.
Vorhergehende Versionen von taper benutzten /var/state/taper. Die darin
enthaltenen Dateien sollten nach /var/lib/taper verschoben werden
Config: sh
if [ -n "$2" ] && dpkg --compare-versions "$2" lt-nl "6.9ra-4"; then
if [ -f /root/taper_prefs -o -d /root/taper_info -o -f /root/taper_log ]; then
db_input medium taper/non-fhs-found || true
db_go
fi
elif [ -n "$2" ] && dpkg --compare-versions "$2" lt-nl "6.9ra-7"; then
if [ -d /var/state/taper ]; then
db_input medium taper/var-state-found || true
db_go
fi
fi
Postinst: sh
if [ "$1" = "configure" -a -n "$2" ] && \
dpkg --compare-versions "$2" lt-nl "6.9ra-7"; then
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" ]; 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
Logrotate:
/var/log/taper.log {
rotate 7
daily
compress
delaycompress
notifempty
missingok
create 0640 root adm
}
|