Skip site navigation (1)Skip section navigation (2)
Date:      4 Feb 2001 14:31:34 -0000
From:      drs@rucus.ru.ac.za
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/24848: New port: mail/mess822 RFC 822 mail message parsing library and rewriting utilities
Message-ID:  <20010204143134.33773.qmail@rucus.ru.ac.za>

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

>Number:         24848
>Category:       ports
>Synopsis:       mail/mess822 RFC 822 mail message parsing library and rewriting utilities
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 04 06:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     David Siebörger
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
Rhodes University Computer Users Society
>Environment:

>Description:

RFC 822 mail message parsing library and rewriting utilities

>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:
#
#	mess822
#	mess822/Makefile
#	mess822/distinfo
#	mess822/pkg-plist
#	mess822/pkg-comment
#	mess822/pkg-descr
#	mess822/files
#	mess822/files/patch-aa
#
echo c - mess822
mkdir -p mess822 > /dev/null 2>&1
echo x - mess822/Makefile
sed 's/^X//' >mess822/Makefile << 'END-of-mess822/Makefile'
X# New ports collection makefile for:	mess822
X# Date created:		4 February 2001
X# Whom:			David Siebörger <drs@rucus.ru.ac.za>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mess822
XPORTVERSION=	0.58
XCATEGORIES=	mail
XMASTER_SITES=	http://cr.yp.to/software/ \
X		ftp://ftp.qmail.org/pub/software/
X
XMAINTAINER=	drs@rucus.ru.ac.za
X
XRUN_DEPENDS=	${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
X
XNO_PACKAGE=	Violates djb\'s license
X
XALL_TARGET=	it
XINSTALL_TARGET=	setup
X
XMAN1=		822date.1 822field.1 822header.1 822print.1 822received.1 \
X		iftocc.1 new-inject.1
XMAN3=		mess822.3 mess822_addr.3 mess822_date.3 mess822_fold.3 \
X		mess822_quote.3 mess822_token.3 mess822_when.3
XMAN5=		rewriting.5
XMAN8=		ofmipd.8 ofmipname.8
X
X.if exists(${PREFIX}/qmail/bin/qmail-send)
XQMAIL_DIR?=     ${PREFIX}/qmail
X.else
XQMAIL_DIR?=     /var/qmail
X.endif
X
XNO_MTREE=	yes
X
Xpost-patch:
X	@perl -pi.bak -e "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
X	@perl -pi.bak -e "s|.var.qmail|${QMAIL_DIR}|" ${WRKSRC}/conf-qmail
X	@echo '${PREFIX}' > ${WRKSRC}/conf-home
X
Xdo-build:
X	@cd ${WRKSRC} && make ${ALL_TARGET}
X
Xdo-install:
X	@cd ${WRKSRC} && make ${INSTALL_TARGET}
X
X.include <bsd.port.mk>
END-of-mess822/Makefile
echo x - mess822/distinfo
sed 's/^X//' >mess822/distinfo << 'END-of-mess822/distinfo'
XMD5 (mess822-0.58.tar.gz) = 8ce4c29c994a70dcaa30140601213dbe
END-of-mess822/distinfo
echo x - mess822/pkg-plist
sed 's/^X//' >mess822/pkg-plist << 'END-of-mess822/pkg-plist'
Xlib/mess822.a
Xbin/ofmipd
Xbin/ofmipname
Xbin/iftocc
Xbin/new-inject
Xbin/822field
Xbin/822header
Xbin/822date
Xbin/822received
Xbin/822print
Xinclude/mess822.h
Xetc/leapsecs.dat
END-of-mess822/pkg-plist
echo x - mess822/pkg-comment
sed 's/^X//' >mess822/pkg-comment << 'END-of-mess822/pkg-comment'
XRFC 822 mail message parsing library and rewriting utilities
END-of-mess822/pkg-comment
echo x - mess822/pkg-descr
sed 's/^X//' >mess822/pkg-descr << 'END-of-mess822/pkg-descr'
Xmess822 is a library for parsing Internet mail messages. The mess822
Xpackage contains several applications that work with qmail:
X   * ofmipd rewrites messages from dumb clients. It supports a database
X     of recognized senders and From lines, using cdb for fast lookups.
X   * new-inject is an experimental new version of qmail-inject. It
X     includes a flexible user-controlled hostname rewriting mechanism.
X   * iftocc can be used in .qmail files. It checks whether a known
X     address is listed in To or Cc.
X   * 822header, 822field, 822date, and 822received extract various
X     pieces of information from a mail message.
X   * 822print converts a message into an easier-to-read format.
X
Xmess822 supports the full complexity of RFC 822 address lists, including
Xaddress groups, source routes, spaces around dots, etc. It also supports
Xcommon RFC 822 extensions: backslashes in atoms, dots in phrases,
Xaddresses without host names, etc. It extracts each address as an
Xeasy-to-use string, with a separate string for the accompanying comment.
X
Xmess822 converts RFC 822 dates into libtai's struct caltime format. It
Xsupports numeric time zones, the standard old-fashioned time zones, and
Xmany nonstandard time zones.
X
XWWW: http://cr.yp.to/mess822.html
END-of-mess822/pkg-descr
echo c - mess822/files
mkdir -p mess822/files > /dev/null 2>&1
echo x - mess822/files/patch-aa
sed 's/^X//' >mess822/files/patch-aa << 'END-of-mess822/files/patch-aa'
X*** hier.c.orig	Sun Feb  4 16:12:16 2001
X--- hier.c	Sun Feb  4 16:13:07 2001
X***************
X*** 12,21 ****
X    d(auto_home,"man/man3",-1,-1,02755);
X    d(auto_home,"man/man5",-1,-1,02755);
X    d(auto_home,"man/man8",-1,-1,02755);
X!   d(auto_home,"man/cat1",-1,-1,02755);
X!   d(auto_home,"man/cat3",-1,-1,02755);
X!   d(auto_home,"man/cat5",-1,-1,02755);
X!   d(auto_home,"man/cat8",-1,-1,02755);
X  
X    c(auto_home,"lib","mess822.a",-1,-1,0644);
X    c(auto_home,"include","mess822.h",-1,-1,0644);
X--- 12,18 ----
X    d(auto_home,"man/man3",-1,-1,02755);
X    d(auto_home,"man/man5",-1,-1,02755);
X    d(auto_home,"man/man8",-1,-1,02755);
X!   d(auto_home,"etc",-1,-1,02755);
X  
X    c(auto_home,"lib","mess822.a",-1,-1,0644);
X    c(auto_home,"include","mess822.h",-1,-1,0644);
X***************
X*** 48,70 ****
X    c(auto_home,"man/man3","mess822_token.3",-1,-1,0644);
X    c(auto_home,"man/man3","mess822_when.3",-1,-1,0644);
X  
X!   c(auto_home,"man/cat1","iftocc.0",-1,-1,0644);
X!   c(auto_home,"man/cat1","new-inject.0",-1,-1,0644);
X!   c(auto_home,"man/cat1","822field.0",-1,-1,0644);
X!   c(auto_home,"man/cat1","822header.0",-1,-1,0644);
X!   c(auto_home,"man/cat1","822date.0",-1,-1,0644);
X!   c(auto_home,"man/cat1","822received.0",-1,-1,0644);
X!   c(auto_home,"man/cat1","822print.0",-1,-1,0644);
X!   c(auto_home,"man/cat5","rewriting.0",-1,-1,0644);
X!   c(auto_home,"man/cat8","ofmipd.0",-1,-1,0644);
X!   c(auto_home,"man/cat8","ofmipname.0",-1,-1,0644);
X!   c(auto_home,"man/cat3","mess822.0",-1,-1,0644);
X!   c(auto_home,"man/cat3","mess822_addr.0",-1,-1,0644);
X!   c(auto_home,"man/cat3","mess822_date.0",-1,-1,0644);
X!   c(auto_home,"man/cat3","mess822_fold.0",-1,-1,0644);
X!   c(auto_home,"man/cat3","mess822_quote.0",-1,-1,0644);
X!   c(auto_home,"man/cat3","mess822_token.0",-1,-1,0644);
X!   c(auto_home,"man/cat3","mess822_when.0",-1,-1,0644);
X! 
X!   c("/etc",".","leapsecs.dat",-1,-1,0644);
X  }
X--- 45,49 ----
X    c(auto_home,"man/man3","mess822_token.3",-1,-1,0644);
X    c(auto_home,"man/man3","mess822_when.3",-1,-1,0644);
X  
X!   c(auto_home,"etc","leapsecs.dat",-1,-1,0644);
X  }
END-of-mess822/files/patch-aa
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?20010204143134.33773.qmail>