2008-04-05 04:43:51 +02:00
|
|
|
#
|
2008-09-05 21:56:33 +02:00
|
|
|
# spec file for package libtirpc (Version 0.1.9)
|
2008-04-05 04:43:51 +02:00
|
|
|
#
|
2009-03-17 20:15:01 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-04-05 04:43:51 +02:00
|
|
|
#
|
2008-09-05 21:56:33 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2008-04-05 04:43:51 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
BuildRequires: libgssglue-devel pkg-config
|
|
|
|
|
|
|
|
Name: libtirpc
|
|
|
|
License: Other uncritical OpenSource License; Sun Industry Standards Source License 1.0
|
|
|
|
Group: System/Libraries
|
|
|
|
AutoReqProv: on
|
2008-09-05 21:56:33 +02:00
|
|
|
Version: 0.1.9
|
2009-03-17 20:15:01 +01:00
|
|
|
Release: 5
|
2008-04-05 04:43:51 +02:00
|
|
|
Summary: Transport Independent RPC Library
|
|
|
|
Url: http://nfsv4.bullopensource.org/doc/tirpc_rpcbind.php
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2008-10-06 18:14:39 +02:00
|
|
|
# patches from git
|
|
|
|
Patch1: libtirpc-0.1.9-0001-Fix-incorrect-sizeof-in-__rpc_getbroadifs.patch
|
|
|
|
Patch2: libtirpc-0.1.9-0002-Always-make-IPv6-sockets-V6ONLY.patch
|
|
|
|
Patch3: libtirpc-0.1.9-0003-Fix-for-taddr2addr-conversion-bug-of-local-addresses.patch
|
|
|
|
Patch4: libtirpc-0.1.9-0004--Fixed-version-info-in-src-Makefile.am-to-reflect-t.patch
|
|
|
|
Patch5: libtirpc-0.1.9-0005-Fix-xp_raddr-handling-in-svc_fd_create-etc.patch
|
|
|
|
Patch6: libtirpc-0.1.9-0006-Kill-map_ipv4_to_ipv6.patch
|
|
|
|
Patch7: libtirpc-0.1.9-0007-Introduce-__rpc_set_netbuf-helper.patch
|
|
|
|
Patch8: libtirpc-0.1.9-0008-svc_getcaller_netbuf-macro-seems-broken.patch
|
|
|
|
Patch9: libtirpc-0.1.9-0009-Fix-getpeereid.patch
|
|
|
|
Patch10: libtirpc-0.1.9-0010-Fix-__rpc_getconfip.patch
|
|
|
|
#
|
2008-04-05 04:43:51 +02:00
|
|
|
Patch20: libtirpc-0.1.7-use_sysconfdir.patch
|
2008-11-18 17:28:47 +01:00
|
|
|
Patch21: libtirpc-clnt_broadcast_fix.patch
|
|
|
|
Patch22: libtirpc-rpc_broadcast_misformed_replies.patch
|
2008-04-05 04:43:51 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-10-23 01:25:05 +02:00
|
|
|
%define debug_package_requires libtirpc1 = %{version}-%{release}
|
2008-04-05 04:43:51 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Transport Independent RPC library (TI-RPC) is a replacement for the
|
|
|
|
standard SunRPC library in glibc which does not support IPv6 addresses.
|
|
|
|
This implementation allows the support of other transports than UDP and
|
|
|
|
TCP over IPv4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Gilles Quillard <gilles.quillard@bull.net>
|
|
|
|
Antoine Fraticelli <antoine.fraticelli@bull.net>
|
|
|
|
|
|
|
|
%package -n libtirpc1
|
|
|
|
License: Other uncritical OpenSource License; Sun Industry Standards Source License 1.0
|
|
|
|
Summary: Transport Independent RPC Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libtirpc1
|
|
|
|
The Transport Independent RPC library (TI-RPC) is a replacement for the
|
|
|
|
standard SunRPC library in glibc which does not support IPv6 addresses.
|
|
|
|
This implementation allows the support of other transports than UDP and
|
|
|
|
TCP over IPv4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Gilles Quillard <gilles.quillard@bull.net>
|
|
|
|
Antoine Fraticelli <antoine.fraticelli@bull.net>
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
License: Other uncritical OpenSource License; Sun Industry Standards Source License 1.0
|
|
|
|
Summary: Transport Independent RPC Library
|
2008-09-05 21:56:33 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2009-03-17 20:15:01 +01:00
|
|
|
Requires: libtirpc1 = %{version} glibc-devel
|
2008-04-05 04:43:51 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The Transport Independent RPC library (TI-RPC) is a replacement for the
|
|
|
|
standard SunRPC library in glibc which does not support IPv6 addresses.
|
|
|
|
This implementation allows the support of other transports than UDP and
|
|
|
|
TCP over IPv4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Gilles Quillard <gilles.quillard@bull.net>
|
|
|
|
Antoine Fraticelli <antoine.fraticelli@bull.net>
|
|
|
|
|
|
|
|
%prep
|
2009-03-17 20:15:01 +01:00
|
|
|
%setup -q
|
2008-10-06 18:14:39 +02:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
|
|
|
%patch6 -p1
|
|
|
|
%patch7 -p1
|
|
|
|
%patch8 -p1
|
|
|
|
%patch9 -p1
|
|
|
|
%patch10 -p1
|
2008-04-05 04:43:51 +02:00
|
|
|
%patch20 -p1
|
2008-11-18 17:28:47 +01:00
|
|
|
%patch21 -p1
|
|
|
|
%patch22 -p1
|
2008-04-05 04:43:51 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -fi
|
2009-03-17 20:15:01 +01:00
|
|
|
%configure --disable-static --with-pic --libdir=/%{_lib} --enable-gss
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2008-04-05 04:43:51 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_lib}/libtirpc.la
|
|
|
|
# move devel so link to %{_libdir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
2009-03-17 20:15:01 +01:00
|
|
|
%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so
|
|
|
|
%{__rm} -v %{buildroot}/%{_lib}/%{name}.so
|
2008-04-05 04:43:51 +02:00
|
|
|
mv $RPM_BUILD_ROOT/%{_lib}/pkgconfig $RPM_BUILD_ROOT/%{_libdir}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2009-03-17 20:15:01 +01:00
|
|
|
%post -n libtirpc1 -p /sbin/ldconfig
|
2008-04-05 04:43:51 +02:00
|
|
|
|
2009-03-17 20:15:01 +01:00
|
|
|
%postun -n libtirpc1 -p /sbin/ldconfig
|
2008-04-05 04:43:51 +02:00
|
|
|
|
|
|
|
%files -n libtirpc1
|
|
|
|
%defattr(-,root,root)
|
2008-09-05 21:56:33 +02:00
|
|
|
%config %{_sysconfdir}/netconfig
|
2008-04-05 04:43:51 +02:00
|
|
|
/%{_lib}/libtirpc.so.1*
|
|
|
|
%{_mandir}/man5/netconfig.5.gz
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libtirpc.so
|
|
|
|
%dir /usr/include/tirpc/
|
|
|
|
/usr/include/tirpc/*
|
|
|
|
/usr/%{_lib}/pkgconfig/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2009-03-17 20:15:01 +01:00
|
|
|
* Fri Mar 13 2009 crrodriguez@suse.de
|
|
|
|
- fix -devel package dependencies
|
2008-11-18 17:28:47 +01:00
|
|
|
* Mon Nov 17 2008 mkoenig@suse.de
|
|
|
|
- Fix a bug in clnt broadcast and handle misformed rpcbind replies
|
|
|
|
[bnc#436038]
|
2008-10-23 01:25:05 +02:00
|
|
|
* Wed Oct 22 2008 mrueckert@suse.de
|
|
|
|
- fix debug_packages_requires define
|
2008-10-06 18:14:39 +02:00
|
|
|
* Wed Oct 01 2008 mkoenig@suse.de
|
|
|
|
- add recent patches from git which fix some more bugs
|
|
|
|
* fix __rpc_getconfip
|
|
|
|
* fix getpeereid
|
|
|
|
* svc_getcaller_netbuf macro seems broken
|
|
|
|
* introduce __rpc_set_netbuf helper
|
|
|
|
* kill map_ipv4_to_ipv6
|
|
|
|
* Fix xp_raddr handling in svc_fd_create etc
|
|
|
|
* fix for taddr2addr conversion bug of local addresses [bnc#426883]
|
2008-09-05 21:56:33 +02:00
|
|
|
* Tue Sep 02 2008 mkoenig@suse.de
|
|
|
|
- update to version 0.1.9
|
|
|
|
* several bugfixes
|
|
|
|
- fix rpc_broadcast [bnc#421950]
|
|
|
|
- fix ipv4+ipv6 binding [bnc#421976]
|
|
|
|
- removed patches
|
|
|
|
libtirpc-0.1.7-arm.patch
|
|
|
|
libtirpc-0.1.7-bindresvport-ntohs.patch
|
|
|
|
libtirpc-0.1.7-bindresvport_ports.patch
|
|
|
|
libtirpc-0.1.7-bufoverflow.patch
|
|
|
|
libtirpc-0.1.7-clnt_raw-mutex.patch
|
|
|
|
libtirpc-0.1.7-dgcall-iprecverr.patch
|
|
|
|
libtirpc-0.1.7-gssglue.patch
|
|
|
|
libtirpc-0.1.7-libtirpc-pc.patch
|
|
|
|
libtirpc-0.1.7-man-install.patch
|
|
|
|
libtirpc-0.1.7-netconfig.patch
|
|
|
|
libtirpc-0.1.7-ppc64.patch
|
|
|
|
libtirpc-0.1.7-snprintf.patch
|
|
|
|
libtirpc-0.1.7-svcauthdestroy.patch
|
|
|
|
libtirpc-0.1.7-svc_auth_gss_lvalue_fix.patch
|
|
|
|
libtirpc-0.1.7-svcauthnone.patch
|
|
|
|
libtirpc-0.1.7-svc-rtaddr.patch
|
|
|
|
libtirpc-0.1.7-svc-run.patch
|
|
|
|
libtirpc-0.1.7-version.patch
|
|
|
|
libtirpc-0.1.7-xdr_bufferoverlow.patch
|
2008-08-02 00:26:34 +02:00
|
|
|
* Fri Aug 01 2008 ro@suse.de
|
|
|
|
- fix requires for debuginfo package
|
2008-04-05 04:43:51 +02:00
|
|
|
* Wed Mar 19 2008 mkoenig@suse.de
|
|
|
|
- initial packaging, version 0.1.7 [fate#300607]
|
|
|
|
- apply some fixes/enhancements from Steve Dickson
|
|
|
|
- includes fix for CVE-2007-3999
|
|
|
|
- set shlib soname version initially to 1.0.7,
|
|
|
|
keeping compatibility with RH
|
|
|
|
- fix some compiling issues
|