|
|
27eff2 |
Summary: Tools to manage the Linux NetLabel subsystem
|
|
|
27eff2 |
Name: netlabel_tools
|
|
|
27eff2 |
Version: 0.20
|
|
|
5527e2 |
Release: 5%{?dist}
|
|
|
27eff2 |
License: GPLv2
|
|
|
27eff2 |
Group: System Environment/Daemons
|
|
|
27eff2 |
URL: http://netlabel.sf.net/
|
|
|
27eff2 |
Source0: http://downloads.sourceforge.net/netlabel/%{name}-%{version}.tar.gz
|
|
|
27eff2 |
BuildRoot: %{_tmppath}/%{name}-%{version}
|
|
|
27eff2 |
Requires: kernel >= 2.6.19
|
|
|
27eff2 |
Requires(post): systemd
|
|
|
27eff2 |
Requires(preun): systemd
|
|
|
27eff2 |
Requires(postun): systemd
|
|
|
27eff2 |
BuildRequires: kernel-headers >= 2.6.19
|
|
|
27eff2 |
BuildRequires: libnl-devel
|
|
|
27eff2 |
BuildRequires: doxygen
|
|
|
27eff2 |
BuildRequires: systemd
|
|
|
27eff2 |
|
|
|
27eff2 |
Patch01: netlabelctl-addr_parse_fix.patch
|
|
|
5527e2 |
Patch02: libnetlabel-nla_put_nested_fix.patch
|
|
|
5527e2 |
Patch03: libnetlabel-message_size.patch
|
|
|
27eff2 |
|
|
|
27eff2 |
%description
|
|
|
27eff2 |
NetLabel is a kernel subsystem which implements explicit packet labeling
|
|
|
27eff2 |
protocols such as CIPSO for Linux. Packet labeling is used in secure networks
|
|
|
27eff2 |
to mark packets with the security attributes of the data they contain. This
|
|
|
27eff2 |
package provides the necessary user space tools to query and configure the
|
|
|
27eff2 |
kernel subsystem.
|
|
|
27eff2 |
|
|
|
27eff2 |
%prep
|
|
|
27eff2 |
%setup -q
|
|
|
27eff2 |
|
|
|
27eff2 |
%patch01 -p1
|
|
|
5527e2 |
%patch02 -p1
|
|
|
5527e2 |
%patch03 -p1
|
|
|
27eff2 |
|
|
|
27eff2 |
%build
|
|
|
27eff2 |
./configure --prefix="%{_prefix}" --libdir="%{_libdir}" --enable-systemd
|
|
|
5527e2 |
CFLAGS="%{optflags}" make V=1 %{?_smp_mflags}
|
|
|
27eff2 |
|
|
|
27eff2 |
%install
|
|
|
27eff2 |
rm -rf "%{buildroot}"
|
|
|
27eff2 |
mkdir -p "%{buildroot}/etc"
|
|
|
27eff2 |
mkdir -p "%{buildroot}/%{_sbindir}"
|
|
|
27eff2 |
mkdir -p "%{buildroot}/%{_unitdir}"
|
|
|
27eff2 |
mkdir -p "%{buildroot}/%{_mandir}"
|
|
|
27eff2 |
make V=1 DESTDIR="%{buildroot}" install
|
|
|
27eff2 |
|
|
|
27eff2 |
%preun
|
|
|
27eff2 |
%systemd_preun netlabel.service
|
|
|
27eff2 |
|
|
|
27eff2 |
%postun
|
|
|
27eff2 |
%systemd_postun
|
|
|
27eff2 |
|
|
|
27eff2 |
%post
|
|
|
27eff2 |
%systemd_post netlabel.service
|
|
|
27eff2 |
|
|
|
27eff2 |
%files
|
|
|
27eff2 |
%defattr(-,root,root)
|
|
|
27eff2 |
%doc README CHANGELOG LICENSE
|
|
|
27eff2 |
%attr(0644,root,root) %{_mandir}/man8/*
|
|
|
27eff2 |
%attr(0755,root,root) %{_sbindir}/netlabelctl
|
|
|
27eff2 |
%attr(0755,root,root) %{_sbindir}/netlabel-config
|
|
|
27eff2 |
%attr(0644,root,root) %{_unitdir}/netlabel.service
|
|
|
27eff2 |
%attr(0644,root,root) %config(noreplace) /etc/netlabel.rules
|
|
|
27eff2 |
|
|
|
27eff2 |
%changelog
|
|
|
5527e2 |
* Thu Feb 27 2014 Paul Moore <pmoore@redhat.com> - 0.20-5
|
|
|
5527e2 |
- Build with CFLAGS="${optflags}" (RHBZ #1070780)
|
|
|
5527e2 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.20-4
|
|
|
5527e2 |
- Mass rebuild 2014-01-24
|
|
|
5527e2 |
|
|
|
5527e2 |
* Wed Jan 15 2014 Paul Moore <pmoore@redhat.com> - 0.20-3
|
|
|
5527e2 |
- Fix a problem when adding a CIPSO DOI with a large number of translations
|
|
|
5527e2 |
- Remove old patches
|
|
|
5527e2 |
Resolves: #1053687
|
|
|
5527e2 |
|
|
|
5527e2 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.20-2
|
|
|
5527e2 |
- Mass rebuild 2013-12-27
|
|
|
5527e2 |
|
|
|
27eff2 |
* Fri Oct 25 2013 Paul Moore <pmoore@redhat.com> - 0.20-1
|
|
|
27eff2 |
- Add input validation on network address masks (#1003909)
|
|
|
27eff2 |
|
|
|
27eff2 |
* Mon Jun 3 2013 Paul Moore <pmoore@redhat.com> - 0.20-0
|
|
|
27eff2 |
- Version bump to match latest upstream
|
|
|
27eff2 |
- Cleanups in the specfile due to changes in the upstream package
|
|
|
27eff2 |
|
|
|
27eff2 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-12
|
|
|
27eff2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
27eff2 |
|
|
|
27eff2 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-11
|
|
|
27eff2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
27eff2 |
|
|
|
27eff2 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-10
|
|
|
27eff2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
27eff2 |
|
|
|
27eff2 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-9
|
|
|
27eff2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
27eff2 |
|
|
|
27eff2 |
* Thu Jun 17 2010 Peter Vrabec <pvrabec@redhat.com> - 0.19-8
|
|
|
27eff2 |
- fixing return codes (#602291)
|
|
|
27eff2 |
|
|
|
27eff2 |
* Wed Jun 16 2010 Peter Vrabec <pvrabec@redhat.com> - 0.19-7
|
|
|
27eff2 |
- make initscript LSB compliant (#522818)
|
|
|
27eff2 |
- show version of netlabelctl and libnetlabel in help (#602577)
|
|
|
27eff2 |
|
|
|
27eff2 |
* Wed Sep 23 2009 Peter Vrabec <pvrabec@redhat.com> 0.19-6
|
|
|
27eff2 |
- make initscript LSB compliant (#522818)
|
|
|
27eff2 |
|
|
|
27eff2 |
* Wed Sep 23 2009 Peter Vrabec <pvrabec@redhat.com> 0.19-5
|
|
|
27eff2 |
- increase rel. number
|
|
|
27eff2 |
|
|
|
27eff2 |
* Wed Sep 23 2009 Peter Vrabec <pvrabec@redhat.com> 0.19-4
|
|
|
27eff2 |
- fix license tag in spec (#524310)
|
|
|
27eff2 |
|
|
|
27eff2 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-3
|
|
|
27eff2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
27eff2 |
|
|
|
27eff2 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-2
|
|
|
27eff2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
27eff2 |
|
|
|
27eff2 |
* Thu Jan 08 2009 Peter Vrabec <pvrabec@redhat.com> - 0.19-1
|
|
|
27eff2 |
- upgrade (#478903)
|
|
|
27eff2 |
|
|
|
27eff2 |
* Mon Oct 27 2008 Peter Vrabec <pvrabec@redhat.com> - 0.18-1
|
|
|
27eff2 |
- upgrade (#439833)
|
|
|
27eff2 |
|
|
|
27eff2 |
* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.17-8
|
|
|
27eff2 |
- fix license tag
|
|
|
27eff2 |
|
|
|
27eff2 |
* Mon Feb 11 2008 Steve Conklin <sconklin@redhat.com> - 0.17-7
|
|
|
27eff2 |
- New patch for bz#431766 to resolve conflicts
|
|
|
27eff2 |
|
|
|
27eff2 |
* Thu Feb 7 2008 Steve Conklin <sconklin@redhat.com> - 0.17-6
|
|
|
27eff2 |
- Various fixes to follow upstream
|
|
|
27eff2 |
- Resolves bz#431765 The example configuration file is invalid
|
|
|
27eff2 |
- Resolves bz#431766 The netlabelctl command fails to run due to newer libnl package
|
|
|
27eff2 |
- Resolves bz#431767 The url listed in the netlabel_tools package is wrong
|
|
|
27eff2 |
|
|
|
27eff2 |
* Mon Oct 16 2006 James Antill <james@and.org> - 0.17-3
|
|
|
27eff2 |
- Add upstream patch.
|
|
|
27eff2 |
- s/p1/p0/ for upstream patch.
|
|
|
27eff2 |
|
|
|
27eff2 |
* Sat Oct 14 2006 Steve Grubb <sgrubb@redhat.com> - 0.17-3
|
|
|
27eff2 |
- Add init scripts and default rules
|
|
|
27eff2 |
|
|
|
27eff2 |
* Sun Oct 1 2006 James Antill <james@and.org> - 0.17-2
|
|
|
27eff2 |
- Upgrade to latest upstream.
|
|
|
27eff2 |
|
|
|
27eff2 |
* Tue Aug 29 2006 James Antill <james@and.org> - 0.16-5
|
|
|
27eff2 |
- Fix install calls for mock.
|
|
|
27eff2 |
|
|
|
27eff2 |
* Tue Aug 29 2006 James Antill <james@and.org> - 0.16-4
|
|
|
27eff2 |
- Fix more reviewing problems, building on newer kernel-headers.
|
|
|
27eff2 |
- Add URL tag.
|
|
|
27eff2 |
|
|
|
27eff2 |
* Fri Aug 18 2006 James Antill <james@and.org> - 0.16-3
|
|
|
27eff2 |
- Fix minor review problems.
|
|
|
27eff2 |
- Added BuildRequires for kernel headers (netlink).
|
|
|
27eff2 |
|
|
|
27eff2 |
* Fri Aug 18 2006 James Antill <james@and.org> - 0.16-2
|
|
|
27eff2 |
- Use root as owner.
|
|
|
27eff2 |
- Contribute to fedora extras.
|
|
|
27eff2 |
|
|
|
27eff2 |
* Thu Aug 3 2006 Paul Moore <paul.moore@hp.com> 0.16-1
|
|
|
27eff2 |
- Bumped version number.
|
|
|
27eff2 |
|
|
|
27eff2 |
* Thu Jul 6 2006 Paul Moore <paul.moore@hp.com> 0.15-1
|
|
|
27eff2 |
- Bumped version number.
|
|
|
27eff2 |
|
|
|
27eff2 |
* Mon Jun 26 2006 Paul Moore <paul.moore@hp.com> 0.14-1
|
|
|
27eff2 |
- Bumped version number.
|
|
|
27eff2 |
- Changes related to including the version number in the path name.
|
|
|
27eff2 |
- Changed the netlabelctl perms from 0750 to 0755.
|
|
|
27eff2 |
- Removed the patch. (included in the base with edits)
|
|
|
27eff2 |
- Updated the description.
|
|
|
27eff2 |
|
|
|
27eff2 |
* Fri Jun 23 2006 Steve Grubb <sgrubb@redhat.com> 0.13-1
|
|
|
27eff2 |
- Initial build.
|
|
|
27eff2 |
|