1d2da3
Summary: Tools to manage the Linux NetLabel subsystem
1d2da3
Name: netlabel_tools
1d2da3
Version: 0.30.0
1d2da3
Release: 13%{?dist}
1d2da3
License: GPLv2
1d2da3
URL: https://github.com/netlabel/netlabel_tools
1d2da3
Source: https://github.com/netlabel/netlabel_tools/releases/download/v%{version}/%{name}-%{version}.tar.gz
1d2da3
Patch0: rhbz1683434.patch
1d2da3
1d2da3
Requires: libnl3
1d2da3
Requires(post): systemd
1d2da3
Requires(preun): systemd
1d2da3
Requires(postun): systemd
1d2da3
BuildRequires: make
1d2da3
BuildRequires:  gcc
1d2da3
BuildRequires: kernel-headers
1d2da3
BuildRequires: libnl3-devel
1d2da3
BuildRequires: doxygen
1d2da3
BuildRequires: systemd
1d2da3
1d2da3
%description
1d2da3
NetLabel is a kernel subsystem which implements explicit packet labeling
1d2da3
protocols such as CIPSO for Linux.  Packet labeling is used in secure networks
1d2da3
to mark packets with the security attributes of the data they contain.  This
1d2da3
package provides the necessary user space tools to query and configure the
1d2da3
kernel subsystem.
1d2da3
1d2da3
%prep
1d2da3
%setup -q
1d2da3
%patch0 -p1
1d2da3
1d2da3
%build
1d2da3
%configure
1d2da3
make V=1 %{?_smp_mflags}
1d2da3
1d2da3
%install
1d2da3
rm -rf "%{buildroot}"
1d2da3
mkdir -p "%{buildroot}/etc"
1d2da3
mkdir -p "%{buildroot}/%{_sbindir}"
1d2da3
mkdir -p "%{buildroot}/%{_unitdir}"
1d2da3
mkdir -p "%{buildroot}/%{_mandir}"
1d2da3
make V=1 DESTDIR="%{buildroot}" install
1d2da3
1d2da3
# NOTE: disable since the tests require messing with the running kernel
1d2da3
#%check
1d2da3
#make V=1 check
1d2da3
1d2da3
%preun
1d2da3
%systemd_preun netlabel.service
1d2da3
1d2da3
%postun
1d2da3
%systemd_postun netlabel.service
1d2da3
1d2da3
%post
1d2da3
%systemd_post netlabel.service
1d2da3
1d2da3
%files
1d2da3
%{!?_licensedir:%global license %%doc}
1d2da3
%license LICENSE
1d2da3
%doc README
1d2da3
%doc CHANGELOG
1d2da3
%doc SUBMITTING_PATCHES
1d2da3
%attr(0644,root,root) %{_mandir}/man8/*
1d2da3
%attr(0755,root,root) %{_sbindir}/netlabelctl
1d2da3
%attr(0755,root,root) %{_sbindir}/netlabel-config
1d2da3
%attr(0644,root,root) %{_unitdir}/netlabel.service
1d2da3
%attr(0644,root,root) %config(noreplace) /etc/netlabel.rules
1d2da3
1d2da3
%changelog
1d2da3
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.30.0-13
1d2da3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
1d2da3
  Related: rhbz#1991688
1d2da3
1d2da3
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.30.0-12
1d2da3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
1d2da3
1d2da3
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.0-11
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1d2da3
1d2da3
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.0-10
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1d2da3
1d2da3
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.0-9
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1d2da3
1d2da3
* Fri Aug 02 2019 Paul Moore <paul@paul-moore.com> - 0.30.0-8
1d2da3
- Applied upstream patch to improve netlabel-config error reporting (rhbz #1683434)
1d2da3
- Removed the kernel dependency (rhbz #1733605)
1d2da3
1d2da3
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.0-7
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1d2da3
1d2da3
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.0-6
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1d2da3
1d2da3
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.0-5
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1d2da3
1d2da3
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.0-4
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1d2da3
1d2da3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.0-3
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
1d2da3
1d2da3
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.0-2
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1d2da3
1d2da3
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.0-1
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1d2da3
1d2da3
* Thu Dec 08 2016 Paul Moore <pmoore@redhat.com> - 0.30.0-0
1d2da3
-New upstream version
1d2da3
1d2da3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-1
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1d2da3
1d2da3
* Fri Jul 10 2015 Paul Moore <pmoore@redhat.com> - 0.21-0
1d2da3
- New upstream version
1d2da3
1d2da3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-6
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1d2da3
1d2da3
* Sat Mar 21 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.20-5
1d2da3
- Add patch to support libnl3
1d2da3
- Use %%license
1d2da3
- Cleanup spec
1d2da3
1d2da3
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-4
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1d2da3
1d2da3
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-3
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1d2da3
1d2da3
* Thu Feb 27 2014 Paul Moore <pmoore@redhat.com> - 0.20-2
1d2da3
- Build with CFLAGS="${optflags}"
1d2da3
1d2da3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-1
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1d2da3
1d2da3
* Mon Jun 3 2013 Paul Moore <pmoore@redhat.com> - 0.20-0
1d2da3
- Version bump to match latest upstream
1d2da3
- Cleanups in the specfile due to changes in the upstream package
1d2da3
1d2da3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-12
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1d2da3
1d2da3
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-11
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1d2da3
1d2da3
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-10
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1d2da3
1d2da3
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-9
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1d2da3
1d2da3
* Thu Jun 17 2010 Peter Vrabec <pvrabec@redhat.com> - 0.19-8
1d2da3
- fixing return codes (#602291)
1d2da3
1d2da3
* Wed Jun 16 2010 Peter Vrabec <pvrabec@redhat.com> - 0.19-7
1d2da3
- make initscript LSB compliant (#522818)
1d2da3
- show version of netlabelctl and libnetlabel in help (#602577)
1d2da3
1d2da3
* Wed Sep 23 2009 Peter Vrabec <pvrabec@redhat.com> 0.19-6
1d2da3
- make initscript LSB compliant (#522818)
1d2da3
1d2da3
* Wed Sep 23 2009 Peter Vrabec <pvrabec@redhat.com> 0.19-5
1d2da3
- increase rel. number
1d2da3
1d2da3
* Wed Sep 23 2009 Peter Vrabec <pvrabec@redhat.com> 0.19-4
1d2da3
- fix license tag in spec (#524310)
1d2da3
1d2da3
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-3
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1d2da3
1d2da3
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-2
1d2da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1d2da3
1d2da3
* Thu Jan 08 2009 Peter Vrabec <pvrabec@redhat.com> - 0.19-1
1d2da3
- upgrade (#478903)
1d2da3
1d2da3
* Mon Oct 27 2008 Peter Vrabec <pvrabec@redhat.com> - 0.18-1
1d2da3
- upgrade (#439833)
1d2da3
1d2da3
* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.17-8
1d2da3
- fix license tag
1d2da3
1d2da3
* Mon Feb  11 2008 Steve Conklin <sconklin@redhat.com> - 0.17-7
1d2da3
- New patch for bz#431766 to resolve conflicts
1d2da3
1d2da3
* Thu Feb  7 2008 Steve Conklin <sconklin@redhat.com> - 0.17-6
1d2da3
- Various fixes to follow upstream
1d2da3
- Resolves bz#431765 The example configuration file is invalid
1d2da3
- Resolves bz#431766 The netlabelctl command fails to run due to newer libnl package
1d2da3
- Resolves bz#431767 The url listed in the netlabel_tools package is wrong
1d2da3
1d2da3
* Mon Oct 16 2006 James Antill <james@and.org> - 0.17-3
1d2da3
- Add upstream patch.
1d2da3
- s/p1/p0/ for upstream patch.
1d2da3
1d2da3
* Sat Oct 14 2006 Steve Grubb <sgrubb@redhat.com> - 0.17-3
1d2da3
- Add init scripts and default rules
1d2da3
1d2da3
* Sun Oct  1 2006 James Antill <james@and.org> - 0.17-2
1d2da3
- Upgrade to latest upstream.
1d2da3
1d2da3
* Tue Aug 29 2006 James Antill <james@and.org> - 0.16-5
1d2da3
- Fix install calls for mock.
1d2da3
1d2da3
* Tue Aug 29 2006 James Antill <james@and.org> - 0.16-4
1d2da3
- Fix more reviewing problems, building on newer kernel-headers.
1d2da3
- Add URL tag.
1d2da3
1d2da3
* Fri Aug 18 2006 James Antill <james@and.org> - 0.16-3
1d2da3
- Fix minor review problems.
1d2da3
- Added BuildRequires for kernel headers (netlink).
1d2da3
1d2da3
* Fri Aug 18 2006 James Antill <james@and.org> - 0.16-2
1d2da3
- Use root as owner.
1d2da3
- Contribute to fedora extras.
1d2da3
1d2da3
* Thu Aug  3 2006 Paul Moore <paul.moore@hp.com> 0.16-1
1d2da3
- Bumped version number.
1d2da3
1d2da3
* Thu Jul  6 2006 Paul Moore <paul.moore@hp.com> 0.15-1
1d2da3
- Bumped version number.
1d2da3
1d2da3
* Mon Jun 26 2006 Paul Moore <paul.moore@hp.com> 0.14-1
1d2da3
- Bumped version number.
1d2da3
- Changes related to including the version number in the path name.
1d2da3
- Changed the netlabelctl perms from 0750 to 0755.
1d2da3
- Removed the patch. (included in the base with edits)
1d2da3
- Updated the description.
1d2da3
1d2da3
* Fri Jun 23 2006 Steve Grubb <sgrubb@redhat.com> 0.13-1
1d2da3
- Initial build.
1d2da3