patch 44 to rn/rrn combo (fixes YP usage problem)

Stan Barber sob at bcm.tmc.edu
Sun Jan 7 22:05:52 AEST 1990


Description:
	This is an official patch for rn 4.3. It fixes a problem with
	Configure figuring out if Yellow Pages is working.

	Comments or other fixes should be sent to rrn at lib.tmc.edu.

Fix:
	cd to your rn source directory and patch away

	NOTE: You must be running patch 2.0 with patches up though #12 to
	insure this will patch correctly. It is known for a fact that patch 2.0
	with patches up to #7 will fail.

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
*** Configure	Wed Dec 20 19:37:13 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 <jthomp at sun.com> 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."


--
Stan           internet: sob at bcm.tmc.edu         Director, Networking 
Olan           uucp: {rutgers,mailrus}!bcm!sob   and Systems Support
Barber         Opinions expressed are only mine. Baylor College of Medicine



More information about the Comp.sources.bugs mailing list