1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-17 00:00:40 +00:00
freebsd-ports/news/suck/files/patch-ac
Satoshi Asami a2381d3037 Upgrade, 2.6.1 -> 2.6.2.
Submitted by:	Noritaka Ishizumi <graphite@pepsi1.bekkoame.or.jp>
1996-04-07 08:15:33 +00:00

52 lines
2.2 KiB
Plaintext

--- sample/get.news.innxmit.orig Sat Mar 30 11:43:37 1996
+++ sample/get.news.innxmit Fri Apr 5 23:24:47 1996
@@ -7,13 +7,17 @@
REMOTE_HOST=news.pixi.com
LOCAL_HOST=localhost
-SPOOLDIR=/usr/spool/news # base directory for articles to be rposted
-NEWSDIR=/usr/lib/news # base directory for news binaries
-BINDIR=/home/boby/doNews # base directory for suck rpost and scripts
+if [ -d /var/spool/news ] && [ ! -d /var/news ]; then
+ SPOOLDIR=/var/spool/news # base directory for articles to be rposted
+else
+ SPOOLDIR=/var/news
+fi
+NEWSDIR=/usr/local/news # base directory for news binaries
+BINDIR=/usr/local/bin # base directory for suck rpost and scripts
-TMPDIR=${BINDIR} # location for suck.* files
-DATADIR=${BINDIR} # location of sucknewsrc and killfile
-MSGDIR=${BINDIR}/Msgs # where to put MultiFile articles when getting them
+TMPDIR=/var/tmp # location for suck.* files
+DATADIR=/usr/local/etc # location of sucknewsrc and killfile
+MSGDIR=${TMPDIR}/Msgs # where to put MultiFile articles when getting them
BATCHFILE=${TMPDIR}/batch # Name of batchfile to build for rnews or innxmit
SITE=pixi # name of site
--- sample/get.news.rnews.orig Sat Mar 30 11:44:28 1996
+++ sample/get.news.rnews Fri Apr 5 23:32:48 1996
@@ -8,13 +8,17 @@
REMOTE_HOST=news.pixi.com
LOCAL_HOST=localhost
-SPOOLDIR=/usr/spool/news # base directory for articles to be rposted
+if [ -d /var/spool/news ] && [ ! -d /var/news ]; then
+ SPOOLDIR=/var/spool/news # base directory for articles to be rposted
+else
+ SPOOLDIR=/var/news
+fi
NEWSDIR=/usr/lib/news # base directory for news binaries
-BINDIR=/home/boby/doNews # base directory for suck rpost and scripts
+BINDIR=/usr/local/bin # base directory for suck rpost and scripts
-TMPDIR=${BINDIR} # location for suck.* files
-DATADIR=${BINDIR} # location of sucknewsrc and killfile
-MSGDIR=${BINDIR}/Msgs # where to put MultiFile articles when getting them
+TMPDIR=/var/tmp # location for suck.* files
+DATADIR=/usr/local/etc # location of sucknewsrc and killfile
+MSGDIR=${TMPDIR}/Msgs # where to put MultiFile articles when getting them
BATCHFILE=${TMPDIR}/batch # Name of batchfile to build for rnews or innxmit
OUTGOING=${SPOOLDIR}/out.going/pixi # location of the list of articles to upload