Репозиторий Sisyphus
Последнее обновление: 25 февраля 2021 | Пакетов: 17845 | Посещений: 20332201
en ru br
Репозитории ALT
S:2021.02.22-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: 2021.02.22
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: python3
Requires: %{master_package} >= 0.44

ExclusiveArch: x86_64

%description
The list of mapping prescriptions (package name >> cpe product) and
the list of vulnerabilities that are not affecting the stated branches.

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


%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

%check
./checker

%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}/*.conf

%files
%{lists_dist}/*.csv

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

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


%changelog

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

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