1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libtirpc/libtirpc.spec Fri Mar 11 21:30:26 2011 +0100 1.3 @@ -0,0 +1,310 @@ 1.4 +%define _root_libdir /%{_lib} 1.5 + 1.6 +Name: libtirpc 1.7 +Version: 0.2.1 1.8 +Release: 6%{?dist} 1.9 +Summary: Transport Independent RPC Library 1.10 +Group: System Environment/Libraries 1.11 +License: SISSL and BSD 1.12 +URL: http://nfsv4.bullopensource.org/ 1.13 + 1.14 +Patch001: libtirpc-0-2-2-rc2.patch 1.15 + 1.16 +Patch100: libtirpc-0.2.1-SISSL-license.patch 1.17 +Patch101: libtirpc-0.2.1-replace-SISSL-with-BSD.patch 1.18 +Patch102: libtirpc-0.2.1-BSD-license.patch 1.19 + 1.20 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 1.21 +Source0: http://downloads.sourceforge.net/libtirpc/libtirpc-%{version}.tar.bz2 1.22 + 1.23 +BuildRequires: automake, autoconf, libtool, pkgconfig 1.24 +BuildRequires: libgssglue-devel 1.25 + 1.26 +%description 1.27 +This package contains SunLib's implementation of transport-independent 1.28 +RPC (TI-RPC) documentation. This library forms a piece of the base of 1.29 +Open Network Computing (ONC), and is derived directly from the 1.30 +Solaris 2.3 source. 1.31 + 1.32 +TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V 1.33 +Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface 1.34 +(XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported 1.35 +by almost 70 vendors on all major operating systems. TS-RPC source code 1.36 +(RPCSRC 4.0) remains available from several internet sites. 1.37 + 1.38 +%package devel 1.39 +Summary: Development files for the libtirpc library 1.40 +Group: Development/Libraries 1.41 +Requires: %{name} = %{version}-%{release} 1.42 +Requires(devel): pkgconfig man-db 1.43 + 1.44 +%description devel 1.45 +This package includes header files and libraries necessary for 1.46 +developing programs which use the tirpc library. 1.47 + 1.48 + 1.49 +%prep 1.50 +%setup -q 1.51 + 1.52 +%patch001 -p1 1.53 + 1.54 +%patch100 -p1 1.55 +%patch101 -p1 1.56 +%patch102 -p1 1.57 + 1.58 +# Remove .orig files 1.59 +find . -name "*.orig" | xargs rm -f 1.60 + 1.61 +%build 1.62 +sh autogen.sh 1.63 +autoreconf -fisv 1.64 +%configure --enable-gss 1.65 +make all 1.66 + 1.67 +%install 1.68 +rm -rf %{buildroot} 1.69 +mkdir -p %{buildroot}/etc 1.70 +mkdir -p %{buildroot}%{_root_libdir} 1.71 +mkdir -p %{buildroot}%{_libdir}/pkgconfig 1.72 +make install DESTDIR=%{buildroot} \ 1.73 + libdir=%{_root_libdir} pkgconfigdir=%{_libdir}/pkgconfig 1.74 +# Don't package .a or .la files 1.75 +rm -f %{buildroot}%{_root_libdir}/*.{a,la} 1.76 + 1.77 +# Creat the man diretory 1.78 +mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t 1.79 + 1.80 +%post -p /sbin/ldconfig 1.81 + 1.82 +%postun -p /sbin/ldconfig 1.83 + 1.84 +%post devel 1.85 +# Register the new man section 1.86 +#if [ "$1" -eq 1 ]; then 1.87 +# makewhatis -s 3t 1.88 +#fi 1.89 + 1.90 +%postun devel 1.91 +# Remove the existance of the man section 1.92 +#makewhatis -s 3t 1.93 + 1.94 + 1.95 +%clean 1.96 +rm -rf %{buildroot} 1.97 + 1.98 +%files 1.99 +%defattr(-,root,root) 1.100 +%doc AUTHORS ChangeLog NEWS README 1.101 +%{_root_libdir}/libtirpc.so.* 1.102 +%config(noreplace)%{_sysconfdir}/netconfig 1.103 + 1.104 +%files devel 1.105 +%defattr(0644,root,root,755) 1.106 +%dir %{_includedir}/tirpc 1.107 +%dir %{_includedir}/tirpc/rpc 1.108 +%dir %{_includedir}/tirpc/rpcsvc 1.109 +%{_root_libdir}/libtirpc.so 1.110 +%{_libdir}/pkgconfig/libtirpc.pc 1.111 +%{_includedir}/tirpc/netconfig.h 1.112 +%{_includedir}/tirpc/rpc/auth.h 1.113 +%{_includedir}/tirpc/rpc/auth_des.h 1.114 +%{_includedir}/tirpc/rpc/auth_gss.h 1.115 +%{_includedir}/tirpc/rpc/auth_kerb.h 1.116 +%{_includedir}/tirpc/rpc/auth_unix.h 1.117 +%{_includedir}/tirpc/rpc/clnt.h 1.118 +%{_includedir}/tirpc/rpc/clnt_soc.h 1.119 +%{_includedir}/tirpc/rpc/clnt_stat.h 1.120 +%{_includedir}/tirpc/rpc/des.h 1.121 +%{_includedir}/tirpc/rpc/des_crypt.h 1.122 +%{_includedir}/tirpc/rpc/nettype.h 1.123 +%{_includedir}/tirpc/rpc/pmap_clnt.h 1.124 +%{_includedir}/tirpc/rpc/pmap_prot.h 1.125 +%{_includedir}/tirpc/rpc/pmap_rmt.h 1.126 +%{_includedir}/tirpc/rpc/raw.h 1.127 +%{_includedir}/tirpc/rpc/rpc.h 1.128 +%{_includedir}/tirpc/rpc/rpc_com.h 1.129 +%{_includedir}/tirpc/rpc/rpc_msg.h 1.130 +%{_includedir}/tirpc/rpc/rpcb_clnt.h 1.131 +%{_includedir}/tirpc/rpc/rpcb_prot.h 1.132 +%{_includedir}/tirpc/rpc/rpcb_prot.x 1.133 +%{_includedir}/tirpc/rpc/rpcent.h 1.134 +%{_includedir}/tirpc/rpc/svc.h 1.135 +%{_includedir}/tirpc/rpc/svc_auth.h 1.136 +%{_includedir}/tirpc/rpc/svc_dg.h 1.137 +%{_includedir}/tirpc/rpc/svc_soc.h 1.138 +%{_includedir}/tirpc/rpc/types.h 1.139 +%{_includedir}/tirpc/rpc/xdr.h 1.140 +%{_includedir}/tirpc/rpcsvc/crypt.h 1.141 +%{_includedir}/tirpc/rpcsvc/crypt.x 1.142 +%{_mandir}/*/* 1.143 + 1.144 +%changelog 1.145 +* Thu Dec 2 2010 Steve Dickson <steved@redhat.com> 0.2.1-6 1.146 +- Moved the libraries from /usr/lib to /lib 1.147 + 1.148 +* Mon Aug 30 2010 Steve Dickson <steved@redhat.com> 0.2.1-5 1.149 +- Relicense these SISSL files to 3 clause BSD 1.150 +- Fixed last remaining BSD license issues 1.151 + 1.152 +* Fri Jul 16 2010 Steve Dickson <steved@redhat.com> 0.2.1-4 1.153 +- Add back SISSL license attribution 1.154 + 1.155 +* Fri Jul 09 2010 Mike McGrath <mmcgrath@redhat.com> 0.2.1-3.1 1.156 +- Rebuild to fix broken man dep s/man/man-db/ 1.157 + 1.158 +* Tue May 18 2010 Steve Dickson <steved@redhat.com> 0.2.1-3 1.159 +- Updated to latest RC release: libtirpc-0-2-2-rc2 [bz 519430] 1.160 + 1.161 +* Mon Mar 22 2010 Steve Dickson <steved@redhat.com> 0.2.1-2 1.162 +- Updated to latest RC release: libtirpc-0-2-2-rc1 1.163 + 1.164 +* Mon Nov 30 2009 Steve Dickson <steved@redhat.com> 0.2.1-1 1.165 +- Updated to latest upstream version: 0.2.1 1.166 + 1.167 +* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-4 1.168 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 1.169 + 1.170 +* Thu Jul 9 2009 Steve Dickson <steved@redhat.com> 0.2.0-3 1.171 +- Updated to latest upstream tag: 0-2-1-rc3 1.172 + Fixed the --disable-gss options 1.173 + Fixed a number of warnings 1.174 + Change how architectures are define in xdr_float.c 1.175 + 1.176 +* Mon Jun 29 2009 Steve Dickson <steved@redhat.com> 0.2.0-2 1.177 +- Updated to latest upstream tag: 0-2-1-rc2 1.178 + rpcb_clnt: RPC_PROGNOTREGISTERED is a permanent error 1.179 + clnt_dg: Fix infinite loop when datagram call times ou 1.180 + Updated .gitignore file 1.181 + Replace the hard coded path name with the top_srcdir macrc 1.182 + Added 'doc' to the SUBDIRS list so make install work correctly. 1.183 + 1.184 +* Fri May 29 2009 Steve Dickson <steved@redhat.com> 0.2.0-1 1.185 +- Updated to latest upstream version: 0.2.0 1.186 + 1.187 +* Tue May 19 2009 Tom "spot" Callaway <tcallawa@redhat.com> 0.1.11-3 1.188 +- Replace the Sun RPC license with the BSD license, with the explicit permission of Sun Microsystems 1.189 + 1.190 +* Mon Apr 20 2009 Steve Dickson <steved@redhat.com> 0.1.11-2 1.191 +- Updated to libtirpc-0.1.12-rc1 1.192 + 1.193 +* Mon Apr 20 2009 Steve Dickson <steved@redhat.com> 0.1.11-1 1.194 +- Updated to the latest release: 0.1.11 1.195 + 1.196 +* Fri Mar 13 2009 Steve Dickson <steved@redhat.com> 0.1.10-6 1.197 +- libtirpc: set r_netid and r_owner in __rpcb_findaddr_timed 1.198 +- libtirpc: be sure to free cl_netid and cl_tp 1.199 +- libtirpc: must free saved wire verifier when destroying context 1.200 + 1.201 +* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.10-5 1.202 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 1.203 + 1.204 +* Wed Jan 28 2009 Steve Dickson <steved@redhat.com> 0.1.10-4 1.205 +- Converted all uids and uids to type uid_t and gid_t (sf 2446314) 1.206 + 1.207 +* Wed Jan 28 2009 Steve Dickson <steved@redhat.com> 0.1.10-3 1.208 +- backwards compatibility: fix order of fields in TI-RPC's 1.209 + svc_req (bz 481388) 1.210 +- Removed a number warnings. 1.211 + 1.212 +* Thu Jan 22 2009 Steve Dickson <steved@redhat.com> 0.1.10-2 1.213 +- Header file fixes for C++ 1.214 + 1.215 +* Thu Nov 20 2008 Steve Dickson <steved@redhat.com> 0.1.10-1 1.216 +- Updated to latest upstream version: 0.1.10 1.217 + 1.218 +* Tue Oct 28 2008 Steve Dickson <steved@redhat.com> 0.1.9-7 1.219 +- Fixed some incorrect function declarations (bz468815) 1.220 + 1.221 +* Mon Oct 27 2008 Steve Dickson <steved@redhat.com> 0.1.9-6 1.222 +- Fix bad assumption taddr2uaddr processing that 1.223 + caused a segfault (bz468014) 1.224 + 1.225 +* Tue Sep 16 2008 Steve Dickson <steved@redhat.com> 0.1.9-5 1.226 +- Fix for taddr2addr conversion bug of local addresses 1.227 +- Fixed some of warnings in: src/auth_time.c, src/clnt_dg.c and 1.228 + src/clnt_raw.c 1.229 +- Added some #ifdef NOTUSED around some code in src/rpbc_clnt.c 1.230 + that was not being used... 1.231 + 1.232 +* Thu Sep 4 2008 Steve Dickson <steved@redhat.com> 0.1.9-4 1.233 +- Always make IPv6 sockets V6ONLY 1.234 +- Fix incorrect sizeof() in __rpc_getbroadifs 1.235 + 1.236 +* Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.1.9-3 1.237 +- fix license tag 1.238 + 1.239 +* Tue Jul 9 2008 Steve Dickson <steved@redhat.com> 0.1.9-1 1.240 +- Update to latest upstream version 0.1.9 1.241 + 1.242 +* Fri Jun 27 2008 Steve Dickson <steved@redhat.com> 0.1.8-2 1.243 +- Added super-H(sh3,4) architecture support (bz 446559) 1.244 + 1.245 +* Tue Jun 10 2008 Steve Dickson <steved@redhat.com> 0.1.8-1 1.246 +- Update to latest upstream version 0.1.8 1.247 + 1.248 +* Wed Mar 12 2008 Steve Dickson <steved@redhat.com> 0.1.7-18 1.249 +- Install man pages in the 3t section 1.250 + 1.251 +* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.1.7-17 1.252 +- Autorebuild for GCC 4.3 1.253 + 1.254 +* Mon Feb 18 2008 Steve Dickson <steved@redhat.com> 0.1.7-16 1.255 +- Added patch that creates a libtirpc.pc used by the 1.256 + pkg-config command. 1.257 + 1.258 +* Thu Jan 24 2008 Steve Dickson <steved@redhat.com> 0.1.7-15 1.259 +- Protect from buffer overflow in the GSS code. (bz 362121) 1.260 + 1.261 +* Mon Dec 17 2007 Steve Dickson <steved@redhat.com> 0.1.7-14 1.262 +- Fixed typo in /etc/netconfig file (bz 414471) 1.263 + 1.264 +* Thu Oct 25 2007 Steve Dickson <steved@redhat.com> 0.1.7-13 1.265 +- Added a check for the ARM arch (bz 351071) 1.266 + 1.267 +* Wed Oct 17 2007 Steve Dickson <steved@redhat.com> 0.1.7-12 1.268 +- Switch the libgssapi dependency to libgssglue 1.269 + 1.270 +* Mon Oct 15 2007 Steve Dickson <steved@redhat.com> 0.1.7-11 1.271 +- Made tcp6/udp6 network ids no longer visible in the netconfig 1.272 + file since the ipv6 code is not fully baked yet in rpcbind. (bz 249121) 1.273 + 1.274 +* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.1.7-10 1.275 +- Rebuild for selinux ppc32 issue. 1.276 + 1.277 +* Mon Jul 30 2007 <steved@redhat.com> 0.1.7-9 1.278 +- Fixed mutex lock problem in clnt_raw_create() 1.279 +- Ignore the return value of snprintf() and use strlen() instead 1.280 + to bump the pointer in clnt_sperror() 1.281 +- A couple ntohs() were needed in bindresvport_sa() 1.282 +- Added IP_RECVERR processing with to clnt_dg_call() so 1.283 + application will see errors instead of timing out 1.284 +- Make sure remote address (xp_rtaddr) is populated 1.285 + with the correct type of address. 1.286 +- Change the order of network ids in /etc/netconfg 1.287 + putting ipv4 ids before ipv6. 1.288 +- Bumped up Release from 8 to 9. 1.289 + 1.290 +* Mon Jul 9 2007 <steved@redhat.com> 0.1.7-7 1.291 +- Fixed infinite loop in svc_run() (bz 246677) 1.292 + 1.293 +* Thu Apr 26 2007 <steved@redhat.com> 0.1.7-6 1.294 +- Fixed potential buffer overflow in xdr_strings 1.295 +- Added a optimization to bindresvport that allows more 1.296 + ports to be tried. 1.297 + 1.298 +* Mon Mar 26 2007 Steve Dickson <steved@redhat.com> 0.1.7-5 1.299 +- Fixed Unowned Directory RPM problem (bz 233873) 1.300 + 1.301 +* Mon Aug 28 2006 Steve Dickson <steved@redhat.com> 0.1.7-4 1.302 +- Fixed undefined symbol (bz 204296) 1.303 + 1.304 +* Mon Aug 14 2006 Steve Dickson <steved@redhat.com> 0.1.7-3 1.305 +- Added in svc_auth_none needed by the GSSAPI code. 1.306 +- Added compile define for ppc64 archs 1.307 + 1.308 +* Fri Aug 11 2006 Steve Dickson <steved@redhat.com> 0.1.7-2 1.309 +- Uncommented tcp6 and udp6 in the default /etc/netconfig file. 1.310 +- Added hooks to used the libgssapi library. 1.311 + 1.312 +* Fri Aug 4 2006 Steve Dickson <steved@redhat.com> 0.1.7-1 1.313 +- Initial commit