Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2000 05:19:16 -0800 (PST)
From:      gonza@techline.ru
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/23711: new ports: mail/ftrack (FTN Messages tracker)
Message-ID:  <200012211319.eBLDJGU65445@freefall.freebsd.org>
Resent-Message-ID: <200012211320.eBLDK1m65536@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         23711
>Category:       ports
>Synopsis:       new ports: mail/ftrack (FTN Messages tracker)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 21 05:20:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Samoyloff
>Release:        3.4-RELEASE (i386)
>Organization:
TECHLine Systems
>Environment:
new ports: mail/ftrack (FTN Messages tracker)
>Description:
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.

WWW: http://ufm.kgb.ru/

-- Sergey Samoyloff
gonza@techline.ru
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#   ftrack
#   ftrack/files
#   ftrack/files/patch-aa
#   ftrack/files/patch-ab
#   ftrack/files/patch-ac
#   ftrack/files/patch-ad
#   ftrack/files/patch-ae
#   ftrack/distinfo
#   ftrack/Makefile
#   ftrack/pkg-comment
#   ftrack/pkg-plist
#   ftrack/pkg-descr
#
echo c - ftrack
mkdir -p ftrack > /dev/null 2>&1
echo c - ftrack/files
mkdir -p ftrack/files > /dev/null 2>&1
echo x - ftrack/files/patch-aa
sed 's/^X//' >ftrack/files/patch-aa << 'END-of-ftrack/files/patch-aa'
X--- src/utils.cpp.orig Tue May 16 22:33:14 2000
X+++ src/utils.cpp  Tue Jun 27 20:57:09 2000
X@@ -22,6 +22,7 @@
X #include <ctype.h>
X #ifdef __FreeBSD__
X #   include <stdlib.h>
X+#   include <sys/syslimits.h>
X #else
X #   include <malloc.h>
X #endif
X@@ -144,7 +145,7 @@
X // Open file and create path if need.
X char *tmt;
X char Buff[1024];
X-   umask(0);
X+   umask(022);
X    strcpy(Buff,Name);
X    tmt = strrchr(Buff,PATHDELIMC);
X    if (tmt != NULL) {
END-of-ftrack/files/patch-aa
echo x - ftrack/files/patch-ab
sed 's/^X//' >ftrack/files/patch-ab << 'END-of-ftrack/files/patch-ab'
X--- hpp/ufmtypes.h.orig    Fri Apr 14 19:13:02 2000
X+++ hpp/ufmtypes.h Sun May 21 17:07:16 2000
X@@ -1,7 +1,7 @@
X #ifndef _UFMTYPES_H_
X #define _UFMTYPES_H
X 
X-#include "smapi/typedefs.h"
X+#include <smapi/typedefs.h>
X 
X typedef unsigned int uint;
X typedef unsigned char uchar;
END-of-ftrack/files/patch-ab
echo x - ftrack/files/patch-ac
sed 's/^X//' >ftrack/files/patch-ac << 'END-of-ftrack/files/patch-ac'
X--- MakeFiles/FreeBSD/Makefile.orig    Wed May 10 11:46:58 2000
X+++ MakeFiles/FreeBSD/Makefile Sun May 21 17:14:57 2000
X@@ -1,9 +1,9 @@
X CC=   g++
X CFLAGS=   -Wall -W -fno-rtti
X CDEFS=    -DUNIX
X-COPT= -I../../hpp -I../../.. -O3
X+COPT= -Ihpp -I/usr/local/include -O3
X LFLAGS= -s
X-SRCDIR= ../../src/
X+SRCDIR= src/
X 
X ALL: ftrack
X 
X@@ -45,8 +45,10 @@
X 
X 
X ftrack: $(OBJS)
X-  $(CC) $(LFLAGS) -o ftrack $(OBJS) -L../smapi -lsmapibsd
X+  $(CC) $(LFLAGS) -o ftrack $(OBJS) -L/usr/local/lib -lsmapi
X 
X+install:
X+  echo "done!"
X clean:
X   -rm -f *.o
X   -rm -f *~
END-of-ftrack/files/patch-ac
echo x - ftrack/files/patch-ad
sed 's/^X//' >ftrack/files/patch-ad << 'END-of-ftrack/files/patch-ad'
X--- src/outbound.cpp.orig  Sun May 21 18:09:12 2000
X+++ src/outbound.cpp   Tue May 23 12:43:00 2000
X@@ -373,7 +373,7 @@
X    fclose (fh);
X    unlink(TmtName);
X 
X-   bfh = open(BsyName,O_CREAT | O_EXCL,0666);
X+   bfh = open(BsyName,O_CREAT | O_EXCL,0640);
X    if (bfh == -1) {
X       return FALSE;
X    }
X@@ -858,7 +858,7 @@
X    }
X    fclose (fh);
X    unlink(TmtName);
X-   bfh = open(Buff,O_CREAT | O_EXCL,0666);
X+   bfh = open(Buff,O_CREAT | O_EXCL,0640);
X    if (bfh == -1) {
X       Log.Level(LOGW) << "Packet " << Name << " is locked." << EOL;
X       return TRUE;
END-of-ftrack/files/patch-ad
echo x - ftrack/files/patch-ae
sed 's/^X//' >ftrack/files/patch-ae << 'END-of-ftrack/files/patch-ae'
X--- hpp/constant.hpp.orig  Wed Sep 20 14:46:48 2000
X+++ hpp/constant.hpp   Wed Sep 20 14:47:01 2000
X@@ -30,7 +30,7 @@
X #define PATHDELIMS     "/"
X #define PATHDELIMC     '/'
X #endif
X-#define FVersion       "3.01"OsType
X+#define FVersion       "3.01"
X #define RevisionHI     3
X #define RevisionLO     1
X #define FTrackProductLo 0xff
END-of-ftrack/files/patch-ae
echo x - ftrack/distinfo
sed 's/^X//' >ftrack/distinfo << 'END-of-ftrack/distinfo'
XMD5 (ftr301s.zip) = 377ffe4c0bc1c28de114055c61e9f982
END-of-ftrack/distinfo
echo x - ftrack/Makefile
sed 's/^X//' >ftrack/Makefile << 'END-of-ftrack/Makefile'
X# New ports collection makefile for:    ftrack
X# Date created:         Thu Dec 21 14:20:49 MSK 2000
X# Whom:                 Sergey Samoyloff <gonza@techline.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=  ftrack
XPORTVERSION=   3.01
XDISTNAME=  ftr301s
X
XCATEGORIES=    mail
XMASTER_SITES=  http://ufm.kgb.ru/FTrack/ftpdir/3.01/
X
XUSE_ZIP=   yes
XUSE_GMAKE= yes
XALL_TARGET=    ftrack
X
XBUILD_DEPENDS= ${PREFIX}/lib/libsmapi.a:${PORTSDIR}/mail/smapi
X
XMAKEFILE=  ${WRKSRC}/MakeFiles/FreeBSD/Makefile
X
XEXTRACT_AFTER_ARGS= -d ${WRKSRC}
X
XMAINTAINER=    gonza@techline.ru
X
Xpre-patch:
X.for DIR in MakeFiles/FreeBSD src hpp doc/eng samples/tpl
X   ${PERL} -pi -e 's!\r!!' ${WRKSRC}/${DIR}/*
X.endfor
X
Xpre-configure:
X   ${CP} ${WRKSRC}/MakeFiles/FreeBSD/Makefile ${WRKSRC}
X
Xpre-install:
X   ${INSTALL_PROGRAM} ${WRKSRC}/ftrack ${PREFIX}/sbin
X
X   ${MKDIR} ${PREFIX}/etc/ftrack
X   ${INSTALL_DATA} ${WRKSRC}/samples/node.cfg ${PREFIX}/etc/ftrack/ftrack.cfg-dist
X
X   ${MKDIR} ${PREFIX}/share/doc/ftrack
X   ${INSTALL_DATA} ${WRKSRC}/doc/eng/* ${PREFIX}/share/doc/ftrack
X
X   ${INSTALL_DATA} ${WRKSRC}/samples/tpl/* ${PREFIX}/etc/ftrack
X
X.for FILE in alt2koi.tbl koi2alt.tbl
X   ${INSTALL_DATA} ${WRKSRC}/samples/${FILE} ${PREFIX}/etc/ftrack
X.endfor
X
X.include <bsd.port.mk>
END-of-ftrack/Makefile
echo x - ftrack/pkg-comment
sed 's/^X//' >ftrack/pkg-comment << 'END-of-ftrack/pkg-comment'
XFtrack, FTN Messages tracker
END-of-ftrack/pkg-comment
echo x - ftrack/pkg-plist
sed 's/^X//' >ftrack/pkg-plist << 'END-of-ftrack/pkg-plist'
X@comment $FreBSD$
Xetc/ftrack/ftrack.cfg-dist
Xetc/ftrack/audit.tpl
Xetc/ftrack/badfrom.tpl
Xetc/ftrack/badto.tpl
Xetc/ftrack/loop.tpl
Xetc/ftrack/alt2koi.tbl
Xetc/ftrack/koi2alt.tbl
Xsbin/ftrack
Xshare/doc/ftrack/ftrack.faq
Xshare/doc/ftrack/readme
Xshare/doc/ftrack/report.err
X@dirrm etc/ftrack
X@dirrm share/doc/ftrack
END-of-ftrack/pkg-plist
echo x - ftrack/pkg-descr
sed 's/^X//' >ftrack/pkg-descr << 'END-of-ftrack/pkg-descr'
XFTN Messages tracker
X
XWhat is this program for,
XIt is so called netmail "tracker". It's puprose is to process netmail on
Xnetmail hubs, though it can be useful for an ordinary node.
X
XHow does it work, 
XIt takes a letter, compares it with a mask and, if comparison was
Xsuccessful, it executes corresponding operation with this letter.
X
XGuarantees,
XThis product is Freeware. It is distributed in accordance to principle
XAs Is, and I can't provide any guarantee. The only thing I promise is
Xto correct founded mistakes more or less regulary and to produce new
Xversions.
X
XWWW: http://ufm.kgb.ru/
X
X-- Sergey Samoyloff
Xgonza@techline.ru
END-of-ftrack/pkg-descr
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012211319.eBLDJGU65445>