a5b52a648c
What's new? * New feature: A new header called ``X-Primary-Address'' is now supported in order to reduce the amount of thinking and planning ahead you need to do when sending mail to a new correspondent who may or may not use a challenge/response system like TMDA. Essentially, this header allows a sender to specify the address he prefers be whitelisted once he confirms his first message. For more information, see the following URLs: <URL:http://tmda.net/config-vars.html#PRIMARY_ADDRESS_MATCH> <URL:http://tmda.net/faq.cgi?req=show&file=faq04.005.htp> * New feature. You can customize the header lines displayed by tmda-pending in interactive mode by setting SUMMARY_HEADERS. See <URL:http://tmda.net/config-vars.html#SUMMARY_HEADERS> for more information. * New version of Josh Huber's tmda.el. * Bugfixes. Here are the new additions to UPGRADE: * If you are using customized templates, you should replace %(envelope_sender)s with %(confirm_append_address)s in your confirm_request.txt. This is to support the new <URL:http://tmda.net/config-vars.html#PRIMARY_ADDRESS_MATCH> feature. * When doing program deliveries to procmail, you should no longer be using the ``-f'' option. e.g, DELIVERY = "|/usr/bin/procmail -f $SENDER ~/.procmailrc-tmda" becomes DELIVERY = "|/usr/bin/procmail ~/.procmailrc-tmda" * contrib/sample.tmdarc has been renamed contrib/sample.config.
79 lines
2.2 KiB
Makefile
79 lines
2.2 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2002/12/12 04:38:30 kim Exp $
|
|
#
|
|
|
|
DISTNAME= tmda-0.65
|
|
CATEGORIES= mail python
|
|
MASTER_SITES= http://tmda.net/releases/ \
|
|
http://tmda.net/releases/old/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= schmonz@netbsd.org
|
|
HOMEPAGE= http://tmda.net/
|
|
COMMENT= Python-based SPAM reduction system
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 22 21
|
|
|
|
PY_PATCHPLIST= # defined
|
|
PYTHON_PATCH_SCRIPTS= ${TMDA_PROGRAMS}
|
|
|
|
SHAREDIR= share/${PKGBASE}
|
|
DOCDIR= share/doc/${PKGBASE}
|
|
CONTRIBDIR= share/doc/${PKGBASE}/contrib
|
|
HTMLDIR= share/doc/html/${PKGBASE}
|
|
PLIST_SUBST+= SHAREDIR="${SHAREDIR}"
|
|
PLIST_SUBST+= DOCDIR="${DOCDIR}"
|
|
PLIST_SUBST+= CONTRIBDIR="${CONTRIBDIR}"
|
|
PLIST_SUBST+= HTMLDIR="${HTMLDIR}"
|
|
|
|
TMDA_PROGRAMS= bin/tmda-address
|
|
TMDA_PROGRAMS+= bin/tmda-check-address
|
|
TMDA_PROGRAMS+= bin/tmda-filter
|
|
TMDA_PROGRAMS+= bin/tmda-inject
|
|
TMDA_PROGRAMS+= bin/tmda-keygen
|
|
TMDA_PROGRAMS+= bin/tmda-ofmipd
|
|
TMDA_PROGRAMS+= bin/tmda-pending
|
|
TMDA_PROGRAMS+= bin/tmda-rfilter
|
|
TMDA_PROGRAMS+= bin/tmda-sendmail
|
|
|
|
TMDA_DOCS= COPYING
|
|
TMDA_DOCS+= CRYPTO
|
|
TMDA_DOCS+= ChangeLog
|
|
TMDA_DOCS+= INSTALL
|
|
TMDA_DOCS+= README
|
|
TMDA_DOCS+= THANKS
|
|
TMDA_DOCS+= UPGRADE
|
|
|
|
do-build:
|
|
cd ${WRKSRC}; ${PYTHONBIN} ./compileall
|
|
|
|
do-install:
|
|
for f in ${TMDA_PROGRAMS}; do \
|
|
${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_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
|
|
|
|
# the cgi directory currently has nothing
|
|
${RM} -rf ${WRKSRC}/contrib/cgi
|
|
${INSTALL_DATA_DIR} ${PREFIX}/${CONTRIBDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/* ${PREFIX}/${CONTRIBDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/htdocs/*.html ${PREFIX}/${HTMLDIR}
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|