aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-01-21 20:08:12 +0800
committerfjoe <fjoe@FreeBSD.org>2003-01-21 20:08:12 +0800
commitb67e817dcea512ab722007769a0ae5b8b5ecb7e0 (patch)
treeb9b1690f5dd0490c4ee814ced292a7ff40784eff /news
parent50790677bc508162272da6e00422aa135b081324 (diff)
downloadfreebsd-ports-graphics-b67e817dcea512ab722007769a0ae5b8b5ecb7e0.tar.gz
freebsd-ports-graphics-b67e817dcea512ab722007769a0ae5b8b5ecb7e0.tar.zst
freebsd-ports-graphics-b67e817dcea512ab722007769a0ae5b8b5ecb7e0.zip
New port: Crashmail II (FTN mail tosser)
Submitted by: MAINTAINER
Diffstat (limited to 'news')
-rw-r--r--news/Makefile1
-rw-r--r--news/crashmail/Makefile43
-rw-r--r--news/crashmail/distinfo1
-rw-r--r--news/crashmail/files/patch-aa122
-rw-r--r--news/crashmail/files/patch-ab33
-rw-r--r--news/crashmail/files/patch-ac16
-rw-r--r--news/crashmail/files/patch-ad12
-rw-r--r--news/crashmail/files/patch-ae21
-rw-r--r--news/crashmail/pkg-comment1
-rw-r--r--news/crashmail/pkg-descr8
-rw-r--r--news/crashmail/pkg-plist10
11 files changed, 268 insertions, 0 deletions
diff --git a/news/Makefile b/news/Makefile
index 3661e5e1dca..cf99948e854 100644
--- a/news/Makefile
+++ b/news/Makefile
@@ -9,6 +9,7 @@
SUBDIR += cleanfeed
SUBDIR += cleanscore
SUBDIR += cnews
+ SUBDIR += crashmail
SUBDIR += diablo
SUBDIR += dnews
SUBDIR += fidogate
diff --git a/news/crashmail/Makefile b/news/crashmail/Makefile
new file mode 100644
index 00000000000..0f06702ef96
--- /dev/null
+++ b/news/crashmail/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: crashmail
+# Date created: 21 January 2003
+# Whom: Max Khon <fjoe@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= crashmail
+PORTVERSION= 0.62
+CATEGORIES= news mail
+MASTER_SITES= http://www.df.lth.se/~billing/crashmail/
+DISTNAME= cm062linux
+
+MAINTAINER= vk@vk.pp.ru
+
+WRKSRC= ${WRKDIR}/CrashMail
+BUILD_WRKSRC= ${WRKSRC}/src
+INSTALL_WRKSRC= ${WRKSRC}/src
+ALL_TARGET= linux
+
+USE_ZIP= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} \
+ -e 's^"crashmail.prefs"^"${PREFIX}/etc/crashmail/crashmail.prefs"^' \
+ ${WRKSRC}/src/oslib_linux/os_linux.h
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/crashexport ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/crashgetnode ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/crashlist ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/crashmail ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/crashmaint ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/crashstats ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/crashwrite ${PREFIX}/bin
+ @${MKDIR} ${PREFIX}/etc/crashmail
+ ${INSTALL_DATA} ${WRKSRC}/doc/example.prefs ${PREFIX}/etc/crashmail
+ ${INSTALL_DATA} ${WRKSRC}/doc/AreafixHelp.txt \
+ ${PREFIX}/etc/crashmail/areafix.help
+
+.include <bsd.port.mk>
diff --git a/news/crashmail/distinfo b/news/crashmail/distinfo
new file mode 100644
index 00000000000..5f81e8adb2f
--- /dev/null
+++ b/news/crashmail/distinfo
@@ -0,0 +1 @@
+MD5 (cm062linux.zip) = 1626183c0d2ced4a9b01742458405036
diff --git a/news/crashmail/files/patch-aa b/news/crashmail/files/patch-aa
new file mode 100644
index 00000000000..4213ce29d54
--- /dev/null
+++ b/news/crashmail/files/patch-aa
@@ -0,0 +1,122 @@
+diff -ur doc/example.prefs doc/example.prefs
+--- doc/example.prefs Wed May 16 01:39:05 2001
++++ doc/example.prefs Sun Jun 24 19:49:17 2001
+@@ -32,7 +32,7 @@
+ ; In the Linux version of CrashMail, it is possible to enter "syslog" as the
+ ; filename. If you do this, everything will be logged to the syslog instead.
+
+-LOGFILE "c:\\fido\\logs\\crashmail.log"
++LOGFILE "/var/log/fido/crashmail.log"
+ LOGLEVEL 5
+
+ ; DUPEFILE <filename> <maxsize>
+@@ -49,7 +49,7 @@
+ ; KILL Dupes are killed
+ ; IGNORE No dupechecking
+
+-DUPEFILE "c:\\fido\\logs\\crashmail.dupes" 200
++DUPEFILE "/var/log/fido/crashmail.dupes" 200
+ DUPEMODE BAD
+
+ ; LOOPMODE IGNORE/LOG/LOG+BAD
+@@ -97,41 +97,41 @@
+ ; The inbound directory is the directory where CrashMail looks for .pkt files
+ ; and bundles to toss.
+
+-INBOUND "c:\\fido\\inbound"
++INBOUND "/var/spool/fido/inbound"
+
+ ; OUTBOUND <directory>
+ ;
+ ; The outbound directory is where CrashMail writes the flow files that tells
+ ; the mailer what files to send.
+
+-OUTBOUND "c:\\fido\\outbound"
++OUTBOUND "/var/spool/fido/outbound"
+
+ ; TEMPDIR <directory>
+ ;
+ ; This is the directory where CrashMail unpacks incoming bundles.
+ ;
+
+-TEMPDIR "c:\\fido\\temp"
++TEMPDIR "/var/spool/fido/temp"
+
+ ; CREATEPKTDIR <directory>
+ ;
+ ; This is the directory where CrashMail stores created .pkt files until they
+ ; are stored in the packet directory.
+
+-CREATEPKTDIR "c:\\fido\\temp"
++CREATEPKTDIR "/var/spool/fido/temp"
+
+ ; PACKETDIR <directory>
+ ;
+ ; This is the directory where CrashMail stores generated bundles.
+
+-PACKETDIR "c:\\fido\\packets"
++PACKETDIR "/var/spool/fido/packets"
+
+ ; STATSFILE <filename>
+ ;
+ ; This is the file where CrashMail stores statistics about areas and nodes.
+ ; You can display the contents of this file with CrashStats.
+
+-STATSFILE "c:\\fido\\crashmail.stats"
++STATSFILE "/var/log/fido/crashmail.stats"
+
+ ; Switches
+ ; ========
+@@ -357,8 +357,8 @@
+ ; the bundle matches the recog string, CrashMail uses that packer. ? can be
+ ; used as a wildcard and you can use $xx to specify a hexadecimal number.
+
+-PACKER "LHA" "c:\\fido\\bin\\lha a %a %f" "c:\\fido\\bin\\lha x %a" "??-lh?-"
+-PACKER "ZIP" "c:\\fido\\bin\\pkzip %a %f" "c:\\fido\\bin\\pkunzip %a" "PK"
++PACKER "LHA" "/usr/local/bin/lha a %a %f" "/usr/local/bin/lha x %a" "??-lh?-"
++PACKER "ZIP" "/usr/local/bin/zip -9j %a %f" "/usr/local/bin/unzip -jCL %a" "PK"
+
+ ; AKA
+ ; ===
+@@ -527,7 +527,7 @@
+ ;
+ ; The file that is sent when a downlink issues a %HELP command.
+
+-AREAFIXHELP "c:\\fido\\AreafixHelp.txt"
++AREAFIXHELP "/usr/local/etc/crashmail/areafix.help"
+
+ ; AREAFIXMAXLINES <max>
+ ;
+@@ -554,7 +554,7 @@
+ ; available for forward-requests. GROUP specifies the group needed to be
+ ; allowed to forward-requests areas in this list.
+
+-AREALIST 2:200/100.0 "c:\\fido\\lists\\R20Desc.lst" GROUP A FORWARD DESC
++AREALIST 2:200/100.0 "/usr/local/etc/crashmail/R20Desc.lst" GROUP A FORWARD DESC
+
+ ; Routing
+ ; =======
+@@ -692,18 +692,18 @@
+ ;
+ ; You must use one of these %-codes or the new path will not be unique.
+
+-NETMAIL "NETMAIL" 2:200/108.7 JAM "c:\\fido\\areas\\NETMAIL"
++NETMAIL "NETMAIL" 2:200/108.7 JAM "/var/spool/fido/msgbase/netmail"
+
+-AREA "BAD" 2:200/108.7 JAM "c:\\fido\\areas\\BAD"
++AREA "BAD" 2:200/108.7 JAM "/var/spool/fido/msgbase/badmail"
+
+-AREA "DEFAULT_A" 2:200/108.7 JAM "c:\\fido\\areas\\%8"
++AREA "DEFAULT_A" 2:200/108.7 JAM "/var/spool/fido/msgbase/%l"
+
+-AREA "R20_INTRESSE" 2:200/108.7 JAM "c:\\fido\\areas\\36124179"
++AREA "R20_INTRESSE" 2:200/108.7 JAM "/var/spool/fido/msgbase/r20_intresse"
+ EXPORT %2:200/100.0
+ DESCRIPTION "Intresseklubben"
+ GROUP A
+
+-AREA "R20_TRASHCAN" 2:200/108.7 JAM "c:\\fido\\areas\\3612417a"
++AREA "R20_TRASHCAN" 2:200/108.7 JAM "/var/spool/fido/msgbase/r20_trashcan"
+ EXPORT %2:200/100.0
+ DESCRIPTION "Soptunnan"
+ GROUP A
diff --git a/news/crashmail/files/patch-ab b/news/crashmail/files/patch-ab
new file mode 100644
index 00000000000..eaef73a7712
--- /dev/null
+++ b/news/crashmail/files/patch-ab
@@ -0,0 +1,33 @@
+diff -ur src/Makefile src/Makefile
+--- src/Makefile Wed May 16 01:39:04 2001
++++ src/Makefile Sun Jun 24 14:01:17 2001
+@@ -10,10 +10,10 @@
+ @echo make cleanos2 ......... Remove object files under OS/2
+
+ linux :
+- make -C cmnllib -f Makefile.linux
+- make -C jamlib -f Makefile.linux
+- make -C oslib_linux
+- make -f Makefile.linux
++ ${MAKE} -C cmnllib -f Makefile.linux
++ ${MAKE} -C jamlib -f Makefile.linux
++ ${MAKE} -C oslib_linux
++ ${MAKE} -f Makefile.linux
+
+ win32 :
+ make -C cmnllib -f Makefile.win32
+@@ -28,10 +28,10 @@
+ make -f Makefile.os2
+
+ cleanlinux :
+- make -C cmnllib -f Makefile.linux clean
+- make -C jamlib -f Makefile.linux clean
+- make -C oslib_linux clean
+- make -f Makefile.linux clean
++ ${MAKE} -C cmnllib -f Makefile.linux clean
++ ${MAKE} -C jamlib -f Makefile.linux clean
++ ${MAKE} -C oslib_linux clean
++ ${MAKE} -f Makefile.linux clean
+
+ cleanwin32 :
+ make -C cmnllib -f Makefile.win32 clean
diff --git a/news/crashmail/files/patch-ac b/news/crashmail/files/patch-ac
new file mode 100644
index 00000000000..39ba61f64e4
--- /dev/null
+++ b/news/crashmail/files/patch-ac
@@ -0,0 +1,16 @@
+--- src/shared/types.h.orig Wed May 16 00:39:05 2001
++++ src/shared/types.h Tue Jan 21 17:59:12 2003
+@@ -2,8 +2,12 @@
+ #define SHARED_TYPES_H
+
+ #ifdef PLATFORM_LINUX
+-#define NO_TYPEDEF_ULONG
+ #define NO_TYPEDEF_USHORT
++#if defined(__FreeBSD__)
++#include <sys/types.h>
++#else
++#define NO_TYPEDEF_ULONG
++#endif
+ #endif
+
+ #ifndef NO_TYPEDEF_ULONG
diff --git a/news/crashmail/files/patch-ad b/news/crashmail/files/patch-ad
new file mode 100644
index 00000000000..f8db92da4f6
--- /dev/null
+++ b/news/crashmail/files/patch-ad
@@ -0,0 +1,12 @@
+diff -ur src/oslib_linux/os_linux.h src/oslib_linux/os_linux.h
+--- src/oslib_linux/os_linux.h Wed May 16 01:39:05 2001
++++ src/oslib_linux/os_linux.h Sun Jun 24 17:23:29 2001
+@@ -5,7 +5,7 @@
+ #define OS_EXIT_ERROR 10
+ #define OS_EXIT_OK 0
+
+-#define OS_PLATFORM_NAME "Linux"
++#define OS_PLATFORM_NAME "FreeBSD"
+ #define OS_PATH_CHARS "/"
+ #define OS_CURRENT_DIR "."
+
diff --git a/news/crashmail/files/patch-ae b/news/crashmail/files/patch-ae
new file mode 100644
index 00000000000..5e8fc25ee63
--- /dev/null
+++ b/news/crashmail/files/patch-ae
@@ -0,0 +1,21 @@
+--- src/jamlib/jam.h.orig Mon Sep 18 02:22:08 2000
++++ src/jamlib/jam.h Tue Jan 21 18:01:07 2003
+@@ -32,13 +32,18 @@
+ #ifndef __JAM_H__
+ #define __JAM_H__
+
++#include <sys/types.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <ctype.h>
+
+ #ifndef linux
++#if defined(__FreeBSD__)
++typedef u_long ulong; /* must be 32 bits wide */
++#else
+ typedef unsigned short ushort; /* must be 16 bits wide */
+ typedef unsigned long ulong; /* must be 32 bits wide */
++#endif
+ #endif
+
+ typedef unsigned char uchar; /* must be 8 bits wide */
diff --git a/news/crashmail/pkg-comment b/news/crashmail/pkg-comment
new file mode 100644
index 00000000000..ae654b020cf
--- /dev/null
+++ b/news/crashmail/pkg-comment
@@ -0,0 +1 @@
+CrashMail II FTN mail tosser
diff --git a/news/crashmail/pkg-descr b/news/crashmail/pkg-descr
new file mode 100644
index 00000000000..b3dc0ce38bd
--- /dev/null
+++ b/news/crashmail/pkg-descr
@@ -0,0 +1,8 @@
+CrashMail II FTN mail tosser
+
+CrashMail is back! Once upon a time, there was a Fidonet tosser for
+the Amiga called CrashMail. This is the new generation of that tosser!
+This generation is more basic without the fancy GUI, but does what it
+is supposed to do and is above all more portable.
+
+WWW: http://www.df.lth.se/~billing/crashmail.html
diff --git a/news/crashmail/pkg-plist b/news/crashmail/pkg-plist
new file mode 100644
index 00000000000..40bbad3796c
--- /dev/null
+++ b/news/crashmail/pkg-plist
@@ -0,0 +1,10 @@
+bin/crashexport
+bin/crashgetnode
+bin/crashlist
+bin/crashmail
+bin/crashmaint
+bin/crashstats
+bin/crashwrite
+etc/crashmail/example.prefs
+etc/crashmail/areafix.help
+@dirrm etc/crashmail