Репозиторий Sisyphus
Последнее обновление: 21 января 2022 | Пакетов: 17493 | Посещений: 22798215
en ru br
Репозитории ALT
S:2022.01.17-alt1
www.altlinux.org/Changes

Группа :: Other
Пакет: cve-manager-inner-knowledge

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

%define master_package cve-manager
%define lists_dist %{_sysconfdir}/%{master_package}
%define miner %{master_package}-knowledge-miner

Name: %{master_package}-inner-knowledge
Version: 2022.01.17
Release: alt1

Summary: Supplimentary data for cve-manager
License: CC-BY-SA-3.0
Group: Other
Url: https://www.altlinux.org/CVE-Manager

Packager: Alexey Appolonov <alexey at altlinux.org>

# http://git.altlinux.org/people/alexey/packages/?p=%{name}.git

Source: %{name}-%{version}.tar

BuildRequires: rpm-build-python3
Requires: %{master_package} >= 0.55

ExclusiveArch: x86_64

%description
Data used by "cve-manager" to 1) map package names to CPE products (a list of
mapping prescriptions, a list of excluded CPEs and a list of ignored mapping
pairs) and to 2) exclude vulnerabilities that have no real effect in a current
state of specified repositories.

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #


%package -n %{miner}
Summary: %{master_package} DB client for making specific queries
Group: Other

Requires: python3-module-ax

%description -n %{miner}
%{miner} helps to get various kinds of information from %{master_package} DB
such as used package names, used CPEs, etc.

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #


%prep
%setup
%build
./publisher -r

%check

%install
mkdir -p %{buildroot}%{lists_dist}
mkdir -p %{buildroot}%{_bindir}
install -m0664 *.csv %{buildroot}%{lists_dist}
install -m0755 %{miner} %{buildroot}%{_bindir}

%post
# cve group should be created at the post stage of cve-manager installation
chgrp cve %{lists_dist}/*.csv

%files
%{lists_dist}/cpe-excluded.csv
%{lists_dist}/cpe-mapping.csv
%{lists_dist}/cpe-mapping-ignore.csv
%{lists_dist}/excluded-issues.csv
%{lists_dist}/package-name-special-prefixes.csv

%files -n %{miner}
%{_bindir}/%{miner}

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #


%changelog

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

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