Репозиторий Sisyphus
Последнее обновление: 26 мая 2019 | Пакетов: 17693 | Посещений: 13598511
en ru br
Репозитории ALT
5.1: 0.01-alt2

Группа :: Система/Настройка/Пакеты
Пакет: apt-blacklist

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

Name: apt-blacklist
Version: 0.01.2
Release: alt1

Summary: Forbids installation of packages based on some criteria
License: GPLv3+
Group: System/Configuration/Packaging

BuildArch: noarch

Packager: Andrey Rahmatullin <wrar at altlinux.ru>

Source0: %name-%version.tar
Requires: python-module-rpm >= 4.13.0

This small tool checks packages that apt wants to install and aborts the
installation process if some criteria are met. Now it has only one
criterion: last changelog entry author must not contain lines from
%_sysconfdir/%name/packagers. Also, it can warn you when apt going to
install package that changed by author from %_sysconfdir/%name/warning
and inform about packager changes for authors from %_sysconfdir/%name/watch.


mkdir -p %buildroot{%_bindir,%_sysconfdir/%name}
install -p -m755 %name %buildroot%_bindir/
touch %buildroot%_sysconfdir/%name/packagers
touch %buildroot%_sysconfdir/%name/warning
touch %buildroot%_sysconfdir/%name/watch
install -pD -m644 apt.conf %buildroot/etc/apt/apt.conf.d/10-%name.conf

%config(noreplace) /etc/apt/apt.conf.d/*
%dir %_sysconfdir/%name
%config(noreplace) %_sysconfdir/%name/packagers
%config(noreplace) %_sysconfdir/%name/warning
%config(noreplace) %_sysconfdir/%name/watch


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

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