libtirpc-vl.spec 10 KB

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