Compare commits
11 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9826c8ee88 | ||
|
|
e6ac74c687 | ||
|
|
afc9237e7d | ||
|
|
c00112bd86 | ||
|
|
c06022f8d1 | ||
|
|
0e445341fc | ||
|
|
14030520e8 | ||
|
|
29e4047854 | ||
|
|
897840d6fb | ||
|
|
e77c3b467c | ||
|
|
4f671539e0 |
3 changed files with 126 additions and 0 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
/selint-1.4.0.tar.gz
|
||||
/selint-1.5.0.tar.gz
|
||||
/selint-1.5.1.tar.gz
|
||||
122
selint.spec
Normal file
122
selint.spec
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
# 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.1
|
||||
Release: 4%{?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.md
|
||||
%{_bindir}/selint
|
||||
%config(noreplace) %{_sysconfdir}/selint.conf
|
||||
%{_mandir}/man1/selint.1*
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Wed Feb 05 2025 Petr Lautrbach <lautrbach@redhat.com> - 1.5.1-1
|
||||
- v 1.5.1
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Thu Dec 12 2024 Petr Lautrbach <lautrbach@redhat.com> - 1.5.0-3
|
||||
- Update to latest upstream sources
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* 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.1.tar.gz) = da2b465ac1131c15637bbb247189c0a4465d1bf497f53e91542eb83fd32f8a646fc29ecf9032f8376fa96f8ea735ff84605c1ea1e9faaff7864567c941aedc33
|
||||
Loading…
Add table
Add a link
Reference in a new issue