Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37741637
en ru br
Репозитории ALT
S:0.4b47-alt1
5.1: 0.4b42-alt1
4.1: 0.4b41-alt2
4.0: 0.4b41-alt1.0
3.0: 0.4b35-alt1
www.altlinux.org/Changes

Группа :: Архивирование/Резервное копирование
Пакет: dump

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: dump
Version: 0.4b42
Release: alt1

Packager: Victor Forsyuk <force at altlinux.org>

Summary: Programs for backing up and restoring ext2/ext3 filesystems
License: BSD
Group: Archiving/Backup

URL: http://dump.sourceforge.net/
Source: http://downloads.sourceforge.net/dump/dump-%version.tar.gz
Patch1: dump-0.4b28-alt-makefile.patch
Patch2: dump-0.4b40-include.patch

Requires: rmt = %version-%release

BuildPreReq: glibc-kernheaders

# Automatically added by buildreq on Fri Jun 26 2009

BuildRequires: bzlib-devel libdevmapper-devel libe2fs-devel libncurses-devel libreadline-devel libselinux-devel libsepol-devel zlib-devel

%package -n rmt
Summary: Provides certain programs with access to remote tape devices
Group: Archiving/Backup

%description
The %name 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.

%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).

%prep
%setup
%patch1 -p1
%patch2 -p1

%__subst s,termcap,tinfo,g ./configure.in

%build
autoconf
%configure \
--with-manowner=root \
--with-mangrp=root \
--with-binmode=755 \
--with-manmode=644 \
--enable-rmt \
--enable-readline \
--enable-largefile
make OPT="%optflags -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts"

%install
mkdir -p %buildroot{/sbin,%_man8dir}

make install SBINDIR=%buildroot/sbin BINDIR=%buildroot/sbin MANDIR=%buildroot%_man8dir

pushd %buildroot
ln -s -nf dump ./sbin/rdump
ln -s -nf restore ./sbin/rrestore
ln -s -nf dump.8 .%_man8dir/rdump.8
ln -s -nf restore.8 .%_man8dir/rrestore.8
chmod a-s ./sbin/rmt
mkdir -p .%_sysconfdir
:> .%_sysconfdir/dumpdates
ln -s -nf ../sbin/rmt .%_sysconfdir/rmt
popd

%files
/sbin/*dump
/sbin/*restore
%_man8dir/*dump.*
%_man8dir/*restore.*
%attr(664,root,disk) %config(noreplace) %_sysconfdir/dumpdates
%doc CHANGES COPYRIGHT KNOWNBUGS README THANKS MAINTAINERS

%files -n rmt
/sbin/rmt
%_sysconfdir/rmt
%_man8dir/rmt.*
%doc COPYRIGHT

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin