source: projects/specs/branches/6/lib/libt/libtirpc/libtirpc-vl.spec @ 11212

Revision 11212, 9.6 KB checked in by iwamoto, 6 years ago (diff)

libtirpc: fix BTS #3052 / fix CVE-2017-8779

Line 
1Name:           libtirpc
2Version:        0.2.1
3Release:        5%{?_dist_release}
4Summary:        Transport Independent RPC Library
5Group:          System Environment/Libraries
6License:        SISSL and BSD
7URL:            http://nfsv4.bullopensource.org/
8
9BuildRoot:      %{_tmppath}/%{name}-%{version}-root
10Source0:        http://downloads.sourceforge.net/libtirpc/libtirpc-%{version}.tar.bz2
11
12Patch100:       libtirpc-auth_none_locks.patch
13Patch110:       libtirpc-CVE-2017-8779.patch
14
15BuildRequires:  automake, autoconf, libtool, pkgconfig
16BuildRequires:  libgssglue-devel
17
18Vendor:         Project Vine
19Distribution:   Vine Linux
20
21%description
22This package contains SunLib's implementation of transport-independent
23RPC (TI-RPC) documentation.  This library forms a piece of the base of
24Open Network Computing (ONC), and is derived directly from the
25Solaris 2.3 source.
26
27TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V
28Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface
29(XTI).  TI-RPC is on-the-wire compatible with the TS-RPC, which is supported
30by almost 70 vendors on all major operating systems.  TS-RPC source code
31(RPCSRC 4.0) remains available from several internet sites.
32
33%package devel
34Summary:        Development files for the libtirpc library
35Group:          Development/Libraries
36Requires:       %{name} = %{version}-%{release}
37Requires:       pkgconfig
38
39%description devel
40This package includes header files and libraries necessary for
41developing programs which use the tirpc library.
42
43
44%prep
45%setup -q
46%patch100 -p1 -b .auth_none_locks
47%patch110 -p1 -b .CVE-2017-8779
48
49# Remove .orig files
50find . -name "*.orig" | xargs rm -f
51
52%build
53autoreconf -fisv
54%configure --enable-gss
55make all
56
57%install
58rm -rf %{buildroot}
59mkdir -p %{buildroot}/etc
60make install DESTDIR=%{buildroot}
61
62# Don't package .a or .la files
63rm -f %{buildroot}%{_libdir}/*.{a,la}
64
65# Creat the man diretory
66#mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t
67
68%post  -p /sbin/ldconfig
69
70%postun -p /sbin/ldconfig
71
72%clean
73rm -rf %{buildroot}
74
75%files
76%defattr(-,root,root)
77%doc AUTHORS ChangeLog NEWS README
78%{_libdir}/libtirpc.so.*
79%config(noreplace)%{_sysconfdir}/netconfig
80
81%files devel
82%defattr(0644,root,root,755)
83%dir %{_includedir}/tirpc
84%dir %{_includedir}/tirpc/rpc
85%dir %{_includedir}/tirpc/rpcsvc
86%{_libdir}/libtirpc.so
87%{_libdir}/pkgconfig/libtirpc.pc
88%{_includedir}/tirpc/netconfig.h
89%{_includedir}/tirpc/rpc/auth.h
90%{_includedir}/tirpc/rpc/auth_des.h
91%{_includedir}/tirpc/rpc/auth_gss.h
92%{_includedir}/tirpc/rpc/auth_kerb.h
93%{_includedir}/tirpc/rpc/auth_unix.h
94%{_includedir}/tirpc/rpc/clnt.h
95%{_includedir}/tirpc/rpc/clnt_soc.h
96%{_includedir}/tirpc/rpc/clnt_stat.h
97%{_includedir}/tirpc/rpc/des.h
98%{_includedir}/tirpc/rpc/des_crypt.h
99%{_includedir}/tirpc/rpc/nettype.h
100%{_includedir}/tirpc/rpc/pmap_clnt.h
101%{_includedir}/tirpc/rpc/pmap_prot.h
102%{_includedir}/tirpc/rpc/pmap_rmt.h
103%{_includedir}/tirpc/rpc/raw.h
104%{_includedir}/tirpc/rpc/rpc.h
105%{_includedir}/tirpc/rpc/rpc_com.h
106%{_includedir}/tirpc/rpc/rpc_msg.h
107%{_includedir}/tirpc/rpc/rpcb_clnt.h
108%{_includedir}/tirpc/rpc/rpcb_prot.h
109%{_includedir}/tirpc/rpc/rpcb_prot.x
110%{_includedir}/tirpc/rpc/rpcent.h
111%{_includedir}/tirpc/rpc/svc.h
112%{_includedir}/tirpc/rpc/svc_auth.h
113%{_includedir}/tirpc/rpc/svc_dg.h
114%{_includedir}/tirpc/rpc/svc_soc.h
115%{_includedir}/tirpc/rpc/types.h
116%{_includedir}/tirpc/rpc/xdr.h
117%{_includedir}/tirpc/rpcsvc/crypt.h
118%{_includedir}/tirpc/rpcsvc/crypt.x
119%{_mandir}/*/*
120
121%changelog
122* Fri Oct 27 2017 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.2.1-5
123- add Vendor/Distri tags
124
125* Fri Oct 27 2017 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.2.1-4
126- add patch 100 for fix segfault with RTM CPU (BTS 3052)
127- add patch 110 for fix CVE-2017-8779
128
129* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.1-3
130- rebuild with rpm-4.8.1 for pkg-config file
131
132* Sun Feb 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.1-2
133- Initial build for Vine Linux
134
135* Mon Nov 30 2009 Steve Dickson  <steved@redhat.com> 0.2.1-1
136- Updated to latest upstream version: 0.2.1
137
138* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-4
139- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
140
141* Thu Jul  9 2009 Steve Dickson  <steved@redhat.com> 0.2.0-3
142- Updated to latest upstream tag: 0-2-1-rc3
143    Fixed the --disable-gss options
144    Fixed a number of warnings
145    Change how architectures are define in xdr_float.c
146
147* Mon Jun 29 2009 Steve Dickson  <steved@redhat.com> 0.2.0-2
148- Updated to latest upstream tag: 0-2-1-rc2
149    rpcb_clnt: RPC_PROGNOTREGISTERED is a permanent error
150    clnt_dg: Fix infinite loop when datagram call times ou
151    Updated .gitignore file
152    Replace the hard coded path name with the top_srcdir macrc
153    Added 'doc' to the SUBDIRS list so make install work correctly.
154
155* Fri May 29 2009 Steve Dickson  <steved@redhat.com> 0.2.0-1
156- Updated to latest upstream version: 0.2.0
157
158* Tue May 19 2009 Tom "spot" Callaway <tcallawa@redhat.com> 0.1.11-3
159- Replace the Sun RPC license with the BSD license, with the explicit permission of Sun Microsystems
160
161* Mon Apr 20 2009 Steve Dickson  <steved@redhat.com> 0.1.11-2
162- Updated to libtirpc-0.1.12-rc1
163
164* Mon Apr 20 2009 Steve Dickson  <steved@redhat.com> 0.1.11-1
165- Updated to the latest release: 0.1.11
166
167* Fri Mar 13 2009 Steve Dickson  <steved@redhat.com> 0.1.10-6
168- libtirpc: set r_netid and r_owner in __rpcb_findaddr_timed
169- libtirpc: be sure to free cl_netid and cl_tp
170- libtirpc: must free saved wire verifier when destroying context
171
172* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.10-5
173- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
174
175* Wed Jan 28 2009 Steve Dickson  <steved@redhat.com> 0.1.10-4
176- Converted all uids and uids to type uid_t and gid_t (sf 2446314)
177
178* Wed Jan 28 2009 Steve Dickson  <steved@redhat.com> 0.1.10-3
179- backwards compatibility: fix order of fields in TI-RPC's
180  svc_req (bz 481388)
181- Removed a number warnings.
182
183* Thu Jan 22 2009 Steve Dickson  <steved@redhat.com> 0.1.10-2
184- Header file fixes for C++
185
186* Thu Nov 20 2008 Steve Dickson  <steved@redhat.com> 0.1.10-1
187- Updated to latest upstream version: 0.1.10
188
189* Tue Oct 28 2008 Steve Dickson  <steved@redhat.com> 0.1.9-7
190- Fixed some incorrect function declarations (bz468815)
191
192* Mon Oct 27 2008 Steve Dickson  <steved@redhat.com> 0.1.9-6
193- Fix bad assumption taddr2uaddr processing that
194  caused a segfault (bz468014)
195
196* Tue Sep 16 2008 Steve Dickson <steved@redhat.com> 0.1.9-5
197- Fix for taddr2addr conversion bug of local addresses
198- Fixed some of warnings in: src/auth_time.c, src/clnt_dg.c and
199  src/clnt_raw.c
200- Added some #ifdef NOTUSED around some code in src/rpbc_clnt.c
201  that was not being used...
202
203* Thu Sep  4 2008 Steve Dickson <steved@redhat.com> 0.1.9-4
204- Always make IPv6 sockets V6ONLY
205- Fix incorrect sizeof() in __rpc_getbroadifs
206
207* Thu Aug  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.1.9-3
208- fix license tag
209
210* Tue Jul 9 2008 Steve Dickson  <steved@redhat.com> 0.1.9-1
211- Update to latest upstream version 0.1.9
212
213* Fri Jun 27 2008 Steve Dickson  <steved@redhat.com> 0.1.8-2
214- Added super-H(sh3,4) architecture support (bz 446559)
215
216* Tue Jun 10 2008 Steve Dickson  <steved@redhat.com> 0.1.8-1
217- Update to latest upstream version 0.1.8
218
219* Wed Mar 12 2008 Steve Dickson  <steved@redhat.com> 0.1.7-18
220- Install man pages in the 3t section
221
222* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.1.7-17
223- Autorebuild for GCC 4.3
224
225* Mon Feb 18 2008 Steve Dickson  <steved@redhat.com> 0.1.7-16
226- Added patch that creates a libtirpc.pc used by the
227  pkg-config command.
228
229* Thu Jan 24 2008 Steve Dickson  <steved@redhat.com> 0.1.7-15
230- Protect from buffer overflow in the GSS code. (bz 362121)
231
232* Mon Dec 17 2007 Steve Dickson  <steved@redhat.com> 0.1.7-14
233- Fixed typo in /etc/netconfig file (bz 414471)
234
235* Thu Oct 25 2007 Steve Dickson  <steved@redhat.com> 0.1.7-13
236- Added a check for the ARM arch (bz 351071)
237
238* Wed Oct 17 2007 Steve Dickson  <steved@redhat.com> 0.1.7-12
239- Switch the libgssapi dependency to libgssglue
240
241* Mon Oct 15 2007 Steve Dickson  <steved@redhat.com> 0.1.7-11
242- Made tcp6/udp6 network ids no longer visible in the netconfig
243  file since the ipv6 code is not fully baked yet in rpcbind. (bz 249121)
244
245* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.1.7-10
246- Rebuild for selinux ppc32 issue.
247
248* Mon Jul 30 2007 <steved@redhat.com> 0.1.7-9
249- Fixed mutex lock problem in clnt_raw_create()
250- Ignore the return value of snprintf() and use strlen() instead
251  to bump the pointer in clnt_sperror()
252- A couple ntohs() were needed in bindresvport_sa()
253- Added IP_RECVERR processing with to clnt_dg_call() so
254  application will see errors instead of timing out
255- Make sure remote address (xp_rtaddr) is populated
256  with the correct type of address.
257- Change the order of network ids in /etc/netconfg
258  putting ipv4 ids before ipv6.
259- Bumped up Release from 8 to 9.
260
261* Mon Jul  9 2007 <steved@redhat.com> 0.1.7-7
262- Fixed infinite loop in svc_run() (bz 246677)
263
264* Thu Apr 26 2007 <steved@redhat.com> 0.1.7-6
265- Fixed potential buffer overflow in xdr_strings
266- Added a optimization to bindresvport that allows more
267  ports to be tried.
268
269* Mon Mar 26 2007 Steve Dickson <steved@redhat.com> 0.1.7-5
270- Fixed Unowned Directory RPM problem (bz 233873)
271
272* Mon Aug 28 2006 Steve Dickson <steved@redhat.com> 0.1.7-4
273- Fixed undefined symbol (bz 204296)
274
275* Mon Aug 14 2006 Steve Dickson <steved@redhat.com> 0.1.7-3
276- Added in svc_auth_none needed by the GSSAPI code.
277- Added compile define for ppc64 archs
278
279* Fri Aug 11 2006 Steve Dickson <steved@redhat.com> 0.1.7-2
280- Uncommented tcp6 and udp6 in the default /etc/netconfig file.
281- Added hooks to used the libgssapi library.
282
283* Fri Aug  4 2006 Steve Dickson <steved@redhat.com> 0.1.7-1
284- Initial commit
Note: See TracBrowser for help on using the repository browser.