libtirpc-vl.spec 9.0 KB

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