SHA256
1
0
forked from pool/libtirpc

Accepting request 195608 from home:okir:branches:Base:System

Resubmitting:
- Updated to latest upstream revision, and removed
  libtirpc-revert-des_crypt.patch which is now upstream
- Verified that the bugfix for bnc#702472 is in upstream
- verified that SLE patches are present (bnc#831296)

OBS-URL: https://build.opensuse.org/request/show/195608
OBS-URL: https://build.opensuse.org/package/show/Base:System/libtirpc?expand=0&rev=28
This commit is contained in:
Marcus Meissner 2013-08-26 12:00:59 +00:00 committed by Git OBS Bridge
parent 520d32b2c9
commit f68082db81
5 changed files with 21 additions and 42 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f05eb17c85d62423858b8f74512cfe66a9ae1cedf93f03c2a0a32e04f0a33705
size 464094

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:68374f9ac6ddcf4a4b1a0680c691160e05533563eb43b1c297e9495ad4a5b4c5
size 164622

View File

@ -1,33 +0,0 @@
[Libtirpc-devel] [PATCH] Revert "Include des_crypt in build"
From: Mike Frysinger <vapier@ge...> - 2011-06-12 05:46
The des_crypt code requires the crypt_client code (which wasn't
added), and that code requires a currently undefined function
(namely xdr_desresp). Since I have no idea what that's about,
and this change ends up breaking some systems, just revert it.
Once we have a patch that improves portability without breaking
existing systems, we can revisit this.
This reverts commit 9bdcba10aa67ce3f67810c7aaac944a00dcfcee5.
Signed-off-by: Mike Frysinger <vapier@...>
---
note: please ignore the recent "Include crypt_client in build" patch
src/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 7ee8cbc..6731ff9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -50,7 +50,7 @@ libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c cln
rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \
rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_generic.c \
svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c \
- auth_time.c auth_des.c authdes_prot.c des_crypt.c
+ auth_time.c auth_des.c authdes_prot.c
## XDR
libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Aug 19 08:31:28 UTC 2013 - okir@suse.com
- Updated to latest upstream revision, and removed
libtirpc-revert-des_crypt.patch which is now upstream
- Verified that the bugfix for bnc#702472 is in upstream
- verified that SLE patches are present (bnc#831296)
-------------------------------------------------------------------
Mon Apr 15 14:08:31 UTC 2013 - mmeister@suse.com

View File

@ -16,10 +16,12 @@
#
%define tarversion 0.2.4-rc2
Name: libtirpc
# src/crypt_client.c tirpc/spinlock.h and tirpc/rpcsvc/crypt.x have the BSD
# advertising clause
Version: 0.2.2
Version: 0.2.3
Release: 0
Summary: Transport Independent RPC Library
License: BSD-4-Clause
@ -28,14 +30,13 @@ BuildRequires: libgssglue-devel
BuildRequires: libtool
BuildRequires: pkg-config
Url: http://sourceforge.net/projects/libtirpc/
Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.bz2
Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{tarversion}.tar.bz2
Source1: baselibs.conf
Patch21: libtirpc-clnt_broadcast_fix.patch
Patch22: libtirpc-rpc_broadcast_misformed_replies.patch
Patch31: libtirpc-getpmaphandle.patch
Patch32: libtirpc-pmap-setunset.patch
Patch34: libtirpc-bindresvport_blacklist.patch
Patch35: libtirpc-revert-des_crypt.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libtirpc1 = %{version}-%{release}
@ -70,17 +71,20 @@ This implementation allows the support of other transports than UDP and
TCP over IPv4
%prep
%setup -q
%setup -q -n %name-%tarversion
%patch21 -p1
%patch22 -p1
%patch31 -p1
%patch32 -p1
%patch34 -p1
%patch35 -p1
%build
autoreconf -fiv
%configure --disable-static --with-pic --libdir=/%{_lib} --enable-gss
%configure --disable-static \
--with-pic \
--libdir=/%{_lib} \
--enable-gss \
--with-gssglue
%{__make} %{?_smp_mflags}
%install