Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 1996 22:08:23 +0200
From:      "Philippe Charnier" <charnier@xp11.frmug.org>
To:        ports@FreeBSD.ORG
Cc:        pst@FreeBSD.ORG
Subject:   new patch for inn-1.4u4
Message-ID:  <199607182008.WAA02100@xp11.frmug.org>

next in thread | raw e-mail | index | archive | help
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'' 
------------------------------------------------------------------------




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