# XXX --enable-kerberos needs krcmd
%define myoptions --with-binmode=6755 --with-manowner=root --with-mangrp=root --with-manmode=0644 --with-dumpdates="%{_sysconfdir}/dumpdates" --enable-readline --enable-largefile --enable-qfa
-Summary: Programs for backing up and restoring filesystems.
+Summary: Programs for backing up and restoring ext2/ext3 filesystems.
Name: dump
Version: 0.4b22
Release: 1
Group: Applications/Archiving
Source: http://download.sourceforge.net/dump/dump-%{version}.tar.gz
Requires: rmt
-BuildRequires: e2fsprogs-devel
+BuildPrereq: e2fsprogs-devel, libtermcap-devel, readline-devel
BuildRoot: %{_tmppath}/%{name}-root
%description
%build
%configure %{myoptions} --enable-static
-make OPT="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts"
+%ifarch alpha
+RPM_OPT_FLAGS=""
+%endif
+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
%configure %{myoptions} --enable-rmt
-make OPT="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts"
+make OPT="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes \
+ -Wmissing-prototypes -Wno-char-subscripts"
%install
rm -rf %{buildroot}
#ifndef lint
static const char rcsid[] =
- "$Id: itime.c,v 1.19 2001/06/18 10:58:28 stelian Exp $";
+ "$Id: itime.c,v 1.20 2001/07/18 09:12:05 stelian Exp $";
#endif /* not lint */
#include <config.h>
#include <sys/param.h>
#include <sys/time.h>
+#include <time.h>
#ifdef __linux__
#ifdef HAVE_EXT2FS_EXT2_FS_H
#include <ext2fs/ext2_fs.h>
#include <linux/ext2_fs.h>
#endif
#include <ext2fs/ext2fs.h>
-#include <time.h>
#include <bsdcompat.h>
#include <sys/file.h>
#include <unistd.h>
#ifndef lint
static const char rcsid[] =
- "$Id: main.c,v 1.49 2001/06/18 10:58:28 stelian Exp $";
+ "$Id: main.c,v 1.50 2001/07/18 09:12:05 stelian Exp $";
#endif /* not lint */
#include <config.h>
#include <sys/param.h>
#include <sys/time.h>
+#include <time.h>
#ifdef __linux__
#ifdef HAVE_EXT2FS_EXT2_FS_H
#include <ext2fs/ext2_fs.h>
#include <linux/ext2_fs.h>
#endif
#include <ext2fs/ext2fs.h>
-#include <time.h>
#include <sys/stat.h>
#include <bsdcompat.h>
#elif defined sunos
#ifndef lint
static const char rcsid[] =
- "$Id: optr.c,v 1.24 2001/06/18 11:07:45 stelian Exp $";
+ "$Id: optr.c,v 1.25 2001/07/18 09:12:05 stelian Exp $";
#endif /* not lint */
#include <config.h>
#include <sys/param.h>
#include <sys/wait.h>
#include <sys/time.h>
+#include <time.h>
#include <errno.h>
#include <fstab.h>
#ifndef lint
static const char rcsid[] =
- "$Id: tape.c,v 1.47 2001/06/18 10:58:28 stelian Exp $";
+ "$Id: tape.c,v 1.48 2001/07/18 09:12:05 stelian Exp $";
#endif /* not lint */
#include <config.h>
#ifdef __linux__
#include <sys/types.h>
+#include <sys/time.h>
#include <time.h>
#endif
#include <sys/param.h>
#ifndef lint
static const char rcsid[] =
- "$Id: unctime.c,v 1.11 2001/06/18 10:58:28 stelian Exp $";
+ "$Id: unctime.c,v 1.12 2001/07/18 09:12:05 stelian Exp $";
#endif /* not lint */
#include <config.h>
+#include <sys/time.h>
#include <time.h>
#ifdef __STDC__
#include <stdlib.h>