From 111c1f4bcd83eb9ccd9bf534ea137e52c35e566f Mon Sep 17 00:00:00 2001 From: Muneendra Date: Sep 30 2019 10:56:12 +0000 Subject: Merge branch 'master' into epel8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4dfb969 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/fc_txptd-c195e67.tar.gz +/fctxpd-c195e67.tar.gz diff --git a/fctxpd.spec b/fctxpd.spec new file mode 100644 index 0000000..238cc41 --- /dev/null +++ b/fctxpd.spec @@ -0,0 +1,66 @@ + +%global commit c195e67ee3b55ba8fa5e9829369b8f13977fbbbf +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global snapshotdate 20190813 + +Name: fctxpd +Version: 0.1 +Release: 1.%{snapshotdate}git%{shortcommit}%{?dist} +Summary: Fibrechannel transport daemon + +License: GPLv2+ +URL: https://github.com/brocade/bsn-fc-txptd/ +Source: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz + +BuildRequires: gcc +BuildRequires: device-mapper-devel +BuildRequires: systemd-devel +BuildRequires: libudev-devel +BuildRequires: udev +BuildRequires: device-mapper-multipath +BuildRequires: systemd +BuildRequires: device-mapper-multipath-devel +Requires: device-mapper >= 1.2.78 + + +%description +The purpose of this daemon is to add FC network intelligence in host and +host intelligence in FC network. This daemon would inter-operate with +Brocade FC fabric in order to improve the response time of the MPIO failover. +In future, it can also collect the congestion related details and perform +workload analysis, and provide QOS at application level by inter-operating with +application performance profiling software. + +%prep +%autosetup -n bsn-fc-txptd-%{commit} + +%post +%systemd_post fctxpd.service + +%preun +%systemd_preun fctxpd.service + +%postun +%systemd_postun_with_restart fctxpd.service + +%build +%make_build + + +%install +%make_install + +%files +%doc README +%{_sbindir}/fctxpd +%{_unitdir}/fctxpd.service +%license LICENSES/GPL-2.0 + +%changelog +*Mon Aug 12 2019 Muneendra 0.1-1.20190813gitc195e67 +-No functional changes,just Licenses +-Spec file:Created LICENSES dir with the text of all used license +-Added the license header in the corresponding source files + +*Fri Jul 26 2019 Muneendra 0.1-1 +-Initial package for fedora diff --git a/sources b/sources new file mode 100644 index 0000000..5354bb1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (fctxpd-c195e67.tar.gz) = cfb6ddf9de9af71915d71806312d973e2668bf8ba1eb947fdb3aad62b4ab456070387dd4832dad2b7c65c80122e416a5cdee3f7d3350568298f714ba9c98165d