From candy@kgc.co.jp Thu Jun 17 19:18:51 1999
Return-Path: <candy@kgc.co.jp>
Received: from nsx.kgc.co.jp (nsx.kgc.co.jp [210.226.77.146])
	by hub.freebsd.org (Postfix) with SMTP id BCD7E14E14
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 17 Jun 1999 19:18:45 -0700 (PDT)
	(envelope-from candy@kgc.co.jp)
Received: (qmail 26310 invoked from network); 18 Jun 1999 11:18:44 +0900
Received: from ssm.kgc.co.jp (@210.226.77.148)
  by nsx.kgc.co.jp with SMTP; 18 Jun 1999 11:18:44 +0900
Received: (qmail 74886 invoked from network); 18 Jun 1999 11:18:44 +0900
Received: from xxx.kgc.co.jp (172.31.2.3)
  by ssm.kgc.co.jp with SMTP; 18 Jun 1999 11:18:44 +0900
Received: by xxx.kgc.co.jp (8.9.3/3.3W8:95062916) id LAA74670; Fri, 18 Jun 1999 11:18:43 +0900 (JST)
Message-Id: <199906180218.LAA74670@xxx.kgc.co.jp>
Date: Fri, 18 Jun 1999 11:18:43 +0900 (JST)
From: candy <candy@kgc.co.jp>
Reply-To: candy@kgc.co.jp
To: FreeBSD-gnats-submit@freebsd.org
Subject: weekly/catman will not work
X-Send-Pr-Version: 3.2

>Number:         12268
>Category:       misc
>Synopsis:       weekly/catman will not work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    n_hibma
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 17 19:20:01 PDT 1999
>Closed-Date:    Mon Dec 20 09:42:44 PST 1999
>Last-Modified:  Mon Dec 20 09:44:04 PST 1999
>Originator:     candy
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
-
>Environment:

>Description:

Enabling /etc/periodic/weekly/330.catman feature will fail
because $MANPATH is empty there.

>How-To-Repeat:

Comment out ``exit 0'' line in /etc/periodic/weekly/330.catman
then wait until next weekend :)

>Fix:

Define MANPATH appropriately.


>Release-Note:
>Audit-Trail:

From: Nick Hibma <nick.hibma@jrc.it>
To: freebsd-gnats-submit@freebsd.org, candy@kgc.co.jp
Cc:  
Subject: Re: misc/12268: weekly/catman will not work
Date: Mon, 19 Jul 1999 11:28:02 +0200

 It looks like someone made a minor glitch when cutting the file weekly
 into separate files.
 
 Could you try the following patch?
 
 root@elpc36:weekly $diff -wu 330.catman 330.catman.new 
 --- 330.catman  Mon Jul 19 11:26:42 1999
 +++ 330.catman.new      Mon Jul 19 11:26:46 1999
 @@ -9,5 +9,12 @@
      echo ""
      echo "Reformatting manual pages:"
  
 +    MANPATH=`/usr/bin/manpath -q`
 +    if [ $? = 0 ]; then
 +        if [ "x${MANPATH}" = "x" ]; then
 +            echo "manpath failed to find any manpage directories"
 +        else
      echo /usr/libexec/catman.local "${MANPATH}" | su -fm man
 +        fi
 +    fi
  fi
 
 Same patch, but now uuencoded:
 
 begin 644 330.catman.diff
 M+2TM(#,S,"YC871M86X)36]N($IU;"`Q.2`Q,3HR-CHT,B`Q.3DY"BLK*R`S
 M,S`N8V%T;6%N+FYE=PE-;VX@2G5L(#$Y(#$Q.C(V.C0V(#$Y.3D*0$`@+3DL
 M-2`K.2PQ,B!`0`H@("`@(&5C:&\@(B(*("`@("!E8VAO(")2969O<FUA='1I
 M;F<@;6%N=6%L('!A9V5S.B(*(`HK("`@($U!3E!!5$@]8"]U<W(O8FEN+VUA
 M;G!A=&@@+7%@"BL@("`@:68@6R`D/R`](#`@73L@=&AE;@HK("`@("`@("!I
 M9B!;(")X)'M-04Y0051(?2(@/2`B>"(@73L@=&AE;@HK("`@("`@("`@("`@
 M96-H;R`B;6%N<&%T:"!F86EL960@=&\@9FEN9"!A;GD@;6%N<&%G92!D:7)E
 M8W1O<FEE<R(**R`@("`@("`@96QS90H@("`@(&5C:&\@+W5S<B]L:6)E>&5C
 M+V-A=&UA;BYL;V-A;"`B)'M-04Y0051(?2(@?"!S=2`M9FT@;6%N"BL@("`@
 3("`@(&9I"BL@("`@9FD*(&9I"DY0
 `
 end
 
 Cheers,
 
 Nick
 -- 
 Paranoid:
    perl -e 'use strict;' -e ...
 
 ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy
 
State-Changed-From-To: open->feedback 
State-Changed-By: n_hibma 
State-Changed-When: Mon Jul 19 02:32:01 PDT 1999 
State-Changed-Why:  
sent the submitter a patch, waiting for him to approve of this. 


Responsible-Changed-From-To: freebsd-bugs->n_hibma 
Responsible-Changed-By: n_hibma 
Responsible-Changed-When: Mon Jul 19 02:32:01 PDT 1999 
Responsible-Changed-Why:  
Make sure that I do not forgot to test the patch myself and commit it. 
. 
State-Changed-From-To: feedback->closed 
State-Changed-By: phantom 
State-Changed-When: Mon Dec 20 09:42:44 PST 1999 
State-Changed-Why:  
Problem already fixed in rev. 1.4 
>Unformatted:
