Репозитории ALT
S: | 2.0.19-alt2 |
5.1: | 1.27-alt1.1 |
4.1: | 1.27-alt1.1 |
4.0: | 1.26-alt1 |
3.0: | 1.26-alt1 |
Другие репозитории
Upstream: | 1.27 |
Группа :: Разработка/Прочее
Пакет: flawfinder
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# Unpackaged files in buildroot should terminate build
%define _unpackaged_files_terminate_build 1
%global srcname flawfinder
Name: flawfinder
Version: 2.0.19
Release: alt2
Summary: Examines C/C++ source code for security flaws
License: GPLv2+
Group: Development/Other
Url: http://www.dwheeler.com/flawfinder/
Source: http://www.dwheeler.com/%name/%name-%version.tar.gz
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: flex
BuildRequires: python3-devel
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
Summary(ru_RU.UTF-8): п≤я│я│п╩п╣п╢я┐п╣я┌ п╦я│я┘п╬п╢п╫я▀п╧ п╨п╬п╢ п╫п╟ п║/п║++ п╫п╟ п©я─п╣п╢п╪п╣я┌ п╬я┬п╦п╠п╬п╨ п╡ п╠п╣п╥п╬п©п╟я│п╫п╬я│я┌п╦
%description
Flawfinder scans through C/C++ source code, identifying lines ("hits")
with potential security flaws. By default it reports hits sorted by
severity, with the riskiest lines first.
%description -l ru_RU.UTF-8
Flawfinder я│п╨п╟п╫п╦я─я┐п╣я┌ п╦я│я┘п╬п╢п╫я▀п╧ п╨п╬п╢ п╫п╟ п║/п║++, я┐п╨п╟п╥я▀п╡п╟я▐ п╫п╟ я│я┌я─п╬п╨п╦,
п╡ п╨п╬я┌п╬я─я▀я┘ я│п╬п╢п╣я─п╤п╟я┌я│я▐ п╡п╬п╥п╪п╬п╤п╫я▀п╣ п╬я┬п╦п╠п╨п╦ п╡ п╠п╣п╥п╬п©п╟я│п╫п╬я│я┌п╦. п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌
п©я─п╬пЁя─п╟п╪п╪п╟ п╡я▀п╡п╬п╢п╦я┌ п╬я┌я┤п╣я┌, п╬я┌я│п╬я─я┌п╦я─п╬п╡п╟п╫п╫я▀п╧ п©п╬ п©я─п╣п╢п©п╬п╩п╟пЁп╟п╣п╪п╬п╧ я│п╣я─я▄я▒п╥п╫п╬я│я┌п╦
п╬я┬п╦п╠п╬п╨, пЁп╢п╣ я│я┌я─п╬п╨п╦, я┌я─п╣п╠я┐я▌я┴п╦п╣ п©я─п╦я│я┌п╟п╩я▄п╫п╬пЁп╬ п╡п╫п╦п╪п╟п╫п╦я▐ я│ п╡п╟я┬п╣п╧ я│я┌п╬я─п╬п╫я▀,
я─п╟я│п©п╬п╩п╟пЁп╟я▌я┌я│я▐ п╡ п╫п╟я┤п╟п╩п╣.
%prep
%setup
rm -f test-results.*
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
$(find ./ \( -name '*.py' -o -name '%name' \))
%build
%make_build
%pyproject_build
%{?!_without_check:%{?!_disable_check:%make_build -k check ||:}}
%install
%pyproject_install
xz ChangeLog
%files
%python3_sitelibdir/%srcname-%version.dist-info/
%python3_sitelibdir/__pycache__/%{srcname}*.pyc
%python3_sitelibdir/%{srcname}.py
%_bindir/%name
%_man1dir/%name.1.*
%doc announcement README.md ChangeLog* *.pdf
%doc test/test.c test/test2.c
%{?!_without_check:%{?!_disable_check:%doc test/*.*}}
%changelog
…
Полный changelog можно просмотреть здесь
%define _unpackaged_files_terminate_build 1
%global srcname flawfinder
Name: flawfinder
Version: 2.0.19
Release: alt2
Summary: Examines C/C++ source code for security flaws
License: GPLv2+
Group: Development/Other
Url: http://www.dwheeler.com/flawfinder/
Source: http://www.dwheeler.com/%name/%name-%version.tar.gz
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: flex
BuildRequires: python3-devel
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
Summary(ru_RU.UTF-8): п≤я│я│п╩п╣п╢я┐п╣я┌ п╦я│я┘п╬п╢п╫я▀п╧ п╨п╬п╢ п╫п╟ п║/п║++ п╫п╟ п©я─п╣п╢п╪п╣я┌ п╬я┬п╦п╠п╬п╨ п╡ п╠п╣п╥п╬п©п╟я│п╫п╬я│я┌п╦
%description
Flawfinder scans through C/C++ source code, identifying lines ("hits")
with potential security flaws. By default it reports hits sorted by
severity, with the riskiest lines first.
%description -l ru_RU.UTF-8
Flawfinder я│п╨п╟п╫п╦я─я┐п╣я┌ п╦я│я┘п╬п╢п╫я▀п╧ п╨п╬п╢ п╫п╟ п║/п║++, я┐п╨п╟п╥я▀п╡п╟я▐ п╫п╟ я│я┌я─п╬п╨п╦,
п╡ п╨п╬я┌п╬я─я▀я┘ я│п╬п╢п╣я─п╤п╟я┌я│я▐ п╡п╬п╥п╪п╬п╤п╫я▀п╣ п╬я┬п╦п╠п╨п╦ п╡ п╠п╣п╥п╬п©п╟я│п╫п╬я│я┌п╦. п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌
п©я─п╬пЁя─п╟п╪п╪п╟ п╡я▀п╡п╬п╢п╦я┌ п╬я┌я┤п╣я┌, п╬я┌я│п╬я─я┌п╦я─п╬п╡п╟п╫п╫я▀п╧ п©п╬ п©я─п╣п╢п©п╬п╩п╟пЁп╟п╣п╪п╬п╧ я│п╣я─я▄я▒п╥п╫п╬я│я┌п╦
п╬я┬п╦п╠п╬п╨, пЁп╢п╣ я│я┌я─п╬п╨п╦, я┌я─п╣п╠я┐я▌я┴п╦п╣ п©я─п╦я│я┌п╟п╩я▄п╫п╬пЁп╬ п╡п╫п╦п╪п╟п╫п╦я▐ я│ п╡п╟я┬п╣п╧ я│я┌п╬я─п╬п╫я▀,
я─п╟я│п©п╬п╩п╟пЁп╟я▌я┌я│я▐ п╡ п╫п╟я┤п╟п╩п╣.
%prep
%setup
rm -f test-results.*
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
$(find ./ \( -name '*.py' -o -name '%name' \))
%build
%make_build
%pyproject_build
%{?!_without_check:%{?!_disable_check:%make_build -k check ||:}}
%install
%pyproject_install
xz ChangeLog
%files
%python3_sitelibdir/%srcname-%version.dist-info/
%python3_sitelibdir/__pycache__/%{srcname}*.pyc
%python3_sitelibdir/%{srcname}.py
%_bindir/%name
%_man1dir/%name.1.*
%doc announcement README.md ChangeLog* *.pdf
%doc test/test.c test/test2.c
%{?!_without_check:%{?!_disable_check:%doc test/*.*}}
%changelog
…
Полный changelog можно просмотреть здесь