Summary: Programs for backing up and restoring filesystems. Name: dump Version: 0.4b9 Release: 1 Copyright: UCB Group: Applications/Archiving Source: http://perso.cybercable.fr/pop/dump/dump-%{version}.tar.gz Requires: rmt BuildRoot: /var/tmp/%{name}-root %description The dump package contains both dump and restore. Dump examines files in a filesystem, determines which ones need to be backed up, and copies those files to a specified disk, tape or other storage medium. The restore command performs the inverse function of dump; it can restore a full backup of a filesystem. Subsequent incremental backups can then be layered on top of the full backup. Single files and directory subtrees may also be restored from full or partial backups. Install dump if you need a system for both backing up filesystems and restoring filesystems after backups. %package -n rmt Summary: Provides certain programs with access to remote tape devices. Group: Applications/Archiving %description -n rmt The rmt utility provides remote access to tape devices for programs like dump (a filesystem backup program), restore (a program for restoring files from a backup) and tar (an archiving program). %package -n dump-static Summary: Programs for backing up and restoring filesystems. Group: Applications/Archiving %description -n dump-static The dump package contains both dump and restore. Dump examines files in a filesystem, determines which ones need to be backed up, and copies those files to a specified disk, tape or other storage medium. The restore command performs the inverse function of dump; it can restore a full backup of a filesystem. Subsequent incremental backups can then be layered on top of the full backup. Single files and directory subtrees may also be restored from full or partial backups. Install dump if you need a system for both backing up filesystems and restoring filesystems after backups. This packages contains statically linked versions of dump and restore. %prep %setup -q %build %configure --with-binmode=6755 --with-manowner=root --with-mangrp=root --with-manmode=0644 --enable-static make OPT="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts" mv dump/dump dump/dump.static mv restore/restore restore/restore.static make distclean configure --with-binmode=6755 --with-manowner=root --with-mangrp=root --with-manmode=0644 --enable-rmt make OPT="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts" %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/sbin mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/man/man8 make install BINDIR=$RPM_BUILD_ROOT/sbin MANDIR=${RPM_BUILD_ROOT}%{_prefix}/man/man8 cp dump/dump.static $RPM_BUILD_ROOT/sbin cp restore/restore.static $RPM_BUILD_ROOT/sbin { cd $RPM_BUILD_ROOT strip ./sbin/* || : ln -sf dump ./sbin/rdump ln -sf dump.static ./sbin/rdump.static ln -sf restore ./sbin/rrestore ln -sf restore.static ./sbin/rrestore.static chmod ug-s ./sbin/rmt mkdir -p ./etc > ./etc/dumpdates ln -sf ../sbin/rmt ./etc/rmt } %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc CHANGES COPYRIGHT KNOWNBUGS MAINTAINERS README THANKS TODO dump.lsm %attr(0664,root,disk) %config(noreplace) /etc/dumpdates %attr(6755,root,tty) /sbin/dump /sbin/rdump %attr(6755,root,tty) /sbin/restore /sbin/rrestore %{_prefix}/man/man8/dump.8 %{_prefix}/man/man8/rdump.8 %{_prefix}/man/man8/restore.8 %{_prefix}/man/man8/rrestore.8 %files -n rmt %defattr(-,root,root) %attr(0755,root,root) /sbin/rmt /etc/rmt %{_prefix}/man/man8/rmt.8 %files -n dump-static %defattr(-,root,root) %attr(6755,root,tty) /sbin/dump.static /sbin/rdump.static %attr(6755,root,tty) /sbin/restore.static /sbin/rrestore.static %changelog * Thu Nov 11 1999 Stelian Pop - make static versions also for rescue purposes. * Wed Nov 5 1999 Stelian Pop - dump 0.4b9 released, first packaging. * Wed Nov 3 1999 Stelian Pop - dump 0.4b8 released, first packaging. * Thu Oct 8 1999 Stelian Pop - dump 0.4b7 released, first packaging. * Thu Sep 30 1999 Stelian Pop - dump 0.4b6 released, first packaging. * Fri Sep 10 1999 Jeff Johnson - recompile with e2fsprogs = 1.15 (#4962). * Sat Jul 31 1999 Jeff Johnson - workaround egcs bug (#4281) that caused dump problems (#2989). - use sigjmp_buf, not jmp_buf (#3260). - invoke /etc/rmt (instead of rmt) like other unices. (#3272). - use glibc21 err/glob rather than the internal compatibility routines. - wire $(OPT) throughout Makefile's. - fix many printf problems, mostly lint clean. - merge SuSE, Debian and many OpenBSD fixes. * Thu Mar 25 1999 Jeff Johnson - remove setuid/setgid bits from /sbin/rmt (dump/restore are OK). * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 6) * Fri Mar 19 1999 Jeff Johnson - strip binaries. * Thu Mar 18 1999 Jeff Johnson - Fix dangling symlinks (#1551). * Wed Mar 17 1999 Michael Maher - Top O' the morning, build root's fixed for man pages. * Fri Feb 19 1999 Preston Brown - upgraded to dump 0.4b4, massaged patches. * Tue Feb 02 1999 Ian A Cameron - added patch from Derrick J Brashear for traverse.c to stop bread errors * Wed Jan 20 1999 Jeff Johnson - restore original 6755 root.tty to dump/restore, defattr did tty->root (#684). - mark /etc/dumpdates as noreplace. * Tue Jul 14 1998 Jeff Johnson - add build root. * Tue May 05 1998 Prospector System - translations modified for de, fr, tr * Thu Apr 30 1998 Cristian Gafton - added a patch for resolving linux/types.h and sys/types.h conflicts * Wed Dec 31 1997 Erik Troan - added prototype of llseek() so dump would work on large partitions * Thu Oct 30 1997 Donnie Barnes - made all symlinks relative instead of absolute * Thu Jul 10 1997 Erik Troan - built against glibc * Thu Mar 06 1997 Michael K. Johnson - Moved rmt to its own package. * Tue Feb 11 1997 Michael Fulbright - Added endian cleanups for SPARC * Fri Feb 07 1997 Michael K. Johnson - Made /etc/dumpdates writeable by group disk.