From owner-FreeBSD-users-jp@jp.freebsd.org  Sat Apr  6 15:57:02 1996
Received: by mail.jp.freebsd.org (8.7.3+2.6Wbeta5/8.7.3) id PAA05790
	Sat, 6 Apr 1996 15:57:02 +0900 (JST)
Received: by mail.jp.freebsd.org (8.7.3+2.6Wbeta5/8.7.3) with ESMTP id PAA05785
	for <FreeBSD-users-jp@jp.freebsd.org>; Sat, 6 Apr 1996 15:56:55 +0900 (JST)
Received: from venus.leo.bekkoame.or.jp (mym0116.bekkoame.or.jp [202.244.225.116]) by cola1.bekkoame.or.jp (8.7.3+2.6W/3.4W2) with ESMTP id PAA17941 for <FreeBSD-users-jp@jp.freebsd.org>; Sat, 6 Apr 1996 15:56:29 +0900 (JST)
Received: (from flathill@localhost) by venus.leo.bekkoame.or.jp (8.6.11/3.4W3) id PAA00799; Sat, 6 Apr 1996 15:57:31 +0900
Message-Id: <199604060657.PAA00799@venus.leo.bekkoame.or.jp>
To: FreeBSD-users-jp@jp.freebsd.org
In-Reply-To: Your message of "Sat, 06 Apr 1996 00:01:17 +0900"
References: <199604051501.AAA00868@venus.leo.bekkoame.or.jp>
X-Mailer: Mew version 1.03 on Emacs 19.28.2, Mule 2.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Date: Sat, 06 Apr 1996 15:57:29 +0900
From: Seiichirou Hiraoka <flathill@leo.bekkoame.or.jp>
Reply-To: FreeBSD-users-jp@jp.freebsd.org
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=19]
X-Sequence: FreeBSD-users-jp 967
Subject: [FreeBSD-users-jp 967] Re: Local News Server on FreeBSD
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

$B$3$s$K$A$O!"J?2,!w#B#E#K#K#O#A#M#E$G$9!#(B

$B@hDx$NFbMF$r>/$7=$@5$7$^$9!#(B

$B;d$,$7$?;v!#(B

$B#1!"(B/etc/inetd.conf$B$N(B
#nntp   stream  tcp     nowait  usenet  /usr/libexec/nntpd      nntpd $B$r!"(B
nntp    stream  tcp     nowait  root    /usr/libexec/nntpd      nntpd
$B$KJQ99$7$^$7$?!#(B
usenet$B$H$$$&%f!<%6$,$$$J$+$C$?$N$G!"E,Ev$K(Broot$B$K$7$^$7$?!#(B
$B$3$l$GNI$$$N$G$7$g$&$+!#(B

$B#2!"(Bsuck-2.6.1.tar.gz$B$r;}$C$FMh$F!"E83+$7$^$7$?!#(B
README$B$K=q$$$F$"$k$h$&$K!"$^$:(Bconfig.h$B$rJT=8$7$^$7$?!#(B
#define HISTORY_FILE "/usr/lib/news/history"$B$r(B
#define HISTORY_FILE "/usr/local/lib/news/history"$B$K$7$^$7$?!#(B

$B#3!"(BMakefile$B$rJT=8$7$F!"(Bgmake$B!"(Bgmake install$B!#(B
$B$3$3$G!"<ALd$G$9$,!"(Bgmake$B$9$k$H!"%(%i!<$,=P$^$9$N$G!"(B
both.c$B$NCf$N!"(Berrno = ENODATA$B$r!"E,Ev$K!"(Berrno = ENOTCONN
$B$K$7$^$7$?!#<B:]$O!"2?$r;XDj$9$l$PNI$$$N$G$7$g$&$+!#(B

$B$3$l$G!"0l1~!"(Bsuck$B$OF0$-$^$9$,!"(BSegmentation fault$B$,=P$^$9!#(B
$B$J$<$G$7$g$&$+!#(B

$B$=$l$G!"(Btesthost localhost$B$H$9$k$H!"$I$&$b!"%m!<%+%k%K%e!<%9%5!<%P(B(Cnews)$B$,(B
$BF0$$$F$J$$$h$&$G$9!#$I$N$h$&$KF0$+$9$N$G$7$g$&$+!#(B

Makefile$B$H!"(Bget.news.rnews$B$NFbMF$rJQ99E@$N$_$7$F!"(B
$B0J2<$K=q$$$F$*$-$^$9!#(B
$B$I$&$>!"59$7$/$*4j$$$7$^$9!#(B

$B0&I2Bg3X9)3XItEE5$EE;R9)3X2J(B
$BJ?2,(B  $B@,0lO/(B(flathill@leo.bekkoame.or.jp)

-----get.news.rnews-----
REMOTE_HOST=news.bekkoame.or.jp
LOCAL_HOST=localhost

SPOOLDIR=/usr/local/newsspool           # base directory for articles to be rpos
ted
NEWSDIR=/usr/local/lib/news             # base directory for news binaries 
BINDIR=/usr/local/bin/suck              # base directory for suck rpost and scri
pts
OUTGOING=${SPOOLDIR}/out.going/bekkoame # location of the list of articles to upload
RNEWS=/usr/local/libexec/news/input/rnews       # location of rnews

-----Makefile-----
INSTALLDIR = /usr/local/bin/suck        # location for the executables
INSTALL_OWNER=news              # user of the installed files
INSTALL_GROUP=news              # group for the installed files
INSTALL_MODE=755                # mode for the installed files

MANDIR=/usr/local/man/man1              # location for the man pages
MAN_OWNER=news                  # owner of the man pages
MAN_GROUP=news                  # group for the man pages
MAN_MODE=644                    # mode for the man pages

-----$B0J>e(B-----
