Path: utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!lib!lib.tmc.edu!sob From: sob@lib.tmc.edu (Stan Barber) Newsgroups: news.software.b Subject: RN patch 44 Keywords: RN RRN PATCH NNTP Message-ID: <309@lib.tmc.edu> Date: 18 Dec 89 06:13:20 GMT Sender: usenet@lib.tmc.edu Reply-To: rrn@lib.tmc.edu Organization: The Texas Medical Center, Houston, Tx Lines: 87 [Well, as soon as I get it out the door, a bug shows up. If you are running YP, you must install this. Others are strongly encouraged to do so. --sob] Description: This is an official patch for rn 4.3. Configure does not correctly detect if YP is working, when it really is [at least as much as YP can work :-(]. Comments or other fixes should be sent to rrn@lib.tmc.edu. Fix: cd to your rn source directory and patch away Index: patchlevel Prereq: 43 *** patchlevel Mon Feb 2 17:24:23 1987 --- ../rn/patchlevel Mon Nov 6 00:51:21 1989 *************** *** 1 ! Patch #: 43 --- 1 ----- ! Patch #: 44 Index: Configure Prereq: 4.3.2.14 *** Configure Sun Dec 17 18:55:22 1989 --- ../rn/Configure Mon Dec 18 00:03:20 1989 *************** *** 3,9 # If these # comments don't work, trim them. Don't worry about the other # shell scripts, Configure will trim # comments from them for you. # ! # $Header: Configure,v 4.3.2.14 89/12/17 12:55:39 sob Exp $ # # $Log: Configure,v $ # Revision 4.3.2.14 89/12/17 12:55:39 sob --- 3,9 ----- # If these # comments don't work, trim them. Don't worry about the other # shell scripts, Configure will trim # comments from them for you. # ! # $Header: Configure,v 4.3.2.15 89/12/18 00:02:04 sob Exp $ # # $Log: Configure,v $ # Revision 4.3.2.15 89/12/18 00:02:04 sob *************** *** 6,11 # $Header: Configure,v 4.3.2.14 89/12/17 12:55:39 sob Exp $ # # $Log: Configure,v $ # Revision 4.3.2.14 89/12/17 12:55:39 sob # Minor bug fix to yp detection code. # --- 6,16 ----- # $Header: Configure,v 4.3.2.15 89/12/18 00:02:04 sob Exp $ # # $Log: Configure,v $ + # Revision 4.3.2.15 89/12/18 00:02:04 sob + # Fixed bug reported by Jim Thompson on the + # use of ypmatch against the so-called services.byname YP map. + # Sigh. Will YP EVER work? + # # Revision 4.3.2.14 89/12/17 12:55:39 sob # Minor bug fix to yp detection code. # *************** *** 642,648 $echo "file the old fashioned way!" ;; *) ! $ypmatch login services > /dev/null 2>/dev/null status=$? if $test $status -ne 0 ; then $echo "YP installed, but not operational. We won't use it." --- 647,653 ----- $echo "file the old fashioned way!" ;; *) ! $ypmatch 513/tcp services > /dev/null 2>/dev/null status=$? if $test $status -ne 0 ; then $echo "YP installed, but not operational. We won't use it."