1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

DS fork of fidogate. It can be used as:

* Fido-Internet Gateway
* Fido FTN-FTN Gateway
* Fido Mail Processor
* Fido File Processor
* Fido Areafix/Filefix

PR:		ports/68878
Submitted by:	Andrey Slusar <vasallia@ukr.net>
Approved by:	krion (mentor)
This commit is contained in:
Sergey Matveychuk 2004-07-12 18:53:44 +00:00
parent 2dc759cb34
commit dabb4455e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113483
6 changed files with 263 additions and 0 deletions

View File

@ -15,6 +15,7 @@
SUBDIR += diablo
SUBDIR += dnews
SUBDIR += fidogate
SUBDIR += fidogate-ds
SUBDIR += gnus-emacs20
SUBDIR += golded+
SUBDIR += grn

103
news/fidogate-ds/Makefile Normal file
View File

@ -0,0 +1,103 @@
# New ports collection makefile for: fidogateds
# Whom: Andrey Slusar <vasallia@ukr.net>
# Date created: 9 Feb 2004
# $FreeBSD$
#
PORTNAME= fidogate
PORTVERSION= 5.1.1
CATEGORIES= news mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= rusfidogate
PKGNAMESUFFIX= -ds
DISTNAME= fidogate${PORTVERSION}ds
MAINTAINER= vasallia@ukr.net
COMMENT= Fido-Internet Gateway and Tosser
.if !defined(WITHOUT_INN)
BUILD_DEPENDS= ${LOCALBASE}/news/bin/innconfval:${PORTSDIR}/news/inn
.endif
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_PERL5= yes
SPOOLDIR?=/var/spool/fido/gate
BTBASEDIR?=/var/spool/fido/bt
LOCKDIR?=/var/run/fidogate
LOGDIR?=/var/log/fido/gate
VARDIR?=${PREFIX}/var/fidogate
PLIST_SUB+= SPOOLDIR=${SPOOLDIR} \
BTBASEDIR=${BTBASEDIR} \
LOGDIR=${LOGDIR} \
LOCKDIR=${LOCKDIR} \
VARDIR=${VARDIR} \
PREFIX=${PREFIX}
HAS_CONFIGURE= yes
.if defined(WITHOUT_INN)
CONFIGURE_ARGS+= --without-news
.endif
.if !defined(WITH_BSO)
CONFIGURE_ARGS+= --enable-amiga-out
.endif
.if !defined(WITH_DESCDIR)
CONFIGURE_ARGS+= --disable-desc-dir
.endif
.if !defined(WITHOUT_ALIASES)
CONFIGURE_ARGS+= --enable-aliases-local
.endif
.if defined(WITH_DBC)
CONFIGURE_ARGS+= --enable-dbc-history
.endif
.if defined(DNT_NETMAIL)
CONFIGURE_ARGS+= --enable-dnt-netmail
.endif
.if defined(WITHOUT_FMSGID)
CONFIGURE_ARGS+= --disable-fs-msgid
.endif
.if !defined(WITH_AVAIL)
CONFIGURE_ARGS+= --disable-af-avail
.endif
.if defined(WITHOUT_BEST_AKA)
CONFIGURE_ARGS+= --disable-best-aka
.endif
CONFIGURE_ARGS+= --libexec=${PREFIX}/libexec/fidogate \
--sysconfdir=${PREFIX}/etc/fido/gate \
--libdir=${PREFIX}/lib/fidogate \
--with-lockdir=${LOCKDIR} \
--with-logdir=${LOGDIR} \
--with-vardir=${VARDIR} \
--with-spooldir=${SPOOLDIR} \
--with-btbasedir=${BTBASEDIR}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DOCS= doc/README.ru doc/README doc/FAQ.ru ChangeLog Changes.ru \
doc/old/FAQ_fidogate doc/old/FIDOGATE_ftrack doc/old/README.snp \
doc/old/fidogate.txt doc/old/fidogate.texi doc/old/msgid.doc
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${DOCSDIR}
.for a in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${a} ${DOCSDIR}
.endfor
${MKDIR} ${EXAMPLESDIR}
.for a in point inn postfix sendmail
${MKDIR} ${EXAMPLESDIR}/${a}
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/examples/point/areas ${EXAMPLESDIR}/point/areas
${INSTALL_DATA} ${WRKSRC}/doc/examples/point/areas.bbs ${EXAMPLESDIR}/point/areas.bbs
${INSTALL_DATA} ${WRKSRC}/doc/examples/point/fidogate.conf ${EXAMPLESDIR}/point/fidogate.conf
${INSTALL_DATA} ${WRKSRC}/doc/examples/point/newsfeeds ${EXAMPLESDIR}/point/newsfeeds
${INSTALL_DATA} ${WRKSRC}/doc/examples/point/packing ${EXAMPLESDIR}/point/packing
${INSTALL_DATA} ${WRKSRC}/doc/examples/point/routing ${EXAMPLESDIR}/point/routing
${INSTALL_DATA} ${WRKSRC}/doc/news/inn/newsfeeds.fidogate ${EXAMPLESDIR}/inn/newsfeeds.fidogate
${INSTALL_DATA} ${WRKSRC}/doc/mailer/postfix/master.cf ${EXAMPLESDIR}/postfix/master.cf
${INSTALL_DATA} ${WRKSRC}/doc/mailer/postfix/transport ${EXAMPLESDIR}/postfix/transport
${INSTALL_DATA} ${WRKSRC}/doc/mailer/sendmail/mailer/ftn.m4 ${EXAMPLESDIR}/sendmail/ftn.m4
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (fidogate5.1.1ds.tar.bz2) = 19945a10a9bd543a642c300fe1501441
SIZE (fidogate5.1.1ds.tar.bz2) = 700765

