diff options
author | schmonz <schmonz> | 2006-11-07 07:42:09 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2006-11-07 07:42:09 +0000 |
commit | 9bd33d68c20547278f09b577a06de0bcaf9ba5dc (patch) | |
tree | 15c8bceb767b9cd93d0e900c41492c04cbf736b5 /mail/tmda/Makefile | |
parent | 3ae9e5dcde706c52ee864b962d65272c1087e67b (diff) | |
download | pkgsrc-9bd33d68c20547278f09b577a06de0bcaf9ba5dc.tar.gz |
Update to 1.1.9 (approved by kim@). From the changelog:
* New feature courtesy of Mark Horn. ACTION_EXPIRED_DATED has been
extended to support handling multiple ages of dated messages. So you
could for example 'bounce' mail to dated addresses that have been
expired for more than a week, 'hold' if longer than a month, and
'drop' if over a year, while still setting the default behavior to
'confirm'. For more information and an illustrative example, see
http://wiki.tmda.net/ConfigurationVariables#ACTION_EXPIRED_DATED
* TMDA's internal copy of the Python email package has been upgraded
to v4.0.1.
* The bin/tmda-* programs have been revamped to use Python's new
'optparse' library.
* TMDA can now optionally store unconfirmed messages in a "Maildir"
rather than in TMDA's custom pending queue format. This allows you
to use any mail reading program that supports Maildir to browse or
search your pending queue, rather than the 'tmda-pending' and
'tmda-cgi' programs, though the latter will still work.
* tmda-filter has a new command-line option, '-e/--environ' which you
can use to add a VAR=value pair to the environment. One example use
of this is to allow TMDA to be setup as a Postfix transport.
Contributed by Bernard Johnson.
* tmda-filter will defer incoming deliveries if the sticky bit is set
on your home directory (as determined by the $HOME variable). This
allows you to safely edit the contents of ~/.tmda/ on a live system
if you need to.
* tmda-ofmipd now has "one-session" mode through the '--one-session'
command-line option, courtesy of Stephen Warren. This allows you to
use xinetd or tcpserver, possibly in conjunction with stunnel, to
spawn tmda-ofmipd, rather than having tmda-ofmipd bind to a port and
accept connections on its own.
* The new 'dot-tmda' directory in contrib contains a working ~/.tmda/
structure that can be used with only a few changes. See the README
in that directory for more info. Not documented yet outside of the
README, but this might help new TMDA users get started quicker.
* Some of the tmda-* programs will now run on native win32
(tmda-address, tmda-check-address, tmda-pending, and tmda-keygen).
* tmda-ofmipd has a new option (--pure-proxy) that can proxy mail for
non-TMDA users in addition to TMDA users. This might be useful if
you run a mixed environment, and want to use tmda-ofmipd for
everyone. See `tmda-ofmipd --help' for more on this option.
* New feature from David Bremner. Add 'shell=' and 'python=' tag
actions to the outgoing filter. This allows you to add
dynamic/shell escaped headers from the outgoing filter file. For
example usage, see the TMDA/Hashcash HOWTO I've prepared at
http://wiki.tmda.net/TmdaHashCashHowto
* The template system has been reorganized to simplify things for
users of multi-lingual templates among others. See
http://wiki.tmda.net/TemplateHowto and the UPGRADE notes below.
* Messages are now simply deleted from your pending queue once they
are confirmed or released rather than being renamed with a '3,C' or
'3,R' suffix. This provides simpler, more intuitive behavior and
decreased storage requirements.
* Fixed a bug in TMDAINJECT that caused Message-ID and Date headers to
differ when sending to multiple recipients.
* Fixes to the tmda.spec file that should allow RPMs to be built with
Python 2.3.x.
* Tilde expansion is now done automatically for variables in
/etc/tmdarc and ~/.tmda/config, so you no longer have to use
os.path.expanduser() to do this yourself. e.g,
TEMPLATE_DIR = "~/.tmda/templates"
now ``just works''.
* New 'whitelist' behavior for tmda-pending and tmda-cgi, controlled
by http://wiki.tmda.net/ConfigurationVariables#PENDING_WHITELIST_RELEASE
* A new 'pipe-headers' incoming filter file source. Identical to
'pipe' except that it only pipes the headers to the program, instead
of the headers + body. This should offer greater performance and
reliability when processing the message body isn't required.
* A new feature to add Mail-Followup-To headers from tmda-sendmail or
tmda-ofmipd to messages. See
http://wiki.tmda.net/ConfigurationVariables#MAIL_FOLLOWUP_TO
Diffstat (limited to 'mail/tmda/Makefile')
-rw-r--r-- | mail/tmda/Makefile | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/mail/tmda/Makefile b/mail/tmda/Makefile index 56903714ab6..48b39212090 100644 --- a/mail/tmda/Makefile +++ b/mail/tmda/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.30 2006/04/23 00:12:39 jlam Exp $ +# $NetBSD: Makefile,v 1.31 2006/11/07 07:42:09 schmonz Exp $ # -DISTNAME= tmda-1.0.3 -PKGREVISION= 2 +DISTNAME= tmda-1.1.9 CATEGORIES= mail python -MASTER_SITES= http://tmda.net/releases/stable/ +MASTER_SITES= http://tmda.net/releases/ +MASTER_SITES+= ftp://tmda.net/pub/tmda/releases/ EXTRACT_SUFX= .tgz MAINTAINER= kim@tac.nyc.ny.us @@ -16,7 +16,7 @@ PYTHON_PATCH_SCRIPTS= ${TMDA_PROGRAMS} PKG_SYSCONFSUBDIR= ${PKGBASE} -PYTHON_VERSIONS_ACCEPTED= 24 23 22 +PYTHON_VERSIONS_ACCEPTED= 24 23 PKG_GROUPS= tofmipd PKG_USERS= tofmipd:tofmipd @@ -27,16 +27,17 @@ FILES_SUBST+= PYTHONBIN=${PYTHONBIN:Q} SHAREDIR= share/${PKGBASE} DOCDIR= share/doc/${PKGBASE} -CONTRIBDIR= share/doc/${PKGBASE}/contrib +EGDIR= share/examples/${PKGBASE} HTMLDIR= share/doc/html/${PKGBASE} PLIST_SUBST+= SHAREDIR=${SHAREDIR:Q} PLIST_SUBST+= DOCDIR=${DOCDIR:Q} -PLIST_SUBST+= CONTRIBDIR=${CONTRIBDIR:Q} +PLIST_SUBST+= EGDIR=${EGDIR:Q} PLIST_SUBST+= HTMLDIR=${HTMLDIR:Q} TMDA_PROGRAMS= bin/tmda-* -TMDA_DOCS= CODENAMES COPYING CRYPTO ChangeLog INSTALL README THANKS UPGRADE -TMDA_HTDOCS= htdocs/*.html +TMDA_DOCS= CODENAMES COPYING CRYPTO ChangeLog INSTALL +TMDA_DOCS+= NEWS README THANKS UPGRADE +TMDA_HTDOCS= htdocs/*.html htdocs/*.css TMDA_CONTRIB= contrib/* SUBST_CLASSES+= etc @@ -44,7 +45,8 @@ SUBST_STAGE.etc= do-configure SUBST_FILES.etc= bin/tmda-ofmipd TMDA/Auth.py TMDA/Defaults.py SUBST_SED.etc= -e 's|/etc|${PKG_SYSCONFDIR}|g' -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin ${SHAREDIR} ${DOCDIR} ${HTMLDIR}/img +INSTALLATION_DIRS+= ${PYSITELIB}/TMDA/pythonlib/email/mime ${EGDIR} do-build: cd ${WRKSRC} && ${PYTHONBIN} ./compileall @@ -54,33 +56,35 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/$${f} ${PREFIX}/bin; \ done - ${INSTALL_SCRIPT_DIR} ${PREFIX}/${PYSITELIB}/TMDA ${INSTALL_SCRIPT} ${WRKSRC}/TMDA/*.py* ${PREFIX}/${PYSITELIB}/TMDA - ${INSTALL_SCRIPT_DIR} ${PREFIX}/${PYSITELIB}/TMDA/pythonlib/email ${INSTALL_SCRIPT} ${WRKSRC}/TMDA/pythonlib/email/*.py* \ ${PREFIX}/${PYSITELIB}/TMDA/pythonlib/email + ${INSTALL_SCRIPT} ${WRKSRC}/TMDA/pythonlib/email/mime/*.py* \ + ${PREFIX}/${PYSITELIB}/TMDA/pythonlib/email/mime - ${INSTALL_DATA_DIR} ${PREFIX}/${SHAREDIR} ${INSTALL_DATA} ${WRKSRC}/templates/*.txt ${PREFIX}/${SHAREDIR} - ${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR} for f in ${TMDA_DOCS}; do \ ${INSTALL_DATA} ${WRKSRC}/$${f} ${PREFIX}/${DOCDIR}; \ done - ${INSTALL_DATA_DIR} ${PREFIX}/${CONTRIBDIR} for f in ${TMDA_CONTRIB}; do \ - ${INSTALL_DATA} ${WRKSRC}/$${f} ${PREFIX}/${CONTRIBDIR}; \ + if [ -f $${f} ]; then \ + ${INSTALL_DATA} ${WRKSRC}/$${f} \ + ${PREFIX}/${EGDIR}; \ + else \ + cp -Rp ${WRKSRC}/$${f} ${PREFIX}/${EGDIR}; \ + fi; \ done - ${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDIR} for f in ${TMDA_HTDOCS}; do \ ${INSTALL_DATA} ${WRKSRC}/$${f} ${PREFIX}/${HTMLDIR}; \ done - ${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDIR}/img - ${INSTALL_DATA} ${WRKSRC}/htdocs/img/*.png ${PREFIX}/${HTMLDIR}/img + for f in htdocs/img/*.png htdocs/img/*.gif; do \ + ${INSTALL_DATA} ${WRKSRC}/$${f} ${PREFIX}/${HTMLDIR}/img; \ + done post-install: ${PREFIX}/bin/tmda-ofmipd -V >/dev/null 2>&1 |