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

Группа :: Система/Основа
Пакет: etc-update

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

Summary: Mergemaster for Linux
Name: etc-update
Version: 20020731
Release: alt1
Source0: %name-%version.tar.bz2
Patch0: %name-user.patch
Url: http://www.xs4all.nl/~hanb/software
License: GPL
Group: System/Base
BuildArch: noarch
Requires: setup

%description
After an update with up2date/apt/yum/rpm rpm makes .rpmnew copies of
all files it knows it should not overwrite. Of course you have to look
at all those files and merge any changes. A tedious and much forgotten
job.

On FreeBSD there is mergemaster to do the job. It recently got ported
to OpenBSD and also to Gentoo. Now there is also a Linux version (not
a port) :)

%prep
%setup -q
%patch0 -p1
%__cat << EOF > README.ALT
Following variables may be (re)difined in /e/%{name}rc:

configdirs (default is /etc) - space separated list of dirs, where
*.rpm{save,old,new) files located (along with original files).
Sysadmin may define list of system wide and user-specific dirs.

runtimedir (default is \$TMPDIR) - temporary dir (/tmp if \$TMPDIR is
undefined). Usualy may be omited.

Additionaly, user may specify list of dirs as command-line arguments
(all of them must be writable for him).

EOF

%install
%__mkdir_p %buildroot{%_sysconfdir,%_bindir}
%__install -m 755 %name %buildroot%_bindir
%__install -m 644 %{name}rc %buildroot%_sysconfdir

%files
%config(noreplace) %_sysconfdir/*
%_bindir/*

%doc INSTALL CHANGES README.ALT

%changelog

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

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