Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
943cf2697a |
3 changed files with 103 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/selint-1.5.0.tar.gz
|
||||
101
selint.spec
Normal file
101
selint.spec
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
# check in RHEL-7 is too old
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||
%bcond_with tests
|
||||
%else
|
||||
%bcond_without tests
|
||||
%endif
|
||||
|
||||
|
||||
Summary: Static code analysis tool for SELinux policy source files
|
||||
Name: selint
|
||||
Version: 1.5.0
|
||||
Release: 1%{?dist}
|
||||
URL: https://github.com/SELinuxProject/selint
|
||||
License: Apache-2.0
|
||||
Source: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: autoconf-archive
|
||||
BuildRequires: automake
|
||||
BuildRequires: bison
|
||||
%if %{with tests}
|
||||
BuildRequires: pkgconfig(check) >= 0.11.0
|
||||
%endif
|
||||
BuildRequires: flex
|
||||
BuildRequires: gcc
|
||||
BuildRequires: help2man
|
||||
BuildRequires: libconfuse-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: uthash-devel
|
||||
|
||||
|
||||
%description
|
||||
SELint is a program to perform static code analysis on SELinux policy source
|
||||
files. SELint seeks to help policy developers write policy that is more
|
||||
maintainable, readable and secure, and to reduce the time spent debugging
|
||||
challenging policy issues.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p 1
|
||||
|
||||
|
||||
%build
|
||||
autoreconf -fiv -Wall -Wno-portability
|
||||
%configure %{!?with_tests:--without-check}
|
||||
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
%make_build check
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE NOTICE
|
||||
%doc CHANGELOG README
|
||||
%{_bindir}/selint
|
||||
%config(noreplace) %{_sysconfdir}/selint.conf
|
||||
%{_mandir}/man1/selint.1*
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jan 29 2024 Juraj Marcin <juraj@jurajmarcin.com> - 1.5.0-1
|
||||
- v 1.5.0
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Wed Feb 08 2023 Juraj Marcin <juraj@jurajmarcin.com> - 1.4.0-1
|
||||
- v 1.4.0
|
||||
|
||||
* Mon Dec 19 2022 Vit Mojzis <vmojzis@redhat.com> - 1.3.0-1
|
||||
- v 1.3.0
|
||||
- Silence warning in bison generated code
|
||||
- Drop dead stores
|
||||
- Declare file local variable static
|
||||
- Drop duplicate semicolons
|
||||
- Add missing fall through comment
|
||||
- Drop duplicate include
|
||||
- Update URLs after repository move
|
||||
- Add check example for W-012
|
||||
- Add new check to warn about incorrect usage of audit_access permission
|
||||
- Warn on duplicate policy configuration files
|
||||
- Reduce recursion in free_policy_node
|
||||
- Support disable commands for tunable conditions
|
||||
- Support ifn?def in .if files
|
||||
|
||||
* Fri Sep 02 2022 Vit Mojzis <vmojzis@redhat.com> - 1.2.1-3
|
||||
- v 1.2.1
|
||||
|
||||
* Tue Sep 22 2020 Vit Mojzis <vmojzis@redhat.com> - 1.1.0-1
|
||||
- First build
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (selint-1.5.0.tar.gz) = c6e5d331b418d2b8452eeaba9aa5d152167b7974f5ae737d956682d0079dd4c02d63e2685fa594edbc2e17e90fe8368caccefca31544217e2ab57c1dde3f8448
|
||||
Loading…
Add table
Add a link
Reference in a new issue