mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Add ftrack 3.01, a FTN Messages tracker.
PR: 23711 Submitted by: Sergey Samoyloff <gonza@techline.ru>
This commit is contained in:
parent
4be50fd70a
commit
3db916d092
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39448
10 changed files with 143 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
|||
SUBDIR += ezmlm-web
|
||||
SUBDIR += faces
|
||||
SUBDIR += fetchmail
|
||||
SUBDIR += ftrack
|
||||
SUBDIR += gbuffy
|
||||
SUBDIR += gensig
|
||||
SUBDIR += gkrellmmailwatch
|
||||
|
|
46
mail/ftrack/Makefile
Normal file
46
mail/ftrack/Makefile
Normal file
|
@ -0,0 +1,46 @@
|
|||
# New ports collection makefile for: ftrack
|
||||
# Date created: Thu Dec 21 14:20:49 MSK 2000
|
||||
# Whom: Sergey Samoyloff <gonza@techline.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ftrack
|
||||
PORTVERSION= 3.01
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://ufm.kgb.ru/FTrack/ftpdir/3.01/
|
||||
DISTNAME= ftr${PORTVERSION:S/.//g}s
|
||||
|
||||
MAINTAINER= gonza@techline.ru
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libsmapi.a:${PORTSDIR}/mail/smapi
|
||||
|
||||
USE_ZIP= yes
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET= ftrack
|
||||
MAKEFILE= ${WRKSRC}/MakeFiles/FreeBSD/Makefile
|
||||
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
|
||||
|
||||
pre-patch:
|
||||
${PERL} -pi -e "s@-I../../hpp -I../../.. -O3@-Ihpp -I${LOCALBASE}/include ${CFLAGS}@g; \
|
||||
s@../../src/@src/@g; s@g\+\+@${CC}@g; \
|
||||
s@-L../smapi -lsmapibsd@-L${LOCALBASE}/lib -lsmapi@g" ${WRKSRC}/MakeFiles/FreeBSD/Makefile
|
||||
.for DIR in MakeFiles/FreeBSD src hpp doc/eng samples/tpl
|
||||
${PERL} -pi -e 's!\r!!' ${WRKSRC}/${DIR}/*
|
||||
.endfor
|
||||
|
||||
pre-configure:
|
||||
${CP} ${WRKSRC}/MakeFiles/FreeBSD/Makefile ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ftrack ${PREFIX}/sbin
|
||||
${MKDIR} ${PREFIX}/etc/ftrack
|
||||
${INSTALL_DATA} ${WRKSRC}/samples/node.cfg ${PREFIX}/etc/ftrack/ftrack.cfg-dist
|
||||
${MKDIR} ${PREFIX}/share/doc/ftrack
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/eng/* ${PREFIX}/share/doc/ftrack
|
||||
${INSTALL_DATA} ${WRKSRC}/samples/tpl/* ${PREFIX}/etc/ftrack
|
||||
.for FILE in alt2koi.tbl koi2alt.tbl
|
||||
${INSTALL_DATA} ${WRKSRC}/samples/${FILE} ${PREFIX}/etc/ftrack
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
1
mail/ftrack/distinfo
Normal file
1
mail/ftrack/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (ftr301s.zip) = 377ffe4c0bc1c28de114055c61e9f982
|
11
mail/ftrack/files/patch-hpp::constant.hpp
Normal file
11
mail/ftrack/files/patch-hpp::constant.hpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- hpp/constant.hpp.orig Wed Sep 20 14:46:48 2000
|
||||
+++ hpp/constant.hpp Wed Sep 20 14:47:01 2000
|
||||
@@ -30,7 +30,7 @@
|
||||
#define PATHDELIMS "/"
|
||||
#define PATHDELIMC '/'
|
||||
#endif
|
||||
-#define FVersion "3.01"OsType
|
||||
+#define FVersion "3.01"
|
||||
#define RevisionHI 3
|
||||
#define RevisionLO 1
|
||||
#define FTrackProductLo 0xff
|
11
mail/ftrack/files/patch-hpp::ufmtypes.h
Normal file
11
mail/ftrack/files/patch-hpp::ufmtypes.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- hpp/ufmtypes.h.orig Fri Apr 14 19:13:02 2000
|
||||
+++ hpp/ufmtypes.h Sun May 21 17:07:16 2000
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef _UFMTYPES_H_
|
||||
#define _UFMTYPES_H
|
||||
|
||||
-#include "smapi/typedefs.h"
|
||||
+#include <smapi/typedefs.h>
|
||||
|
||||
typedef unsigned int uint;
|
||||
typedef unsigned char uchar;
|
20
mail/ftrack/files/patch-src::outbound.cpp
Normal file
20
mail/ftrack/files/patch-src::outbound.cpp
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- src/outbound.cpp.orig Sun May 21 18:09:12 2000
|
||||
+++ src/outbound.cpp Tue May 23 12:43:00 2000
|
||||
@@ -373,7 +373,7 @@
|
||||
fclose (fh);
|
||||
unlink(TmtName);
|
||||
|
||||
- bfh = open(BsyName,O_CREAT | O_EXCL,0666);
|
||||
+ bfh = open(BsyName,O_CREAT | O_EXCL,0640);
|
||||
if (bfh == -1) {
|
||||
return FALSE;
|
||||
}
|
||||
@@ -858,7 +858,7 @@
|
||||
}
|
||||
fclose (fh);
|
||||
unlink(TmtName);
|
||||
- bfh = open(Buff,O_CREAT | O_EXCL,0666);
|
||||
+ bfh = open(Buff,O_CREAT | O_EXCL,0640);
|
||||
if (bfh == -1) {
|
||||
Log.Level(LOGW) << "Packet " << Name << " is locked." << EOL;
|
||||
return TRUE;
|
19
mail/ftrack/files/patch-src::utils.cpp
Normal file
19
mail/ftrack/files/patch-src::utils.cpp
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- src/utils.cpp.orig Tue May 16 22:33:14 2000
|
||||
+++ src/utils.cpp Tue Jun 27 20:57:09 2000
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <ctype.h>
|
||||
#ifdef __FreeBSD__
|
||||
# include <stdlib.h>
|
||||
+# include <sys/syslimits.h>
|
||||
#else
|
||||
# include <malloc.h>
|
||||
#endif
|
||||
@@ -144,7 +145,7 @@
|
||||
// Open file and create path if need.
|
||||
char *tmt;
|
||||
char Buff[1024];
|
||||
- umask(0);
|
||||
+ umask(022);
|
||||
strcpy(Buff,Name);
|
||||
tmt = strrchr(Buff,PATHDELIMC);
|
||||
if (tmt != NULL) {
|
1
mail/ftrack/pkg-comment
Normal file
1
mail/ftrack/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
FTN Messages tracker
|
20
mail/ftrack/pkg-descr
Normal file
20
mail/ftrack/pkg-descr
Normal 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.
|
||||
|
||||
WWW: http://ufm.kgb.ru/
|
||||
|
||||
-- Sergey Samoyloff
|
||||
gonza@techline.ru
|
13
mail/ftrack/pkg-plist
Normal file
13
mail/ftrack/pkg-plist
Normal file
|
@ -0,0 +1,13 @@
|
|||
etc/ftrack/ftrack.cfg-dist
|
||||
etc/ftrack/audit.tpl
|
||||
etc/ftrack/badfrom.tpl
|
||||
etc/ftrack/badto.tpl
|
||||
etc/ftrack/loop.tpl
|
||||
etc/ftrack/alt2koi.tbl
|
||||
etc/ftrack/koi2alt.tbl
|
||||
sbin/ftrack
|
||||
share/doc/ftrack/ftrack.faq
|
||||
share/doc/ftrack/readme
|
||||
share/doc/ftrack/report.err
|
||||
@dirrm etc/ftrack
|
||||
@dirrm share/doc/ftrack
|
Loading…
Add table
Reference in a new issue