Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 1999 10:58:14 +0400 (MSD)
From:      isupov@moonhe.jinr.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12442: New lpc(8) synopsis require changes in pcnfsd(8)
Message-ID:  <199906290658.KAA27254@moonhe.jinr.ru>

next in thread | raw e-mail | index | archive | help

>Number:         12442
>Category:       ports
>Synopsis:       New lpc(8) synopsis require changes in pcnfsd(8)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 29 08:50:02 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Isupov A.Yu.
>Release:        FreeBSD -current
>Organization:
JINR, LHE
>Environment:

	ports for FreeBSD -current

>Description:

	Because of lpc(8) synopsis was changed in FreeBSD 3.x
	("lpc status" -> "lpc status all"), we need reflect this fact
	in pcnfsd(8).

>How-To-Repeat:


>Fix:
	
	Here is patch-ae for ports/net/pcnfsd/patches :

*** pcnfsd_print.c	Tue Jun 29 10:46:56 1999
--- pcnfsd_print.c	Tue Jun 29 10:49:51 1999
***************
*** 691,697 ****
--- 691,701 ----
  int saw_system;
  
  #if (defined(BSD) && (BSD >= 199103))
+ #if __FreeBSD__ < 3
  	p = popen("/usr/sbin/lpc status", "r");
+ #else
+ 	p = popen("/usr/sbin/lpc status all", "r");
+ #endif	/* __FreeBSD__ */
  #else
  	p = popen("/usr/etc/lpc status", "r");
  #endif

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906290658.KAA27254>