View File

@ -0,0 +1,8 @@
DS fork of fidogate. It can be used as:
* Fido-Internet Gateway
* Fido FTN-FTN Gateway
* Fido Mail Processor
* Fido File Processor
* Fido Areafix/Filefix
WWW: http://www.sourceforge.net/projects/rusfidogate/

View File

@ -0,0 +1,36 @@
#!/bin/sh
case $2 in
PRE-INSTALL)
;;
POST-INSTALL)
SPOOLDIR=${SPOOLDIR:=/var/spool/fido/gate}
BTBASEDIR=${BTBASEDIR:=/var/spool/fido/bt}
LOGDIR=${LOGDIR:=/var/log/fido/gate}
LOCKDIR=${LOCKDIR:=/var/run/fidogate}
VARDIR=${VARDIR:=${PREFIX}/var/fidogate}
mkdir -p $LOCKDIR
mkdir -p $LOGDIR
mkdir -p $BTBASEDIR/fbox
mkdir -p $BTBASEDIR/in/bad
mkdir -p $BTBASEDIR/in/tmpunpack
mkdir -p $BTBASEDIR/pin/bad
mkdir -p $BTBASEDIR/pin/tmpunpack
mkdir -p $BTBASEDIR/out
mkdir -p $BTBASEDIR/tick
mkdir -p $SPOOLDIR/outpkt/mail
mkdir -p $SPOOLDIR/outpkt/news
mkdir -p $SPOOLDIR/outrfc/mail
mkdir -p $SPOOLDIR/outrfc/news
mkdir -p $SPOOLDIR/toss/bad
mkdir -p $SPOOLDIR/toss/pack
mkdir -p $SPOOLDIR/toss/route
mkdir -p $SPOOLDIR/toss/toss
mkdir -p $VARDIR/seq
;;
*)
echo >&2 "Unknown argument in $0 $@"
exit 1
;;
esac

113
news/fidogate-ds/pkg-plist Normal file
View File

