🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #2317

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

#2317
From: Stan Barber
Date: Sun, 07 Jan 1990 11:05
88 lines
3089 bytes
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@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@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@bcm.tmc.edu         Director, Networking 
Olan           uucp: {rutgers,mailrus}!bcm!sob   and Systems Support
Barber         Opinions expressed are only mine. Baylor College of Medicine
Technical Details
Message-ID: <111@gazette.bcm.tmc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bcm!bcm.tmc.edu!sob

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bcm!bcm.tmc.edu!sob
From: sob@bcm.tmc.edu (Stan Barber)
Newsgroups: comp.sources.bugs
Subject: patch 44 to rn/rrn combo (fixes YP usage problem)
Message-ID: <111@gazette.bcm.tmc.edu>
Date: 7 Jan 90 11:05:52 GMT
Sender: usenet@bcm.tmc.edu
Organization: Baylor College of Medicine, Houston, Tx
Lines: 88
Status: O