mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-17 00:00:40 +00:00
a2381d3037
Submitted by: Noritaka Ishizumi <graphite@pepsi1.bekkoame.or.jp>
52 lines
2.2 KiB
Plaintext
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
|