2006-08-09 19:09:18 +00:00
|
|
|
Name: libtirpc
|
|
|
|
Version: 0.1.7
|
2007-10-17 18:27:04 +00:00
|
|
|
Release: 12%{?dist}
|
2006-08-09 19:09:18 +00:00
|
|
|
Summary: Transport Independent RPC Library
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: GPL
|
|
|
|
URL: http://nfsv4.bullopensource.org/
|
|
|
|
|
2006-08-16 00:07:14 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2006-08-15 11:37:48 +00:00
|
|
|
Source0: http://nfsv4.bullopensource.org/tarballs/tirpc/%{name}-%{version}.tar.bz2
|
2006-08-11 16:57:18 +00:00
|
|
|
|
|
|
|
BuildRequires: automake, autoconf, libtool, pkgconfig
|
2007-10-17 18:27:04 +00:00
|
|
|
BuildRequires: libgssglue-devel
|
2006-08-09 19:09:18 +00:00
|
|
|
|
|
|
|
%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: pkgconfig
|
|
|
|
|
2007-07-30 11:24:01 +00:00
|
|
|
Patch1: libtirpc-0.1.7-netconfig.patch
|
2007-10-17 18:27:04 +00:00
|
|
|
Patch2: libtirpc-0.1.7-gssglue.patch
|
2007-07-30 11:24:01 +00:00
|
|
|
Patch3: libtirpc-0.1.7-svcauthnone.patch
|
|
|
|
Patch4: libtirpc-0.1.7-ppc64.patch
|
|
|
|
Patch5: libtirpc-0.1.7-svcauthdestroy.patch
|
|
|
|
Patch6: libtirpc-0.1.7-xdr_bufferoverlow.patch
|
|
|
|
Patch7: libtirpc-0.1.7-bindresvport_ports.patch
|
|
|
|
Patch8: libtirpc-0.1.7-svc-run.patch
|
|
|
|
Patch9: libtirpc-0.1.7-clnt_raw-mutex.patch
|
|
|
|
Patch10: libtirpc-0.1.7-snprintf.patch
|
|
|
|
Patch11: libtirpc-0.1.7-bindresvport-ntohs.patch
|
|
|
|
Patch12: libtirpc-0.1.7-dgcall-iprecverr.patch
|
2007-07-30 11:56:40 +00:00
|
|
|
Patch13: libtirpc-0.1.7-svc-rtaddr.patch
|
2006-08-11 15:08:09 +00:00
|
|
|
|
|
|
|
Patch100: libtirpc-0.1.7-compile.patch
|
2006-08-09 19:09:18 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package includes header files and libraries necessary for
|
|
|
|
developing programs which use the tirpc library.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch1 -p1
|
2006-08-11 16:57:18 +00:00
|
|
|
%patch2 -p1
|
2006-08-14 16:02:26 +00:00
|
|
|
%patch3 -p1
|
2006-08-16 14:02:35 +00:00
|
|
|
%patch4 -p1
|
2006-08-28 12:25:53 +00:00
|
|
|
%patch5 -p1
|
2007-05-02 14:45:58 +00:00
|
|
|
%patch6 -p1
|
|
|
|
%patch7 -p1
|
2007-07-09 17:03:17 +00:00
|
|
|
%patch8 -p1
|
2007-07-30 11:24:01 +00:00
|
|
|
%patch9 -p1
|
|
|
|
%patch10 -p1
|
|
|
|
%patch11 -p1
|
|
|
|
%patch12 -p1
|
2007-07-30 11:56:40 +00:00
|
|
|
%patch13 -p1
|
2006-08-09 19:09:18 +00:00
|
|
|
|
2006-08-11 15:08:09 +00:00
|
|
|
%patch100 -p1
|
|
|
|
|
2006-08-09 19:09:18 +00:00
|
|
|
%build
|
|
|
|
autoreconf -fisv
|
2006-08-16 00:07:14 +00:00
|
|
|
%configure --enable-gss
|
2006-08-09 19:09:18 +00:00
|
|
|
make all
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
mkdir -p %{buildroot}/etc
|
2006-08-15 11:37:48 +00:00
|
|
|
make install DESTDIR=%{buildroot}
|
2006-08-15 22:02:58 +00:00
|
|
|
# Don't package .a or .la files
|
2006-08-16 00:07:14 +00:00
|
|
|
rm -f %{buildroot}%{_libdir}/*.{a,la}
|
2006-08-09 19:09:18 +00:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS ChangeLog NEWS README
|
|
|
|
%{_libdir}/libtirpc.so.*
|
2006-08-16 00:07:14 +00:00
|
|
|
%config(noreplace)%{_sysconfdir}/netconfig
|
2006-08-09 19:09:18 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(0644,root,root,755)
|
2007-03-26 17:15:09 +00:00
|
|
|
%dir %{_includedir}/tirpc
|
|
|
|
%dir %{_includedir}/tirpc/misc
|
|
|
|
%dir %{_includedir}/tirpc/rpc
|
|
|
|
%dir %{_includedir}/tirpc/rpcsvc
|
2006-08-09 19:09:18 +00:00
|
|
|
%{_libdir}/libtirpc.so
|
|
|
|
%{_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
|
|
|
|
|
|
|
|
%changelog
|
2007-10-17 18:27:04 +00:00
|
|
|
* Wed Oct 17 2007 Steve Dickson <steved@redhat.com> 0.1.7-12
|
|
|
|
- Switch the libgssapi dependency to libgssglue
|
|
|
|
|
2007-10-15 14:35:57 +00:00
|
|
|
* Mon Oct 15 2007 Steve Dickson <steved@redhat.com> 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)
|
|
|
|
|
2007-08-29 05:47:57 +00:00
|
|
|
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.1.7-10
|
|
|
|
- Rebuild for selinux ppc32 issue.
|
|
|
|
|
2007-07-30 16:05:17 +00:00
|
|
|
* Mon Jul 30 2007 <steved@redhat.com> 0.1.7-9
|
2007-07-30 11:24:01 +00:00
|
|
|
- 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
|
2007-07-30 11:56:40 +00:00
|
|
|
- Make sure remote address (xp_rtaddr) is populated
|
|
|
|
with the correct type of address.
|
2007-07-30 12:01:02 +00:00
|
|
|
- Change the order of network ids in /etc/netconfg
|
|
|
|
putting ipv4 ids before ipv6.
|
2007-07-30 16:05:17 +00:00
|
|
|
- Bumped up Release from 8 to 9.
|
2007-07-30 11:24:01 +00:00
|
|
|
|
2007-07-09 17:03:17 +00:00
|
|
|
* Mon Jul 9 2007 <steved@redhat.com> 0.1.7-7
|
|
|
|
- Fixed infinite loop in svc_run() (bz 246677)
|
|
|
|
|
2007-05-02 14:45:58 +00:00
|
|
|
* Thu Apr 26 2007 <steved@redhat.com> 0.1.7-6
|
|
|
|
- Fixed potential buffer overflow in xdr_strings
|
|
|
|
- Added a optimization to bindresvport that allows more
|
|
|
|
ports to be tried.
|
|
|
|
|
2007-03-26 17:15:09 +00:00
|
|
|
* Mon Mar 26 2007 Steve Dickson <steved@redhat.com> 0.1.7-5
|
|
|
|
- Fixed Unowned Directory RPM problem (bz 233873)
|
|
|
|
|
2006-08-28 12:25:53 +00:00
|
|
|
* Mon Aug 28 2006 Steve Dickson <steved@redhat.com> 0.1.7-4
|
|
|
|
- Fixed undefined symbol (bz 204296)
|
|
|
|
|
2006-08-14 16:02:26 +00:00
|
|
|
* Mon Aug 14 2006 Steve Dickson <steved@redhat.com> 0.1.7-3
|
|
|
|
- Added in svc_auth_none needed by the GSSAPI code.
|
2006-08-16 14:02:35 +00:00
|
|
|
- Added compile define for ppc64 archs
|
2006-08-14 16:02:26 +00:00
|
|
|
|
2006-08-11 16:57:18 +00:00
|
|
|
* Fri Aug 11 2006 Steve Dickson <steved@redhat.com> 0.1.7-2
|
2006-08-11 15:08:09 +00:00
|
|
|
- Uncommented tcp6 and udp6 in the default /etc/netconfig file.
|
2006-08-11 16:57:18 +00:00
|
|
|
- Added hooks to used the libgssapi library.
|
2006-08-11 15:08:09 +00:00
|
|
|
|
2006-08-09 19:09:18 +00:00
|
|
|
* Fri Aug 4 2006 Steve Dickson <steved@redhat.com> 0.1.7-1
|
|
|
|
- Initial commit
|