From owner-freebsd-ports Thu Jul 18 13:44:41 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA16231 for ports-outgoing; Thu, 18 Jul 1996 13:44:41 -0700 (PDT) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA16221; Thu, 18 Jul 1996 13:44:36 -0700 (PDT) Received: (from uucp@localhost) by frmug.org (8.6.8/8.6.9) with UUCP id WAA02435; Thu, 18 Jul 1996 22:44:34 +0200 Received: from localhost (localhost [127.0.0.1]) by xp11.frmug.org (8.7.5/8.7.3/xp11-uucp-1.1) with ESMTP id WAA02100; Thu, 18 Jul 1996 22:08:24 +0200 (MET DST) Message-Id: <199607182008.WAA02100@xp11.frmug.org> To: ports@FreeBSD.ORG cc: pst@FreeBSD.ORG Subject: new patch for inn-1.4u4 Date: Thu, 18 Jul 1996 22:08:23 +0200 From: "Philippe Charnier" Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, This could be called patch-ai, and is useful for uucp hosts. Also note that with the old port (inn1.4sec), I had problems with my active file which is 4096 bytes long and filled up with ascii 0. I wonder if this is due to a problem using MMAP instead of READ in files/config.data (see ACT_STYLE). I didn't check yet with the new port (just installed, waiting for cron) if the problem is still here. Also note that theses comments should also apply to inn1.4sec. --- samples/sendbatch~ Thu Jul 18 21:37:15 1996 +++ samples/sendbatch Thu Jul 18 21:38:46 1996 @@ -7,7 +7,7 @@ . /usr/local/news/lib/innshellvars ## Place to run a df, and amount of space needed. -UUSPOOL=/usr/spool/uucp +UUSPOOL=/var/spool/uucp SPOOLFREE=20000 ## Program names and flags. Most can be set on the command-line. C7= @@ -159,9 +159,9 @@ ## Check the host's queue size? QUEUE=0 if [ -n "${BYTESQUEUED}" ] ; then - if [ -d /usr/spool/uucp/${SITE} ] ; then + if [ -d ${UUSPOOL}/${SITE} ] ; then # Get queue size from directory size - QUEUE=`du -s "/usr/spool/uucp/${SITE}" \ + QUEUE=`du -s "${UUSPOOL}/${SITE}" \ | ${AWK} '{ printf("%s000\n", $1); }'` else ------ ------ Philippe Charnier charnier@lirmm.fr (smtp) charnier@xp11.frmug.org (uucp) ``a PC not running FreeBSD is like a venusian with no tentacles'' ------------------------------------------------------------------------