From 8992bd9d020093032db3b379e1fdb5713833383b Mon Sep 17 00:00:00 2001 From: Eugene Grosbein Date: Tue, 27 Oct 2020 21:34:54 +0000 Subject: 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 --- news/Makefile | 1 + news/rntrack/Makefile | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++ news/rntrack/distinfo | 3 ++ news/rntrack/pkg-descr | 20 ++++++++++++++ news/rntrack/pkg-plist | 30 ++++++++++++++++++++ 5 files changed, 129 insertions(+) create mode 100644 news/rntrack/Makefile create mode 100644 news/rntrack/distinfo create mode 100644 news/rntrack/pkg-descr create mode 100644 news/rntrack/pkg-plist (limited to 'news') diff --git a/news/Makefile b/news/Makefile index f9a8574c5c3b..dae03c9e9794 100644 --- a/news/Makefile +++ b/news/Makefile @@ -57,6 +57,7 @@ SUBDIR += py-pynzb SUBDIR += py-sabyenc SUBDIR += py-sabyenc3 + SUBDIR += rntrack SUBDIR += s-news SUBDIR += sabnzbdplus SUBDIR += slrn diff --git a/news/rntrack/Makefile b/news/rntrack/Makefile new file mode 100644 index 000000000000..9906e4d616a9 --- /dev/null +++ b/news/rntrack/Makefile @@ -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 + +.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 diff --git a/news/rntrack/distinfo b/news/rntrack/distinfo new file mode 100644 index 000000000000..34e4a9cfe3e8 --- /dev/null +++ b/news/rntrack/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1603347640 +SHA256 (rntrack-2_1_10-src.tar.bz2) = e54ec434534427ef60a85a5d854619c69047b4ee23abe94308de1eef0e1add91 +SIZE (rntrack-2_1_10-src.tar.bz2) = 704912 diff --git a/news/rntrack/pkg-descr b/news/rntrack/pkg-descr new file mode 100644 index 000000000000..84ce95d4ce92 --- /dev/null +++ b/news/rntrack/pkg-descr @@ -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/ diff --git a/news/rntrack/pkg-plist b/news/rntrack/pkg-plist new file mode 100644 index 000000000000..840232924c1e --- /dev/null +++ b/news/rntrack/pkg-plist @@ -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 -- cgit v1.2.3