pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/mess822 Initial import of mess822-0.58.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/82029d21f610
branches:  trunk
changeset: 478591:82029d21f610
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Jul 26 23:26:27 2004 +0000

description:
Initial import of mess822-0.58.

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.

diffstat:

 mail/mess822/DESCR            |  23 +++++++++++++++++++++
 mail/mess822/Makefile         |  44 +++++++++++++++++++++++++++++++++++++++++
 mail/mess822/PLIST            |  46 +++++++++++++++++++++++++++++++++++++++++++
 mail/mess822/distinfo         |   5 ++++
 mail/mess822/patches/patch-aa |  45 ++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 163 insertions(+), 0 deletions(-)

diffs (183 lines):

diff -r 3c9d08e711fd -r 82029d21f610 mail/mess822/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mess822/DESCR        Mon Jul 26 23:26:27 2004 +0000
@@ -0,0 +1,23 @@
+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.
diff -r 3c9d08e711fd -r 82029d21f610 mail/mess822/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mess822/Makefile     Mon Jul 26 23:26:27 2004 +0000
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/26 23:26:27 schmonz Exp $
+#
+
+DISTNAME=              mess822-0.58
+CATEGORIES=            mail
+MASTER_SITES=          http://cr.yp.to/software/
+
+MAINTAINER=            schmonz%NetBSD.org@localhost
+HOMEPAGE=              http://cr.yp.to/mess822.html
+COMMENT=               Library for parsing Internet mail messages
+
+DEPENDS+=              {qmail>=1.03nb7,netqmail>=1.05}:../../mail/qmail
+
+# We change conf-home from the default "/usr/local" and don't
+# provide compatibilbity symlinks. We also patch hier.c to respect
+# PKG_SYSCONFDIR and set reasonable modes on directories under
+# ${PREFIX}.
+RESTRICTED=            "modified source and binaries may not be distributed"
+NO_BIN_ON_CDROM=       ${RESTRICTED}
+NO_BIN_ON_FTP=         ${RESTRICTED}
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+USE_BUILDLINK3=                yes
+
+EGDIR=                 ${PREFIX}/share/examples/mess822
+CFLAGS+=               -DPKG_SYSCONFDIR=\"\\\"${PKG_SYSCONFDIR}\\\"\"
+USE_PKGINSTALL=                yes
+MAKE_DIRS+=            ${PKG_SYSCONFDIR}
+SUPPORT_FILES+=                ${EGDIR}/leapsecs.dat ${PKG_SYSCONFDIR}/leapsecs.dat
+
+ALL_TARGET=            it install instcheck
+INSTALL_TARGET=                setup check
+
+INSTALLATION_DIRS=     bin include lib man man/cat1 man/cat3 man/cat5 man/cat8
+INSTALLATION_DIRS+=    man/man1 man/man3 man/man5 man/man8 share/examples/mess822
+
+do-configure:
+       ${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
+       ${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
+       ${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
+       ${ECHO} ${QMAILDIR} > ${WRKSRC}/conf-qmail
+
+.include "../../mk/bsd.pkg.mk"
diff -r 3c9d08e711fd -r 82029d21f610 mail/mess822/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mess822/PLIST        Mon Jul 26 23:26:27 2004 +0000
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/26 23:26:27 schmonz Exp $
+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
diff -r 3c9d08e711fd -r 82029d21f610 mail/mess822/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mess822/distinfo     Mon Jul 26 23:26:27 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/07/26 23:26:27 schmonz Exp $
+
+SHA1 (mess822-0.58.tar.gz) = ef3380c793c852d40688c108d164234ecf8a5362
+Size (mess822-0.58.tar.gz) = 64287 bytes
+SHA1 (patch-aa) = 62464e4d3afb31ad2ef38575cddbee969c8a82b3
diff -r 3c9d08e711fd -r 82029d21f610 mail/mess822/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mess822/patches/patch-aa     Mon Jul 26 23:26:27 2004 +0000
@@ -0,0 +1,45 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/07/26 23:26:27 schmonz Exp $
+
+--- hier.c.orig        1998-09-04 22:33:37.000000000 -0400
++++ hier.c
+@@ -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);
+@@ -66,5 +66,5 @@ void hier()
+   c(auto_home,"man/cat3","mess822_token.0",-1,-1,0644);
+   c(auto_home,"man/cat3","mess822_when.0",-1,-1,0644);
+ 
+-  c("/etc",".","leapsecs.dat",-1,-1,0644);
++  c(auto_home,"share/examples/mess822","leapsecs.dat",-1,-1,0644);
+ }



Home | Main Index | Thread Index | Old Index