/[packages]/cauldron/librdmacm/current/SPECS/librdmacm.spec
ViewVC logotype

Contents of /cauldron/librdmacm/current/SPECS/librdmacm.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 398275 - (show annotations) (download)
Wed Feb 13 21:34:26 2013 UTC (11 years, 2 months ago) by luigiwalser
File size: 2211 byte(s)
rediff upstream patch to fix CVE-2012-4516
1 %define major 1
2 %define libname %mklibname rdmacm %major
3 %define libdevel %mklibname rdmacm -d
4
5 Name: librdmacm
6 Version: 1.0.15
7 Release: %mkrel 5
8 Summary: Userspace RDMA Connection Manager
9 Group: System/Libraries
10 License: GPLv2 or BSD
11 Url: http://www.openfabrics.org/
12 Source: http://www.openfabrics.org/downloads/rdmacm/%{name}-%{version}.tar.gz
13 Patch0: librdmacm-1.0.15-automake-1.13.patch
14 Patch1: 0001-rdma-verbs-Fix-race-polling-for-completions.patch
15 Patch2: 0002-librdmacm-Fix-duplicate-free-of-connect.patch
16 Patch3: 0003-librdmacm-Verify-size-of-route_len.patch
17 Patch4: 0004-librdmacm-udaddy-Fix-resource-leak-in-case-of-error.patch
18 Patch6: 0006-rdma-cma-minor-code-refactoring-when-saving-a-string.patch
19 Patch7: 0007-librdmacm-Return-ECONNREFUSED-from-rdma_connect-on-r.patch
20 Patch8: 0008-udaddy-ucmatose-allow-easy-setting-of-tos-in-hex.patch
21 Patch9: 0009-librdmacm-Update-web-site-and-email-addresses.patch
22 Patch10: librdmacm-1.0.15-CVE-2012-4516.patch
23 ExcludeArch: s390 s390x
24 BuildRequires: libibverbs-devel > 1.1.4, chrpath
25
26 %description
27 librdmacm provides a userspace RDMA Communication Managment API.
28
29 %package -n %libname
30 Summary: Userspace RDMA Connection Manager
31 Group: System/Libraries
32
33 %description -n %libname
34 librdmacm provides a userspace RDMA Communication Managment API.
35
36 %package -n %libdevel
37 Summary: Development files for the librdmacm library
38 Group: System/Libraries
39 Provides: %name-devel = %{version}-%{release}
40 Requires: %{libname} = %{version}-%{release}
41 #Requires: libibverbs-devel
42
43 %description -n %libdevel
44 Development files for the librdmacm library.
45
46 %package utils
47 Summary: Examples for the librdmacm library
48 Group: System/Libraries
49
50 %description utils
51 Example test programs for the librdmacm library.
52
53 %prep
54 %setup -q
55 %apply_patches
56
57 %build
58 autoreconf -fi
59 %configure2_5x --disable-static
60 %make
61
62 %install
63 %makeinstall_std
64 # remove unpackaged files from the buildroot
65 rm -f %{buildroot}%{_libdir}/*.la
66 # kill rpaths
67 chrpath -d %{buildroot}%{_bindir}/*
68
69 %files -n %libname
70 %{_libdir}/librdmacm.so.%{major}*
71 %doc AUTHORS COPYING README
72
73 %files -n %libdevel
74 %{_libdir}/lib*.so
75 %{_includedir}/*
76 %{_mandir}/man3/*
77 %{_mandir}/man7/*
78
79 %files utils
80 %{_bindir}/*
81 %{_mandir}/man1/*
82

  ViewVC Help
Powered by ViewVC 1.1.30