|
|
eb511b |
Name: cgdcbxd
|
|
|
eb511b |
Version: 1.0.2
|
|
|
eb511b |
Release: 9%{?dist}
|
|
|
eb511b |
Summary: DCB network priority management daemon
|
|
|
eb511b |
Group: System Environment/Base
|
|
|
eb511b |
License: GPLv2
|
|
|
eb511b |
URL: https://github.com/jrfastab/cgdcbxd
|
|
|
eb511b |
|
|
|
eb511b |
# The source for this package was pullled from upstreams vcs. Specifically it
|
|
|
eb511b |
# was pulled from the projects github site using the following dynamic tarball
|
|
|
eb511b |
# generating url:
|
|
|
eb511b |
# https://github.com/jrfastab/cgdcbxd/zipball/v1.0.1
|
|
|
eb511b |
Source0: %{name}-%{version}.tar.gz
|
|
|
eb511b |
|
|
|
eb511b |
# The service file was created locally for the fedora project, but will be sent
|
|
|
eb511b |
# upstream shortly
|
|
|
eb511b |
Source1: %{name}.service
|
|
|
eb511b |
BuildRequires: libcgroup-devel libmnl-devel libtool systemd-units
|
|
|
eb511b |
Requires(post): systemd
|
|
|
eb511b |
Requires(preun): systemd
|
|
|
eb511b |
Requires(postun): systemd
|
|
|
eb511b |
|
|
|
eb511b |
%description
|
|
|
eb511b |
This is a daemon to manage the priority of network traffic in dcb enabled
|
|
|
eb511b |
environments. By using the information exchanged over the dcbx protocol on a
|
|
|
eb511b |
LAN, this package will enforce network priority on running applications on your
|
|
|
eb511b |
host using the net_prio cgroup
|
|
|
eb511b |
|
|
|
eb511b |
%prep
|
|
|
eb511b |
%setup -q
|
|
|
eb511b |
|
|
|
eb511b |
%build
|
|
|
eb511b |
./bootstrap.sh
|
|
|
eb511b |
export CFLAGS="-g -DFORTIFY_SOURCE -fPIE -Wl,-z,relro,-z,now"
|
|
|
eb511b |
export LDFLAGS=-pie
|
|
|
eb511b |
%{configure}
|
|
|
eb511b |
make
|
|
|
eb511b |
|
|
|
eb511b |
%install
|
|
|
eb511b |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
eb511b |
rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}
|
|
|
eb511b |
install -D -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/cgdcbxd.service
|
|
|
eb511b |
|
|
|
eb511b |
%files
|
|
|
eb511b |
%doc COPYING
|
|
|
eb511b |
%{_unitdir}/cgdcbxd.service
|
|
|
eb511b |
%{_mandir}/man8/*
|
|
|
eb511b |
%{_sbindir}/*
|
|
|
eb511b |
|
|
|
eb511b |
%post
|
|
|
eb511b |
%systemd_post cgdcbxd.service
|
|
|
eb511b |
|
|
|
eb511b |
%preun
|
|
|
eb511b |
%systemd_preun cgdcbxd.service
|
|
|
eb511b |
|
|
|
eb511b |
%postun
|
|
|
eb511b |
%systemd_postun_with_restart cgdcbxd.service
|
|
|
eb511b |
|
|
|
eb511b |
|
|
|
eb511b |
%changelog
|
|
|
eb511b |
* Mon Feb 25 2019 Neil Horman <nhorman@redhat.com> - 1.0.2-9
|
|
|
eb511b |
- Fix erroneous cgrulesend dependency
|
|
|
eb511b |
|
|
|
eb511b |
* Mon Feb 25 2019 Neil Horman <nhorman@redhat.com> - 1.0.2-8
|
|
|
eb511b |
- Adding debug flag to allow debug packages
|
|
|
eb511b |
|
|
|
eb511b |
* Wed Feb 17 2016 Neil Horman <nhorman@redhat.com> - 1.0.2-7
|
|
|
eb511b |
- Add fortify source to build (bz 1092524)
|
|
|
eb511b |
|
|
|
eb511b |
* Wed Feb 17 2016 Neil Horman <nhorman@redhat.com> - 1.0.2-6
|
|
|
eb511b |
- Enable RELRO and PIE in build (bz 1092524)
|
|
|
eb511b |
|
|
|
eb511b |
* Tue Mar 04 2014 Neil Horman <nhorman@redhat.com> - 1.0.2-5
|
|
|
eb511b |
- Fixed double usr/sbin in cgrulesengd path (bz1065694)
|
|
|
eb511b |
|
|
|
eb511b |
* Mon Mar 03 2014 Neil Horman <nhorman@redhat.com> - 1.0.2-4
|
|
|
eb511b |
- Added proper dependencies and cgrules trigger (bz1065694)
|
|
|
eb511b |
|
|
|
eb511b |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.0.2-3
|
|
|
eb511b |
- Mass rebuild 2014-01-24
|
|
|
eb511b |
|
|
|
eb511b |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0.2-2
|
|
|
eb511b |
- Mass rebuild 2013-12-27
|
|
|
eb511b |
|
|
|
eb511b |
* Tue Jul 23 2013 Neil Horman <nhorman@redhat.com> - 1.0.2-1
|
|
|
eb511b |
- Update to latest upstream
|
|
|
eb511b |
|
|
|
eb511b |
* Tue May 28 2013 Neil Horman <nhorman@redhat.com> - 1.0.1-3
|
|
|
eb511b |
- Fix the spec file to match new systemd install scripts (bz967588)
|
|
|
eb511b |
|
|
|
eb511b |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
|
|
|
eb511b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
eb511b |
|
|
|
eb511b |
* Mon Jun 25 2012 Neil Horman <nhorman@tuxdriver.com> 1.0.1-1
|
|
|
eb511b |
- Initial build
|