2 # XXX --enable-kerberos needs krcmd
3 %define myoptions
--with
-binmode
=6755 --with
-manowner
=root
--with
-mangrp
=root
--with
-manmode
=0644 --with
-dumpdates
="
%{_sysconfdir}/dumpdates"
--enable-readline
5 Summary: Programs
for backing up and restoring filesystems.
10 Group: Applications
/Archiving
11 Source: http
://sourceforge.net
/download.php
/dump
/dump
-%{version}.tar.gz
13 BuildRoot: %{_tmppath}/%{name}-root
16 The dump package contains both dump and restore. Dump examines files
in
17 a filesystem
, determines which ones need to be backed up
, and copies
18 those files to a specified disk
, tape or other storage medium. The
19 restore
command performs the inverse
function of dump
; it can restore a
20 full backup of a filesystem. Subsequent incremental backups can
then be
21 layered on top of the full backup. Single files and directory subtrees
22 may also be restored from full or partial backups.
24 Install dump
if you need a system
for both backing up filesystems and
25 restoring filesystems after backups.
28 Summary: Provides certain programs with access to remote tape devices.
29 Group: Applications
/Archiving
32 The rmt utility provides remote access to tape devices
for programs
33 like dump
(a filesystem backup program
), restore
(a program
for
34 restoring files from a backup
) and tar
(an archiving program
).
36 %package -n dump
-static
37 Summary: Statically linked versions of dump and restore.
38 Group: Applications
/Archiving
40 %description -n dump
-static
41 The dump package contains both dump and restore. Dump examines files
in
42 a filesystem
, determines which ones need to be backed up
, and copies
43 those files to a specified disk
, tape or other storage medium. The
44 restore
command performs the inverse
function of dump
; it can restore a
45 full backup of a filesystem. Subsequent incremental backups can
then be
46 layered on top of the full backup. Single files and directory subtrees
47 may also be restored from full or partial backups.
49 Install dump
if you need a system
for both backing up filesystems and
50 restoring filesystems after backups.
52 This packages contains statically linked versions of dump and restore.
58 %configure %{myoptions} --enable-static
60 make OPT
="$RPM_OPT_FLAGS
-Wall
-Wpointer
-arith
-Wstrict
-prototypes
-Wmissing
-prototypes
-Wno
-char
-subscripts"
62 mv dump
/dump dump
/dump.static
63 mv restore
/restore restore
/restore.static
67 %configure %{myoptions} --enable-rmt
69 make OPT
="$RPM_OPT_FLAGS
-Wall
-Wpointer
-arith
-Wstrict
-prototypes
-Wmissing
-prototypes
-Wno
-char
-subscripts"
73 mkdir -p
%{buildroot}%{_sbindir}
74 mkdir -p
%{buildroot}%{_mandir}/man8
76 %makeinstall BINDIR
=%{buildroot}%{_sbindir} MANDIR=%{buildroot}%{_mandir}/man8 BINOWNER
=$
(id
-un
) BINGRP
=$
(id
-gn
) MANOWNER
=$
(id
-un
) MANGRP
=$
(id
-gn
)
78 cp dump
/dump.static
%{buildroot}%{_sbindir}
79 cp restore
/restore.static
%{buildroot}%{_sbindir}
82 strip .
%{_sbindir}/* ||
:
83 ln
-sf dump .
%{_sbindir}/rdump
84 ln
-sf dump.static .
%{_sbindir}/rdump.static
85 ln
-sf restore .
%{_sbindir}/rrestore
86 ln
-sf restore.static .
%{_sbindir}/rrestore.static
87 chmod ug
-s .
%{_sbindir}/rmt
88 mkdir -p .
%{_sysconfdir}
89 > .
%{_sysconfdir}/dumpdates
90 ln
-sf ..
%{_sbindir}/rmt .%{_sysconfdir}/rmt
98 %doc CHANGES COPYRIGHT KNOWNBUGS MAINTAINERS README REPORTING
-BUGS THANKS TODO
100 %attr(0664,root
,disk
) %config(noreplace
) %{_sysconfdir}/dumpdates
101 %attr(0755,root
,root
) %{_sbindir}/dump
103 %attr(0755,root
,root
) %{_sbindir}/restore
105 %{_mandir}/man8
/dump.
*
106 %{_mandir}/man8
/rdump.
*
107 %{_mandir}/man8
/restore.
*
108 %{_mandir}/man8
/rrestore.
*
111 %defattr(-,root
,root
)
112 %attr(0755,root
,root
) %{_sbindir}/rmt
114 %{_mandir}/man8
/rmt.
*
116 %files -n dump
-static
117 %defattr(-,root
,root
)
118 %attr(0755,root
,root
) %{_sbindir}/dump.static
119 %{_sbindir}/rdump.static
120 %attr(0755,root
,root
) %{_sbindir}/restore.static
121 %{_sbindir}/rrestore.static
124 * Sun Aug
20 2000 Stelian Pop
<pop@cybercable.fr
>
125 - dump
0.4b19 released
, first packaging.
127 * Thu Jun
30 2000 Stelian Pop
<pop@cybercable.fr
>
128 - dump
0.4b18 released
, first packaging.
130 * Thu Jun
1 2000 Stelian Pop
<pop@cybercable.fr
>
131 - dump
0.4b17 released
, first packaging.
133 * Sat Mar
11 2000 Stelian Pop
<pop@cybercable.fr
>
134 - dump
0.4b16 released
, first packaging.
136 * Thu Mar
2 2000 Stelian Pop
<pop@cybercable.fr
>
137 - dump
0.4b15 released
, first packaging.
139 * Thu Feb
10 2000 Stelian Pop
<pop@cybercable.fr
>
140 - dump
0.4b14 released
, first packaging.
142 * Fri Jan
21 2000 Stelian Pop
<pop@cybercable.fr
>
143 - dump
0.4b13 released
, first packaging.
145 * Fri Jan
8 2000 Stelian Pop
<pop@cybercable.fr
>
146 - dump
0.4b12 released
, first packaging.
148 * Sun Dec
5 1999 Stelian Pop
<pop@cybercable.fr
>
149 - dump
0.4b11 released
, first packaging.
151 * Sun Nov
21 1999 Stelian Pop
<pop@cybercable.fr
>
152 - dump
0.4b10 released
, first packaging.
154 * Thu Nov
11 1999 Stelian Pop
<pop@cybercable.fr
>
155 - make static versions also
for rescue purposes.
157 * Wed Nov
5 1999 Stelian Pop
<pop@cybercable.fr
>
158 - dump
0.4b9 released
, first packaging.
160 * Wed Nov
3 1999 Stelian Pop
<pop@cybercable.fr
>
161 - dump
0.4b8 released
, first packaging.
163 * Thu Oct
8 1999 Stelian Pop
<pop@cybercable.fr
>
164 - dump
0.4b7 released
, first packaging.
166 * Thu Sep
30 1999 Stelian Pop
<pop@cybercable.fr
>
167 - dump
0.4b6 released
, first packaging.
169 * Fri Sep
10 1999 Jeff Johnson
<jbj@redhat.com
>
170 - recompile with e2fsprogs
= 1.15 (#4962).
172 * Sat Jul
31 1999 Jeff Johnson
<jbj@redhat.com
>
173 - workaround egcs bug
(#4281) that caused dump problems (#2989).
174 - use sigjmp_buf
, not jmp_buf
(#3260).
175 - invoke
/etc
/rmt
(instead of rmt
) like other unices.
(#3272).
176 - use glibc21 err
/glob rather than the internal compatibility routines.
177 - wire $
(OPT
) throughout Makefile's.
178 - fix many
printf problems
, mostly lint clean.
179 - merge SuSE
, Debian and many OpenBSD fixes.
181 * Thu Mar
25 1999 Jeff Johnson
<jbj@redhat.com
>
182 - remove setuid
/setgid bits from
/sbin
/rmt
(dump
/restore are OK
).
184 * Sun Mar
21 1999 Cristian Gafton
<gafton@redhat.com
>
185 - auto rebuild
in the new build environment
(release
6)
187 * Fri Mar
19 1999 Jeff Johnson
<jbj@redhat.com
>
190 * Thu Mar
18 1999 Jeff Johnson
<jbj@redhat.com
>
191 - Fix dangling symlinks
(#1551).
193 * Wed Mar
17 1999 Michael Maher
<mike@redhat.com
>
194 - Top O' the morning
, build root's fixed
for man pages.
196 * Fri Feb
19 1999 Preston Brown
<pbrown@redhat.com
>
197 - upgraded to dump
0.4b4
, massaged patches.
199 * Tue Feb
02 1999 Ian A Cameron
<I.A.Cameron@open.ac.uk
>
200 - added patch from Derrick J Brashear
for traverse.c to stop bread errors
202 * Wed Jan
20 1999 Jeff Johnson
<jbj@redhat.com
>
203 - restore original
6755 root.tty to dump
/restore
, defattr did tty
->root
(#684).
204 - mark
/etc
/dumpdates as noreplace.
206 * Tue Jul
14 1998 Jeff Johnson
<jbj@redhat.com
>
209 * Tue May
05 1998 Prospector System
<bugs@redhat.com
>
210 - translations modified
for de
, fr
, tr
212 * Thu Apr
30 1998 Cristian Gafton
<gafton@redhat.com
>
213 - added a patch
for resolving linux
/types.h and sys
/types.h conflicts
215 * Wed Dec
31 1997 Erik Troan
<ewt@redhat.com
>
216 - added prototype of llseek
() so dump would work on large partitions
218 * Thu Oct
30 1997 Donnie Barnes
<djb@redhat.com
>
219 - made all symlinks relative instead of absolute
221 * Thu Jul
10 1997 Erik Troan
<ewt@redhat.com
>
222 - built against glibc
224 * Thu Mar
06 1997 Michael K. Johnson
<johnsonm@redhat.com
>
225 - Moved rmt to its own package.
227 * Tue Feb
11 1997 Michael Fulbright
<msf@redhat.com
>
228 - Added endian cleanups
for SPARC
230 * Fri Feb
07 1997 Michael K. Johnson
<johnsonm@redhat.com
>
231 - Made
/etc
/dumpdates writeable by group disk.