Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37485503
en ru br
Репозитории ALT
S:1.5.7-alt2
5.1: 1.5.4-alt1
4.1: 1.5.3-alt1
4.0: 1.3-alt0.1
www.altlinux.org/Changes

Группа :: Работа с текстами
Пакет: foremost

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

Name: foremost
Version: 1.5.7
Release: alt2

Summary: Recover files by "carving" them from a raw disk

License: Public Domain
Group: Text tools
Url: http://foremost.sourceforge.net/

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://foremost.sourceforge.net/pkg/%name-%version.tar
Patch0: foremost-broken-jpeg.patch
Patch1: foremost-fix-permission-timestamp.patch
Patch2: foremost-1.5.7-format-security.patch
Patch3: foremost-1.5.7-gcc10.patch
Patch10: %name-sysconfdir.patch

%description
Foremost recovers files files based on their headers, footers, and
internal data structures. This process is commonly referred to as data
carving. Foremost can work on a raw disk drive or image file generated
by dd. The headers and footers can be specified by a configuration
file or you can use command line switches to specify built-in file
types. These built-in types look at the data structures of a given
file format allowing for a more reliable and faster recovery.

See use case in russian: http://mydebianblog.blogspot.com/2007/01/1-foremost.html

%prep
%setup
%patch10 -p2
%patch0
%patch1 -p2
%patch2 -p1
%patch3 -p1

%build
%make_build \
RAW_CC="%__cc" \
RAW_FLAGS="%optflags -DVERSION=\\\"%version\\\"" \
BIN=%_bindir \
MAN=%_man1dir \
CONF=%_sysconfdir

%install
install -d %buildroot{%_bindir,%_man1dir,%_sysconfdir}

%make_install install \
BIN=%buildroot%_bindir \
MAN=%buildroot%_man1dir \
CONF=%buildroot%_sysconfdir

%files
%doc README CHANGES
%_bindir/%name
%_man1dir/*
%config(noreplace) %_sysconfdir/%name.conf

%changelog

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

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