]>
Commit | Line | Data |
---|---|---|
c154548c SP |
1 | Summary: Programs for backing up and restoring filesystems. |
2 | Name: dump | |
3 | Version: 0.4b8 | |
4 | Release: 1 | |
5 | Copyright: UCB | |
6 | Group: Applications/Archiving | |
7 | Source: http://perso.cybercable.fr/pop/dump/dump-%{version}.tar.gz | |
8 | Requires: rmt | |
9 | BuildRoot: /var/tmp/%{name}-root | |
10 | ||
11 | %description | |
12 | The dump package contains both dump and restore. Dump examines files in | |
13 | a filesystem, determines which ones need to be backed up, and copies | |
14 | those files to a specified disk, tape or other storage medium. The | |
15 | restore command performs the inverse function of dump; it can restore a | |
16 | full backup of a filesystem. Subsequent incremental backups can then be | |
17 | layered on top of the full backup. Single files and directory subtrees | |
18 | may also be restored from full or partial backups. | |
19 | ||
20 | Install dump if you need a system for both backing up filesystems and | |
21 | restoring filesystems after backups. | |
22 | ||
23 | %package -n rmt | |
24 | Summary: Provides certain programs with access to remote tape devices. | |
25 | Group: Applications/Archiving | |
26 | ||
27 | %description -n rmt | |
28 | The rmt utility provides remote access to tape devices for programs | |
29 | like dump (a filesystem backup program), restore (a program for | |
30 | restoring files from a backup) and tar (an archiving program). | |
31 | ||
32 | %prep | |
33 | %setup -q | |
34 | ||
35 | %build | |
36 | ||
37 | %configure --with-binmode=6755 --with-manowner=root --with-mangrp=root --with-manmode=0644 --enable-rmt | |
38 | ||
39 | make OPT="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts" | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | mkdir -p $RPM_BUILD_ROOT/sbin | |
44 | mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/man/man8 | |
45 | ||
46 | make install BINDIR=$RPM_BUILD_ROOT/sbin MANDIR=${RPM_BUILD_ROOT}%{_prefix}/man/man8 | |
47 | ||
48 | { cd $RPM_BUILD_ROOT | |
49 | strip ./sbin/* || : | |
50 | ln -sf dump ./sbin/rdump | |
51 | ln -sf restore ./sbin/rrestore | |
52 | chmod ug-s ./sbin/rmt | |
53 | mkdir -p ./etc | |
54 | > ./etc/dumpdates | |
55 | ln -sf ../sbin/rmt ./etc/rmt | |
56 | } | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | %defattr(-,root,root) | |
63 | %doc CHANGES COPYRIGHT KNOWNBUGS MAINTAINERS README THANKS TODO dump.lsm | |
64 | %attr(0664,root,disk) %config(noreplace) /etc/dumpdates | |
65 | %attr(6755,root,tty) /sbin/dump | |
66 | /sbin/rdump | |
67 | %attr(6755,root,tty) /sbin/restore | |
68 | /sbin/rrestore | |
69 | %{_prefix}/man/man8/dump.8 | |
70 | %{_prefix}/man/man8/rdump.8 | |
71 | %{_prefix}/man/man8/restore.8 | |
72 | %{_prefix}/man/man8/rrestore.8 | |
73 | ||
74 | %files -n rmt | |
75 | %defattr(-,root,root) | |
76 | %attr(0755,root,root) /sbin/rmt | |
77 | /etc/rmt | |
78 | %{_prefix}/man/man8/rmt.8 | |
79 | ||
80 | %changelog | |
81 | * Wed Nov 3 1999 Stelian Pop <pop@cybercable.fr> | |
82 | - dump 0.4b8 released, first packaging. | |
83 | ||
84 | * Thu Oct 8 1999 Stelian Pop <pop@cybercable.fr> | |
85 | - dump 0.4b7 released, first packaging. | |
86 | ||
87 | * Thu Sep 30 1999 Stelian Pop <pop@cybercable.fr> | |
88 | - dump 0.4b6 released, first packaging. | |
89 | ||
90 | * Fri Sep 10 1999 Jeff Johnson <jbj@redhat.com> | |
91 | - recompile with e2fsprogs = 1.15 (#4962). | |
92 | ||
93 | * Sat Jul 31 1999 Jeff Johnson <jbj@redhat.com> | |
94 | - workaround egcs bug (#4281) that caused dump problems (#2989). | |
95 | - use sigjmp_buf, not jmp_buf (#3260). | |
96 | - invoke /etc/rmt (instead of rmt) like other unices. (#3272). | |
97 | - use glibc21 err/glob rather than the internal compatibility routines. | |
98 | - wire $(OPT) throughout Makefile's. | |
99 | - fix many printf problems, mostly lint clean. | |
100 | - merge SuSE, Debian and many OpenBSD fixes. | |
101 | ||
102 | * Thu Mar 25 1999 Jeff Johnson <jbj@redhat.com> | |
103 | - remove setuid/setgid bits from /sbin/rmt (dump/restore are OK). | |
104 | ||
105 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> | |
106 | - auto rebuild in the new build environment (release 6) | |
107 | ||
108 | * Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com> | |
109 | - strip binaries. | |
110 | ||
111 | * Thu Mar 18 1999 Jeff Johnson <jbj@redhat.com> | |
112 | - Fix dangling symlinks (#1551). | |
113 | ||
114 | * Wed Mar 17 1999 Michael Maher <mike@redhat.com> | |
115 | - Top O' the morning, build root's fixed for man pages. | |
116 | ||
117 | * Fri Feb 19 1999 Preston Brown <pbrown@redhat.com> | |
118 | - upgraded to dump 0.4b4, massaged patches. | |
119 | ||
120 | * Tue Feb 02 1999 Ian A Cameron <I.A.Cameron@open.ac.uk> | |
121 | - added patch from Derrick J Brashear for traverse.c to stop bread errors | |
122 | ||
123 | * Wed Jan 20 1999 Jeff Johnson <jbj@redhat.com> | |
124 | - restore original 6755 root.tty to dump/restore, defattr did tty->root (#684). | |
125 | - mark /etc/dumpdates as noreplace. | |
126 | ||
127 | * Tue Jul 14 1998 Jeff Johnson <jbj@redhat.com> | |
128 | - add build root. | |
129 | ||
130 | * Tue May 05 1998 Prospector System <bugs@redhat.com> | |
131 | - translations modified for de, fr, tr | |
132 | ||
133 | * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com> | |
134 | - added a patch for resolving linux/types.h and sys/types.h conflicts | |
135 | ||
136 | * Wed Dec 31 1997 Erik Troan <ewt@redhat.com> | |
137 | - added prototype of llseek() so dump would work on large partitions | |
138 | ||
139 | * Thu Oct 30 1997 Donnie Barnes <djb@redhat.com> | |
140 | - made all symlinks relative instead of absolute | |
141 | ||
142 | * Thu Jul 10 1997 Erik Troan <ewt@redhat.com> | |
143 | - built against glibc | |
144 | ||
145 | * Thu Mar 06 1997 Michael K. Johnson <johnsonm@redhat.com> | |
146 | - Moved rmt to its own package. | |
147 | ||
148 | * Tue Feb 11 1997 Michael Fulbright <msf@redhat.com> | |
149 | - Added endian cleanups for SPARC | |
150 | ||
151 | * Fri Feb 07 1997 Michael K. Johnson <johnsonm@redhat.com> | |
152 | - Made /etc/dumpdates writeable by group disk. |