Initial import of mess822 version 0.58.
The library for parsing Internet mail messages. Submitted by: Camiel Dobbelaar <cd@sentia.nl>
This commit is contained in:
parent
a4f8ddd4fd
commit
65189535c0
29
mail/mess822/Makefile
Normal file
29
mail/mess822/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# OpenBSD $
|
||||
|
||||
DISTNAME= mess822-0.58
|
||||
CATEGORIES= mail
|
||||
MAINTAINER= cd@sentia.nl
|
||||
MASTER_SITES= ftp://ftp.net.ohio-state.edu/pub/networking/mail/qmail/ \
|
||||
ftp://ftp.ntnu.no/pub/unix/mail/qmail/ \
|
||||
ftp://ftp.mira.net.au/unix/mail/qmail/ \
|
||||
ftp://ftp.id.wustl.edu/pub/qmail/ \
|
||||
ftp://mirror.uk.uu.net/pub/qmail/ \
|
||||
ftp://ftp.jp.qmail.org/qmail/ \
|
||||
http://ftp.rifkin.technion.ac.il/pub/qmail/ \
|
||||
http://koobera.math.uic.edu/www/software/ \
|
||||
http://pobox.com/~djb/software/
|
||||
|
||||
QMAILDIR= /var/qmail
|
||||
NO_CONFIGURE= yes
|
||||
ALL_TARGET= default
|
||||
INSTALL_TARGET= setup check
|
||||
NO_MTREE= yes
|
||||
|
||||
RUN_DEPENDS= ${QMAILDIR}/bin/qmail-local:${PORTSDIR}/mail/qmail/qmail
|
||||
|
||||
pre-build:
|
||||
@${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
|
||||
@${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
|
||||
@${ECHO} ${QMAILDIR} > ${WRKSRC}/conf-qmail
|
||||
|
||||
.include <bsd.port.mk>
|
3
mail/mess822/files/md5
Normal file
3
mail/mess822/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (mess822-0.58.tar.gz) = 8ce4c29c994a70dcaa30140601213dbe
|
||||
RMD160 (mess822-0.58.tar.gz) = 40fbcb5af92882e133ab3653c6119022180caedb
|
||||
SHA1 (mess822-0.58.tar.gz) = ef3380c793c852d40688c108d164234ecf8a5362
|
36
mail/mess822/patches/patch-aa
Normal file
36
mail/mess822/patches/patch-aa
Normal file
@ -0,0 +1,36 @@
|
||||
--- hier.c.orig Sun Dec 26 12:21:40 1999
|
||||
+++ hier.c Sun Dec 26 12:21:59 1999
|
||||
@@ -2,20 +2,20 @@
|
||||
|
||||
void hier()
|
||||
{
|
||||
- h(auto_home,-1,-1,02755);
|
||||
+ h(auto_home,-1,-1,0755);
|
||||
|
||||
- d(auto_home,"bin",-1,-1,02755);
|
||||
- d(auto_home,"lib",-1,-1,02755);
|
||||
- d(auto_home,"include",-1,-1,02755);
|
||||
- d(auto_home,"man",-1,-1,02755);
|
||||
- d(auto_home,"man/man1",-1,-1,02755);
|
||||
- d(auto_home,"man/man3",-1,-1,02755);
|
||||
- d(auto_home,"man/man5",-1,-1,02755);
|
||||
- d(auto_home,"man/man8",-1,-1,02755);
|
||||
- d(auto_home,"man/cat1",-1,-1,02755);
|
||||
- d(auto_home,"man/cat3",-1,-1,02755);
|
||||
- d(auto_home,"man/cat5",-1,-1,02755);
|
||||
- d(auto_home,"man/cat8",-1,-1,02755);
|
||||
+ d(auto_home,"bin",-1,-1,0755);
|
||||
+ d(auto_home,"lib",-1,-1,0755);
|
||||
+ d(auto_home,"include",-1,-1,0755);
|
||||
+ d(auto_home,"man",-1,-1,0755);
|
||||
+ d(auto_home,"man/man1",-1,-1,0755);
|
||||
+ d(auto_home,"man/man3",-1,-1,0755);
|
||||
+ d(auto_home,"man/man5",-1,-1,0755);
|
||||
+ d(auto_home,"man/man8",-1,-1,0755);
|
||||
+ d(auto_home,"man/cat1",-1,-1,0755);
|
||||
+ d(auto_home,"man/cat3",-1,-1,0755);
|
||||
+ d(auto_home,"man/cat5",-1,-1,0755);
|
||||
+ d(auto_home,"man/cat8",-1,-1,0755);
|
||||
|
||||
c(auto_home,"lib","mess822.a",-1,-1,0644);
|
||||
c(auto_home,"include","mess822.h",-1,-1,0644);
|
1
mail/mess822/pkg/COMMENT
Normal file
1
mail/mess822/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
library for parsing Internet mail messages
|
29
mail/mess822/pkg/DESCR
Normal file
29
mail/mess822/pkg/DESCR
Normal file
@ -0,0 +1,29 @@
|
||||
mess822 is a library for parsing Internet mail messages. The mess822
|
||||
package contains several applications that work with qmail:
|
||||
|
||||
* ofmipd rewrites messages from dumb clients. It supports a database
|
||||
of recognized senders and From lines, using cdb for fast lookups.
|
||||
|
||||
* new-inject is an experimental new version of qmail-inject. It
|
||||
includes a flexible user-controlled hostname rewriting mechanism.
|
||||
|
||||
* iftocc can be used in .qmail files. It checks whether a known
|
||||
address is listed in To or Cc.
|
||||
|
||||
* 822header, 822field, 822date, and 822received extract various
|
||||
pieces of information from a mail message.
|
||||
|
||||
* 822print converts a message into an easier-to-read format.
|
||||
|
||||
mess822 supports the full complexity of RFC 822 address lists, including
|
||||
address groups, source routes, spaces around dots, etc. It also supports
|
||||
common RFC 822 extensions: backslashes in atoms, dots in phrases,
|
||||
addresses without host names, etc. It extracts each address as an
|
||||
easy-to-use string, with a separate string for the accompanying comment.
|
||||
|
||||
mess822 converts RFC 822 dates into libtai's struct caltime format. It
|
||||
supports numeric time zones, the standard old-fashioned time zones, and
|
||||
many nonstandard time zones.
|
||||
|
||||
mess822 is fast. For example, extracting 10000 addresses from a 160KB To
|
||||
field takes less than a second on a Pentium-100.
|
45
mail/mess822/pkg/PLIST
Normal file
45
mail/mess822/pkg/PLIST
Normal file
@ -0,0 +1,45 @@
|
||||
bin/822date
|
||||
bin/822field
|
||||
bin/822header
|
||||
bin/822print
|
||||
bin/822received
|
||||
bin/iftocc
|
||||
bin/new-inject
|
||||
bin/ofmipd
|
||||
bin/ofmipname
|
||||
include/mess822.h
|
||||
lib/mess822.a
|
||||
man/cat1/822date.0
|
||||
man/cat1/822field.0
|
||||
man/cat1/822header.0
|
||||
man/cat1/822print.0
|
||||
man/cat1/822received.0
|
||||
man/cat1/iftocc.0
|
||||
man/cat1/new-inject.0
|
||||
man/cat3/mess822.0
|
||||
man/cat3/mess822_addr.0
|
||||
man/cat3/mess822_date.0
|
||||
man/cat3/mess822_fold.0
|
||||
man/cat3/mess822_quote.0
|
||||
man/cat3/mess822_token.0
|
||||
man/cat3/mess822_when.0
|
||||
man/cat5/rewriting.0
|
||||
man/cat8/ofmipd.0
|
||||
man/cat8/ofmipname.0
|
||||
man/man1/822date.1
|
||||
man/man1/822field.1
|
||||
man/man1/822header.1
|
||||
man/man1/822print.1
|
||||
man/man1/822received.1
|
||||
man/man1/iftocc.1
|
||||
man/man1/new-inject.1
|
||||
man/man3/mess822.3
|
||||
man/man3/mess822_addr.3
|
||||
man/man3/mess822_date.3
|
||||
man/man3/mess822_fold.3
|
||||
man/man3/mess822_quote.3
|
||||
man/man3/mess822_token.3
|
||||
man/man3/mess822_when.3
|
||||
man/man5/rewriting.5
|
||||
man/man8/ofmipd.8
|
||||
man/man8/ofmipname.8
|
Loading…
Reference in New Issue
Block a user