From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/libtirpc/patches/patch-src_rpc_soc_c | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 package/libtirpc/patches/patch-src_rpc_soc_c (limited to 'package/libtirpc/patches/patch-src_rpc_soc_c') diff --git a/package/libtirpc/patches/patch-src_rpc_soc_c b/package/libtirpc/patches/patch-src_rpc_soc_c new file mode 100644 index 000000000..6422d507c --- /dev/null +++ b/package/libtirpc/patches/patch-src_rpc_soc_c @@ -0,0 +1,41 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- libtirpc-0.1.9.orig/src/rpc_soc.c 2008-07-09 20:13:20.000000000 +0200 ++++ libtirpc-0.1.9/src/rpc_soc.c 2008-10-28 16:20:59.000000000 +0100 +@@ -480,37 +480,6 @@ clnt_broadcast(prog, vers, proc, xargs, + (resultproc_t) rpc_wrap_bcast, "udp"); + } + +-/* +- * Create the client des authentication object. Obsoleted by +- * authdes_seccreate(). +- */ +-AUTH * +-authdes_create(servername, window, syncaddr, ckey) +- char *servername; /* network name of server */ +- u_int window; /* time to live */ +- struct sockaddr *syncaddr; /* optional hostaddr to sync with */ +- des_block *ckey; /* optional conversation key to use */ +-{ +- AUTH *dummy; +- AUTH *nauth; +- char hostname[NI_MAXHOST]; +- +- if (syncaddr) { +- /* +- * Change addr to hostname, because that is the way +- * new interface takes it. +- */ +- if (getnameinfo(syncaddr, sizeof(syncaddr), hostname, +- sizeof hostname, NULL, 0, 0) != 0) +- goto fallback; +- +- nauth = authdes_seccreate(servername, window, hostname, ckey); +- return (nauth); +- } +-fallback: +- dummy = authdes_seccreate(servername, window, NULL, ckey); +- return (dummy); +-} + + /* + * Create a client handle for a unix connection. Obsoleted by clnt_vc_create() -- cgit v1.2.3