libtirpc-vl.spec 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. Name: libtirpc
  2. Version: 0.2.1
  3. Release: 3%{?_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 Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.1-3
  96. - rebuild with rpm-4.8.1 for pkg-config file
  97. * Sun Feb 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.1-2
  98. - Initial build for Vine Linux
  99. * Mon Nov 30 2009 Steve Dickson <steved@redhat.com> 0.2.1-1
  100. - Updated to latest upstream version: 0.2.1
  101. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-4
  102. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  103. * Thu Jul 9 2009 Steve Dickson <steved@redhat.com> 0.2.0-3
  104. - Updated to latest upstream tag: 0-2-1-rc3
  105. Fixed the --disable-gss options
  106. Fixed a number of warnings
  107. Change how architectures are define in xdr_float.c
  108. * Mon Jun 29 2009 Steve Dickson <steved@redhat.com> 0.2.0-2
  109. - Updated to latest upstream tag: 0-2-1-rc2
  110. rpcb_clnt: RPC_PROGNOTREGISTERED is a permanent error
  111. clnt_dg: Fix infinite loop when datagram call times ou
  112. Updated .gitignore file
  113. Replace the hard coded path name with the top_srcdir macrc
  114. Added 'doc' to the SUBDIRS list so make install work correctly.
  115. * Fri May 29 2009 Steve Dickson <steved@redhat.com> 0.2.0-1
  116. - Updated to latest upstream version: 0.2.0
  117. * Tue May 19 2009 Tom "spot" Callaway <tcallawa@redhat.com> 0.1.11-3
  118. - Replace the Sun RPC license with the BSD license, with the explicit permission of Sun Microsystems
  119. * Mon Apr 20 2009 Steve Dickson <steved@redhat.com> 0.1.11-2
  120. - Updated to libtirpc-0.1.12-rc1
  121. * Mon Apr 20 2009 Steve Dickson <steved@redhat.com> 0.1.11-1
  122. - Updated to the latest release: 0.1.11
  123. * Fri Mar 13 2009 Steve Dickson <steved@redhat.com> 0.1.10-6
  124. - libtirpc: set r_netid and r_owner in __rpcb_findaddr_timed
  125. - libtirpc: be sure to free cl_netid and cl_tp
  126. - libtirpc: must free saved wire verifier when destroying context
  127. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.10-5
  128. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  129. * Wed Jan 28 2009 Steve Dickson <steved@redhat.com> 0.1.10-4
  130. - Converted all uids and uids to type uid_t and gid_t (sf 2446314)
  131. * Wed Jan 28 2009 Steve Dickson <steved@redhat.com> 0.1.10-3
  132. - backwards compatibility: fix order of fields in TI-RPC's
  133. svc_req (bz 481388)
  134. - Removed a number warnings.
  135. * Thu Jan 22 2009 Steve Dickson <steved@redhat.com> 0.1.10-2
  136. - Header file fixes for C++
  137. * Thu Nov 20 2008 Steve Dickson <steved@redhat.com> 0.1.10-1
  138. - Updated to latest upstream version: 0.1.10
  139. * Tue Oct 28 2008 Steve Dickson <steved@redhat.com> 0.1.9-7
  140. - Fixed some incorrect function declarations (bz468815)
  141. * Mon Oct 27 2008 Steve Dickson <steved@redhat.com> 0.1.9-6
  142. - Fix bad assumption taddr2uaddr processing that
  143. caused a segfault (bz468014)
  144. * Tue Sep 16 2008 Steve Dickson <steved@redhat.com> 0.1.9-5
  145. - Fix for taddr2addr conversion bug of local addresses
  146. - Fixed some of warnings in: src/auth_time.c, src/clnt_dg.c and
  147. src/clnt_raw.c
  148. - Added some #ifdef NOTUSED around some code in src/rpbc_clnt.c
  149. that was not being used...
  150. * Thu Sep 4 2008 Steve Dickson <steved@redhat.com> 0.1.9-4
  151. - Always make IPv6 sockets V6ONLY
  152. - Fix incorrect sizeof() in __rpc_getbroadifs
  153. * Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.1.9-3
  154. - fix license tag
  155. * Tue Jul 9 2008 Steve Dickson <steved@redhat.com> 0.1.9-1
  156. - Update to latest upstream version 0.1.9
  157. * Fri Jun 27 2008 Steve Dickson <steved@redhat.com> 0.1.8-2
  158. - Added super-H(sh3,4) architecture support (bz 446559)
  159. * Tue Jun 10 2008 Steve Dickson <steved@redhat.com> 0.1.8-1
  160. - Update to latest upstream version 0.1.8
  161. * Wed Mar 12 2008 Steve Dickson <steved@redhat.com> 0.1.7-18
  162. - Install man pages in the 3t section
  163. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.1.7-17
  164. - Autorebuild for GCC 4.3
  165. * Mon Feb 18 2008 Steve Dickson <steved@redhat.com> 0.1.7-16
  166. - Added patch that creates a libtirpc.pc used by the
  167. pkg-config command.
  168. * Thu Jan 24 2008 Steve Dickson <steved@redhat.com> 0.1.7-15
  169. - Protect from buffer overflow in the GSS code. (bz 362121)
  170. * Mon Dec 17 2007 Steve Dickson <steved@redhat.com> 0.1.7-14
  171. - Fixed typo in /etc/netconfig file (bz 414471)
  172. * Thu Oct 25 2007 Steve Dickson <steved@redhat.com> 0.1.7-13
  173. - Added a check for the ARM arch (bz 351071)
  174. * Wed Oct 17 2007 Steve Dickson <steved@redhat.com> 0.1.7-12
  175. - Switch the libgssapi dependency to libgssglue
  176. * Mon Oct 15 2007 Steve Dickson <steved@redhat.com> 0.1.7-11
  177. - Made tcp6/udp6 network ids no longer visible in the netconfig
  178. file since the ipv6 code is not fully baked yet in rpcbind. (bz 249121)
  179. * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.1.7-10
  180. - Rebuild for selinux ppc32 issue.
  181. * Mon Jul 30 2007 <steved@redhat.com> 0.1.7-9
  182. - Fixed mutex lock problem in clnt_raw_create()
  183. - Ignore the return value of snprintf() and use strlen() instead
  184. to bump the pointer in clnt_sperror()
  185. - A couple ntohs() were needed in bindresvport_sa()
  186. - Added IP_RECVERR processing with to clnt_dg_call() so
  187. application will see errors instead of timing out
  188. - Make sure remote address (xp_rtaddr) is populated
  189. with the correct type of address.
  190. - Change the order of network ids in /etc/netconfg
  191. putting ipv4 ids before ipv6.
  192. - Bumped up Release from 8 to 9.
  193. * Mon Jul 9 2007 <steved@redhat.com> 0.1.7-7
  194. - Fixed infinite loop in svc_run() (bz 246677)
  195. * Thu Apr 26 2007 <steved@redhat.com> 0.1.7-6
  196. - Fixed potential buffer overflow in xdr_strings
  197. - Added a optimization to bindresvport that allows more
  198. ports to be tried.
  199. * Mon Mar 26 2007 Steve Dickson <steved@redhat.com> 0.1.7-5
  200. - Fixed Unowned Directory RPM problem (bz 233873)
  201. * Mon Aug 28 2006 Steve Dickson <steved@redhat.com> 0.1.7-4
  202. - Fixed undefined symbol (bz 204296)
  203. * Mon Aug 14 2006 Steve Dickson <steved@redhat.com> 0.1.7-3
  204. - Added in svc_auth_none needed by the GSSAPI code.
  205. - Added compile define for ppc64 archs
  206. * Fri Aug 11 2006 Steve Dickson <steved@redhat.com> 0.1.7-2
  207. - Uncommented tcp6 and udp6 in the default /etc/netconfig file.
  208. - Added hooks to used the libgssapi library.
  209. * Fri Aug 4 2006 Steve Dickson <steved@redhat.com> 0.1.7-1
  210. - Initial commit