Name: libtirpc Version: 0.1.9 Release: 4%{?dist} Summary: Transport Independent RPC Library Group: System Environment/Libraries License: SISSL URL: http://nfsv4.bullopensource.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: http://downloads.sourceforge.net/libtirpc/libtirpc-%{version}.tar.bz2 BuildRequires: automake, autoconf, libtool, pkgconfig BuildRequires: libgssglue-devel %description This package contains SunLib's implementation of transport-independent RPC (TI-RPC) documentation. This library forms a piece of the base of Open Network Computing (ONC), and is derived directly from the Solaris 2.3 source. TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface (XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported by almost 70 vendors on all major operating systems. TS-RPC source code (RPCSRC 4.0) remains available from several internet sites. %package devel Summary: Development files for the libtirpc library Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires(devel): pkgconfig man Patch01: libtirpc-0.1.9-rpc_getbroadifs-sizeof.patch Patch02: libtirpc-0.1.9-ipv6-socket.patch Patch100: libtirpc-0.1.7-compile.patch %description devel This package includes header files and libraries necessary for developing programs which use the tirpc library. %prep %setup -q %patch01 -p1 %patch02 -p1 %patch100 -p1 # Remove .orig files find . -name "*.orig" | xargs rm -f %build autoreconf -fisv %configure --enable-gss make all %install rm -rf %{buildroot} mkdir -p %{buildroot}/etc make install DESTDIR=%{buildroot} # Don't package .a or .la files rm -f %{buildroot}%{_libdir}/*.{a,la} # Creat the man diretory mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel # Register the new man section #if [ "$1" -eq 1 ]; then # makewhatis -s 3t #fi %postun devel # Remove the existance of the man section #makewhatis -s 3 %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS ChangeLog NEWS README %{_libdir}/libtirpc.so.* %config(noreplace)%{_sysconfdir}/netconfig %files devel %defattr(0644,root,root,755) %dir %{_includedir}/tirpc %dir %{_includedir}/tirpc/misc %dir %{_includedir}/tirpc/rpc %dir %{_includedir}/tirpc/rpcsvc %{_libdir}/libtirpc.so %{_libdir}/pkgconfig/libtirpc.pc %{_includedir}/tirpc/fpmath.h %{_includedir}/tirpc/getpeereid.h %{_includedir}/tirpc/libc_private.h %{_includedir}/tirpc/misc/event.h %{_includedir}/tirpc/misc/queue.h %{_includedir}/tirpc/misc/socket.h %{_includedir}/tirpc/namespace.h %{_includedir}/tirpc/netconfig.h %{_includedir}/tirpc/nss_tls.h %{_includedir}/tirpc/reentrant.h %{_includedir}/tirpc/rpc/auth.h %{_includedir}/tirpc/rpc/auth_des.h %{_includedir}/tirpc/rpc/auth_gss.h %{_includedir}/tirpc/rpc/auth_kerb.h %{_includedir}/tirpc/rpc/auth_unix.h %{_includedir}/tirpc/rpc/clnt.h %{_includedir}/tirpc/rpc/clnt_soc.h %{_includedir}/tirpc/rpc/clnt_stat.h %{_includedir}/tirpc/rpc/des.h %{_includedir}/tirpc/rpc/des_crypt.h %{_includedir}/tirpc/rpc/nettype.h %{_includedir}/tirpc/rpc/pmap_clnt.h %{_includedir}/tirpc/rpc/pmap_prot.h %{_includedir}/tirpc/rpc/pmap_rmt.h %{_includedir}/tirpc/rpc/raw.h %{_includedir}/tirpc/rpc/rpc.h %{_includedir}/tirpc/rpc/rpc_com.h %{_includedir}/tirpc/rpc/rpc_msg.h %{_includedir}/tirpc/rpc/rpcb_clnt.h %{_includedir}/tirpc/rpc/rpcb_prot.h %{_includedir}/tirpc/rpc/rpcb_prot.x %{_includedir}/tirpc/rpc/rpcent.h %{_includedir}/tirpc/rpc/svc.h %{_includedir}/tirpc/rpc/svc_auth.h %{_includedir}/tirpc/rpc/svc_dg.h %{_includedir}/tirpc/rpc/svc_soc.h %{_includedir}/tirpc/rpc/types.h %{_includedir}/tirpc/rpc/xdr.h %{_includedir}/tirpc/rpcsvc/crypt.h %{_includedir}/tirpc/rpcsvc/crypt.x %{_includedir}/tirpc/spinlock.h %{_includedir}/tirpc/un-namespace.h %{_mandir}/*/* %changelog * Thu Sep 4 2008 Steve Dickson 0.1.9-4 - Always make IPv6 sockets V6ONLY - Fix incorrect sizeof() in __rpc_getbroadifs * Thu Aug 7 2008 Tom "spot" Callaway 0.1.9-3 - fix license tag * Tue Jul 9 2008 Steve Dickson 0.1.9-1 - Update to latest upstream version 0.1.9 * Fri Jun 27 2008 Steve Dickson 0.1.8-2 - Added super-H(sh3,4) architecture support (bz 446559) * Tue Jun 10 2008 Steve Dickson 0.1.8-1 - Update to latest upstream version 0.1.8 * Wed Mar 12 2008 Steve Dickson 0.1.7-18 - Install man pages in the 3t section * Tue Feb 19 2008 Fedora Release Engineering - 0.1.7-17 - Autorebuild for GCC 4.3 * Mon Feb 18 2008 Steve Dickson 0.1.7-16 - Added patch that creates a libtirpc.pc used by the pkg-config command. * Thu Jan 24 2008 Steve Dickson 0.1.7-15 - Protect from buffer overflow in the GSS code. (bz 362121) * Mon Dec 17 2007 Steve Dickson 0.1.7-14 - Fixed typo in /etc/netconfig file (bz 414471) * Thu Oct 25 2007 Steve Dickson 0.1.7-13 - Added a check for the ARM arch (bz 351071) * Wed Oct 17 2007 Steve Dickson 0.1.7-12 - Switch the libgssapi dependency to libgssglue * Mon Oct 15 2007 Steve Dickson 0.1.7-11 - Made tcp6/udp6 network ids no longer visible in the netconfig file since the ipv6 code is not fully baked yet in rpcbind. (bz 249121) * Wed Aug 29 2007 Fedora Release Engineering - 0.1.7-10 - Rebuild for selinux ppc32 issue. * Mon Jul 30 2007 0.1.7-9 - Fixed mutex lock problem in clnt_raw_create() - Ignore the return value of snprintf() and use strlen() instead to bump the pointer in clnt_sperror() - A couple ntohs() were needed in bindresvport_sa() - Added IP_RECVERR processing with to clnt_dg_call() so application will see errors instead of timing out - Make sure remote address (xp_rtaddr) is populated with the correct type of address. - Change the order of network ids in /etc/netconfg putting ipv4 ids before ipv6. - Bumped up Release from 8 to 9. * Mon Jul 9 2007 0.1.7-7 - Fixed infinite loop in svc_run() (bz 246677) * Thu Apr 26 2007 0.1.7-6 - Fixed potential buffer overflow in xdr_strings - Added a optimization to bindresvport that allows more ports to be tried. * Mon Mar 26 2007 Steve Dickson 0.1.7-5 - Fixed Unowned Directory RPM problem (bz 233873) * Mon Aug 28 2006 Steve Dickson 0.1.7-4 - Fixed undefined symbol (bz 204296) * Mon Aug 14 2006 Steve Dickson 0.1.7-3 - Added in svc_auth_none needed by the GSSAPI code. - Added compile define for ppc64 archs * Fri Aug 11 2006 Steve Dickson 0.1.7-2 - Uncommented tcp6 and udp6 in the default /etc/netconfig file. - Added hooks to used the libgssapi library. * Fri Aug 4 2006 Steve Dickson 0.1.7-1 - Initial commit