mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
Import of diablo, a backbone news transit system 10-20 times faster than INN
This commit is contained in:
parent
931957769b
commit
b862d0487f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6674
67
news/diablo/Makefile
Normal file
67
news/diablo/Makefile
Normal file
@ -0,0 +1,67 @@
|
||||
# New ports collection makefile for: diablo
|
||||
# Version required: 1.09
|
||||
# Date created: June 2nd 1997
|
||||
# Whom: jfitz
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
DISTNAME= diablo-1.09
|
||||
CATEGORIES= news
|
||||
MASTER_SITES= http://www.backplane.com/diablo/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINTER= jfitz@FreeBSD.ORG
|
||||
|
||||
BUILD_DEPENDS= xmake:${PORTSDIR}/devel/xmake
|
||||
|
||||
WRKSRC= ${WRKDIR}/diablo
|
||||
|
||||
NO_PACKAGE= "has to create/verify news user"
|
||||
|
||||
MAN5= diablo-files.5
|
||||
MAN8= diablo.8 dclean.8 dicmd.8 dexpire.8 didump.8 \
|
||||
dilookup.8 doutq.8 dspoolout.8
|
||||
|
||||
do-configure:
|
||||
${CP} ${FILESDIR}/post-install-notes ${WRKSRC}
|
||||
${SETENV} ${MAKE_ENV} /usr/bin/perl -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/post-install-notes
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${PREFIX}/bin/xmake clean all
|
||||
|
||||
pre-install:
|
||||
@ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/createuser
|
||||
${MKDIR} ${PREFIX}/news ${PREFIX}/news/dbin ${PREFIX}/news/spool ${PREFIX}/news/spool/news ${PREFIX}/share/doc/diablo
|
||||
${RM} -f /news
|
||||
/bin/ln -sf ${PREFIX}/news /news
|
||||
/usr/sbin/chown -R news.news ${PREFIX}/news
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${PREFIX}/bin/xmake install
|
||||
.for file in COPYRIGHT INSTALL KNOWN_PROBLEMS README RELEASE_NOTES TODO
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/diablo
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/post-install-notes ${PREFIX}/share/doc/diablo
|
||||
|
||||
post-install:
|
||||
${INSTALL} -c -o news -g news ${WRKSRC}/samples/* ${PREFIX}/news
|
||||
@ echo "Installing ${PREFIX}/etc/rc.d/diablo.sh startup script"
|
||||
@ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/diablo.sh
|
||||
@ echo "#" >> ${PREFIX}/etc/rc.d/diablo.sh
|
||||
@ echo "" >> ${PREFIX}/etc/rc.d/diablo.sh
|
||||
@ echo "# The line to run diablo is specifically commented out" >> ${PREFIX}/etc/rc.d/diablo.sh
|
||||
@ echo "# so that you don't start up diablo with a generic config" >> ${PREFIX}/etc/rc.d/diablo.sh
|
||||
@ echo "# Once you've configured diablo, uncomment the line below" >> ${PREFIX}/etc/rc.d/diablo.sh
|
||||
@ echo "" >> ${PREFIX}/etc/rc.d/diablo.sh
|
||||
@ echo "if [ -x ${PREFIX}/news/rc.news ]" >> ${PREFIX}/etc/rc.d/diablo.sh
|
||||
@ echo "then" >> ${PREFIX}/etc/rc.d/diablo.sh
|
||||
@ echo "# ${PREFIX}/news/rc.news && echo -n ' diablo'" >> ${PREFIX}/etc/rc.d/diablo.sh
|
||||
@ echo " echo -n ' diablo(disabled)'" >> ${PREFIX}/etc/rc.d/diablo.sh
|
||||
@ echo "fi" >> ${PREFIX}/etc/rc.d/diablo.sh
|
||||
/bin/chmod 0750 ${PREFIX}/etc/rc.d/diablo.sh
|
||||
.if !defined(BATCH)
|
||||
@ /usr/bin/more -e ${PREFIX}/share/doc/diablo/post-install-notes
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
news/diablo/distinfo
Normal file
1
news/diablo/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (diablo-1.09.tgz) = 515f9a0438dd64a04b8c65fae3308c3e
|
1
news/diablo/pkg-comment
Normal file
1
news/diablo/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
a news transit system for backbone news feeders.
|
22
news/diablo/pkg-descr
Normal file
22
news/diablo/pkg-descr
Normal file
@ -0,0 +1,22 @@
|
||||
DIABLO is a backbone news transit system, designed to replace INND on
|
||||
backbone machines. DIABLO UNDERSTANDS NEWSFEEDS ONLY, IT DOES NOT UNDERSTAND
|
||||
NEWSREADER CLIENTS!. You cannot run diablo on a machine which needs to
|
||||
accept nntp post commands or newsreading-related nntp commands. You cannot
|
||||
point your NNTPSERVER at a host running Diablo.
|
||||
|
||||
Diablo is strictly a backbone news transit system. It will accept newsfeeds
|
||||
using the ihave or the streaming check/takethis protocols, and it can
|
||||
generate newsfeeds using ihave or streaming check/takethis protocols. Diablo
|
||||
maintains a news spool and dhistory file, but the spool and history file is
|
||||
arranged very differently from INN.
|
||||
|
||||
Diablo is also between 10 and 20 times as fast as INN in regards to incoming
|
||||
feeds, and extremely efficient for outgoing feeds. I have been running
|
||||
Diablo on BEST Internet's backbone news machine for several weeks now, and
|
||||
it has run flawlessly.
|
||||
|
||||
If you have a dedicated newsfeeds machine which does feeds, feeds, and
|
||||
nothing but feeds, Diablo may be for you.
|
||||
|
||||
Diablo was written and is currently being maintained by Matthew Dillon,
|
||||
http://www.backplane.com/, you can mail me at: dillon@backplane.com
|
50
news/diablo/pkg-plist
Normal file
50
news/diablo/pkg-plist
Normal file
@ -0,0 +1,50 @@
|
||||
etc/rc.d/diablo.sh
|
||||
man/man5/diablo-files.5.gz
|
||||
man/man8/diablo.8.gz
|
||||
man/man8/dclean.8.gz
|
||||
man/man8/dicmd.8.gz
|
||||
man/man8/dexpire.8.gz
|
||||
man/man8/didump.8.gz
|
||||
man/man8/dilookup.8.gz
|
||||
man/man8/doutq.8.gz
|
||||
man/man8/dspoolout.8.gz
|
||||
news/dbin/dilookup
|
||||
news/dbin/dicmd
|
||||
news/dbin/didump
|
||||
news/dbin/diconvhist
|
||||
news/dbin/dexpire
|
||||
news/dbin/didate
|
||||
news/dbin/dspoolout
|
||||
news/dbin/diload
|
||||
news/dbin/dnewslink
|
||||
news/dbin/doutq
|
||||
news/dbin/dclean
|
||||
news/dbin/diablo
|
||||
news/dbin/plock
|
||||
news/samples/dexpire.factor
|
||||
news/samples/dexpire.ctl
|
||||
news/samples/dnntpspool.ctl
|
||||
news/samples/dnewsfeeds
|
||||
news/samples/diablo.hosts
|
||||
news/samples/rc.news
|
||||
news/dexpire.ctl
|
||||
news/dexpire.factor
|
||||
news/diablo.hosts
|
||||
news/dnewsfeeds
|
||||
news/dnntpspool.ctl
|
||||
news/rc.news
|
||||
share/doc/diablo/COPYRIGHT
|
||||
share/doc/diablo/INSTALL
|
||||
share/doc/diablo/KNOWN_PROBLEMS
|
||||
share/doc/diablo/README
|
||||
share/doc/diablo/RELEASE_NOTES
|
||||
share/doc/diablo/TODO
|
||||
share/doc/diablo/post-install-notes
|
||||
@unexec /bin/rm -f /news
|
||||
@dirrm share/doc/diablo
|
||||
@dirrm news/dbin
|
||||
@dirrm news/dqueue
|
||||
@dirrm news/spool/news
|
||||
@dirrm news/spool
|
||||
@dirrm news/samples
|
||||
@dirrm news
|
Loading…
Reference in New Issue
Block a user