On Sat, Dec 03, 2011 at 12:16:19PM -0600, DJ Lucas wrote:
> I don't particularly care about NIS myself, but libtirpc is still broken
> without your NIS patch, even after re-exporting the glibc
> symbols...specifically _des_crypt_call is still undefined.
>
Does the attached patch help in this case ? It's the patch Bruce
thinks is identical to his ;) The reformatting in rpc_soc.c is
obviously bogus (comes from fixing up the rejects by hand and
apparently being over-keen to remove the added leading spaces), but
it removes auth_des.c authdes_prot.c des_crypt.c from
libtirpc_la_sources. Also, a bogus whitespace change. For nfs, it
turned out not to be relevant, but it's what at least PLD and debian
are using.
ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce
A combination of -remove-nis-2.patch and debian's -remove-des-crypt.diff
diff -Naur libtirpc-0.2.2.orig/src/Makefile.am libtirpc-0.2.2/src/Makefile.am
--- libtirpc-0.2.2.orig/src/Makefile.am 2011-05-02 13:10:40.000000000 +0100
+++ libtirpc-0.2.2/src/Makefile.am 2011-11-24 01:41:21.114621824 +0000
@@ -50,7 +50,7 @@
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
## XDR
libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c
xdr_reference.c xdr_stdio.c
diff -Naur libtirpc-0.2.2.orig/src/rpc_soc.c libtirpc-0.2.2/src/rpc_soc.c
--- libtirpc-0.2.2.orig/src/rpc_soc.c 2011-05-02 13:10:40.000000000 +0100
+++ libtirpc-0.2.2/src/rpc_soc.c 2011-11-24 01:39:57.628024997 +0000
@@ -519,6 +519,7 @@
* Create the client des authentication object. Obsoleted by
* authdes_seccreate().
*/
+#ifdef NEVER
AUTH *
authdes_create(servername, window, syncaddr, ckey)
char *servername; /* network name of server */
@@ -546,6 +547,7 @@
dummy = authdes_seccreate(servername, window, NULL, ckey);
return (dummy);
}
+#endif
/*
* Create a client handle for a unix connection. Obsoleted by clnt_vc_create()
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page