@ -0,0 +1,113 @@
bin/areasbbssync
bin/areassucksync
bin/ftnaf
bin/ftnafutil
bin/ftnexpire
bin/ftnfattach
bin/ftnhatch
bin/ftnoutpkt
bin/hosts2dns
bin/logcheck
bin/logdaily
bin/logreport
bin/logsendmail
bin/logstat
bin/ngoper
bin/nl-autoupd
bin/nl-del
bin/nl-diff
bin/out-attach
bin/out-freq
bin/out-ls
bin/out-manip
bin/out-rm0
bin/out-rmbsy
bin/outb
bin/outb-kill
bin/pktdebug
bin/pktmore
bin/pkttmpl
bin/recvuu
bin/runchklock
bin/runinc
bin/senduu
bin/senduumail
bin/sumcrc
lib/fidogate/libfidogate.la
lib/fidogate/libfidogate.so
lib/fidogate/libfidogate.so.5
etc/fido/gate/acl.sample
etc/fido/gate/aliases.sample
etc/fido/gate/areafix.help.rus
etc/fido/gate/areafix.help.sample
etc/fido/gate/bounce.acl
etc/fido/gate/bounce.acl_netmail
etc/fido/gate/bounce.addrinto
etc/fido/gate/bounce.down
etc/fido/gate/bounce.insecure
etc/fido/gate/bounce.noto
etc/fido/gate/bounce.restricted
etc/fido/gate/fidogate.conf.sample
etc/fido/gate/fidokill.sample
etc/fido/gate/ftnacl.sample
etc/fido/gate/hosts.sample
etc/fido/gate/packing.sample
etc/fido/gate/passwd.sample
etc/fido/gate/routing.sample
etc/fido/gate/spyes.sample
etc/fido/gate/uplinks.sample
libexec/fidogate/charset.bin
libexec/fidogate/confval
libexec/fidogate/ftn2ftn
libexec/fidogate/ftn2rfc
libexec/fidogate/ftnafmail
libexec/fidogate/ftnafpkt
libexec/fidogate/ftnflo
libexec/fidogate/ftnin
libexec/fidogate/ftninpost
libexec/fidogate/ftninrecomb
libexec/fidogate/ftnmail
libexec/fidogate/ftnpack
libexec/fidogate/ftnroute
libexec/fidogate/ftntick
libexec/fidogate/ftntickpost
libexec/fidogate/ftntoss
libexec/fidogate/report_traffic
libexec/fidogate/rfc2ftn
libexec/fidogate/send-fidogate
var/fidogate/areas.bbs.sample
var/fidogate/fareas.bbs.sample
%%PORTDOCS%%%%DOCSDIR%%/README.ru
%%PORTDOCS%%%%DOCSDIR%%/FAQ.ru
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/Changes.ru
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/FAQ_fidogate
%%PORTDOCS%%%%DOCSDIR%%/FIDOGATE_ftrack
%%PORTDOCS%%%%DOCSDIR%%/README.snp
%%PORTDOCS%%%%DOCSDIR%%/fidogate.txt
%%PORTDOCS%%%%DOCSDIR%%/fidogate.texi
%%PORTDOCS%%%%DOCSDIR%%/msgid.doc
%%PORTDOCS%%%%EXAMPLESDIR%%/point/areas
%%PORTDOCS%%%%EXAMPLESDIR%%/point/areas.bbs
%%PORTDOCS%%%%EXAMPLESDIR%%/point/fidogate.conf
%%PORTDOCS%%%%EXAMPLESDIR%%/point/newsfeeds
%%PORTDOCS%%%%EXAMPLESDIR%%/point/packing
%%PORTDOCS%%%%EXAMPLESDIR%%/point/routing
%%PORTDOCS%%%%EXAMPLESDIR%%/postfix/master.cf
%%PORTDOCS%%%%EXAMPLESDIR%%/postfix/transport
%%PORTDOCS%%%%EXAMPLESDIR%%/sendmail/ftn.m4
%%PORTDOCS%%%%EXAMPLESDIR%%/inn/newsfeeds.fidogate
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/point
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/postfix
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/sendmail
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/inn
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm var/fidogate/seq
@dirrm var/fidogate
@dirrm var
@dirrm etc/fido/gate
@dirrm etc/fido
@dirrm libexec/fidogate
@dirrm lib/fidogate