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
--enable-largefile
--enable-qfa
5 Summary: Programs
for backing up and restoring ext2
/ext3 filesystems.
10 URL: http
://dump.sourceforge.net
11 Group: Applications
/Archiving
12 Source: http
://download.sourceforge.net
/dump
/dump
-%{version}.tar.gz
13 BuildPrereq
: e2fsprogs
-devel
>= 1.18
14 BuildPrereq
: libtermcap
-devel
, readline
-devel
15 BuildPrereq
: zlib
-devel
, bzip2
-devel
17 BuildRoot: %{_tmppath}/%{name}-root
20 The dump package contains both dump and restore. Dump examines files
21 in a filesystem
, determines which ones need to be backed up
, and
22 copies those files to a specified disk
, tape
, or other storage medium.
23 The restore
command performs the inverse
function of dump
; it can
24 restore a full backup of a filesystem. Subsequent incremental backups
25 can
then be layered on top of the full backup. Single files and
26 directory subtrees may also be restored from full or partial backups.
28 Install dump
if you need a system
for both backing up filesystems and
29 restoring filesystems after backups.
32 Summary: Provides certain programs with access to remote tape devices.
33 Group: Applications
/Archiving
36 The rmt utility provides remote access to tape devices
for programs
37 like dump
(a filesystem backup program
), restore
(a program
for
38 restoring files from a backup
), and tar
(an archiving program
).
40 %package -n dump
-static
41 Summary: Statically linked versions of dump and restore.
42 Group: Applications
/Archiving
44 %description -n dump
-static
45 The dump package contains both dump and restore. Dump examines files
in
46 a filesystem
, determines which ones need to be backed up
, and copies
47 those files to a specified disk
, tape
, or other storage medium. The
48 restore
command performs the inverse
function of dump
; it can restore a
49 full backup of a filesystem. Subsequent incremental backups can
then be
50 layered on top of the full backup. Single files and directory subtrees
51 may also be restored from full or partial backups.
53 Install dump
if you need a system
for both backing up filesystems and
54 restoring filesystems after backups.
56 This package contains statically linked versions of dump and restore.
62 %configure %{myoptions} --enable-static
67 make OPT
="$RPM_OPT_FLAGS
-Wall
-Wpointer
-arith
-Wstrict
-prototypes \
68 -Wmissing
-prototypes
-Wno
-char
-subscripts"
70 mv dump
/dump dump
/dump.static
71 mv restore
/restore restore
/restore.static
75 %configure %{myoptions} --enable-rmt
77 make OPT
="$RPM_OPT_FLAGS
-Wall
-Wpointer
-arith
-Wstrict
-prototypes \
78 -Wmissing
-prototypes
-Wno
-char
-subscripts"
82 mkdir -p
%{buildroot}%{_sbindir}
83 mkdir -p
%{buildroot}%{_mandir}/man8
85 %makeinstall SBINDIR
=%{buildroot}%{_sbindir} MANDIR=%{buildroot}%{_mandir}/man8 BINOWNER
=$
(id
-un
) BINGRP
=$
(id
-gn
) MANOWNER
=$
(id
-un
) MANGRP
=$
(id
-gn
)
86 mkdir -p $RPM_BUILD_ROOT
/usr
/sbin
88 cp dump
/dump.static
%{buildroot}%{_sbindir}
89 cp restore
/restore.static
%{buildroot}%{_sbindir}
92 ln
-sf dump .
%{_sbindir}/rdump
93 ln
-sf dump.static .
%{_sbindir}/rdump.static
94 ln
-sf restore .
%{_sbindir}/rrestore
95 ln
-sf restore.static .
%{_sbindir}/rrestore.static
96 chmod ug
-s .
%{_sbindir}/rmt
97 mkdir -p .
%{_sysconfdir}
98 > .
%{_sysconfdir}/dumpdates
99 ln
-sf ..
%{_sbindir}/rmt .%{_sysconfdir}/rmt
100 # quick workaround :)
102 mv usr
/sbin
/*static sbin
/
103 mv usr
/sbin
/rmt sbin
/
104 # somehow, rpm didn't strip these...
105 strip usr
/sbin
/* sbin
/* ||
:
112 %defattr(-,root
,root
)
113 %doc CHANGES COPYRIGHT KNOWNBUGS MAINTAINERS README REPORTING
-BUGS THANKS TODO
114 %doc dump.lsm examples
115 %attr(0664,root
,disk
) %config(noreplace
) %{_sysconfdir}/dumpdates
116 %attr(0755,root
,root
) /usr
/sbin
/dump
118 %attr(0755,root
,root
) /usr
/sbin
/restore
120 %{_mandir}/man8
/dump.
*
121 %{_mandir}/man8
/rdump.
*
122 %{_mandir}/man8
/restore.
*
123 %{_mandir}/man8
/rrestore.
*
126 %defattr(-,root
,root
)
127 %attr(0755,root
,root
) %{_sbindir}/rmt
129 %{_mandir}/man8
/rmt.
*
131 %files -n dump
-static
132 %defattr(-,root
,root
)
133 %attr(0755,root
,root
) %{_sbindir}/dump.static
134 %{_sbindir}/rdump.static
135 %attr(0755,root
,root
) %{_sbindir}/restore.static
136 %{_sbindir}/rrestore.static
139 * Fri Apr
12 2002 Stelian Pop
<stelian@popies.net
140 - dump
0.4b28 released
, first packaging.
142 * Fri Feb
15 2002 Stelian Pop
<stelian@popies.net
143 - dump
0.4b27 released
, first packaging.
145 * Mon Jan
7 2002 Stelian Pop
<stelian@popies.net
>
146 - dump
0.4b26 released
, first packaging.
148 * Sat Nov
17 2001 Stelian Pop
<stelian@popies.net
>
149 - dump
0.4b25 released
, first packaging.
151 * Wed Sep
12 2001 Stelian Pop
<stelian@popies.net
>
152 - dump
0.4b24 released
, first packaging.
154 * Fri Jul
20 2001 Stelian Pop
<stelian@popies.net
>
155 - dump
0.4b23 released
, first packaging.
157 * Sat May
12 2001 Stelian Pop
<stelian@popies.net
>
158 - dump
0.4b22 released
, first packaging.
160 * Sat Jan
30 2001 Stelian Pop
<stelian@popies.net
>
161 - dump
0.4b21 released
, first packaging.
163 * Fri Nov
10 2000 Stelian Pop
<stelian@popies.net
>
164 - dump
0.4b20 released
, first packaging.
166 * Sun Aug
20 2000 Stelian Pop
<stelian@popies.net
>
167 - dump
0.4b19 released
, first packaging.
169 * Thu Jun
30 2000 Stelian Pop
<stelian@popies.net
>
170 - dump
0.4b18 released
, first packaging.
172 * Thu Jun
1 2000 Stelian Pop
<stelian@popies.net
>
173 - dump
0.4b17 released
, first packaging.
175 * Sat Mar
11 2000 Stelian Pop
<stelian@popies.net
>
176 - dump
0.4b16 released
, first packaging.
178 * Thu Mar
2 2000 Stelian Pop
<stelian@popies.net
>
179 - dump
0.4b15 released
, first packaging.
181 * Thu Feb
10 2000 Stelian Pop
<stelian@popies.net
>
182 - dump
0.4b14 released
, first packaging.
184 * Fri Jan
21 2000 Stelian Pop
<stelian@popies.net
>
185 - dump
0.4b13 released
, first packaging.
187 * Fri Jan
8 2000 Stelian Pop
<stelian@popies.net
>
188 - dump
0.4b12 released
, first packaging.
190 * Sun Dec
5 1999 Stelian Pop
<stelian@popies.net
>
191 - dump
0.4b11 released
, first packaging.
193 * Sun Nov
21 1999 Stelian Pop
<stelian@popies.net
>
194 - dump
0.4b10 released
, first packaging.
196 * Thu Nov
11 1999 Stelian Pop
<stelian@popies.net
>
197 - make static versions also
for rescue purposes.
199 * Wed Nov
5 1999 Stelian Pop
<stelian@popies.net
>
200 - dump
0.4b9 released
, first packaging.
202 * Wed Nov
3 1999 Stelian Pop
<stelian@popies.net
>
203 - dump
0.4b8 released
, first packaging.
205 * Thu Oct
8 1999 Stelian Pop
<stelian@popies.net
>
206 - dump
0.4b7 released
, first packaging.
208 * Thu Sep
30 1999 Stelian Pop
<stelian@popies.net
>
209 - dump
0.4b6 released
, first packaging.
211 * Fri Sep
10 1999 Jeff Johnson
<jbj@redhat.com
>
212 - recompile with e2fsprogs
= 1.15 (#4962).
214 * Sat Jul
31 1999 Jeff Johnson
<jbj@redhat.com
>
215 - workaround egcs bug
(#4281) that caused dump problems (#2989).
216 - use sigjmp_buf
, not jmp_buf
(#3260).
217 - invoke
/etc
/rmt
(instead of rmt
) like other unices.
(#3272).
218 - use glibc21 err
/glob rather than the internal compatibility routines.
219 - wire $
(OPT
) throughout Makefile's.
220 - fix many
printf problems
, mostly lint clean.
221 - merge SuSE
, Debian and many OpenBSD fixes.
223 * Thu Mar
25 1999 Jeff Johnson
<jbj@redhat.com
>
224 - remove setuid
/setgid bits from
/sbin
/rmt
(dump
/restore are OK
).
226 * Sun Mar
21 1999 Cristian Gafton
<gafton@redhat.com
>
227 - auto rebuild
in the new build environment
(release
6)
229 * Fri Mar
19 1999 Jeff Johnson
<jbj@redhat.com
>
232 * Thu Mar
18 1999 Jeff Johnson
<jbj@redhat.com
>
233 - Fix dangling symlinks
(#1551).
235 * Wed Mar
17 1999 Michael Maher
<mike@redhat.com
>
236 - Top O' the morning
, build root's fixed
for man pages.
238 * Fri Feb
19 1999 Preston Brown
<pbrown@redhat.com
>
239 - upgraded to dump
0.4b4
, massaged patches.
241 * Tue Feb
02 1999 Ian A Cameron
<I.A.Cameron@open.ac.uk
>
242 - added patch from Derrick J Brashear
for traverse.c to stop bread errors
244 * Wed Jan
20 1999 Jeff Johnson
<jbj@redhat.com
>
245 - restore original
6755 root.tty to dump
/restore
, defattr did tty
->root
(#684).
246 - mark
/etc
/dumpdates as noreplace.
248 * Tue Jul
14 1998 Jeff Johnson
<jbj@redhat.com
>
251 * Tue May
05 1998 Prospector System
<bugs@redhat.com
>
252 - translations modified
for de
, fr
, tr
254 * Thu Apr
30 1998 Cristian Gafton
<gafton@redhat.com
>
255 - added a patch
for resolving linux
/types.h and sys
/types.h conflicts
257 * Wed Dec
31 1997 Erik Troan
<ewt@redhat.com
>
258 - added prototype of llseek
() so dump would work on large partitions
260 * Thu Oct
30 1997 Donnie Barnes
<djb@redhat.com
>
261 - made all symlinks relative instead of absolute
263 * Thu Jul
10 1997 Erik Troan
<ewt@redhat.com
>
264 - built against glibc
266 * Thu Mar
06 1997 Michael K. Johnson
<johnsonm@redhat.com
>
267 - Moved rmt to its own package.
269 * Tue Feb
11 1997 Michael Fulbright
<msf@redhat.com
>
270 - Added endian cleanups
for SPARC
272 * Fri Feb
07 1997 Michael K. Johnson
<johnsonm@redhat.com
>
273 - Made
/etc
/dumpdates writeable by group disk.