From dima@tejblum.dnttm.rssi.ru  Mon Feb  2 16:32:35 1998
Received: from helios.dnttm.ru (root@dnttm.wave.ras.ru [194.85.104.197])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA16971
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 2 Feb 1998 16:32:32 -0800 (PST)
          (envelope-from dima@tejblum.dnttm.rssi.ru)
Received: (from uucp@localhost)
	by helios.dnttm.ru (8.8.5/8.8.5/IP-3) with UUCP id DAA24725
	for FreeBSD-gnats-submit@freebsd.org; Tue, 3 Feb 1998 03:27:49 +0300
Received: (from dima@localhost)
	by tejblum.dnttm.rssi.ru (8.8.8/8.8.7) id DAA00567;
	Tue, 3 Feb 1998 03:33:42 +0300 (MSK)
	(envelope-from dima)
Message-Id: <199802030033.DAA00567@tejblum.dnttm.rssi.ru>
Date: Tue, 3 Feb 1998 03:33:42 +0300 (MSK)
From: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
Reply-To: dima@tejblum.dnttm.rssi.ru
To: FreeBSD-gnats-submit@freebsd.org
Subject: package of news/leafnode doen't installs properly
X-Send-Pr-Version: 3.2

>Number:         5629
>Category:       ports
>Synopsis:       package of news/leafnode doen't installs properly
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    brian
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb  2 16:40:01 PST 1998
>Closed-Date:    Fri Feb 6 14:04:18 PST 1998
>Last-Modified:  Fri Feb  6 14:09:50 PST 1998
>Originator:     Dmitrij Tejblum
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:


>Description:

Leafnode needs whole bunch of directories under /var/spool/news.
Installing the port will create these directories: 'install' target in
original distribution's Makefile create them. But the package do nothing
to create the directories. 

A bad thing is that leafnode believe that all required directories exists,
and behaves incorrectly without printing any error messages.

>How-To-Repeat:

>Fix:
	
Put following to pkg/INSTALL. This is extracted from Makefile in the
distribution.

#!/bin/sh
if [ x$2 != xPOST-INSTALL ]; then
	exit
fi
SPOOLDIR=/var/spool/news
export SPOOLDIR
mkdir -p $SPOOLDIR
csh -c 'mkdir -p $SPOOLDIR/{message.id,interesting.groups,out.going}'
echo This is actually quite fast, for _small_ servers.
csh -c 'mkdir -p $SPOOLDIR/message.id/{0,1,2,3,4,5,6,7,8,9}{0,1,2,3,4,5,6,7,8,9}{0,1,2,3,4,5,6,7,8,9}'
chown -R news.news $SPOOLDIR
chmod 2750 $SPOOLDIR


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->brian 
Responsible-Changed-By: fenner 
Responsible-Changed-When: Thu Feb 5 21:53:13 PST 1998 
Responsible-Changed-Why:  
brian is port maintainer 
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Fri Feb 6 14:04:18 PST 1998 
State-Changed-Why:  
INSTALL added - thanks. 
>Unformatted:
