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