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