SOURCES: libtirpc-compile.patch (NEW), libtirpc-gssapi.patch (NEW)...
baggins
baggins at pld-linux.org
Tue Apr 24 15:23:24 CEST 2007
Author: baggins Date: Tue Apr 24 13:23:24 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- compile fixes from FC
---- Files affected:
SOURCES:
libtirpc-compile.patch (NONE -> 1.1) (NEW), libtirpc-gssapi.patch (NONE -> 1.1) (NEW), libtirpc-netconfig.patch (NONE -> 1.1) (NEW), libtirpc-ppc64.patch (NONE -> 1.1) (NEW), libtirpc-svcauthdestroy.patch (NONE -> 1.1) (NEW), libtirpc-svcauthnone.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/libtirpc-compile.patch
diff -u /dev/null SOURCES/libtirpc-compile.patch:1.1
--- /dev/null Tue Apr 24 15:23:24 2007
+++ SOURCES/libtirpc-compile.patch Tue Apr 24 15:23:19 2007
@@ -0,0 +1,43 @@
+--- libtirpc-0.1.7/src/Makefile.am.orig 2005-05-18 01:10:50.000000000 -0400
++++ libtirpc-0.1.7/src/Makefile.am 2006-08-09 15:15:31.000000000 -0400
+@@ -11,7 +11,7 @@ INCLUDES = -I../tirpc -DPORTMAP -DINET6
+
+ lib_LTLIBRARIES = libtirpc.la
+
+-libtirpc_la_LDFLAGS = -lnsl -lpthread
++libtirpc_la_LDFLAGS = -lnsl -lpthread -version-info 1:7:0
+
+ libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c clnt_bcast.c \
+ clnt_dg.c clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c \
+--- libtirpc-0.1.7/src/svc_auth_gss.c.orig 2005-05-18 01:10:50.000000000 -0400
++++ libtirpc-0.1.7/src/svc_auth_gss.c 2006-08-09 15:15:31.000000000 -0400
+@@ -382,7 +382,7 @@ _svcauth_gss(struct svc_req *rqst, struc
+ return (AUTH_FAILED);
+ }
+ auth->svc_ah_ops = &svc_auth_gss_ops;
+- SVCAUTH_PRIVATE(auth) = gd;
++ auth->svc_ah_private = (caddr_t) gd;
+ rqst->rq_xprt->xp_auth = auth;
+ }
+ else gd = SVCAUTH_PRIVATE(rqst->rq_xprt->xp_auth);
+--- libtirpc-0.1.7/configure.in.orig 2005-05-18 01:10:50.000000000 -0400
++++ libtirpc-0.1.7/configure.in 2006-08-09 15:15:31.000000000 -0400
+@@ -1,6 +1,6 @@
+
+-AC_INIT(libtirpc, 0.1.5)
+-AM_INIT_AUTOMAKE(libtirpc, 0.1.5)
++AC_INIT(libtirpc, 0.1.7)
++AM_INIT_AUTOMAKE(libtirpc, 0.1.7)
+ AM_MAINTAINER_MODE
+ AC_CONFIG_SRCDIR([src/auth_des.c])
+
+--- libtirpc-0.1.7/Makefile.am.orig 2005-05-18 01:10:50.000000000 -0400
++++ libtirpc-0.1.7/Makefile.am 2006-08-09 15:15:31.000000000 -0400
+@@ -44,5 +44,5 @@ nobase_include_HEADERS = tirpc/un-namesp
+ tirpc/rpc/auth_des.h
+
+ install-exec-local:
+- cp -p ./doc/etc_netconfig /etc/netconfig
+- chmod 0644 /etc/netconfig
++ cp -p ./doc/etc_netconfig $(DESTDIR)/etc/netconfig
++ chmod 0644 $(DESTDIR)/etc/netconfig
================================================================
Index: SOURCES/libtirpc-gssapi.patch
diff -u /dev/null SOURCES/libtirpc-gssapi.patch:1.1
--- /dev/null Tue Apr 24 15:23:24 2007
+++ SOURCES/libtirpc-gssapi.patch Tue Apr 24 15:23:19 2007
@@ -0,0 +1,26 @@
+--- libtirpc-0.1.7/src/Makefile.am.orig 2006-08-11 11:50:28.000000000 -0400
++++ libtirpc-0.1.7/src/Makefile.am 2006-08-11 12:48:29.000000000 -0400
+@@ -29,8 +29,8 @@ libtirpc_la_SOURCES += xdr.c xdr_rec.c x
+ ## Secure-RPC
+ if GSS
+ libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c
+- libtirpc_la_LDFLAGS += -lgssapi
+- libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS
++ libtirpc_la_LDFLAGS += $(GSSAPI_LIBS)
++ libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS)
+ endif
+
+ ## libtirpc_a_SOURCES += key_call.c key_prot_xdr.c getpublickey.c
+--- libtirpc-0.1.7/configure.in.orig 2006-08-11 11:48:36.000000000 -0400
++++ libtirpc-0.1.7/configure.in 2006-08-11 12:07:15.000000000 -0400
+@@ -10,6 +10,10 @@ AC_ARG_ENABLE(gss,[ --enable-gss
+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-gss) ;;
+ esac],[gss=false])
+ AM_CONDITIONAL(GSS, test x$gss = xtrue)
++if test x$gss = xtrue; then
++ PKG_CHECK_MODULES(GSSAPI, libgssapi >= 0.10, [],
++ AC_MSG_ERROR([Unable to locate information required to use libgssapi.]))
++fi
+
+
+ AC_PROG_CC
================================================================
Index: SOURCES/libtirpc-netconfig.patch
diff -u /dev/null SOURCES/libtirpc-netconfig.patch:1.1
--- /dev/null Tue Apr 24 15:23:24 2007
+++ SOURCES/libtirpc-netconfig.patch Tue Apr 24 15:23:19 2007
@@ -0,0 +1,13 @@
+--- libtirpc-0.1.7/doc/etc_netconfig.orig 2005-05-18 01:10:50.000000000 -0400
++++ libtirpc-0.1.7/doc/etc_netconfig 2006-08-11 11:06:06.000000000 -0400
+@@ -10,8 +10,8 @@
+ # The <device> and <nametoaddr_libs> fields are always empty in this
+ # implementation.
+ #
+-#udp6 tpi_clts v inet6 udp - -
+-#tcp6 tpi_cots_ord v inet6 tcp - -
++udp6 tpi_clts v inet6 udp - -
++tcp6 tpi_cots_ord v inet6 tcp - -
+ udp tpi_clts v inet udp - -
+ tcp tpi_cots_ord v inet tcp - -
+ rawip tpi_raw - inet - - -
================================================================
Index: SOURCES/libtirpc-ppc64.patch
diff -u /dev/null SOURCES/libtirpc-ppc64.patch:1.1
--- /dev/null Tue Apr 24 15:23:24 2007
+++ SOURCES/libtirpc-ppc64.patch Tue Apr 24 15:23:19 2007
@@ -0,0 +1,12 @@
+--- libtirpc-0.1.7/src/xdr_float.c.orig 2005-05-18 01:10:50.000000000 -0400
++++ libtirpc-0.1.7/src/xdr_float.c 2006-08-16 08:41:43.000000000 -0400
+@@ -58,7 +58,8 @@
+ #if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \
+ defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \
+ defined(__arm32__) || defined(__ppc__) || defined(__ia64__) || \
+- defined(__arm26__) || defined(__sparc64__) || defined(__amd64__)
++ defined(__arm26__) || defined(__sparc64__) || defined(__amd64__) || \
++ defined(__powerpc__) || defined(__s390__)
+ #include <bits/endian.h>
+ #define IEEEFP
+ #endif
================================================================
Index: SOURCES/libtirpc-svcauthdestroy.patch
diff -u /dev/null SOURCES/libtirpc-svcauthdestroy.patch:1.1
--- /dev/null Tue Apr 24 15:23:24 2007
+++ SOURCES/libtirpc-svcauthdestroy.patch Tue Apr 24 15:23:19 2007
@@ -0,0 +1,12 @@
+--- libtirpc-0.1.7/tirpc/rpc/svc_auth.h.orig 2005-05-18 01:10:51.000000000 -0400
++++ libtirpc-0.1.7/tirpc/rpc/svc_auth.h 2006-08-28 08:13:37.801283000 -0400
+@@ -54,6 +54,9 @@
+ caddr_t svc_ah_private;
+ } SVCAUTH;
+
++#define SVCAUTH_DESTROY(cred) ((*(cred)->svc_ah_ops->svc_ah_destroy)())
++#define svcauth_destroy(cred) ((*(cred)->svc_ah_ops->svc_ah_destroy)())
++
+ /*
+ * Server side authenticator
+ */
================================================================
Index: SOURCES/libtirpc-svcauthnone.patch
diff -u /dev/null SOURCES/libtirpc-svcauthnone.patch:1.1
--- /dev/null Tue Apr 24 15:23:24 2007
+++ SOURCES/libtirpc-svcauthnone.patch Tue Apr 24 15:23:19 2007
@@ -0,0 +1,97 @@
+--- libtirpc-0.1.7/src/svc_auth_none.c.orig 2006-08-14 11:52:49.000000000 -0400
++++ libtirpc-0.1.7/src/svc_auth_none.c 2006-08-14 11:52:53.000000000 -0400
+@@ -0,0 +1,73 @@
++/*
++ svc_auth_none.c
++
++ Copyright (c) 2000 The Regents of the University of Michigan.
++ All rights reserved.
++
++ Copyright (c) 2000 Dug Song <dugsong at UMICH.EDU>.
++ All rights reserved, all wrongs reversed.
++
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. Neither the name of the University nor the names of its
++ contributors may be used to endorse or promote products derived
++ from this software without specific prior written permission.
++
++ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
++ DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
++ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
++ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
++
++ $Id$
++ */
++
++#include <rpc/rpc.h>
++
++static bool_t svcauth_none_destroy();
++static bool_t svcauth_none_wrap();
++
++struct svc_auth_ops svc_auth_none_ops = {
++ svcauth_none_wrap,
++ svcauth_none_wrap,
++ svcauth_none_destroy
++};
++
++SVCAUTH svc_auth_none = {
++ &svc_auth_none_ops,
++ NULL,
++};
++
++static bool_t
++svcauth_none_destroy(SVCAUTH *auth)
++{
++ return (TRUE);
++}
++
++static bool_t
++svcauth_none_wrap(SVCAUTH *auth, XDR *xdrs, xdrproc_t xdr_func,
++ caddr_t xdr_ptr)
++{
++ return ((*xdr_func)(xdrs, xdr_ptr));
++}
++
++enum auth_stat
++_svcauth_none(struct svc_req *rqst, struct rpc_msg *msg)
++{
++ rqst->rq_xprt->xp_auth = &svc_auth_none;
++
++ return (AUTH_OK);
++}
+--- libtirpc-0.1.7/src/Makefile.am.orig 2006-08-11 12:58:28.000000000 -0400
++++ libtirpc-0.1.7/src/Makefile.am 2006-08-14 11:54:20.000000000 -0400
+@@ -28,7 +28,8 @@ libtirpc_la_SOURCES += xdr.c xdr_rec.c x
+
+ ## Secure-RPC
+ if GSS
+- libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c
++ libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c \
++ svc_auth_none.c
+ libtirpc_la_LDFLAGS += $(GSSAPI_LIBS)
+ libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS)
+ endif
+@@ -49,7 +50,7 @@ $(libtirpc_la_OBJECTS) :auth_none.c auth
+ svc_raw.c svc_run.c svc_simple.c svc_vc.c \
+ xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c \
+ auth_gss.c authgss_prot.c svc_auth_gss.c getpeereid.c \
+- auth_time.c auth_des.c authdes_prot.c
++ auth_time.c auth_des.c authdes_prot.c svc_auth_none.c
+
+ else
+ $(libtirpc_la_OBJECTS) :auth_none.c auth_unix.c authunix_prot.c bindresvport.c clnt_bcast.c \
================================================================
More information about the pld-cvs-commit
mailing list