From c62445899f8365361f9c5d0bf9a9232f53275a5d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 22 2019 08:33:05 +0000 Subject: import dapl-2.1.5-2.el7 --- diff --git a/.dapl.metadata b/.dapl.metadata new file mode 100644 index 0000000..3b5540d --- /dev/null +++ b/.dapl.metadata @@ -0,0 +1 @@ +f5d1a59a0e97efa6e493ecb5a0048030d9972991 SOURCES/dapl-2.1.5.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bd4a7f5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/dapl-2.1.5.tar.gz diff --git a/SOURCES/0001-dapltest-dapltest-with-no-argument-not-working-in-pp.patch b/SOURCES/0001-dapltest-dapltest-with-no-argument-not-working-in-pp.patch new file mode 100644 index 0000000..7715e72 --- /dev/null +++ b/SOURCES/0001-dapltest-dapltest-with-no-argument-not-working-in-pp.patch @@ -0,0 +1,30 @@ +From 5a1d9e7f386335dcae676b372269a061e6f5294b Mon Sep 17 00:00:00 2001 +From: Carol L Soto +Date: Mon, 24 Aug 2015 12:58:58 -0700 +Subject: [PATCH] dapltest: dapltest with no argument not working in ppc64 arch + +If dapltest is run with no args then the client was getting +Warning: conn_event_wait DAT_CONNECTION_EVENT_NON_PEER_REJECTED +Reference to RH1056487- dapltest Read and Write performance +tests are not working + +Signed-off-by: Carol L Soto +--- + test/dapltest/cmd/dapl_params.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/test/dapltest/cmd/dapl_params.c b/test/dapltest/cmd/dapl_params.c +index f038324..fc4697b 100644 +--- a/test/dapltest/cmd/dapl_params.c ++++ b/test/dapltest/cmd/dapl_params.c +@@ -72,6 +72,7 @@ bool DT_Params_Parse(int argc, char *argv[], Params_t * params_ptr) + DT_Mdep_printf("can't get default device name\n"); + return false; + } ++ params_ptr->server_port = Server_Cmd->port; + return true; + } + /* check for a script file */ +-- +2.7.3 + diff --git a/SPECS/dapl.spec b/SPECS/dapl.spec new file mode 100644 index 0000000..118410b --- /dev/null +++ b/SPECS/dapl.spec @@ -0,0 +1,243 @@ +Name: dapl +Version: 2.1.5 +Release: 2%{?dist} +Summary: Library providing access to the DAT 2.0 API +Group: System Environment/Libraries +License: GPLv2 or BSD or CPL +Url: https://www.openfabrics.org/ +Source0: https://www.openfabrics.org/downloads/dapl/dapl-%{version}.tar.gz +Patch1: 0001-dapltest-dapltest-with-no-argument-not-working-in-pp.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +Obsoletes: udapl < 1.3 +BuildRequires: libibverbs-devel > 1.1.7, librdmacm-devel > 1.0.18, ibacm-devel +BuildRequires: chrpath +ExcludeArch: s390 +#BuildRequires: autoconf, libtool +%description +libdat and libdapl provide a userspace implementation of the DAT 2.0 +API and is built to natively support InfiniBand/iWARP network technology. + +%package devel +Summary: Development files for the libdat and libdapl libraries +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} +Obsoletes: udapl-devel < 1.3 +%description devel +Header files for libdat and libdapl library. + +%package static +Summary: Static libdat and libdapl libraries +Group: System Environment/Libraries +Requires: %{name}-devel = %{version}-%{release} +Obsoletes: dapl-devel-static < 2.0.24 +%description static +Static versions of the libdat and libdapl libraries. + +%package utils +Summary: Test suites for dapl libraries +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} +%description utils +Useful test suites to validate the dapl library API's and operation. + +%prep +%setup -q +#aclocal -I config && libtoolize --force --copy && autoheader && \ +# automake --foreign --add-missing --copy && autoconf +%patch1 -p1 + +%build +%configure CFLAGS="$CFLAGS -fno-strict-aliasing" --enable-ext-type=ib --sysconfdir=/etc/rdma +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +make DESTDIR=%{buildroot} install +# remove unpackaged files from the buildroot +rm -f %{buildroot}%{_libdir}/*.la +chrpath -d %{buildroot}%{_bindir}/* + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/*.so.* +%{_mandir}/man5/* +%config(noreplace) %{_sysconfdir}/rdma/dat.conf +%doc AUTHORS README ChangeLog COPYING + +%files devel +%defattr(-,root,root,-) +%{_libdir}/*.so +%dir %{_includedir}/dat2 +%{_includedir}/dat2/* + +%files static +%defattr(-,root,root,-) +%{_libdir}/*.a + +%files utils +%defattr(-,root,root,-) +%{_bindir}/* +%{_mandir}/man1/* + +%changelog +* Thu Apr 21 2016 Honggang Li - 2.1.5-2 +- Ensure dapltest with no argument working in ppc64 arch. +- Resolves: bz1056487 + +* Tue Jun 09 2015 Doug Ledford - 2.1.5-1 +- Update to latest upstream release +- Include support for s390x +- Include support for aarch64 +- Drop old fix for NULL not defined, upstream has it resolved +- Resolves: bz1182180, bz1197216, bz1172462, bz1044727, bz1056487 + +* Tue Oct 28 2014 Doug Ledford - 2.0.39-5 +- Bump and rebuild after retagging the latest libibverbs and librdmacm + into the build root +- Related: bz1123996 + +* Tue Oct 28 2014 Doug Ledford - 2.0.39-4 +- Switch from ExclusiveArch to ExcludeArch +- Related: bz1123996 + +* Tue Sep 09 2014 Dan HorĂ¡k - 2.0.39-3 +- enable on ppc64le +- Resolves: #1123996 + +* Fri Dec 27 2013 Daniel Mach - 2.0.39-2 +- Mass rebuild 2013-12-27 + +* Wed Dec 18 2013 Jay Fenlason - 2.0.39-1 +- Upgrade to latest version + Resolves: rhbz#985117 +- Fix a compile problem with NULL not being defined + Resolves: rhbz#1029509 + +* Mon Jan 23 2012 Doug Ledford - 2.0.34-1 +- Update to latest upstream version +- Rebuild against new libibverbs (FDR link speed capable and IBoE enabled) +- Related: bz750609 + +* Fri Jul 22 2011 Doug Ledford - 2.0.32-1 +- Update to latest upstream version (2.0.25 -> 2.0.32) +- Remove 4 patches folded into upstream release +- Rebuild against new libibverbs and librdmacm +- Update exclusive arch to accommodate i686 arch +- Related: bz724896, bz725016 + +* Fri Jan 28 2011 Jay Fenlason 2.0.25-5.2.el6 +- Actually install the signal-handler patch + Resolves: bz667742 Error mapping bug in dapls_wait_comp_channel + +* Thu Jan 27 2011 Jay Fenlason 2.0.25-5.1.el6 +- dapl-2.0.25-signal-handler.patch + Resolves: bz667742 Error mapping bug in dapls_wait_comp_channel +- dapl-2.0.25-new-providers.patch + Resolves: bz636596 +- dapl-2.0.25-dat_ia_open_hang.patch + Resolves: bz649360 +- dapl-2.0.25-cleanup-cr-linkings-after-dto-error-on-ep.patch + Resolves: bz626541 +- dapl-2.0.25-verbs-cq-completion-channels-leak.patch + Resolves: bz637980 + +* Sun Mar 07 2010 Doug Ledford - 2.0.25-5.el6 +- I missed that the license was in an invalid form, correct that +- Related: bz555835 + +* Sun Mar 07 2010 Doug Ledford - 2.0.25-4.el6 +- Clean up rpmlint warnings about unversioned obsoletes +- Make setup quite +- Include COPYING file in docs +- Fix naked macro in changelog +- Related: bz555835 + +* Thu Jan 21 2010 Doug Ledford - 2.0.25-3.el6 +- Update config directory for rhel6 (from /etc/ofed to /etc/rdma) +- Remove compat-dapl and split it off to its own rpm +- Related: bz543948 + +* Tue Dec 22 2009 Doug Ledford - 2.0.25-2.el5 +- Fix up file lists for upstream binary name changes + +* Tue Dec 22 2009 Doug Ledford - 2.0.25-1.el5 +- Update to latest upstream version +- Related: bz518218 + +* Mon Jun 22 2009 Doug Ledford - 2.0.19-2 +- Rebuild against libibverbs that isn't missing the proper ppc wmb() macro +- Related: bz506258 + +* Fri Jun 19 2009 Doug Ledford - 2.0.19-1 +- Recompile against non-XRC libibverbs +- Update to OFED 1.4.1 final bits +- Related: bz506258, bz506097 + +* Fri Apr 24 2009 Doug Ledford - 2.0.17-2 +- Add -fno-strict-aliasing to CFLAGS + +* Thu Apr 16 2009 Doug Ledford - 2.0.17-1 +- Move the dat-1.2 conf file to /etc/ofed/compat-dapl/dat.conf +- Update to ofed 1.4.1-rc3 versions of dapl +- Related: bz459652 + +* Thu Oct 16 2008 Doug Ledford - 2.0.13-4 +- Import the upstream fix for bug 465840 +- Related: bz465840 + +* Mon Oct 13 2008 Doug Ledford - 2.0.13-3 +- Add a compat-dapl-utils package so people can test their dapl-1.2 + setups +- Even though we tell dapl to look for its config in /etc/ofed, it wasn't + actually looking there. Fix that. +- Resolves: bz465841, bz465840 + +* Wed Sep 17 2008 Doug Ledford - 2.0.13-2 +- I don't know what I was thinking putting the version into the compat + dapl packages names...makes upgrades not work and makes things like + buildrequire compat-dapl-devel not work. Removed, and we now obsolete + the existing compat-dapl*-{version} packages. + +* Wed Sep 17 2008 Doug Ledford - 2.0.13-1 +- Update to latest upstream versions for both dapl and compat-dapl +- Resolves: bz451468 + +* Thu Apr 03 2008 Doug Ledford - 2.0.7-2 +- Need a new brew build in order to get the filelist correct in the errata +- Related: bz428197 + +* Tue Apr 01 2008 Doug Ledford - 2.0.7-1 +- Update to same dapl versions as OFED 1.3 final bits +- Upstream modified dapl-1.2 and dapl-2.0 to coexist, so undo the changes we + made in order for them to coexist in our package +- Related: bz428197 + +* Tue Jan 29 2008 Doug Ledford - 2.0.3-3 +- Make dapl-1.2 and dapl-2.0 devel environments coexist, and make dapl-1.2 + the default lib so that unported apps continue to build, and ported apps + build properly by adding -L%%{_libdir}/dat -ldat to their LDFLAGS. + +* Tue Jan 15 2008 Doug Ledford - 2.0.3-2 +- Import upstream package, gut spec file, copy over dapl spec from openib spec +- Merge dapl 1.2 and 2.0 support into a single rpm +- Related: bz428197 + +* Tue Nov 20 2007 Arlin Davis - 2.0.3 +- DAT/DAPL Version 2.0.3 Release 1 + +* Tue Oct 30 2007 Arlin Davis - 2.0.2 +- DAT/DAPL Version 2.0.2 Release 1 + +* Tue Sep 18 2007 Arlin Davis - 2.0.1-1 +- OFED 1.3-alpha, co-exist with DAT 1.2 library package. + +* Wed Mar 7 2007 Arlin Davis - 2.0.0.pre +- Initial release of DAT 2.0 APIs, includes IB extensions