New port: news/rntrack aka FTrack-AS.

This is a mail tracker/router for FidoNet-like networks.
It has support for a popular message bases: MSG, PKT, Squish and JAM.
Perl-scripting support does its work very flexible.

PR:		250525
Submitted by:	Sergey Anokhin <admin@5034.ru>
This commit is contained in:
Eugene Grosbein 2020-10-27 21:34:54 +00:00
parent 90b91dc82a
commit 8992bd9d02
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553500
5 changed files with 129 additions and 0 deletions

View File

@ -57,6 +57,7 @@
SUBDIR += py-pynzb
SUBDIR += py-sabyenc
SUBDIR += py-sabyenc3
SUBDIR += rntrack
SUBDIR += s-news
SUBDIR += sabnzbdplus
SUBDIR += slrn

75
news/rntrack/Makefile Normal file
View File

@ -0,0 +1,75 @@
# $FreeBSD$
PORTNAME= rntrack
PORTVERSION= 2.1.10
CATEGORIES= news mail
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ftrack-as/RNtrack/${PORTVERSION}
DISTNAME= rntrack-2_1_10-src
MAINTAINER= admin@5034.ru
COMMENT= FTN Messages tracker
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:bzip2
WRKSRC= ${WRKDIR}/${DISTNAME}
NO_WRKSUBDIR= yes
USE_REINPLACE= yes
ALL_TARGET= ${PORTNAME}
MAKEFILE= ${WRKSRC}/MakeFiles/FreeBSD/Makefile
MAKE_ENV= CONFIG=${PREFIX}/etc/fido/rntrack/rntrack.cfg
DOCS= FAQ_en FAQ_ru report.err report.err.ru
OPTIONS_DEFINE= LOG_PID SCRIPTS SYSLOG_FORMAT
SCRIPTS_DESC= Enable Perl scripts support
LOG_PID_DESC= Enable pid logging
SYSLOG_FORMAT_DESC= Use syslog-like log style
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSYSLOG_FORMAT}
MAKE_ARGS+= ENABLE_SYSLOG_LOG_FORMAT=1
.endif
.if ${PORT_OPTIONS:MLOG_PID}
MAKE_ARGS+= ENABLE_LOG_PID=1
.endif
.if ${PORT_OPTIONS:MSCRIPTS}
USES+= perl5
MAKE_ARGS+= ENABLE_SCRIPTS=1
.endif
pre-configure:
${CP} ${WRKSRC}/MakeFiles/FreeBSD/Makefile ${WRKSRC}
pre-patch:
${REINPLACE_CMD} -e "s@\.\./\.\./@@g" ${WRKSRC}/MakeFiles/FreeBSD/Makefile
do-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${MKDIR} ${STAGEDIR}${PREFIX}/etc/fido/rntrack
${INSTALL_PROGRAM} ${WRKSRC}/rntrack ${STAGEDIR}${PREFIX}/sbin
${MKDIR} ${STAGEDIR}${PREFIX}/etc/fido/rntrack/tpl
${INSTALL_DATA} ${WRKSRC}/samples/node.cfg ${STAGEDIR}${PREFIX}/etc/fido/rntrack/rntrack.cfg-dist
${INSTALL_DATA} ${WRKSRC}/samples/test.pl ${STAGEDIR}${PREFIX}/etc/fido/rntrack
${INSTALL_DATA} ${WRKSRC}/samples/tpl/* ${STAGEDIR}${PREFIX}/etc/fido/rntrack/tpl
${INSTALL_DATA} ${WRKSRC}/doc/rntrack.1 ${STAGEDIR}${PREFIX}/man/man1
${MKDIR} ${STAGEDIR}${PREFIX}/etc/fido/rntrack/tbl
.for f in alt2koi.tbl koi2alt.tbl
${INSTALL_DATA} ${WRKSRC}/samples/${f} ${STAGEDIR}${PREFIX}/etc/fido/rntrack/tbl
.endfor
.for f in bignode.zip bignode2.zip node1042.zip node1157.zip node.cfg node2.cfg node3.cfg perl-test.cfg point.cfg point2.cfg traflog.tpl
${INSTALL_DATA} ${WRKSRC}/samples/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>

3
news/rntrack/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1603347640
SHA256 (rntrack-2_1_10-src.tar.bz2) = e54ec434534427ef60a85a5d854619c69047b4ee23abe94308de1eef0e1add91
SIZE (rntrack-2_1_10-src.tar.bz2) = 704912

20
news/rntrack/pkg-descr Normal file
View File

@ -0,0 +1,20 @@
FTN Messages tracker
What is this program for?
It is so called netmail "tracker". It's puprose is to process netmail
on netmail hubs, though it can be useful for an ordinary node.
How does it work?
It takes a letter, compares it with a mask and if comparison was successful
it executes corresponding operation with this letter.
Guarantees.
This product is Freeware. It is distributed in accordance to principle
As Is, and I can't provide any guarantee. The only thing I promise is
to correct founded mistakes more or less regulary and to produce new
versions.
-- Alex Soukhotine
ph0enix@users.sourceforge.net
WWW: https://sourceforge.net/projects/ftrack-as/

30
news/rntrack/pkg-plist Normal file
View File

@ -0,0 +1,30 @@
@dir %%DOCSDIR%%
@dir %%EXAMPLESDIR%%
@dir etc/fido/rntrack/tbl
@dir etc/fido/rntrack/tpl
@dir etc/fido/rntrack
etc/fido/rntrack/rntrack.cfg-dist
etc/fido/rntrack/tpl/audit.tpl
etc/fido/rntrack/tpl/badfrom.tpl
etc/fido/rntrack/tpl/badto.tpl
etc/fido/rntrack/tpl/loop.tpl
%%DOCSDIR%%/FAQ_en
%%DOCSDIR%%/FAQ_ru
%%DOCSDIR%%/report.err
%%DOCSDIR%%/report.err.ru
%%EXAMPLESDIR%%/bignode.zip
%%EXAMPLESDIR%%/bignode2.zip
%%EXAMPLESDIR%%/node1042.zip
%%EXAMPLESDIR%%/node1157.zip
%%EXAMPLESDIR%%/node.cfg
%%EXAMPLESDIR%%/node2.cfg
%%EXAMPLESDIR%%/node3.cfg
%%EXAMPLESDIR%%/perl-test.cfg
%%EXAMPLESDIR%%/point.cfg
%%EXAMPLESDIR%%/point2.cfg
%%EXAMPLESDIR%%/traflog.tpl
etc/fido/rntrack/test.pl
etc/fido/rntrack/tbl/alt2koi.tbl
etc/fido/rntrack/tbl/koi2alt.tbl
sbin/rntrack
man/man1/rntrack.1.gz